SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    Formerly known as RockNRollPig Shpigford's Avatar
    Join Date
    Dec 2002
    Location
    Denver, CO
    Posts
    2,877
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Drop down list issues

    I'm using the Suckerfish Dropdown menu code (courtesy of Paul O'Brian) and am able to implement that fine. But what I'd like to do is remove the fixed width on the main menu items as I don't want them all to be the same width.

    Here's the page I'm working with. And here is the CSS file. When I remove the width of the ul li it makes the items not have a fixed width but makes the drop down items go inline. So any ideas on a fix?

  2. #2
    Caveat surfer Buddy Bradley's Avatar
    Join Date
    May 2003
    Location
    Cambridge, UK
    Posts
    2,366
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You could change the widths to have an em-based width, so they will be sized relative to the text inside them?

    (Suckerfish is by Patrick Griffiths and Dan Webb, not Paul, btw)

  3. #3
    Formerly known as RockNRollPig Shpigford's Avatar
    Join Date
    Dec 2002
    Location
    Denver, CO
    Posts
    2,877
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Buddy Bradley
    You could change the widths to have an em-based width, so they will be sized relative to the text inside them?

    (Suckerfish is by Patrick Griffiths and Dan Webb, not Paul, btw)
    I'll give that a try and I know that the Suckerfish dropdowns themselves aren't by Paul, but I got a bunch of the code via Paul's site where he had the original Suckerfish drop downs.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •