[thelist] RE: Netscape 6 problem, tables ... hmm...

33mic 33mic at Bellsouth.net
Thu Feb 14 09:57:00 CST 2002


Wolfgang,

I believe the way to keep N6 from adding space between two tables lies in
the realm
of Cascading Style Sheets. In the head of your document include this:
<style type="CSS">
<!--
.collapse1 (or whatever name you want to call your class) { margin-collapse:
0em; }
.collapse2 { margin-collapse: 0em; }
-->
</style>
</head>
after creating the style rule apply the div tag in the body of your document
like so:
<div class="collapse1">
<table>
 <tr>
 <td></td>
 </tr>
</table>
</div>

<div class="collapse2">
<table>
 <tr>
 <td></td>
 </tr>
</table>
</div>

I hope this helps! It is my first time actually "jumping in" and I am
relatively new to web development. Try it.
It worked for me.
Michaux
-----Original Message-----

Message: 19
From: Wolfgang Klinger <hermann.klinger at chello.at>
To: thelist at lists.evolt.org
Date: Thu, 14 Feb 2002 12:24:10 +0100
Subject: [thelist] netscape 6 problem
Reply-To: thelist at lists.evolt.org

hiya!

my problem is that NS6 adds 4 or so pixel at the bottom
whenever I define a table
how can I avoid this?

example:

<table border="0" cellspacing="0" cellpadding="0" width="762" height="118">
    <tr>
      <td width="16">...</td>
      <td width="338" valign="bottom">...</td>
      <td width="408" valign="bottom">...</td>
    </tr>
  </table>
  <table border="0" cellspacing="0" cellpadding="0" width="100%">
    <tr>
      <td width="100%" style="background-color:#ccc;">&nbsp;</td>
    </tr>
  </table>

I don't want to have any space between those 2 tables ...

tia
Wolfgang


---------------------------
wazum-mail ;-)
e-mail: wolfgang at wazum.com
web: http://www.wazum.com







More information about the thelist mailing list