[thelist] tables- simple netscape problem (help)
aardvark
roselli at earthlink.net
Tue Oct 10 23:48:23 CDT 2000
the code is wonky... you are relying on 'width' attributes in your
<td>s, something NN casually ignores without spacers in place...
and since you know your table width, this is easy... keeping
everything in one table would be a big help... dumping some
attributes (like height, and backgrounds) is a no-brainer here, as
well... remember, your images can determine the table cell sizes...
you've also got a useless <div> in there... and remember that NN
needs *something* in a table cell in order to render it's background
image or color...
anyway, paste in the following code:
<table width="600" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"><img
src="images/apparence_table/top_left.gif" width="20" height="20"
alt=""></td>
<td width ="560"><img src="images/apparence_table/top.gif"
width="560" height="20" alt=""></td>
<td width="20"><img
src="images/apparence_table/top_right.gif" width="20" height="20"
alt=""></td>
</tr>
<tr>
<td width="20"><img src="images/apparence_table/left.gif"
width="20" height="260" alt=""></td>
<td bgcolor="#000000" align="center" valign="center"><object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/f
lash/swflash.cab#version=4,0,2,0" width="500" height="251">
<param name=movie value="images/swf/pour_marcel.swf">
<param name=quality value=high>
<embed src="images/swf/pour_marcel.swf" quality=high
pluginspage="http://www.macromedia.com/shockwave/download/in
dex.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-
shockwave-flash" width="500" height="251">
</embed>
</object></td>
<td width="20"><img src="images/apparence_table/right.gif"
width="20" height="260" alt=""></td>
</tr>
<tr>
<td width="20"><img
src="images/apparence_table/bottom_left.gif" width="20"
height="20" alt=""></td>
<td width ="560"><img
src="images/apparence_table/bottom.gif" width="560" height="20"
alt=""></td>
<td width="20"><img
src="images/apparence_table/bottom_right.gif" width="20"
height="20" alt=""></td>
</tr>
</table>
watch for all the wrap...
you'll note i added 'alt' attributes, dumped tags and attributes that
aren't supported by both browsers, and generally cleaned it up...
i suggest you dump whatever editor is you are using, not that it
produced horrible code, but it was certainly not the best...
this should also work in all table-supporting versions of NN and IE...
> From: Stephane Gosselin <taz at hy.cgocable.ca>
>
> Hi. I know there ain t much to this but I'm stooped. Compatibility for
> Netscape 4 & IE 4 & up desired, but..... the table on
> www.designtotus.com looks bad in netscape no matter HOW i code it. THere
> has to be a simpler way of doing this?
More information about the thelist
mailing list