IE crashes on print

J

jskolden

When you try to print the following page:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title></title>
<style type="text/css">
div.menuBar a {
position: relative;
}
</style>
</head>
<body>
<nobr>
<div style="width:70%;" class="menuBar">
<nobr>
<a href="">Try to print this page in IE</a>
</nobr>
</div>
</nobr>
</body>
</html>


IE will crash. The problem is with the nested <nobr> it seems. I know
the nobr tags aren`t HTML 4.01 elements, but it`s still quite
disturbing it kills IE...
I`ve tested this on multiple machines, Windows Home, Professional,
SP1, SP2.
 
J

jskolden

And when you open(!) the following page:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>IE print test</title>
<style type="text/css">
div.menuBar a {
position: relative;
}
</style>
<script type="text/javascript">
<!--
function printTest() {
self.print();
}
//-->
</script>

</head>
<body onload="printTest()">
<nobr>
<div style="width:70%;" class="menuBar">
<nobr>
<a href="javascript:void();">Try to print this page in IE</a>
</nobr>
</div>
</nobr>
</body>
</html>

IE kills itself directly... doesn`t matter if you have a printer or not..
 

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