nav bar too short

Discussion in 'HTML & Website Design' started by tposs, Jul 14, 2007.

  1. #1
    If you check the website URL in my sig, you'll see that the nav bar at the top doesn't stretch all the way to the end of the main div.

    I use an unordered list for the nav bar. Is there a "ul" attribute that I'm missing, or does the problem lie in my style sheet?
     
    tposs, Jul 14, 2007 IP
  2. Da_Purr

    Da_Purr Peon

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You didn't set the width of the menu.

    Try putting the following line in '#menu':
    width: 100%

    :)
     
    Da_Purr, Jul 15, 2007 IP
  3. tposs

    tposs Peon

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I tried that, and nothing changed. I just figured it out after searching online some more: I had to style the "ul" tag with "float: left" and "width: 100%." It works like a charm on both of the monitors that I tested it on.
     
    tposs, Jul 15, 2007 IP
  4. designerz

    designerz Banned

    Messages:
    669
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #4
    just increase the size of the table where u have your menu...
     
    designerz, Jul 19, 2007 IP