How come in dreamweaver when I nest a div within a div like this: <div class="maingraphic"></div> <div class="button"></div>
I'm not seeing the other div in the layout ? Brian Cummiskey wrote: > Christopher wrote: >> <body> >> <div class="maingraphic"></div> >> </body> >> </html> >> > >> When I move that <div> into the body > it already is in the body, so i'm not sure what you're getting at > here.... > >> the <div> and the style just disappar. >> So to nest another <div> inside of that <div> just put it under that >> <div> class I have? >> > Same here... not sure what you're asking. > > > this works (nested) > > <body> > <div class="maingraphic"> > <div class="inner"></div> > </div> > </body> > </html> > > this works (2 separate class rules on 1 div) > <body> > <div class="maingraphic inner"> > </div> > </body> > </html> > > > and so does this (one id, 2 class styled on one div) > > <body> > <div id="outer" class="maingraphic inner"> > </div> > </body> > </html> > > > > > ______________________________________________________________________ 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/