[css-d] Basic CSS Question: Why no background when no height value is defined?

2008-11-01 Thread MEM
CSS Basic Question: Background Color: If I quit the height value, I get no background color. Why? I want a background color, but I don't want the extra bottom space that the height value gives to me. :s How can we have a background without the height? Here is the code.

Re: [css-d] Basic CSS Question: Why no background when no height value is defined?

2008-11-01 Thread MEM
that is ugly, and with redundant CSS code (I'm sure of it), but it will get better. Regards, Márcio -Original Message- From: David Laakso [mailto:[EMAIL PROTECTED] Sent: sábado, 1 de Novembro de 2008 17:10 To: MEM Cc: css-d@lists.css-discuss.org Subject: Re: [css-d] Basic CSS Question: Why

Re: [css-d] Basic CSS Question: Why no background when no height value is defined?

2008-11-01 Thread David Laakso
MEM wrote: Q:How can I had space between li on a ul ? R:Use the margin value not the padding one. :D (this is only to stay on the mailing list). Thanks a lot all, for the help. I now have a nice layout with 3 columns and a navigation that is ugly, and with redundant CSS code (I'm sure of

Re: [css-d] Basic CSS Question: Why no background when no height value is defined?

2008-11-01 Thread Blake
On Sun, Nov 2, 2008 at 3:21 AM, MEM [EMAIL PROTECTED] wrote: CSS Basic Question: Background Color: If I quit the height value, I get no background color. Why? Try adding: .mainlinks#navigation { overflow: hidden; } It sounds like your nav items are floated, and therefore the container will

Re: [css-d] Basic CSS Question: Why no background when no height value is defined?

2008-11-01 Thread David Laakso
MEM wrote: CSS Basic Question: Background Color: If I quit the height value, I get no background color. Why? Because, I guess, it has no layout (no dimension). I want a background color, but I don't want the extra bottom space that the height value gives to me. :s How can we have