I mean getting the width of each li's content and then to give that width to the li
On 6/21/07, Olivier Percebois-Garve <[EMAIL PROTECTED]> wrote:
could such behavior be scripited ? On 6/21/07, Su <[EMAIL PROTECTED]> wrote: > > If I recall correctly, suckerfish menus assume each of the items is > going to be the same width. > I've gotten around this by first styling a base width that they'd all > get, and then basically listing a *lot* of very specific selectors(via IDs > on each top-level item) in the stylesheet to override as needed. Which may > or may not be worth the effort in your case. If you do it, make sure you go > through a full round of browser testing, as there were definite quirks that > had to be accounted for. > > On 6/21/07, Olivier Percebois-Garve < [EMAIL PROTECTED]> wrote: > > > > Hi > > > > How to get the superfish (or suckerfish) menu to work under IE while > > using a variable width ? > > (i.e li elements having the width of their content) > > > > On my tests it produces a strange bug where the dropdown li is > > horizontally positionned after the end of the parent li... > > > > Olivier > > > >