WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.8 is now available!


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • SOLVED - showmenu2 does not expand surrounding div
  • Print
Pages: [1]   Go Down

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

Lotus

  • 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(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>
#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 »
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • SOLVED - showmenu2 does not expand surrounding div
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2