<body> <div class="maingraphic"></div> </body> </html>
When I move that <div> into the body 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? Brian Cummiskey wrote: > Christopher wrote: > >> If you have a a few div on page and a style sheet within a div, is the >> style sheet locked in that div or is it >> free to be repositioned anywhere even outside the div ? >> >> > Chris, > > you SHOULDN'T have a style sheet in the <body> area of a document. It > should be in the <head>. > If you want to force styles for that div, you should use the #divname > directive, or use an inline style (<div style="XXXX">, not recommended) > >> Can you nest a smaller div within a bigger div for example a link >> button? >> > yes, you can have: > > <div> > some text > <div> > some more text > <a href="link">link here</a> > </div> > </div> > > for example. > >> and >> When are layers if at all good to be used in what kind of situation ? >> >> > Never :) > > layers are old school netscape navigator 4 era markup, and aren't even > valid any more (in most modern doc tytpes) > > If you want something 'above' something, use z-index, or absolute > positioning. > > ______________________________________________________________________ > 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/ > > ______________________________________________________________________ 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/