SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Oct 2013
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Centered content stopped working in IE

    If you have Internet Explorer, you can go to fleet.maverik.com
    This content is supposed to be centered, and all of a sudden it stopped working. No changes have been made in the code as far as I can tell.
    It looks fine in other browsers still, just not IE.
    Any ideas?

  2. #2
    SitePoint Mentor bronze trophy
    ronpat's Avatar
    Join Date
    Jun 2012
    Location
    NJ, USA
    Posts
    2,618
    Mentioned
    65 Post(s)
    Tagged
    2 Thread(s)
    Hi, opafaf, welcome to the forums.

    The code has changed.

    On line 1 of the HTML, some mysterious force inserted some comment marks at the start of line that IE does not like. Delete them.
    Code:
    <!--  --> <!DOCTYPE HTML PUBLIC ...
    PS: It's always useful to mention which version(s) of IE you are talking about. Each version of IE is like a whole different browser.

  3. #3
    SitePoint Member
    Join Date
    Oct 2013
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That totally worked. Thanks a lot!


Tags for this Thread

Bookmarks

Posting Permissions

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