Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 06-25-2012, 04:13 PM   PM User | #1
red71chevelle
New Coder

 
Join Date: Aug 2011
Posts: 80
Thanks: 19
Thanked 0 Times in 0 Posts
red71chevelle is an unknown quantity at this point
Question 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.
red71chevelle is offline   Reply With Quote
Old 06-25-2012, 09:28 PM   PM User | #2
jonathansampson
New Coder

 
Join Date: Jun 2012
Location: Atlanta, Georgia, United States
Posts: 34
Thanks: 0
Thanked 8 Times in 8 Posts
jonathansampson is an unknown quantity at this point
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.

Last edited by jonathansampson; 06-25-2012 at 09:50 PM..
jonathansampson is offline   Reply With Quote
Users who have thanked jonathansampson for this post:
red71chevelle (06-26-2012)
Old 06-26-2012, 04:06 PM   PM User | #3
red71chevelle
New Coder

 
Join Date: Aug 2011
Posts: 80
Thanks: 19
Thanked 0 Times in 0 Posts
red71chevelle is an unknown quantity at this point
Quote:
Originally Posted by jonathansampson View Post
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!
red71chevelle is offline   Reply With Quote
Reply

Bookmarks

Tags
display, format, html5, ie8

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


Advertisement
Log in to turn off these ads.