Tycker att detta borde vara jätte enkelt (vilket det antagligen är)Få linje att presenteras lika i IE och FF
Försöker få IE och FF att tolka en vanlig horizontel linje i en tabell på samma sätt.
<code>
<tr>
<td colspan="4" height="1" bgcolor="#dddddd"></td>
</tr>
</code>
Detta blir en 1px linje i IE men en typ 6px i FF. Hur åstadkommer jag en tunn linje i både IEoch FF?
Hela koden:
<code>
<html>
<head>
<title>Table</title>
<style type="text/css">
body
{
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #666666;
}
td
{
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #666666;
}
</style>
</head>
<body>
<table border="0" cellpadding="3" cellspacing="0" width="170">
<tr>
<td width="100"> </td>
<td align="center" width="20"><b>M</b></td>
<td align="center" width="25"><b>+/-</b></td>
<td align="center" width="25"><b>P</b></td>
</tr>
<tr>
<td colspan="4" height="1" bgcolor="#dddddd"></td>
</tr>
<tr bgcolor="#eeeeee">
<td><b>Team 1</b></td>
<td align="center">11</td>
<td align="center">45</td>
<td align="center">30</td>
</tr>
<tr bgcolor="#ffffff">
<td>Team 2</td>
<td align="center">10</td>
<td align="center">37</td>
<td align="center">27</td>
</tr>
<tr bgcolor="#eeeeee">
<td>Team 1</td>
<td align="center">10</td>
<td align="center">23</td>
<td align="center">25</td>
</tr>
<tr bgcolor="#ffffff">
<td>Team 2</td>
<td align="center">10</td>
<td align="center">37</td>
<td align="center">27</td>
</tr>
<tr bgcolor="#eeeeee">
<td>Team 1</td>
<td align="center">11</td>
<td align="center">45</td>
<td align="center">30</td>
</tr>
<tr bgcolor="#ffffff">
<td>Team 2</td>
<td align="center">10</td>
<td align="center">37</td>
<td align="center">27</td>
</tr>
<tr bgcolor="#eeeeee">
<td>Team 1</td>
<td align="center">10</td>
<td align="center">23</td>
<td align="center">25</td>
</tr>
<tr bgcolor="#ffffff">
<td>Team 2</td>
<td align="center">10</td>
<td align="center">37</td>
<td align="center">27</td>
</tr>
</table>
</body>
</html>
</code>
Tack på förhand!