Author Topic: SOLVED - showmenu2 does not expand surrounding div  (Read 1277 times)


  • Guest
SOLVED - showmenu2 does not expand surrounding div
« on: September 03, 2010, 09:29:06 PM »
Have a problem with the UL that showmenu2 is generating not expanding the sourrounding DIV or the DIV nested into. I want it to behave just as page_content that expands its surrounding div. Any CSS suggestons how to make it?
Code: [Select]
<div id="main">
    <div id="leftmenu"><?php show_menu2(0SM2_ROOT+1SM2_CURR+1); ?></div>
    <div id="content1"><?php page_content(1); ?></div>
    <div id="content2"><?php page_content(2); ?></div>
    <div style="clear:both"></div>
#main expands thanx to the clearfix depending on content1 and 2 but not leftmenu. those three DIVS are just float left next to each other sharig the #main width.

SOLVED - I had accidentally set the height of #leftmeny to 20px, must be tired.
« Last Edit: September 03, 2010, 09:34:24 PM by Lotus »