On Thu, Feb 21, 2013 at 12:27 PM, David Hucklesby <[email protected]> wrote: > > On 2/20/13 4:34 PM, Anthony wrote: >> >> Hi all >> >> I am using a Superfish module for a horizontal menu in my Drupal 7 site. >> I've currently got it set up so that the last menu item is floated to the >> right, and there is a gap in between the last item and the second to last >> menu item. >> > [...] >> >> What is the best way to space out the horizontal menu items, so that the >> gaps between them are eaven, but at the same time the width of each of >> the items as a whole varies? >> > > As I don't know what a "Superfish module" is, it's hard to advise. Can you > copy the markup and CSS and post it somewhere for us to look at? > > Depending on the situation, I'd say that inline-blocks or table display > properties might work better than floats. OTOH perhaps floats will work fine > - just declare the last item something like: > > float: none; > overflow: hidden; > > (The hidden overflow won't work for you if that last item contains a > sub-menu though. See why we need to view your code?) > -- > Cordially, > David > >
Superfish is a JS thingamajig to help an othwerwise pure CSS dropdown nav work with dumb old browsers that don't support :hover on <li> elements (http://users.tpg.com.au/j_birch/plugins/superfish/) The answer to the question will almost certainly be a CSS answer and not really have anything to do with superfish, per se. That said, without a demo as David asks for, there's really not much we can do. Tim -- [email protected] ______________________________________________________________________ css-discuss [[email protected]] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
