SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict
    Join Date
    Mar 2003
    Location
    Greenville, SC
    Posts
    388
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Firefox mis-aligns list box...

    Hello Folks,
    I don't understand this. In IE it works great. I have three boxes with links physical therapy, occupational therapy and speech. All three are rollover boxes that are links inside a unordered list floated left. Everything is fine except firefox shifts the first box up one pixel.... What gives?

    The culprit:

    http://preview.zero1productions.com/...x_template.php

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

    It's because youhave a 5px bottom margin on the element above. Remove the bottom margin as follows.

    [Code:]
    #ulTopNavigation li {
    float: right;
    margin: 5px 2px 0;
    etc....
    [/code]
    That should make them both the same with any luck


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
  •