Jack Bates wrote:
> How can I style the following,
>
> <div class="field">
>   <h3>Name</h3>
>   <div>
>     Value
>   </div>
> </div>
>
> - so it displays with the name on the left, the value on the right, and
> a grey background behind the name?
>
>   



Dunno.

Have you tried:

.field
{
border-bottom: .1px solid;
background: #aaa; <------ :: add rule
}

.field div {background: #fff;} <--- :: add rule set to style sheet


Best,
~d









-- 
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