Netscape 6 displays images outside of their containers (off topic ?)

Before I get blasted, let me say that this message might be off topic
for this list.  I've tried asking in the newsgroup, but no one replied.
I'm trying to figure out what the correct behaviour is.
I have some images that seem to expand past their containing block in
Netscape 6. On some pages, they will automatically expand past the
containing block, but on others (like the example I'm providing below),
the containing block will expand to include the entire image (despite
the styles). HOWEVER.... if you refresh this page a few times, and then
press the Back button, the container block will suddenly obey the style
rules and the image will go outside of it's block.  I would think the
correct behaviour would be for the  containing block to stretch to
surround the image.

Is this a bug in NS6?
Thanks,
Peter Foti


Sample code (note the image I use is 291x200):

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"<http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd>>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<title></title>
	<style type="text/css">
	#container
	{
		width: 15px;
	}

	#highlightstable
	{
		width: 10px;
	}
	</style>
</head>

<body>
<table border="1" id="container">
	<tr>
		<td>
			<table border="1" cellpadding="0"
cellspacing="0" id="highlightstable">
				<tr>
					<td>
<a href="Test.jpg"><img src="Test.jpg" alt="Test" height="200"
border="0" /></a><br /> The image has a mind of its own! But this text
obeys the rules!
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
</body>
</html>

Received on Tuesday, 24 July 2001 12:01:18 UTC