Re: ARGGHH! Netscape!

by Kukla Fran and Ollie <weblists2001(at)yahoo.com>

 Date:  Mon, 18 Mar 2002 10:21:24 -0800
 To:  <hwg-techniques(at)hwg.org>
 Cc:  "Lisa Bradshaw" <zibbler(at)web-design-cs.com>
 References:  mediaone ryan ntlworld
  todo: View Thread, Original
Lisa,

First off, get rid of the redundant rowspan=1 and colspan=1 
attributes.  They are default and do not need to be explicitly 
stated.  Removing them provides for cleaner code.  :)

Second, here is the offender taken straight from your page:

<center><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="600" 
height="400">

<.TR>
<.TD ROWSPAN="1" COLSPAN="3" WIDTH="600" height="120">
         <.IMG NAME="flash0" SRC="flash_1x1.jpg" WIDTH="600" HEIGHT="120" 
BORDER="0"></TD>
<./TR>


-- snip --

<.TR>
<.TD ROWSPAN="1" COLSPAN="3" WIDTH="600" >
         <.IMG NAME="flash4" SRC="flash_3x1.jpg" WIDTH="600" HEIGHT="54" 
BORDER="0"></TD>
<./TR>
<./TABLE></center>
<!-- End Table -->


Change it to:

<center><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="600" 
height="400">

<.TR>
<.TD ROWSPAN="1" COLSPAN="3" WIDTH="600" height="120"><.IMG NAME="flash0" 
SRC="flash_1x1.jpg" WIDTH="600" HEIGHT="120" BORDER="0"></TD>
</TR>

-- snip --

<.TR>
<.TD ROWSPAN="1" COLSPAN="3" WIDTH="600" ><IMG NAME="flash4" 
SRC="flash_3x1.jpg" WIDTH="600" HEIGHT="54" BORDER="0"></TD>
<./TR>
<./TABLE></center>
<!-- End Table -->


Netscape does not like extra spaces in table cells, especially when the 
content is used as a layout mechanism.


Kukla


At 12:12 PM 3/18/02 -0500, Lisa Bradshaw wrote:
>Well, as usual NN4.7 is the fly in the ointment. I'm taking a Flash class
>and I made a web page to display my weekly assignments for the class. It
>works fin in NN6.2, IE6 and Opera6, but NN4.7 busts it up. It seems to be
>ignoring either the width, the centering of the table or both. Can someone
>have a look at it and see if they can figure out why this is happening
>please? I've been pulling my hair out all morning and can't figure out why
>it's doing this. Here's the url:
>
>http://www.web-design-cs.com/temps/lvsfl5/flash.htm
>
>TIA,
>Lisa
>***********************************
>Lisa Bradshaw ,  Web Designer
>
>Crescendo Web Design - http://www.web-design-cs.com
>***********************************


_________________________________________________________
Do You Yahoo!?
Get your free (at)yahoo.com address at http://mail.yahoo.com

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