Suche im Forum:
Suchen


Autor Nachricht
Beitrag14.07.2010 um 19:59 (UTC)    
Titel: CSS-Code zentrieren

Hallo, kann mir jemand helfen, warum mein Header mittig sitz und der Rest linksbündig.

Was im Code muss ich da ändern Question

Danke für Hilfe
______________
MfG aus Klein Paris-vereinzelte Rechtschreibfehler sind Special Effects meiner Tastatur
Beitrag14.07.2010 um 19:59 (UTC)    
Titel: Re: CSS-Code zentrieren

klein-paris hat Folgendes geschrieben:
Hallo, kann mir jemand helfen, warum mein Header mittig sitz und der Rest linksbündig.

Was im Code muss ich da ändern Question

Danke für Hilfe


<center></script>

<center><body link=blue vlink="#261F00" bgcolor=00039E
background="http://a.imageshack.us/img708/2506/parisanihead.gif" style='margin:0';>

a{
color:#FFF500;
text-decoration: none;
font-size:14px;}

a:link {
color: #FFEE00;
font-size: 16px;
text-decoration: none;}

a:visited {
color: #69592E;
font-size: 16px;
text-decoration: none;}

a:hover {
color: #FFF500;
font-size: 16px;
text-decoration: none;}

a:active {
color: #FF0000;
font-size: 16px;
text-decoration: none;}

#header_container {

z-index: 1;
position:absolute;
top: 50px;
left: 50%;
margin-left: -625px;
width: 1250px;
height: 150px;
background-image: url(http://a.imageshack.us/img708/2506/parisanihead.gif);
background-color: transparent;
background-repeat: no-repeat;
background-position: center;
position: absolute;
left: 0%;
top:1px;;
margin-left:4px;
width: 99%;
height:140px;
background-color:#transparent;
background-image:url(http://a.imageshack.us/img708/2506/parisanihead.gif);
color:#transparent;
padding:0px;
font-size:12px;
border: 0px solid #00B7FF;}

#content {
position:absolute;
left: 0%;
top: 170px;
margin-left: 220px;
width: 790px;
height: auto;
padding:10px;
text-align: center;
color: #B8EBFF;
font-size:14px;
background-color:#transparent;
background-image:url(http://o7e5zg.bay.livefilestore.com/y1pABGZ2jzHWw8p3Pbyqa_iT-RbCE63vj00aJaLmz7dzd-0AE4vPgV4viyavfF310DuuMVVmeUGU6Hwub50Qr0I3w/Gitter.gif);
border: 1px solid #00B7FF;}

#sidebar_container{
position: absolute;
left: 0%;
top: 170px;
margin-left: 1042px;
width: 200px;
height: auto;
background-color:#transparent;
background-image:url(http://o7e5zg.bay.livefilestore.com/y1pABGZ2jzHWw8p3Pbyqa_iT-RbCE63vj00aJaLmz7dzd-0AE4vPgV4viyavfF310DuuMVVmeUGU6Hwub50Qr0I3w/Gitter.gif);
border:1px solid #00B7FF;
color:#B8EBFF;}

#nav_container{
position: absolute;
left: 0%;
top: 170px;
margin-left: 4px;
width: 195px;
background-color:#transparent;
background-image:url(http://o7e5zg.bay.livefilestore.com/y1plN1Dft55Q73WoWzV5NAChgrmf0Rj8cjMWce8Mflg9N0Tu4-VEuF3-Q-XLNq9mYZSKQ-cWE8oXGc/Gitter.gif);
color:#FFCC00;
padding:4px;
font-size:18px;
border:1px solid #00B7FF;}

ul#nav{
width: 170px;
padding: 2px;
margin: 0px;}

li.nav_element{
list-style-type: none;
position: relative;
padding:2px;
width: 150px;}

li.nav_element a{
display: block;
width: 173px;
height: 21px;
padding:6px;
font-weight: bold;
text-decoration: verdana;
text-align: left;
color:#80FFFD;
background-color:#transparent;
background-image:url(http://d4px8q.bay.livefilestore.com/y1p0UJicYcS5dCOx7Yw-1zPcH99lZJceDwT7FbZrxfGHUouZORUrgPIgFhrKQQ0V0YAkBsahTBzFpw8aBsVgBoG5A/blau9020.png);
border: 0px solid #0006B0;}

li.nav_element a:hover{
color: #FFFF00;
background-color:#transparent;
background-image:url(http://d4px8q.bay.livefilestore.com/y1pf65FJWhep3HY9xlRMVb3rK_53SYmw5VttVJWa7XNrYa9X8S5wpHb2G4GPYxxepVVeTVJ_QBnlUzP24Klvc26Gg/blau9021.png);}

li.checked_menu a{color: #F9FF80;
background-image:url(http://d4px8q.bay.livefilestore.com/y1pf65FJWhep3HY9xlRMVb3rK_53SYmw5VttVJWa7XNrYa9X8S5wpHb2G4GPYxxepVVeTVJ_QBnlUzP24Klvc26Gg/blau9021.png);}

#counter {
position: absolute;
left: 0%;
top:104px;
margin-left: 1%;
width: 180px;
height:22px;
color:#B8EBFF;
padding:0px;
font-size:14px;
border: 0px solid #00B7FF;}

#feld_2{
position: absolute;
left: 0%;
top:550px;
margin-left: 10px;
width: 150px;
height: 150px;
background-color:#transparent;
background-image:url(BILD);
border:0px solid #00B7FF;
color:#B8EBFF;
padding:3px;
font-size:8px;}

#box_3{
position: absolute;
left: 0%;
top:500px;
margin-left: 10px;
width: 150px;
height: 150px;
background-color:#transparent;
background-image:url(BILD);
border:0px solid #00B7FF;
color:#B8EBFF;
padding:5px;
font-size:8px;}

#box_4{
position: absolute;
left: 0%;
top:600px;
margin-left: 10px;
width: 150px;
height: 150px;
background-color:#transparent;
background-image:url(BILD);
border:0px solid #00B7FF;
color:#B8EBFF;
padding:0px;
font-size:6px;}

#below_content{
position: absolute;
left: 0%;
top:140px;
margin-left: 24px;
width: 150px;
height: 30px;
background-color:#transparent;
background-image:url(BILD);
border:0px solid #00B7FF;
color:#B8EBFF;
padding:0px;
font-size:16px;}

body {
background-color: #ffffff;
background-image: url(http://img.webme.com/pic/k/klein-paris/hg21.png);
}

<!--td{color:#ffffff;}-->


body {
background-color: #ffffff;
background-image: url(http://img.webme.com/pic/k/klein-paris/hg21.png);
}

<!--td{color:#ffffff;}-->
______________
MfG aus Klein Paris-vereinzelte Rechtschreibfehler sind Special Effects meiner Tastatur
Beiträge der letzten Zeit anzeigen:   


Powered by phpBB © 2001, 2005 phpBB Group
Deutsche Übersetzung von phpBB.de