R
Robert Secon
Hi there,
when using IE5+ my style sheets just work fine, but Mozilla does not agree
with it and I can´t figure out which mistake it is. Usually the thing about
it is that every row is displayed well but Mozilla displays the first row
too big and cuts away the second row of the text. Can somebody tell me what
is wrong with it and how to change the code?
(HTML-Table wrapped around in php-code)
echo "<table width=\"151\" border=\"0\" cellspacing=\"2\" cellpadding=\"0\"
align=\"left\">
<tr
height=\"1\">
<td colspan=\"3\" height=\"1\" bgcolor=\"white\"></td>
</tr>
<tr>
<td> </td>
<td align=\"center\" colspan=\"2\"> <font
face=\"Arial,Helvetica,Geneva,Swiss,SunSans-Regular\"><font
color=\"white\"><b><a style=\"color:#FFFFFF; font-size=6pt;\"
href=\"index.php?id=2&id2=11\" target=\"_self\">Text 1 is in
here</a></b></font></font></td>
</tr>
<tr
height=\"1\">
<td colspan=\"3\" bgcolor=\"white\" height=\"1\"></td>
</tr></table>
";
echo "<table width=\"151\" border=\"0\" cellspacing=\"2\" cellpadding=\"0\">
<tr
height=\"1\">
<td colspan=\"3\" height=\"1\" bgcolor=\"white\"></td>
</tr>
<tr>
<td> </td>
<td align=\"center\" colspan=\"2\"> <font size=\"-2\"
face=\"Arial,Helvetica,Geneva,Swiss,SunSans-Regular\"><font
color=\"white\"><b><a style=\"color:#FFFFFF; font-size=6pt;\"
href=\"index.php?id=2&id2=12\" target=\"_self\">Text 2 is in
here</a></b></font></font></td>
</tr>
<tr
height=\"1\">
<td colspan=\"3\" bgcolor=\"white\" height=\"1\"></td>
</tr></table>
";
echo "<table width=\"151\" border=\"0\" cellspacing=\"2\" cellpadding=\"0\">
<tr
height=\"1\">
<td colspan=\"3\" height=\"1\" bgcolor=\"white\"></td>
</tr>
<tr>
<td> </td>
<td align=\"center\" colspan=\"2\"> <font size=\"-2\"
face=\"Arial,Helvetica,Geneva,Swiss,SunSans-Regular\"><font
color=\"white\"><b><a style=\"color:#FFFFFF; font-size=6pt;\"
href=\"index.php?id=2&id2=13\" target=\"_self\">Text 3 is in
here</a></b></font></font></td>
</tr>
<tr
height=\"1\">
<td colspan=\"3\" bgcolor=\"white\" height=\"1\"></td>
</tr></table>
";
echo "<table width=\"151\" border=\"0\" cellspacing=\"2\" cellpadding=\"0\">
<tr
height=\"1\">
<td colspan=\"3\" height=\"1\" bgcolor=\"white\"></td>
</tr>
<tr>
<td> </td>
<td align=\"center\" colspan=\"2\"> <font size=\"-2\"
face=\"Arial,Helvetica,Geneva,Swiss,SunSans-Regular\"><font
color=\"white\"><b><a style=\"color:#FFFFFF; font-size=6pt;\"
href=\"index.php?id=2&id2=14\" target=\"_self\">Text 4 is in
here</a></b></font></font></td>
</tr>
<tr
height=\"1\">
<td colspan=\"3\" bgcolor=\"white\" height=\"1\"></td>
</tr></table>
";
echo "<table width=\"151\" border=\"0\" cellspacing=\"2\" cellpadding=\"0\">
<tr
height=\"1\">
<td colspan=\"3\" height=\"1\" bgcolor=\"white\"></td>
</tr>
<tr>
<td> </td>
<td align=\"center\" colspan=\"2\"> <font size=\"-2\"
face=\"Arial,Helvetica,Geneva,Swiss,SunSans-Regular\"><font
color=\"white\"><b><a style=\"color:#FFFFFF; font-size=6pt;\"
href=\"index.php?id=2&id2=15\" target=\"_self\">Text 5 is in
here</a></b></font></font></td>
</tr>
<tr
height=\"1\">
<td colspan=\"3\" bgcolor=\"white\" height=\"1\"></td>
</tr></table>
";
echo "<table width=\"151\" border=\"0\" cellspacing=\"2\" cellpadding=\"0\">
<tr
height=\"1\">
<td colspan=\"3\" height=\"1\" bgcolor=\"white\"></td>
</tr>
<tr>
<td> </td>
<td align=\"center\" colspan=\"2\"> <font size=\"-2\"
face=\"Arial,Helvetica,Geneva,Swiss,SunSans-Regular\"><font
color=\"white\"><b><a style=\"color:#FFFFFF; font-size=6pt;\"
href=\"index.php?id=2&id2=16\" target=\"_self\">Text 6 is in
here</a></b></font></font></td>
</tr>
<tr
height=\"1\">
<td colspan=\"3\" bgcolor=\"white\" height=\"1\"></td>
</tr></table>
";
}
when using IE5+ my style sheets just work fine, but Mozilla does not agree
with it and I can´t figure out which mistake it is. Usually the thing about
it is that every row is displayed well but Mozilla displays the first row
too big and cuts away the second row of the text. Can somebody tell me what
is wrong with it and how to change the code?
(HTML-Table wrapped around in php-code)
echo "<table width=\"151\" border=\"0\" cellspacing=\"2\" cellpadding=\"0\"
align=\"left\">
<tr
height=\"1\">
<td colspan=\"3\" height=\"1\" bgcolor=\"white\"></td>
</tr>
<tr>
<td> </td>
<td align=\"center\" colspan=\"2\"> <font
face=\"Arial,Helvetica,Geneva,Swiss,SunSans-Regular\"><font
color=\"white\"><b><a style=\"color:#FFFFFF; font-size=6pt;\"
href=\"index.php?id=2&id2=11\" target=\"_self\">Text 1 is in
here</a></b></font></font></td>
</tr>
<tr
height=\"1\">
<td colspan=\"3\" bgcolor=\"white\" height=\"1\"></td>
</tr></table>
";
echo "<table width=\"151\" border=\"0\" cellspacing=\"2\" cellpadding=\"0\">
<tr
height=\"1\">
<td colspan=\"3\" height=\"1\" bgcolor=\"white\"></td>
</tr>
<tr>
<td> </td>
<td align=\"center\" colspan=\"2\"> <font size=\"-2\"
face=\"Arial,Helvetica,Geneva,Swiss,SunSans-Regular\"><font
color=\"white\"><b><a style=\"color:#FFFFFF; font-size=6pt;\"
href=\"index.php?id=2&id2=12\" target=\"_self\">Text 2 is in
here</a></b></font></font></td>
</tr>
<tr
height=\"1\">
<td colspan=\"3\" bgcolor=\"white\" height=\"1\"></td>
</tr></table>
";
echo "<table width=\"151\" border=\"0\" cellspacing=\"2\" cellpadding=\"0\">
<tr
height=\"1\">
<td colspan=\"3\" height=\"1\" bgcolor=\"white\"></td>
</tr>
<tr>
<td> </td>
<td align=\"center\" colspan=\"2\"> <font size=\"-2\"
face=\"Arial,Helvetica,Geneva,Swiss,SunSans-Regular\"><font
color=\"white\"><b><a style=\"color:#FFFFFF; font-size=6pt;\"
href=\"index.php?id=2&id2=13\" target=\"_self\">Text 3 is in
here</a></b></font></font></td>
</tr>
<tr
height=\"1\">
<td colspan=\"3\" bgcolor=\"white\" height=\"1\"></td>
</tr></table>
";
echo "<table width=\"151\" border=\"0\" cellspacing=\"2\" cellpadding=\"0\">
<tr
height=\"1\">
<td colspan=\"3\" height=\"1\" bgcolor=\"white\"></td>
</tr>
<tr>
<td> </td>
<td align=\"center\" colspan=\"2\"> <font size=\"-2\"
face=\"Arial,Helvetica,Geneva,Swiss,SunSans-Regular\"><font
color=\"white\"><b><a style=\"color:#FFFFFF; font-size=6pt;\"
href=\"index.php?id=2&id2=14\" target=\"_self\">Text 4 is in
here</a></b></font></font></td>
</tr>
<tr
height=\"1\">
<td colspan=\"3\" bgcolor=\"white\" height=\"1\"></td>
</tr></table>
";
echo "<table width=\"151\" border=\"0\" cellspacing=\"2\" cellpadding=\"0\">
<tr
height=\"1\">
<td colspan=\"3\" height=\"1\" bgcolor=\"white\"></td>
</tr>
<tr>
<td> </td>
<td align=\"center\" colspan=\"2\"> <font size=\"-2\"
face=\"Arial,Helvetica,Geneva,Swiss,SunSans-Regular\"><font
color=\"white\"><b><a style=\"color:#FFFFFF; font-size=6pt;\"
href=\"index.php?id=2&id2=15\" target=\"_self\">Text 5 is in
here</a></b></font></font></td>
</tr>
<tr
height=\"1\">
<td colspan=\"3\" bgcolor=\"white\" height=\"1\"></td>
</tr></table>
";
echo "<table width=\"151\" border=\"0\" cellspacing=\"2\" cellpadding=\"0\">
<tr
height=\"1\">
<td colspan=\"3\" height=\"1\" bgcolor=\"white\"></td>
</tr>
<tr>
<td> </td>
<td align=\"center\" colspan=\"2\"> <font size=\"-2\"
face=\"Arial,Helvetica,Geneva,Swiss,SunSans-Regular\"><font
color=\"white\"><b><a style=\"color:#FFFFFF; font-size=6pt;\"
href=\"index.php?id=2&id2=16\" target=\"_self\">Text 6 is in
here</a></b></font></font></td>
</tr>
<tr
height=\"1\">
<td colspan=\"3\" bgcolor=\"white\" height=\"1\"></td>
</tr></table>
";
}