Good work, Kevin! That's probably the best possible outcome. :)
On 3/22/06, kvnmcwebn <[EMAIL PROTECTED]> wrote:
> Hello,
> -----------------------------------------------------------------------------------
> If i put a class on a dl like this:
>
> <dl class="offers">
> Why wont the dt and dd automatically inherit the class?
> Im having to put the class on these as well(<dd class="offers">).
> Is it because i have defined different values in my css for each selector?
> the css:
> #sub-content dl.offers{different values from dt and dd}
> #sub-content dt.offers { different values from dl and dd}
> #sub-content dd.offers{different values from dt and dl}
If you have...
<dl class="offers">
<dt>Something</dt>
<dd>Definition of something</dd>
</dl>
then to apply styles to the dt and dd, you'll need...
.offers dt {...}
.offers dd {...}
or
dl.offers dt {...}
dl.offers dd {...}
if you want to be more specific.
--
Ben Wong
e: [EMAIL PROTECTED]
w: http://blog.onehero.net
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************