How to align a ul list in a dropdown??

Discussion in 'CSS' started by 123GoToAndPlay, Feb 21, 2010.

  1. #1
    Hi,

    i created this dropdown menu but i can't get the ul>li list align correctly under the main menu. I like to have paddin on the left and right and have the text align with the headmenu text.

    With firebug i can see some strange offset but i can't fix htis

    any suggestions??
     

    Attached Files:

    123GoToAndPlay, Feb 21, 2010 IP
  2. s_ruben

    s_ruben Active Member

    Messages:
    735
    Likes Received:
    26
    Best Answers:
    1
    Trophy Points:
    78
    #2
    Try to set the width of the li elements.
     
    s_ruben, Feb 21, 2010 IP
  3. 123GoToAndPlay

    123GoToAndPlay Peon

    Messages:
    669
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    @s ruben, tx going to try it.

    one more thing i notice in firefox the li height isn't auto height it squeezes the text???
     
    123GoToAndPlay, Feb 22, 2010 IP
  4. s_ruben

    s_ruben Active Member

    Messages:
    735
    Likes Received:
    26
    Best Answers:
    1
    Trophy Points:
    78
    #4
    Can you write here the url?
     
    s_ruben, Feb 22, 2010 IP
  5. typingmums

    typingmums Well-Known Member

    Messages:
    1,446
    Likes Received:
    61
    Best Answers:
    0
    Trophy Points:
    140
    #5
    Have u set the line height?
     
    typingmums, Feb 26, 2010 IP
  6. CSM

    CSM Active Member

    Messages:
    1,047
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    55
    #6
    The whole CSS for the dropdown would be more useful. Are you using CSS reset?
     
    CSM, Mar 1, 2010 IP