[css-d] VBScript in a CSS sheet

2008-04-13 Thread Allen J. Bennett
I want to read the user's screen resolution, and adjust the width of images depending on the result. Is this possible? I started this way, but it seems not to be working (even when I did define [as a static number, to start] IconWidth); I have NO idea how, or where, to define it. When I get it

Re: [css-d] VBScript in a CSS sheet

2008-04-13 Thread Gunlaug Sørtun
Allen J. Bennett wrote: I want to read the user's screen resolution, and adjust the width of images depending on the result. Is this possible? I started this way, but it seems not to be working (even when I did define [as a static number, to start] IconWidth); I have NO idea how, or where, to

Re: [css-d] code inside pre results in smaller computed font-size in FF

2008-04-13 Thread Pentasis
- Original Message - From: Benjamin White [EMAIL PROTECTED] On Sat, Apr 12, 2008 at 8:46 AM, Pentasis [EMAIL PROTECTED] wrote: Can anyone tell me why this happens? The HTML looks like this: body precodesome text/code/pre /body If the CSS is like: body {

Re: [css-d] Building a completely CSS, UL based, dropdown menu

2008-04-13 Thread Geoffrey Hoffman
You may want to look here http://www.htmldog.com/ptg/archives/50.php On Sat, Apr 12, 2008 at 3:11 PM, Chris Case [EMAIL PROTECTED] wrote: Hey Everyone, I've been building a drop-down menu system for a client. So-far the menu is getting close to acceptable in Firefox 2.0 and Safari, but

[css-d] Background Issue With CSS Zen Garden Project

2008-04-13 Thread Elli Vizcaino
Hello, I am working on a CSS Zen Garden project - was given to me as a design test for a potential job. I'm having an issue with a background image that I have set to repeat y and start at left 211px, within the #supportingText div (red border) but, it won't start tiling from the length value of

[css-d] Simple Question

2008-04-13 Thread Mark Weiss
Hi, I have been lurking on the list for some time and learning a lot. I have a simple need, which is to stack three divs on top of one another and as you click in the top one, have it go away and reveal the last two. Then when you click on that revealed div, have it also disappear and

[css-d] URL Backgrounds and Padding 0px

2008-04-13 Thread Alan Gutierrez
Ya'll I'm getting into CSS for the first time in a long time. Laying out a WordPress template. I've found my work around, but I'm wondering if this is documented somewhere, or if you could help me understand it. I have a background image that will create a gradient border. The background

[css-d] Help with header floating left

2008-04-13 Thread Anne Pennington
Hi Can anyone help me with something that is probably so obvious to some, please? On http://www.facelift-electrical.co.uk/ The header is just refusing to centre It is in two parts with the left image as a background in the css http://www.facelift-electrical.co.uk/text_style.css The right

[css-d] Font Sizes

2008-04-13 Thread Alan Gutierrez
I'm noticing that when I specify font sizes using em, they are slightly smaller in Firefox than in Safari. This becomes a problem when the font sizes get smaller. In Safari they are the right size, but in Firefox they are almost illegible. I couldn't dig anything up on Google, probably

[css-d] Single floated list with forced row change in IE

2008-04-13 Thread Timothy Kelty
Can't seem to figure this one out... Example here: http://geniuscar.com/old/tests/iefloat.html I just have a single UL with all the LIs all floated left. I want to be able to force a second row at a given point in the list, so I applied a clear:left to first element I want in the 2nd row. This

[css-d] Changing font-size for individual font-family items

2008-04-13 Thread Jeff Jansen
Hello, I've got an element for which I'm using this: font-family: TW Cen MT, Arial, Helvetica, sans-serif; font-size: 16px; The problem is, Arial at 16px appears significantly larger than TW Cen MT at 16px. So if the user's system does not have TW Cen MT (the preferred font) installed, the

Re: [css-d] Background Issue With CSS Zen Garden Project

2008-04-13 Thread Bill Brown
Hi Elli, I don't believe that tiling works like that. If you set background-repeat, it repeats for the whole length or width or both of the element. I'm pretty sure you can't set it to start at x and repeat in one direction or the other, because how would the system know whether to repeat up,

Re: [css-d] Help with header floating left

2008-04-13 Thread David Laakso
Anne Pennington wrote: On http://www.facelift-electrical.co.uk/ The header is just refusing to centre http://www.facelift-electrical.co.uk/text_style.css Annie My guess is its not moving because you have a 660px wide image, whose margin left is wider than its right-margin,

Re: [css-d] Simple Question

2008-04-13 Thread David Laakso
Mark Weiss wrote: I have a simple need, which is to stack three divs on top of one another and as you click in the top one, have it go away and reveal the last two. Then when you click on that revealed div, have it also disappear and reveal the third. This is for an educational project.

Re: [css-d] Changing font-size for individual font-family items

2008-04-13 Thread Philippe Wittenbergh
On Apr 10, 2008, at 5:54 AM, Jeff Jansen wrote: I've got an element for which I'm using this: font-family: TW Cen MT, Arial, Helvetica, sans-serif; font-size: 16px; The problem is, Arial at 16px appears significantly larger than TW Cen MT at 16px. So if the user's system does not have

[css-d] Unusual absolute/fixed layout possible with one div?

2008-04-13 Thread Nicholas Wilson
Dear all, I have a rather (I think) interesting problem. The effect I would like to create is for 'right' and 'left' when using positioning to fix the corner of the border, not the content box (and using semantic markup, i.e. a single div). The layout I have at the moment achieves the effect

Re: [css-d] URL Backgrounds and Padding 0px

2008-04-13 Thread David Laakso
Alan Gutierrez wrote: I have a background image that will create a gradient border. The background does not fill the entire area of the div, however when the padding is left 0px. When I used a nested div, the background begins only around the border area of the nested div.