W3C home > Mailing lists > Public > www-style@w3.org > July 2001

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

From: Peter Foti (PeterF) <PeterF@SystolicNetworks.com>
Date: Tue, 24 Jul 2001 12:06:32 -0400
Message-ID: <A10A983C9DFBD4119F0300104B2EA6B7085E23@ZIPPY>
To: "'www-style@w3.org'" <www-style@w3.org>
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?
Peter Foti

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

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<style type="text/css">
		width: 15px;

		width: 10px;

<table border="1" id="container">
			<table border="1" cellpadding="0"
cellspacing="0" id="highlightstable">
<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!
Received on Tuesday, 24 July 2001 12:01:18 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:58 UTC