Jump to content

IE8 has lines between tabs that disappear on hover or page scroll


sKunKbad

Recommended Posts

Posting here in HTML, but don't know what is causing this display issue in IE8. Live page is located at http://www.tv-sewingcenter.com It only seems to happen on the home page.

 

I've tested this on a few computers and multiple browsers, so it seems that it is only IE8. I don't have compatibility mode on, but I don't consider this a fix.

 

I've attached an image that shows the display problem. Little vertical lines between menu tabs. If I hover over the tabs, then the lines go away. If I scroll down the page and then come back, the lines go away. If I go to another page and then come back, the lines go away.

 

Any ideas?

 

[attachment deleted by admin]

replace your odd doctype you have with this one:

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

 

Hopefully that works

 

I had tried different doctypes, and stripped all extra code out. Narrowed it down to what you see here:

 

http://www.tv-sewingcenter.com/test.html

 

My doctype is the new HTML5 doctype, which supposedly works just fine, and it didn't make a difference what I changed the doctype to, so that wasn't the problem. In the end, I just applied a negative margin to the .tab-on and .tab-off divs, and that cleared things up for IE8 x64. Seems like a bit of a hack, but then I guess that's what IE is all about.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.