CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   HTML & CSS (http://www.codingforums.com/forumdisplay.php?f=13)
-   -   IE8 Display issue (http://www.codingforums.com/showthread.php?t=266235)

red71chevelle 06-25-2012 04:13 PM

IE8 Display issue
 
Ok I have built a website and cleaned up the code using the validator as best I could for now to see if that fixed the issue but for some reason my website still is displayed wrong in IE8. It looks great in chrome and firefox but I cant figure out what I am missing to get it to look right in IE8.

The site is http://www.tnbarfinder.com/index.php

I am getting the pop up each time that says "Element does not exist in DOM!" and the logo and social links have white boxes around them.

Is there a line like <!--[if lt IE 8]> that I am missing?

Thanks in advanced for any help I can get.

jonathansampson 06-25-2012 09:28 PM

With regards to the white borders around images, you need to turn off the borders on those images nested within anchors:

Code:

a img { border: 0 }
Your JavaScript error is showing up in more than just Internet Explorer. The reason is because you're trying to initialize your ticker object twice, but the second time you try, the placeholder element is no longer there (since it was converted by the first attempt), and therefore the script fails.

You're attempting to create a ticker in site.js on line 3, and also index.php on line 192. Remove one of these commands and the errors will go away.

red71chevelle 06-26-2012 04:06 PM

Quote:

Originally Posted by jonathansampson (Post 1244996)
With regards to the white borders around images, you need to turn off the borders on those images nested within anchors:

Code:

a img { border: 0 }
Your JavaScript error is showing up in more than just Internet Explorer. The reason is because you're trying to initialize your ticker object twice, but the second time you try, the placeholder element is no longer there (since it was converted by the first attempt), and therefore the script fails.

You're attempting to create a ticker in site.js on line 3, and also index.php on line 192. Remove one of these commands and the errors will go away.

That worked thanks so much for that catch and the border code! I have lots of issues with each page that I am trying to get worked out so I may be asking some more later.. again thank you!


All times are GMT +1. The time now is 08:03 PM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.