html and style sheet code cause infinite loop

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>
 
R

Robert Aldwinckle

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?


Yes, but it's not infinite. Hint: use Task Manager and watch the
Mem Usage column...

BTW it also loops Visual Studio in Design mode.


---
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top