> 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 ?

*******************************************************

First, your DIVs are not nested.

This is nested:

<div class="maingraphic">
   <div class="button">
   </div>
</div>

What you had is not; it is only one DIV after another:

<div class="maingraphic"></div>
    <div class="button"></div>

Now as far as "seeing them" goes, without knowing what styles are applied to
them, it's darned near impossible to say why you are not seeing them. The
one immediate thing I can say is that without any content in them -- unless
they have specified widths and heights -- the DIVs will collapse down to
nothing.

...Rob
____________________________________
Rob Emenecker @ Hairy Dog Digital
www.hairydogdigital.com
 

______________________________________________________________________
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/

Reply via email to