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
______________________________________________________________________
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/