Im having alot of trouble with two <div>'s, and css.
This is what i want.
The left div (menu, and future doo-hickeys) is set to be 120 pixels in width:
This does as expected, but the main content area just wont respect the width of the left div. I want it to be 100% width (100% of the available space) with the left-hand div as it is.Code:div.m_left_divide{ float:left; margin-left:0px; margin-right:0px; border:1px solid; border-color:#000000; height:100%; width:120px; background-color:#404040; }
The content's css code:
How can i get it to display like in the image? As a general rule, it should display like a table, with <td width="120"> and the second <td width="100%"> (obviously without using a table).Code:div.m_main{ display:inline; float:left; margin:0px; border:1px solid; border-color:#000000; height:100%; width:100%; background-color:#404040; }
Thanks in advance.


LinkBack URL
About LinkBacks






Reply With Quote
