jimbrooking
Admin
|
# Posted: 14 Oct 2007 19:24 - Edited by: jimbrooking
Reply
For the past several days I have been trying to get MSIE to look like Firefox, i.e., a slider bar on the right side of the page content, no slider for the page as a whole. Tonight I went through an exhaustive process of morphing a perfectly functional page into an almost-exact duplicate of the main page of the discussion page group by copy-and-pasting code, a block at a time.
But the morphing page worked fine, even with the entire source page pasted in to it. I had noticed, but hadn't really connected the very first line on the "still working" page, which looks like this:
<!--Force IE6 into quirks mode with this comment tag-->
Well, when that line was the only line that was different between the morphed file and the non-working file, my old, slow mind thought it might be useful to Google "IE6 quirks mode". The page
http://css-discuss.incutio.com/?page=RenderingMode
popped up first, and says, in essence, that ANY comment that precedes the <!DOCTYPE...> declaration throws MSIE into "quirks mode". And sure enough, when I copied that comment line over onto the first line of the Discussion Pages' header, the offending MSIE slider bar went away, leaving only the one you see to the right.
Typical of my experience in solving problems involving browser differences, this one had a trivial fix - you just had to know about that preceding comment line. Compatible browser development is sooooo rewarding!
Now, finally, I can get back to adding content here instead of fighting with MSIE.
|