> I have been struggling with this one for quite some time
> now: I need a one pixel border around the OUTSIDE of a
> table. Here's my most recent attempt:
>
> Enclose the table within another table. Set the
> cellspacing of this "outer" table to one pixel and give
> the specified BGCOLOR.
>
> This works fine in IE, but Netscape displays a two-pixel
> border on the top & left edges, with no border on the
> bottom & right edges.
>
> Does anyone else have a solution? I'm trying to avoid
> CSS since I can't guarantee browser compatibility,
> although if you know of a cross-browser CSS solution, I
> would be very happy.
Use cellpadding=1 instead of cellspacing=1. This works with most all v3 and
higher browsers:
<table width=600 border=0 cellpadding=1 cellspacing=0>
<tr><td bgcolor=blue><table width="100%" cellpadding=5
cellspacing=0 border=0>
<tr>
<td bgcolor=white>
content goes here
</td>
</tr>
</table></td></tr></table>
Ron Allen Hornbaker
President/CTO
Humankind Systems, Inc.
http://humankindsystems.com
mailto:[EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists