Grow your CSS skills. Land your dream job.

jQuery Superfish supersubs minWidth problem

  • # June 5, 2012 at 12:23 am

    Take a look at my dev site: http://dev.taarana.org.my/

    I ask the developer how to make my menu shows in one line so he said change the main.js that contains SuperFish menu. The code snippet is

    		$('ul.sf-menu').supersubs({
    minWidth: 27,
    maxWidth: 40,
    extraWidth: 1
    })

    The problem is solved, all menu displayed in one line. But now new problem happen, the menu with short word shows so many extra spaces in the end.

    Is there anyway i can set only the menu with the longest word will have different width? Or you guys any other trick?

    Anonymous
    # June 6, 2012 at 8:12 am

    ok

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".