View Full Version : float to newline detect

10-24-2006, 10:42 PM
I use a menubar <div> with floating <ul>. The menu is dynamic and often there are too many elements for one line. The float puts the <ul>s on a newline. I would like to detect when this happens and show a more button. Any ideas?
Else I can do do it server side given the width of the element (I believe you can get this with javascript). I also need to take the font-size into account in this case.


EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum