Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Aug 2011
    Posts
    80
    Thanks
    19
    Thanked 0 Times in 0 Posts

    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.

  • #2
    New Coder
    Join Date
    Jun 2012
    Location
    Atlanta, Georgia, United States
    Posts
    34
    Thanks
    0
    Thanked 8 Times in 8 Posts
    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 10:50 PM.

  • Users who have thanked jonathansampson for this post:

    red71chevelle (06-26-2012)

  • #3
    New Coder
    Join Date
    Aug 2011
    Posts
    80
    Thanks
    19
    Thanked 0 Times in 0 Posts
    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!


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •