SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: List spacing

  1. #1
    SitePoint Member al_boosts's Avatar
    Join Date
    Apr 2004
    Location
    Australia
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy List spacing

    How do u do?

    My problem lies within the fact I have a javascript handling a drop down menu. You mouse over the link and two links become available. Now, my problem lies in the fact that I have 12 links (Workshop -> Activity - Statement). They look like this when dropped down.
    Workshop
    Activity
    Statement
    Workshop
    Activity
    Statement

    Etcetera except they overlap when you mouse over them. How can I space them out between each other, allowing enough room to click on each one? I have tried <p> and <br /> in the XHTML but to no avail, can I do something in the CSS?

    Thanks!
    | nurve |
    p R o G r E s S | g R o W

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    39,789
    Mentioned
    158 Post(s)
    Tagged
    3 Thread(s)
    Hi,

    I would need to see your code but specifying a line-height or a height for the anchors should work (your anchors should be set to display block for height to take effect). (Or try setting top and bottom padding if you don't want a height).

    There could be many other reasons depending on circumstance so I would need to see the code.

    Paul

  3. #3
    SitePoint Member al_boosts's Avatar
    Join Date
    Apr 2004
    Location
    Australia
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hmm just changed the position of the li to absolute instead of relative and problem 'solvered'

    thanks anyhow
    | nurve |
    p R o G r E s S | g R o W


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
  •