ultros: runde ecken in <div>-tags oder tabellen

Beitrag lesen

also, ich glaube ich bin irgendwie zu blöd. mein code sieht jetzt so aus:

<html>

<head>
  <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
  <title>test</title>
  <link href="main.css" rel="styleSheet" type="text/css">
 </head>

<body bgcolor="#ffffff">
  <div class="content1"><div class="content2"><div class="content3">
  <p>test</p>

</div id="content1"></div id="content2"></div id="content3">
 </body>

</html>

die main.css

.inhalt1 {
  width:485px;
  float:left;
  background-image:url:("oben.gif") no-repeat left bottom;
  margin:15px 0 0;
  padding:0 0 10px;
  color:#000;
  font-size:97%;
  line-height:1.5em;
  background-color: green;
  }

.inhalt2 {
  float:left;
  width:485px;
  background-image:url:("unten.gif") no-repeat left top;
  padding:10px 0 0;
  background-color: green;
  }
.inhalt3 {
  background-image:url:("mitte.gif") repeat-y;
  padding:0;
  background-color: green;
  }

alle dateien liegen im gleichen verzeichnis und alles, was angezeigt wird ist "test" auf weissem grund. aber warum?