[thelist] 2 CSS Questions

Brian W. Reaves brian at brianreaves.com
Fri Aug 16 12:38:01 CDT 2002


1)       I want all header tags to be referenced by a single class. Do I
have to create an entry for each H tag:

h1, h2, h3, h4, h5, h6, h7.mail {
background: #fff;
color: #000;
font-family: verdana, helvetica, arial, "sans serif";
}


2)       I think I need to use a contextual Selector but I do not know how
to create it when using more than one tag. This situation uses a class tag
in a div, but their are td & p tags within the div which I do not have
access too:

DIV.mail td p {
background: #fff !important;
color: #000 !important;
font-size: 12pt !important;
font-family: verdana, helvetica,  arial, "sans serif";
padding: 10px !important;
}

TIA,
Brian





More information about the thelist mailing list