CSS Beispiellayout 1


Kopieren Sie bitte den folgenden Code in eine leere Textdatei.

<!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>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<meta name="Description" content="Geben Sie hier die Beschreibung der Webseite ein"/>
<meta name="Keywords" content="Geben Sie hier Keywoerter zu Webseite ein"/>
<meta name="author" content="HOWTO4ALL.de"/>
<meta name="ROBOTS" content="index,follow" />
<title>Geben Sie hier den Seitentitel ein</title>

<style type="text/css">
<!--

html {min-height: 100%;}

* {
margin: 0;
padding: 0;
font-size: 10px;
font-family: Verdana, Arial, Helvetica, sans-serif;
}

body {

}

.clearer {clear: both; font-size: 0;}
.left {float: left;}

.inner-container {
border: 1px solid #000000;
background: #FFF;
font-size: 1.2em;
margin: 0 auto;
padding: 10px;
width: 970px;
margin-top: 8px;
}

.outer-container {
padding-bottom: 14px;

}

.header {
border: 1px solid #000000;
height: 160px;
margin-bottom: 5px;
background-color: #FFCC00;
}

.content {
border: 1px solid #000000;
float: right;
width: 745px;
height: 450px;
background-color: #FFFFCC;
margin-top: 8px;
}

.navigation {
border: 1px solid #000000;
float: left;
width: 210px;
height: 450px;
margin-top: 8px;
background-color: #666666;
}

.footer {
border: 1px solid #000000;
color: #000000;
margin-top: 8px;
padding: 2px 4px;
}
.footer a {
color: #000000;
text-decoration: none;
}

-->
</style>
</head>

<body>

<div class="outer-container">

<div class="inner-container">

<div class="header">
<h1>Header</h1>
</div>

<div class="content">
<h1>Content</h1>
</div>

<div class="navigation">
<h1>Menu</h1>
</div>

<div class="clearer"></div>

<div class="footer">
<span class="left">
<a href="http://www.howto4all.de/">Zur freien Verwendung bereitgestellt von HOWTO4ALL.de</a>.
</span>
<div class="clearer"></div>
</div>

</div>

</div>

</body>
</html>


 

Sonstiges