Re: table trouble

by Tamara Abbey <tamara(at)abbeyink.com>

 Date:  Fri, 02 Mar 2001 17:51:48 -0600
 To:  "Michael Gerholdt" <gerholdt(at)fredonia.edu>,
<hwg-techniques(at)hwg.org>
 In-Reply-To:  fredonia
  todo: View Thread, Original
At 01:25 PM 3/1/01 -0500, Michael Gerholdt wrote:

>Url is http://www.barkerbrewco.com/
>
>Code in question, though maybe more is wrong:
>
><tr>
>  <td width="55"><IMG SRC="images/curveLB.gif" WIDTH="55" HEIGHT="55"
>BORDER="0" ALT="" align="left" valign="top" hspace="0" vspace="0"></td><td
>bgcolor="#ffffee" width="100%">&nbsp;</td><td width="55"><IMG
>SRC="images/curveRB.gif" WIDTH="55" HEIGHT="55" BORDER="0" ALT=""
>align="right" valign="top" hspace="0" vspace="0"></td>
></tr>

I took a quick look -- umm, looks good!

One of the first things I see is td width="55" -- 55 what??
Then you have td width=100%

I can't speak for Opera's rendering, but I know NN really, really doesn't 
like it when you mix absolute widths with percentage widths.

Then, I ran your page through the W3C validator, many, many times that tool 
has helped me find problems that my two eyes couldn't/wouldn't see and your 
page does have some problems.

First thing -- go put borders back into your tables. If you can't find the 
errant table, then start putting each table on it's own page just for 
testing. But, I'm still thinking your biggest problem is that 100% wide 
cell that has a non-breaking space in there. How much space do you really 
need? Perhaps a transparent gif would work? Go with something like 1x1 or 
whatever and *stretch* it to a more precise measurement, then you can get 
rid of the percentage width on the td.

Just some Friday night thoughts anyway,
Tamara

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