Forum Moderators: not2easy

Message Too Old, No Replies

nested div exceeds depth of parent

nested div problem

         

mrgaric

8:03 pm on Jul 7, 2007 (gmt 0)

10+ Year Member



I' trying to learn layout using css, and I keep having a problem where I put one div inside another (for a left column for instance), and then if I type text into the inside div it starts to go down below the outer div. What am I doing wrong that's not forcing the parent div to expand as well?

Thanks

Marshall

2:32 pm on Jul 8, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Can you post your CSS and relative HTML?

Marshall

SuzyUK

7:39 pm on Jul 8, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



for IE, give the parent div layout (a height, width or.. zoom) for compliant browsers add {overflow: auto;} to parent div (compliant includes IE7)

and do a search on "containing floats"