Re: SOS... tables are making me crazy!

by "Ramon Bartschat" <bartschat(at)goldnet.sk>

 Date:  Sat, 5 Jun 1999 19:19:40 +0200
 To:  "Lonna Poland" <lonna(at)granbury.com>,
<hwg-graphics(at)hwg.org>
  todo: View Thread, Original
>Have any of you worked for hours all day on a layout, only to find out it
>lines up perfectly in Internet Explorer... .but in Netscape it's all out of
>whack?
>
>Help!  I'm so frustrated I could scream!
>
>I don't understand why I have to use different coding to line up the first
>bio next to the navigation buttons, and a different coding for the other
>three!  I have tried percents... I have tried exact measurements... I have
>tried combinations and all of the above.  But when I get the top bio lined
>up and it finally looks ok in IE... I load Netscape and I want to cry!
>


Lonna,
valid HTML or not valid HTML, in any case I had the same headaches with NN,
Opera
and M$IE tables like you.
And believe me my code was 100% according to HTML 3.2.
Netscape has mayor problems in displaying properly tables, M$IE and Opera do
a
better job.

An interesting workaround I found once on someones elses webpage was to have
a transparent 1x1 pixel image and define a first table row with absolute
pixel values for witdhts (no %) and then do one entire row with all the
cells and fill each cell horizontally with this 1x1 pixel image adjusting
the width. This forces ANY browser to space the cells correctly.

For example to do a 3 column cell you would do something like this
<TABLE WIDTH=300 CELLSPACING=0 CELLPADDING=0 BORDER=0>
<TR>
   <TD HEIGHT=1 WIDTH=50><IMG SRC="1x1.gif" HEIGHT=1 WIDTH=50></TD>
   <TD HEIGHT=1 WIDTH=150><IMG SRC="1x1.gif" HEIGHT=1 WIDTH=150></TD>
   <TD HEIGHT=1 WIDTH=100><IMG SRC="1x1.gif" HEIGHT=1 WIDTH=200></TD>
</TR>
rest of table...
</TABLE>

I simplified matters here I just want to transmit the idea.

Ramon

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