Finished except… >>
<< 一觉醒来
IE's bug with strict XHTML

Author Zhou Renjian Create@ 2004-07-11 20:21
whizz Note icon

1.--------------------

<!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" lang="en-US" xml:lang="en-US">
<head>
 <title>wHizzoft--&gt;Software Helps Keeping You wHizz</title>
</head>
<body style="overflow-y:auto;">
</body>
</html>

=======: the scrollbar is still there

2.----------------

<?xml version="1.0" encoding="utf-8"?>
<!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" lang="en-US" xml:lang="en-US">
<head>
 <title>wHizzoft--&gt;Software Helps Keeping You wHizz</title>
</head>
<body style="overflow-y:auto;">
</body>
</html>

=======: No scrollbar now.

3.---------------

<?xml version="1.0" encoding="utf-8"?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">
<head>
 <title>wHizzoft--&gt;Software Helps Keeping You wHizz</title>
</head>
<body style="overflow-y:auto;">
</body>
</html>

=======: No scrollbar.

4.-------------

<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">
<head>
 <title>wHizzoft--&gt;Software Helps Keeping You wHizz</title>
</head>
<body style="overflow-y:auto;">
</body>
</html>

=======: No scrollbar.

5.-------------

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
 <title>wHizzoft--&gt;Software Helps Keeping You wHizz</title>
</head>
<body style="overflow-y:auto;">
</body>
</html>

=======: Scrollbar

6.--------------

<html>
<head>
 <title>wHizzoft--&gt;Software Helps Keeping You wHizz</title>
</head>
<body style="overflow-y:auto;">
</body>
</html>

=======: Scrollbar now!!!!!

************
I am using IE6
************

And when the scrollbar is hidden (Right thing), the <DIV style="width:20px;height:20px;border:solid 1px darkred;"></DIV> seems different from the time when scrollbar is there (When the scrollbar is there, things appear the same with other browser, such as Mozilla, Opera).

本记录所在类别:
本记录相关记录: