Hi,

ich möchte ein div mit ner Hintergrundfarbe ausstatten.

standard.css :
HTML-Code:
// CSS-Stylesheet

body {
 font-family: Courier New, Courier, Arial;
}

div {
 text-align: justify;
 padding:    0px;
 border:     0px;
 margin:     0px;
}

#main {
 width:  1000px;
 height: 600px;
}

#menue {
 width:  200px;
 height: 600px;
 float:  left;
}

#inhalt {
 width:  800px;
 height: 600px;
 float:  left;
}

ul {
 list-style-type: none;
 margin:          0px;
 margin-top:      10px;
 font-weight: bold;
}

li.main {
 margin:     0px;
 margin-top: 10px;
}

li ul {
 margin:      0px;
 margin-top:  0px;
 margin-left: 10px;
 font-weight: normal;
}

// h1:before{content:"Achtung!";color:#ff0000;}
A.menulink {
 display: block;
 width: 110px;
 text-align: center;
 text-decoration: none;
 font-family: Arial;
 font-size: 12px;
 color: #000000;
 background-color: #FFFFFF;
 border-style: solid;
 border-width: 1px;
 border-color: #000000;
}

A.menulink:hover {
 border-style: solid;
 border-width: 1px;
 border-color: #6100C1;
 color: #000000;
 background-color: #F0E1FF;
}

#texte {
 border-width: 5px;
 border-style: solid;
 border-color: #800000;
 background-color:#efefef;
}
home.060313.htm
HTML-Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 //EN">
<HTML>
<HEAD>
<TITLE>simplify - Newsletter Sammlung - 13.03.2006</TITLE>
<META NAME="description" CONTENT="Eine Sammlung von simplify Newslettern">
<META NAME="author" CONTENT="lilith">
<META NAME="keywords" CONTENT="simplify newsletter">
<META NAME="generator" CONTENT="Ulli Meybohms HTML EDITOR">
<LINK REL="stylesheet" HREF="styles/standard.css" TYPE="text/css">
</HEAD>
<BODY FONT-FAMILY="Courier New" TEXT="#005900" LINK="#800000" ALINK="#800000" VLINK="#804040">
 <H1>4:0 gegen das Gerümpel</H1>
 <DIV bgcolor="800000" ID="texte">Hier fehlt Text.</DIV>
</BODY>
</HTML>
Ich habe es auch bereits mit P versucht - ebenfalls erfolglos... WAS mach ich falsch?