Results 1 to 3 of 3
Apr 21, 2010, 10:51 #1
CSS "conditional" positioning of block
Thanks for any help!
Apr 21, 2010, 11:02 #2
Actually, on further reflection, I should just be able to wrap the expandable menu in a div and give it an appropriate minimum height, shouldn't I? I'll try that, but let me know if you have a better solution. Thanks.
Apr 21, 2010, 14:05 #3
- Join Date
- Oct 2008
- Whiteford, Maryland, United States
- 6 Post(s)
- 0 Thread(s)
Hi, you could give that expandable menu a MAX height (not min) and then it would only go so high, then the div below it could have a margin-topwhatever that max height is) and then it would ensure to never overlap the menu.
JS could be used to find the overall height of the expandable menu, and give that value as a margin-top for the div underneath..it would ensure a better experience (though a small one) to those with JS disabled, and to those without JS, it would still not be broken
IE6 doesn't support max-height thoughTwitter-@Ryan_Reese09
http://www.ryanreese.us -Always looking for web design/development work