M
Maik
Dann schau dir mal das hier an:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="de">
<head>
<title>CSS</title>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Style-Type"/>
<style type="text/css">
<!--
html,body {
margin: 0;
padding: 0;
background: #ffffff;
}
.backbox {
border: 5px solid green;
margin-left: 15px;
background: #ffffff;
padding: 0px 0px 15px 0px;
width: 950px;
height: 820px;
border-top: 15px solid #green;
border-right: 15px solid #green;
}
#stripline {
width: 99%;
border: 2px solid black;
/*position:absolute;top:0px;left:7px;*/ /* auskommentiert = deaktiviert */
padding:124px 0 2px 0;
margin:0;
background:transparent;
border-bottom:1px solid #0084A5;
}
#stripline p{
padding:4px;
margin:0;
background:#e72c50;
border-top:1px solid #0084A5;
border-bottom:1px solid #0084A5;
}
--> /* hat gefehlt */
</style>
</head>
<body>
<div class="backbox">
<div id="stripline">
<p style="height: 1px"><img src="Bilder/pixel_rot.jpg"></p>
</div>
</div>
</body>
</html>