Re: Div within Div WAS: list-style-image

by "Sean Healy" <jalopeura(at)hotmail.com>

 Date:  Mon, 22 Nov 1999 11:49:31 AKST
 To:  firespring(at)nfx.net,
hwg-style(at)hwg.org
  todo: View Thread, Original
>Does the same sort of mechanism you describe below work for a DIV
>within a DIV within a DIV within BODY?

> > UL LI   { list-style-image: first-level-image.gif }
> > UL UL LI   { list-style-image: second-level-image.gif }
> > UL UL UL LI   { list-style-image: third-level-image.gif }
> > UL UL UL UL LI   { list-style-image: fourth-level-image.gif }

It should work for any such grouping.  You have to be careful, though: This 
syntax will do it for any element that is grouped within that element at any 
level, i.e., a DIV within a TABLE within a DIV, as opposed to only applying 
to a DIV immediately within a DIV with elements in between.  To make it 
apply only to elements immediately within other elements, use the following:

DIV > DIV

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

HWG hwg-style mailing list archives, maintained by Webmasters @ IWA