Posted by osmanjaro on 07/19/07 01:50
Hi all,
On a recent experiment with getting ie6 to work I did something that
feels wrong, but works.
I know conditional comments work well for loading stylesheets and
javascript.
Why not doctypes? Its only ie6 that gets the transitional doctype,
everyone else gets strict.
<!-- Quirk on -->
<!--[if IE 6]>
<!DOCTYPE html
PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html lang="en">
<![endif]-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
....
I'm sure this is bad. IE6 made me do it.
What do people here think about this?
--
i
Navigation:
[Reply to this message]
|