R
rgp303
The html and style code, included below, seem to cause ie6 to loop
endlessly. Eliminating any 1 line in the style block or removing an <a>
tag in the body section will make it work. Am I overlooking an error in
the code? Does anyone else have this problem with this code?
<!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" xml:lang="en" lang="en">
<head>
<title>Code That Breaks IE Browsers</title>
<style type="text/css" media="all">
#pnl_base {
border: 1px solid black;
width: 300px;
}
#pnl_tabs {
white-space: nowrap;
border: 1px solid black;
}
..tabs {
padding-left: 5px;
position: relative;
}
..mainstyle {
padding: 0;
margin: 0;
}
</style>
<meta http-equiv="Content-type" content="text/html;
charset=iso-8859-1" />
<meta name="MSSmartTagsPreventParsing" content="true" />
</head>
<body class="mainstyle">
<div id="pnl_base">
<div id="pnl_tabs">
<a class="tabs">Results</a>
<a class="tabs">Zoom</a>
<a class="tabs">Layers</a>
<a class="tabs">Legend</a>
<a class="tabs">Views</a>
<a class="tabs">Index</a>
<a class="tabs">Info</a>
</div>
</div>
</body>
</html>
endlessly. Eliminating any 1 line in the style block or removing an <a>
tag in the body section will make it work. Am I overlooking an error in
the code? Does anyone else have this problem with this code?
<!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" xml:lang="en" lang="en">
<head>
<title>Code That Breaks IE Browsers</title>
<style type="text/css" media="all">
#pnl_base {
border: 1px solid black;
width: 300px;
}
#pnl_tabs {
white-space: nowrap;
border: 1px solid black;
}
..tabs {
padding-left: 5px;
position: relative;
}
..mainstyle {
padding: 0;
margin: 0;
}
</style>
<meta http-equiv="Content-type" content="text/html;
charset=iso-8859-1" />
<meta name="MSSmartTagsPreventParsing" content="true" />
</head>
<body class="mainstyle">
<div id="pnl_base">
<div id="pnl_tabs">
<a class="tabs">Results</a>
<a class="tabs">Zoom</a>
<a class="tabs">Layers</a>
<a class="tabs">Legend</a>
<a class="tabs">Views</a>
<a class="tabs">Index</a>
<a class="tabs">Info</a>
</div>
</div>
</body>
</html>