Wrox Home  
Search P2P Archive for: Go

  Return to Index  

html_code_clinic thread: Table behaviour in Netscape (6) and IE


Message #1 by "Paul Woodward" <paul.j.woodward@i...> on Sun, 4 Feb 2001 11:17:04 -0000
Try placing a one pixel ( maybe a three in your case) image in the cell as a
spacer, then set up the area like this:
    <img src="spacer.gif" width="1" height="1" border="0">

That may be a little more controlled than using the   character.

Steve D.
http://www.applebucket.com



----- Original Message -----
From: "Paul Woodward" <paul.j.woodward@i...>
To: "HTML Code Clinic" <html_code_clinic@p...>
Sent: Sunday, February 04, 2001 3:17 AM
Subject: [html_code_clinic] Table behaviour in Netscape (6) and IE


> Hi all,
>
> I'm trying to create a very narrow border (1-3 pixels) for one side of a
> table by changing the background colour of the cell in the left-hand
column.
>
> When the cell does not contain any data IE will draw it at the correct
> width, but Netscape 6 will ignore the blank cell.
> <td valign=TOP bgcolor="#FF9900" width="3"></td>
>
> If I place a ' ' then the cell will become too wide, but both
browsers
> will however draw it.
> <td valign=TOP bgcolor="#FF9900" width="3"> </td>
>
> Is there any way to force Netscape to draw empty table cells?
>
> Many thanks,
>
> Paul
>
>

  Return to Index