1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

<!-- --> problems with IE

Discussion in 'HTML, Graphics & Programming' started by Cybertronic, 11 May 2006.

  1. Cybertronic

    Mobster

    Joined: 16 Dec 2003

    Posts: 2,697

    Hey :)

    I'm having a problem with my website where I try to put comments into xhtml code. It only occurs in IE6 where it indents some parts of my website with comments in the code :confused:. It validates fine but why is it doing this? Is it an IE6 bug? :o

    Is there a work around for this?

    Please let me know, thanks! :)
     
  2. sparkymark75

    Mobster

    Joined: 8 Jan 2003

    Posts: 2,981

    Location: Scotland

    Do you have anything before the doctype declaration? If so, then IE will switch into "quirks" mode.
     
  3. Cybertronic

    Mobster

    Joined: 16 Dec 2003

    Posts: 2,697

    I didn't have any comments before the doctype :o

    I've fixed it now, it seems that IE6 was a bit fussy with where my comments where :confused:, I always put them after closing tasg and before new tags :confused: