WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Templates, Menus & Design => Topic started by: Lotus on September 03, 2010, 09:29:06 PM

Title: SOLVED - showmenu2 does not expand surrounding div
Post by: Lotus 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>
</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.