Weird white line in Firefox and Opera but not in IE.

Discussion in 'HTML & Website Design' started by envoy, Oct 31, 2005.

  1. #1
    I have encountered a very weird thing in firefox and opera. If you goto www.xboxtoday.ca and look at the google ad at the very top of the page under the logo, there is a very little white line underneath the google ad. It is not there in IE though. If anyone knows how I can fix this, can you please let me know?

    Thanks.
     
    envoy, Oct 31, 2005 IP
  2. envoy

    envoy Active Member

    Messages:
    149
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #2
    I have temporarily fixed it by setting the bgcolor of the cell to the same as the adsense border color. Would still be nice to know why it did this in the first place.
     
    envoy, Oct 31, 2005 IP
  3. dave487

    dave487 Peon

    Messages:
    701
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Try removing all the line breaks in your code.
     
    dave487, Nov 1, 2005 IP
  4. robertjw

    robertjw Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I have a similar problem on a site I'm putting together. I added this doctype

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

    to allow centering in IE6, but it broke my layout in Opera and FF. There are now white lines appearing between the tables on the site.

    If you figured your problem out, please let me know how you solved it.
     
    robertjw, Nov 1, 2005 IP
  5. envoy

    envoy Active Member

    Messages:
    149
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #5
    Like I said for now, all I did was do the background colour of the TD(Cell) the same colour as the adsense border colour and the white line went away. I have not figured out a way to fix the line showing without setting the cell background colour.
     
    envoy, Nov 1, 2005 IP
  6. TimGrissom

    TimGrissom Guest

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I had the same problem of Firefox showing a white line where IE didn't. Someone told me to put " ul {margin: 0; padding: 0;} " (no quotes) in my CSS and that fixed it. Hopefully it will work for you too.
     
    TimGrissom, Sep 20, 2006 IP