Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Mar 2012
    Thanked 0 Times in 0 Posts

    Site displays in IE but a mess in all other browsers

    Hi there - Oh - I'm so frustrated. I wrote my site for IE and of course it is a mess in all the other browsers. Didn't know not to do that - still learning.
    I have gotten it to look ok in Firefox for 4 of the pages but not in "News" or in any of the town pages (ie Acton) located at the bottom. The pages are all pulled to the right and stacked on top of each other. Chrome is even worse.

    The code validates at WWC3 in HTML and CSS - Firefox says I have a Java Script error in line 1 - No idea why - it is the same on the pages that display correctly. Any help would be appreciated.


    Thank you in Advance

  2. #2
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Sydney, Australia
    Thanked 932 Times in 919 Posts
    The problem is that you are using position:absolute and so the page is configured to only work at one specific resolution. Since the different browsers are not providing the exact same viewport size the page gets rearranged.

    Your problem is not related to any specific browser - changing the viewport size in IE would break your layout there as well.
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  3. Users who have thanked felgall for this post:

    Hottel (05-16-2012)


Posting Permissions

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