stefan0001
Neues Mitglied
Hey Leute
Habe ein kleines problem mit der broder-Anzeige.
Im IE haben die 2 roten Boxen ein Höhe von 24px (20 + 2 + 2)
Wenn ich die Seite aber im Firefox aufrufe habe ich eine höhe von 20px (16 + 2 + 2)
scheinabr reduziert firefox meine content-höhe con 20 auf 16 px
Wir kann ich dieses Problem lösen?
Mfg Stefan
ACHJA MEIN CODE:
Habe ein kleines problem mit der broder-Anzeige.
Im IE haben die 2 roten Boxen ein Höhe von 24px (20 + 2 + 2)
Wenn ich die Seite aber im Firefox aufrufe habe ich eine höhe von 20px (16 + 2 + 2)
scheinabr reduziert firefox meine content-höhe con 20 auf 16 px
Wir kann ich dieses Problem lösen?
Mfg Stefan
ACHJA MEIN CODE:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" type="text/css" href="style.css">
<title> </title>
</head>
<body>
<table id="test" cellpadding="0" cellspacing="5"><tbody>
<tr> <td></td> <td></td> </tr>
</tbody></table>
</body>
</html>
Code:
#test {
table-layout:fixed;
}
#test td {
width:100px;
height:20px;
border-width:2px;
border-style:solid;
border-color:black;
background-color:red;
}