Css Random Margin Issue

Discussion in 'CSS' started by Silver89, Jan 23, 2009.

  1. #1
    Hi,

    I'm marking a table with Ul and Li but there's a random margin appearing and I can't fix a fix,

    http://danthorpe.co.uk/problem/css issue.html

    Works fine in Firefox, the issue is in IE though.

    Anyone have any idea what's wrong with the css?

    Thanks for the help :)
     
    Silver89, Jan 23, 2009 IP
  2. Spawny

    Spawny Well-Known Member

    Messages:
    252
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    110
    #2
    try adding this to your css
    
    *
    {
       padding:0;
       margin:0;
    }
    
    HTML:
     
    Spawny, Jan 23, 2009 IP
  3. Silver89

    Silver89 Notable Member

    Messages:
    2,243
    Likes Received:
    72
    Best Answers:
    0
    Trophy Points:
    205
    #3
    No luck, it looks like the li has a margin-bottom but there are no margins set on the li :s
     
    Silver89, Jan 23, 2009 IP
  4. Silver89

    Silver89 Notable Member

    Messages:
    2,243
    Likes Received:
    72
    Best Answers:
    0
    Trophy Points:
    205
    #4
    oh simplle fix! The li just weren't floated, works fine now :)
     
    Silver89, Jan 23, 2009 IP