sKunKbad Posted September 9, 2010 Share Posted September 9, 2010 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] Quote Link to comment https://forums.phpfreaks.com/topic/212975-ie8-has-lines-between-tabs-that-disappear-on-hover-or-page-scroll/ Share on other sites More sharing options...
sKunKbad Posted September 9, 2010 Author Share Posted September 9, 2010 More info: seems like this is only happening in the Windows 7 x64 IE8. Quote Link to comment https://forums.phpfreaks.com/topic/212975-ie8-has-lines-between-tabs-that-disappear-on-hover-or-page-scroll/#findComment-1109244 Share on other sites More sharing options...
fortnox007 Posted September 10, 2010 Share Posted September 10, 2010 replace your odd doctype you have with this one: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> Hopefully that works Quote Link to comment https://forums.phpfreaks.com/topic/212975-ie8-has-lines-between-tabs-that-disappear-on-hover-or-page-scroll/#findComment-1109471 Share on other sites More sharing options...
sKunKbad Posted September 10, 2010 Author Share Posted September 10, 2010 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. Quote Link to comment https://forums.phpfreaks.com/topic/212975-ie8-has-lines-between-tabs-that-disappear-on-hover-or-page-scroll/#findComment-1109489 Share on other sites More sharing options...
haku Posted September 12, 2010 Share Posted September 12, 2010 None of the current versions of IE (up to support HTML 5. IE9 supposedly will. Quote Link to comment https://forums.phpfreaks.com/topic/212975-ie8-has-lines-between-tabs-that-disappear-on-hover-or-page-scroll/#findComment-1110224 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.