Jump to content

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


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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.