Re: Frames still broke in NSN 3?

Brent Eades (beades@ottawa.net)
Thu, 1 Jun 1995 18:12:12 +0000


Message-Id: <199608252214.SAA28840@dns.ottawa.net>
From: "Brent Eades" <beades@ottawa.net>
To: "David Perrell" <davidp@earthlink.net>, www-html@w3.org
Date: Thu, 1 Jun 1995 18:12:12 +0000
Subject: Re: Frames still broke in NSN 3?

On 25 Aug 96 , www-html@w3.org wrote:

> Another peeve I have with NSN is that you can't get rid of margins
> in tables. When border, padding and spacing are set to zero, MSIE
> will butt graphics together between two rows of a table. NSN puts
> about four pixels between them.

Yeah, I encountered this too, but *could* fix it in NS, at least with 
ver. 1.22 or 2.0.

With the only attributes set for <table> as "border=0", I do indeed get padding of 
roughly 4 pixels between images.

When I add "cellpadding=0" to that, the margin shrinks by about half; 
when I add "cellspacing=0" to the preceding, I get images that abut 
without margins at all.
 
It looks to me that NS has default values built-in for cell border, 
padding and spacing that act together in weird concert... anyway, 
here's a test snippet of code that produces the above result on 
several systems where I've tried it; please let me know how it works 
at your end.

<table border=0 cellpadding=0 cellspacing=0>
  <tr>
    <td><img src="image.gif"></td>
    <td><img src="image.gif"></td>
    <td><img src="image.gif"></td>
  </tr>
  <tr>
    <td><img src="image.gif"></td>
    <td><img src="image.gif"></td>
    <td><img src="image.gif"></td>
  </tr>
</table>

---------------------------------------
Brent Eades, Box 1759, Almonte, Ontario
   http://www.worldlink.ca/almonte/brent
   beades@ottawa.net | almonte@worldlink.ca
Member: Web Consultants Association | Contributor: CGI-L FAQ