SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast
    Join Date
    Feb 2006
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    ul or li display problem

    Please see: http://www.livetextalerts.com/new/

    In FF, the page looks correct.

    In IE 7, the navigation drops down 15px for each link.

    I'm pretty sure this has to do with a ul or li declaration I'm missing, but what is it?

    Thanks.

  2. #2
    SitePoint Author silver trophybronze trophy

    Join Date
    Nov 2004
    Location
    Ankh-Morpork
    Posts
    12,158
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think it's a hasLayout problem. Try setting min-height:1px or zoom:1.0 for the LI elements.
    Birnam wood is come to Dunsinane

  3. #3
    SitePoint Enthusiast
    Join Date
    Feb 2006
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Turns out all I needed was a float:left in the li. It's the little things!

  4. #4
    SitePoint Guru redhillccwebmas's Avatar
    Join Date
    Jun 2005
    Posts
    989
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, without looking at the code, it looks like Tommy was right in what he suggested; floating an element give it the 'layout' it requires in IE6


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
  •