erika: css problem

Beitrag lesen

Hallo,

wie wäre diese Lösung?

<?xml version="1.0" encoding="iso-8859-1"?>
<!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>
<title>Beispiel für Selfforum</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
<!--
.body {
width:100%; height:100%;
margin:0px; padding:0px;
font-face: verdana, arial, helvetica, sans-serif;
}
.bild {float:left;text-align:center;}
. bild img {margin:20px;}
.text {float:left; background-color:#fff; color:blue; font-size: 20px;  margin:30px;}
-->
</style>
</head>
<body>
<div class="bild"><img src="gerflag.jpg" width="170" height="97" border="0" alt="Gerflag"/></div>
<div class="text">Willkommen</div>
<div class="bild"><img src="usflag.jpg" width="170" height="97" border="0" alt="USflag"/></div>
</body>
</htm>

Funktioniert bei mir mit IE 5.5 und Mozilla 1.1, nicht im NN 4.75.

Gruß
erika

--
Hauptsache dem Hund geht's gut