Re: Netscape... Grrrrrr - Table Stretching

by "WoodyBoi" <woodyboi(at)mindspring.com>

 Date:  Thu, 26 Apr 2001 11:16:26 -0400
 To:  "Varnes,
Jeff" <JVarnes(at)americasmedia.com>,
<hwg-techniques(at)hwg.org>
 References:  americlas
  todo: View Thread, Original
but wouldnt adding the .&nbsp distort the appearance in IE then?

Unfortunately..  until there is a standard that all the browsers will
follow...  which will be NEVER more than likely...  we'll never be
able to code them to match precisely the same...  I could be wrong though

Woody

----- Original Message -----
From: "Varnes, Jeff" <JVarnes(at)americasmedia.com>
To: <hwg-techniques(at)hwg.org>
Sent: Thursday, April 26, 2001 10:15 AM
Subject: RE: Netscape... Grrrrrr - Table Stretching


> I don't know if this is the best work around for every situation, but it
has
> worked for me in almost every browser I have checked it in:
>
> 1)Set your table width to 100% (or 85% or 60% or whatever)
>
> 2)Set all of your columns using percentages and / or fixed values so that
> the whole table is filled and there is no wasted space.
>
> 2)Then make one extra empty column <.td> in your table containing only a
> space .&nbsp; and set it's width to 100%. This seems to always force the
> table to fill up in Netscape browsers by making that column stretch to
take
> up the additional space... I have done this using multiple 100% columns as
> "bookends" on tables before as well.
>
> Of course I may be off base and be missing a glaring problem with it
working
> correctly in other browsers (beyond the fact that it's not valid HTML ;)
> Anyone have any suggestions or input on NOT doing this or a modification
to
> it?
>
> See if this helps you.
>
> Jeff Varnes
> jvarnes(at)americasmedia.com
>
>
>
> -----Original Message-----
> From: David.Artiss(at)boots.co.uk [mailto:David.Artiss(at)boots.co.uk]
> Sent: Thursday, April 26, 2001 9:41 AM
> To: hwg-techniques(at)hwg.org
> Subject: Netscape... Grrrrrr
>
>
> My site is at a very basic stage and I'm just getting around to checking
> sections of it on Netscape before proceeding much further. Unfortunately,
> Netscape refuses to render something in the same was as IE and it's, err,
a
> bit
> annoying (images of me putting a boot through my monitor is springing to
> mind).
>
> At the top of each screen I have a title bar which is basically a table.
The
> entire table is defined as having a width of 100%. This ensures that the
> heading
> fits the screen, however you have it sized. The table is then divided into
3
> - a
> left hand "corner", the heading and a right hand "corner". Each of the
> corners
> are a fixed width, which default should mean the the middle section should
> be
> sized according to whatever of the width is remaining. This works fine in
IE
> but
> under Netscape the FIXED width "corners" are suddently far too big.
>
> Here's the code...
>
> <table cellpadding=0 cellspacing=0 border=3 width=100%><tr cellpadding=0
> cellspacing=0 border=0 width=100% height=50>
> <td cellpadding=0 cellspacing=0 border=0 width=26><img
> src="images/bar1a.gif"
> width="26" height="50"></td>
> <td background="images/bar1b.gif" cellpadding=0 cellspacing=0
border=0><img
> src=
> "images/reviews.gif"></td>
> <td cellpadding=0 cellspacing=0 border=0 width=32><img
> src="images/bar1c.gif"
> width="32" height="50"></td>
> </tr></table>
>
> I will admit to have gone a bit mad with some of the elements
(cellpadding,
> etc)
> simply to keep Netscape happy.
>
> To get an idea of what this should look like, try
> http://www.pulpsf.f2s.com/abyss.html
>
> Any advice you could give on this would be much appreciated.
>
> David Artiss.
>

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