Nested tables in NN4.x
by Chuck Evans <Chucke(at)captura.com>
|
| Date: |
Wed, 14 Feb 2001 14:00:45 -0800 |
| To: |
"HWG Techniques (E-mail)" <hwg-techniques(at)hwg.org> |
| |
todo: View
Thread,
Original
|
|
I always thought the way to get around Netscape repeating an image in =
all
the cells of a table (where the background is specified in the table =
tag)
was to nest that table in another table that has just one cell, and =
that
cell is given the background image. I hope I'm being clear.
That works for NN6.
But NN 4.x ends up repeating the image in both of the cells of the =
nested
table. What gives?
You can see the table in question at =
http://www.captura.com/en/poop.html
And here is the code:
<!--Wrap main body table in another table with the background image to
support NN bug-->
<table width=3D"770" cellspacing=3D"0" cellpadding=3D"0" border=3D"0">
<tr><td width=3D"770" valign=3D"top" =
background=3D"/images/text_background.jpg">
<!--Start Main Body Table: Two Columns-->
<table width=3D"770" cellspacing=3D"0" cellpadding=3D"0" border=3D"0">
<tr>
<td width=3D"101" valign=3D"top">
<!--change the following include file to match the page content-->
<div align=3D"center">
<p><hr color=3D"#FFFFFF" size=3D"1">
<span class=3D"whatsnewhead"> test test test</span>
<hr color=3D"#FFFFFF" size=3D"1">
</div>
<div align=3D"center" class=3D"whatsnewbodymargin">
<span class=3D"whatsnewtext"> test test test test test test test test =
test
test test test</span></p>
<p class=3D"whatsnewtext"> test test test test test test test test =
test</p>
<p class=3D"whatsnewtext"> test test test test test test test test =
test</p>
</div>
</td>
<td width=3D"669" valign=3D"top">
<!--change the following include file to match the page content-->
<h1>Test test test test test test test test test test test test test =
test
test test test test test test test test test test test test test test =
test
test test test test test test test test test test test test test test =
test
test test</h1>
<p> </p>
<p><a href=3D"#top"></a></p>
<p> </p>
</td>
</tr>
</table>
<table width=3D"770" height=3D"54" cellpadding=3D"4" cellspacing=3D"0" =
border=3D"0"
background=3D"/images/currency_signs.gif">
<tr>
<td align=3D"left" valign=3D"bottom" width=3D"770" height=3D"54">
<p class=3D"copyright"> <a href=3D"/en/mouseprint.html"
class=3D"copyrightlink">Copyright</a> =A9 2001 Captura. All rights =
reserved.
Please send comments or suggestions to: <a
href=3D"mailto:webmaster@captura.com"
class=3D"copyrightlink">webmaster@captura.com</a>.</p>
</td>
</tr>
</table>
</td></tr></table> <!-- Close "bug wrapping" table -->
Chuck Evans
Captura, Inc.=20
(425) 803-6455=20
http://www.captura.com
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.