WebsiteBaker Support (2.8.x) > Templates, Menus & Design
SOLVED - showmenu2 does not expand surrounding div
(1/1)
Lotus:
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: ---<div id="main">
<div id="leftmenu"><?php show_menu2(0, SM2_ROOT+1, SM2_CURR+1); ?></div>
<div id="content1"><?php page_content(1); ?></div>
<div id="content2"><?php page_content(2); ?></div>
<div style="clear:both"></div>
</div>
--- End code ---
#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.
Navigation
[0] Message Index
Go to full version