[thelist] Doctypes and selecting text on IE 6
Peter-Paul Koch
gassinaumasis at hotmail.com
Tue Sep 3 03:33:01 CDT 2002
>I have 2 versions of the same page here but with different doctypes...
>
>XHTML Transitional
>http://www.michaelefford.com.au/asset/index_xhtml.shtml
>
>HTML Transitional
>http://www.michaelefford.com.au/asset/index_html.shtml
>
>The problem I am having is in IE 6. Using the XHTML doctype causes very
>wierd things to happen when you try and select any text on the page.
>Basically, it either selects all or nothing.
>Using the HTML doctype fixes that issue, but then the page doesn't validate
>because of all the /> at the end of tags.
>
>Is there a way to make it XHTML valid, and have decent text selections in
>IE
>6?
Add
<?xml version="1.0" encoding="iso-8859-1"?>
on the very first line. It's perfectly valid, but IE6 falls back into Quirks
Mode and the problem disappears (at least, that's what's supposed to
happen).
Let me know if it works.
ppk
_________________________________________________________________
Join the worlds largest e-mail service with MSN Hotmail.
http://www.hotmail.com
More information about the thelist
mailing list