HAllo, ich habe ein [coderwiki]Informationen/CSS[/coderwiki] verfasst. Ich habe nur ein Problem: wie kann ich das ganze zentrieren?
Mein CSS sieht so aus:
Alles anzeigen
Es wäre sehr nett, wenn mir jemand helfen könnte. Danke schon im Voraus...

Mein CSS sieht so aus:
Quellcode
- @media screen{
- body {
- font-family: arial;
- width: 760px;
- text-align: left;
- }
- #wrap{
- width: 760px;
- height: 100%;
- margin: 0 auto;
- padding: 0;
- text-align: left;
- }
- #header{
- float: left;
- width: 760px;
- height: 146px;
- text-align: right;
- border-top: 1px solid #999;
- }
- #navigation{
- float: left;
- width: 760px;
- height: 40px;
- padding-top: 10px;
- border-bottom: 1px solid #999;
- border-top: 1px solid #999;
- background-color: rgb(166, 213, 26);
- }
- #content{
- float: left;
- height: 400px;
- width: 559px;
- }
- #sidebar{
- float: left;
- height: 400px;
- width: 201px;
- top: o;
- background-color: rgb(200, 200, 200); /*192*/
- }
- h1,h2,h3,h4,h5,p{
- margin: 20px;
- }
- p{
- margin: 15px 20px;
- }
- p.boxtext{
- border: 1px solid #000;
- padding: 5px;
- }
- blockquote{
- font-style: oblique; /*kursiv*/
- }
- q {
- font-style: oblique;
- }
- a:active{
- font-family: arial;
- color: white;
- font-size: 120%;
- text-decoration: none;
- }
- a:link{
- font-family: arial;
- color: white;
- text-decoration: none;
- }
- a:hover{
- font-family: arial;
- color: blue;
- text-decoration: none;
- }
- a:visited{
- font-family: arial;
- color: white;
- text-decoration: none;
- }
- }
- ol ol{
- list-style-type: decimal;
- }
- }
Es wäre sehr nett, wenn mir jemand helfen könnte. Danke schon im Voraus...