Moderator: lauras
<!DOCTYPE html>
<html>
<head>
<title>Titel</title>
<meta charset="utf-8" />
<link rel="stylesheet" type="text/css" media="screen" href="css.css"/>
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<div id="page">
<header>
<h1>title h1</h1>
</header>
<nav>
<ul>
<li><a href="#"title="title">nav</a></li>
<li><a href="#"title="title">nav</a></li>
<li><a href="#"title="title">nav</a></li>
<li><a href="#"title="title">nav</a></li>
<li><a href="#"title="title">nav</a></li>
</ul>
</nav>
<article>
<p>article</p>
</article>
<aside>
<p>aside</p>
</aside>
<footer>
<p>footer</p>
</footer>
</div>
</body>
</html>
/* css.css */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}
:focus {
outline: 0;
}
body {
line-height: 1;
color: black;
background: white;
}
ol, ul {
list-style: none;
}
table {
border-collapse: separate;
border-spacing: 0;
}
caption, th, td {
text-align: left;
font-weight: normal;
}
blockquote:before, blockquote:after, q:before, q:after {
content: "";
}
blockquote, q {
quotes: "" "";
}
html {
}
body {
}
div#page {
width: 960px;
margin: 0 auto;
margin-top: 20px;
}
header {
background-color: #ddd;
margin-bottom: 20px;
}
nav {
background-color: #ddd;
margin-bottom: 20px;
}
article {
float: left;
width: 300px;
background-color: #ddd;
margin-bottom: 20px;
}
aside {
float: right;
width: 620px;
background-color: #ddd;
margin-bottom: 20px;
}
footer {
clear: both;
background-color: #ddd;
margin-bottom: 20px;
}
Zurück zu News - Fragen und Antworten zum Board
Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast