CPU
Lieutenant
- Registriert
- Jan. 2006
- Beiträge
- 704
Da ist Sie wieder. Die Kontroverse zwischen Internet Explorer und Firefox, Safari, Netscape etc.
Ich will doch einfach nur eine Leiste erzeugen, die sich mittig am oberen Bildrand befindet. An allen vier Ecken soll ein Bild sein, das die Ecken abrundet (Tabelle: 3 Spalten, 3 Zeilen). Im IE klappts super, aber in Firefox & Co. wird alles sehr in die Höhe gezogen.
Quellcode:
Die Bilder sind überigens 8 x 8 px groß
Ich hoffe auf Hilfeee!
CPU
Ich will doch einfach nur eine Leiste erzeugen, die sich mittig am oberen Bildrand befindet. An allen vier Ecken soll ein Bild sein, das die Ecken abrundet (Tabelle: 3 Spalten, 3 Zeilen). Im IE klappts super, aber in Firefox & Co. wird alles sehr in die Höhe gezogen.
Quellcode:
HTML:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<title>Testseite</title>
<style type="text/css">
body {
margin: 0px;
padding: 0px;
}
.tbl {
height: 35px;
width: 98%;
padding: 0px;
border: none;
}
.tbleck {
width: 8px;
height: 8px;
background-color:#FFFFFF;
}
.tblnoctn {
background-color:#000000;
height: 8px;
}
.tblCont {
background-color:#000000;
}
</style>
</head>
<body>
<center>
<table align="center" class="tbl" cellspacing="0" border=1 cellpadding="0" width="98%">
<tbody>
<tr>
<td class="tbleck"><img src="lo.png" /></td>
<td height="8px" class="tblnoctn"></td>
<td class="tbleck"><img src="ro.png" /></td>
</tr>
<tr>
<td class="tblnoctnNextCont"></td>
<td class="tblCont">
Textinhalt hier!
</td>
<td class="tblnoctnNextCont"></td>
</tr>
<tr>
<td class="tbleck"><img src="lu.png" /></td>
<td height="8px" class="tblnoctn"></td>
<td class="tbleck"><img src="ru.png" /></td>
</tr>
</tbody>
</table>
</center>
</body>
</html>
Ich hoffe auf Hilfeee!
CPU