www.webdeveloper.com
Results 1 to 4 of 4

Thread: Specifying the width for a ul

  1. #1
    Join Date
    Jan 2003
    Location
    Orlando, FL
    Posts
    45

    Specifying the width for a ul

    Has anyone encountered problems specifying the WIDTH for an unordered list? When I tried putting the spec in the <ul> tag, the bullets were dropped from the list (I suspect that I needed to adjust the left-margin, which is spec'd, but haven't tried it.) When I tried moving the spec from the <ul> to the <li>, the bullets ended up bottom aligned, if the text spanned more than 1 line.

    Bit tired at the moment.

    David H

  2. #2
    Join Date
    Nov 2003
    Location
    Jerryville, Tejas
    Posts
    11,715
    The width of the list and the width of the list items are separate things so you'll find that sort of weirdness popping up.

  3. #3
    Join Date
    Jan 2003
    Location
    Orlando, FL
    Posts
    45
    So then I need to spec the width of both and play with the exact values?

  4. #4
    Join Date
    Jan 2003
    Location
    Orlando, FL
    Posts
    45
    Ignore that last question. The ul's are contained within div's so I just tinkered with the div width which tco's the ul's.

    David

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles