SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Wizard dethfire's Avatar
    Join Date
    Aug 2000
    Posts
    2,477
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    extra space question

    I am building a menu for an iframe in the middle of this page:
    http://www.aux.uwm.edu/sandburg/test...acks/index.php

    however, there is some extra space on the left side in IE 6. I can't seem to figure out why. Here is the relevant css:

    Code:
    li.ptl {
    
    display: inline;
    list-style-type: none;
    border: 1px black solid;
    padding: 5px;
    background-color: #D5D5D5;
    text-align: left;
    
    }
    
    ul.ptu {
    
    display: inline;
    list-style-type: none;
    background-color: #D5D5D5;
    text-align: left;
    
    }
    
    li:hover {
    
    background-color: #cccccc;
    
    }
    
    #mainmenu {
    
    position: absolute;
    top:185px;
    left:290px;
    display: block;
    text-align: left;
    border: 1px solid black;
    
    }
    Free Science Homework Help
    http://www.physicsforums.com

  2. #2
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,236
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Set your ul.ptu's margins and padding to 0.

  3. #3
    SitePoint Wizard dethfire's Avatar
    Join Date
    Aug 2000
    Posts
    2,477
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yay! also why does it look ok in IE, but messed up in firebird? it's like completely different.
    Free Science Homework Help
    http://www.physicsforums.com


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
  •