SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Guru
    Join Date
    Aug 2009
    Posts
    667
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Drop Down Menu Issues

    Hello,

    Cant seem to find where getting this issue from.

    When roll over All Drawings, the background should span black all across whole box but it doesnt.

    http://modocom.ca/miller/technical-drawings/

    Trying to look through my CSS to see what is causing it to act like this.

    Thanks,

    Mike

  2. #2
    SitePoint Guru
    Join Date
    Aug 2009
    Posts
    667
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Also, the child items of the dropdown need to span across fully it gets chopped off right after word even though I have display: block; and need to shift the child items over a bit so it all lines up nicely underneath.

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

    You seem to have conflicting rules with widths and padding not adding up properly.

    Try adding this:

    Code:
    .drawnav ul {width:auto}
    .drawnav li{float:none}
    .drawnav li a{width:auto}
    .drawnav ul ul{
    left:-3px;
    right:-3px;
    width:auto;
    }
    You should probably pad out the top level so the text doesn't go over the arrow image.


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
  •