Forum Moderators: open

Message Too Old, No Replies

Browser Viewing

IE5 & IE6

         

fashezee

1:26 pm on Apr 17, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



How can I view my site in IE5 and IE6 on the same PC? Is there a way of running different IE versions concurrently? or is there a web site out here that can provide such a service?

papabaer

3:16 pm on Apr 17, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



One flavor of IE to a customer is the rule! Unless you have a dual-boot system...

For previewing your own pages, the closest you can come is to take advantage of IE6's <!doctype> detection & standards/quirk mode switching.

I use this feature when testing new pages. Since I code using a "standards-inducing" <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">, IE6 will display the page with Web Standards mode.

To see how the page will display in "quirk mode" (as in IE5.5) I remove the <!doctype> and reload the page for viewing using my editor.

This is an important step when designing sites using CSS, especially where margins, padding and borders have been declared for various elements. The IE/Box Model needs to be kept in check... ;)

If you do not use a <!doctype> IE6 will simply (and quite possibly incorrectly!) display your pages in "quirk mode"...

Adopt a <!doctype>!