Hallo !
Ich hab das Problem, daß ich im Internet Explorer
meine Tabelle mit CSS nicht mittig ausrichten kann.
In Opera und Netscape klappts.
Hier mal der code:
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Unbenanntes Dokument</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link href="testcss.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table id="bla">
<tr>
<td>iugi</td>
</tr>
</table>
</body>
</html>
Und das CSS file:
#bla {
width : 600px;
border : 1px solid #000000;
margin-left : auto;
margin-right : auto;
}
Im Internet Explorer funktioniert das nur, wenn ich
das <?xml version="1.0"?> weglasse. Aber das wäre doch dann
nicht mehr standartkonform oder ?
Ich bedanke mich schonmal !