[css-d] Background-color Modifying Element Sizes?

2009-10-22 Thread Hugh Guiney
Hi all, new to the list. I recently started a complete redesign of my Web site, and because cross-browser support for CSS3 is finally on the rise, decided to throw in some goodies in the form of rounded corners and RGBA backgrounds. But while working on my navigation list I discovered something

Re: [css-d] Background-color Modifying Element Sizes?

2009-10-22 Thread G. Sørtun
Hugh Guiney wrote: http://www.nospoon.tv/test/bgcolor.html. I have tried this in Firefox 3.5.3 and Chrome 3.0.195.27 on Windows XP and the result is the same. Oddly enough, IE7 renders them exactly the opposite. So, barring that, how do I get the first example to render the same as the

Re: [css-d] Background-color Modifying Element Sizes?

2009-10-22 Thread Hugh Guiney
Thanks Georg. I actually tried throwing in extra decimal places but as mentioned I couldn't even get the *same* browser to agree on how to render it at different font sizes. And I would rather avoid ruling in pixels for anything (aside from raster images) because I am going for

Re: [css-d] Background-color Modifying Element Sizes?

2009-10-22 Thread Climis, Tim
And I would rather avoid ruling in pixels for anything (aside from raster images) because I am going for resolution-independence here, and although I know most browsers these days zoom everything by default, I wouldn't want the layout to break for someone with a large font size and an older

Re: [css-d] Background-color Modifying Element Sizes?

2009-10-22 Thread Tim Climis
On Thursday, October 22, 2009 6:17:15 am Hugh Guiney wrote: Hi all, new to the list. I recently started a complete redesign of my Web site, and because cross-browser support for CSS3 is finally on the rise, decided to throw in some goodies in the form of rounded corners and RGBA

Re: [css-d] Background-color Modifying Element Sizes?

2009-10-22 Thread David Hucklesby
Philippe Wittenbergh wrote: On Oct 22, 2009, at 8:33 PM, G. Sørtun wrote: Hugh Guiney wrote: http://www.nospoon.tv/test/bgcolor.html. I have tried this in Firefox 3.5.3 and Chrome 3.0.195.27 on Windows XP and the result is the same. Oddly enough, IE7 renders them exactly the opposite.

Re: [css-d] Background-color Modifying Element Sizes?

2009-10-22 Thread Philippe Wittenbergh
On Oct 22, 2009, at 7:17 PM, Hugh Guiney wrote: http://www.nospoon.tv/test/bgcolor.html. An additional note: if the intent is to have the border the same color as the background, in order to use the 'border-radius' property, then there is absolutely no need for the border.

[css-d] unwanted space between div

2009-10-22 Thread Birdie
Hi, This is my first attempt at css layout (yes I'm finally banishing tables) and I have the simplest of problems already! I have two divs. They should have no space between them. At the moment there is a thin blue line of about 2px between the flag logo and the plane picture. I have set

Re: [css-d] unwanted space between div

2009-10-22 Thread Philippe Wittenbergh
On Oct 23, 2009, at 10:44 AM, Birdie wrote: I have two divs. They should have no space between them. At the moment there is a thin blue line of about 2px between the flag logo and the plane picture. I have set every margin and padding that I can think of to 0px. But it still will

Re: [css-d] Very simple display of images

2009-10-22 Thread bruce . somers
r...@catjuggling.com wrote I know you didn't ask for a critique, so I hope I didn't overstep my bounds. No problem with that. I'm interested in all opinions. I am using a laptop with a wide screen monitor, and this page always comes up with the first two images on top and the third one

Re: [css-d] unwanted space between div

2009-10-22 Thread Birdie
Phillipe wrote: Images are inline elements, and as such they rest on the baseline generated by their parent. That leaves some (tiny) space below the image, space that is used in the parent element to display descenders (p, q, j, etc). In your case, the 'offender' is the logo image. A few

Re: [css-d] unwanted space between div

2009-10-22 Thread David Laakso
Birdie wrote: Hi, I have two divs. They should have no space between them. At the moment there is a thin blue line of about 2px between the flag logo and the plane picture. http://www.koolfish.com/test/index.html Lisa CSS is sometimes frustrating but always worth it, Lisa. img

Re: [css-d] Background-color Modifying Element Sizes?

2009-10-22 Thread Hugh Guiney
Since I only want one color behind the text, I tried Philippe's method of just dropping the border declarations altogether and it worked without a hitch in Firefox, Chrome, and IE. I didn't realize that border-radius didn't pertain solely to borders. (It really *should* be renamed...) I did go