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

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 wi

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

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

2008-11-01 Thread MEM
a navigation 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] B

[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. .mainlinks#navigation

Re: [css-d] Basic CSS question

2007-07-19 Thread Jukka K. Korpela
On Thu, 19 Jul 2007, Julian Tulip's Licorice wrote: > I understand descendant selectors: > #main p {color: #fff;} - inside the 'main' div the will be white. Yes. (Or, more exactly, inside the element with id="main", _any_ element will have white text color.) > But I see this sometimes: > > fo

Re: [css-d] Basic CSS question

2007-07-19 Thread James Gadrow
Julian Tulip's Licorice wrote: > I am trying to learn some of the little things i missed, so sorry if this > seems like a silly question. > The list is here to answer questions for those of all walks of life so no apology necessary :) > But I see this sometimes: > > form#search {color: #fff;} >

[css-d] Basic CSS question

2007-07-19 Thread Julian Tulip's Licorice
Hello, I am trying to learn some of the little things i missed, so sorry if this seems like a silly question. I understand descendant selectors: #main p {color: #fff;} - inside the 'main' div the will be white. But I see this sometimes: form#search {color: #fff;} The hash is right up against