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 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jun 2009
    Posts
    9
    Thanks
    1
    Thanked 0 Times in 0 Posts

    looks good on firefox, on IE, not exactly

    hi guys so I am finally making decent progress with setting up a template I like and it looks great on firefox but NOTHING on IE, except my image, a border, and my footer.

    I am using an auto margin with a wrapper div to center, and I have added a text-align:center; to the body div and text-align:left; to the wrapper with no luck. Read that tip somewhere.

    Is this whole getting the code to work with both browsers and ongoing battle?

    My site is
    gowithjon.com

    Thanks
    Jon

  • #2
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,957
    Thanks
    9
    Thanked 727 Times in 721 Posts
    Hi Jon

    This is the line that's causing the problem:

    <!-- <div id="header-pic"></div> --!>
    The comment is not closed correctly. If you view the site using the IE Developer Toolbar you can see that virtually the whole of your content is seen by IE as a comment - which is why it doesn't appear. Sorting this should be a step in the right direction.

    This and a few other errors show up on the validator. Validating your code helps avoid this sort of issue and makes it more likely that things'll look the same in IE and FF.

    Is this whole getting the code to work with both browsers and ongoing battle?
    Getting IE (especially IE6) to display what you want is sometimes a battle, yes, a quick glance at the posts on this forum highlights that. Looks like you are doing the sensible thing and developing your code for FF.
    Last edited by SB65; 06-20-2009 at 09:22 AM.


  •  

    Posting Permissions

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