Re: XHTML Problem With Netscape 6

by tamara <tamara(at)abbeyink.com>

 Date:  Tue, 26 Feb 2002 09:36:49 -0600
 To:  gscott(at)tds.net,
hwg-techniques(at)mail.hwg.org
 References: 
  todo: View Thread, Original
At 08:42 AM 2/26/2002 -0600, Greg Scott wrote:
>I'm having a problem with Netscape 6 displaying images separated with
><br /> properly when using an XHTML doctype. (<!DOCTYPE html PUBLIC
>"-//W3C//DTD XHTML 1.0 Transitional//EN"
>"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >)
>
>I want the images stacked right on top of each other with no space
>between them.  Ex:
>
><img src="images/image1.gif" width="127" height="85" border="0" vspace="0" 
>/><br />
><img src="images/image2.gif" width="127" height="73" border="0" vspace="0" />
>
>In Netscape 4.7 and Internet Explorer, the images display properly with
>no space between but in Netscape 6.2 there is a space between the
>images.  If I change the doctype to HTML 4, the problem goes away.

Greg,

I don't completely understand this, but I did read about it -- it has to do 
with how the browser interprets the baseline of elements. For more 
information, try 
http://developer.netscape.com/evangelism/docs/articles/img-table/

<tamara />

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA