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 a background without the height?
>
>
> Here is the code.
>
>
> .mainlinks#navigation {
>
> position:relative;
> width:933px;
> margin:0px auto 0px auto;
> height:50px; 
> background-color:#FF9933;
>
> }
>
> Thanks again,
> Márcio
>
>   

Re-set to:

.mainlinks#navigation {
position:relative;
width:933px;
margin:0px auto 0px auto;
height:50px; <----------------- :: delete ::
padding: 0 0 1.75em 0;<----------------- :: add and check with font-scaling ::
background-color:#FF9933;

}




-- 

A thin red line and a salmon-color ampersand forthcoming.

http://chelseacreekstudio.com/

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to