Suche im Forum:
Suchen


« Vorheriges Thema anzeigen :: Nächstes Thema anzeigen »  
Autor Nachricht
Beitrag28.03.2009 um 09:02 (UTC)    
Titel: design zentrieren

Hallo ich möchte gerne mein Design zentrieren nur weiß ich nicht wie das geht.

CSS ohne Style tag oder so
Code:
<center>a{
color:#000000;
text-decoration: none;
font-size:16px;}

body {
background-color: #;
background-repeat: no-repeat;
background-image:url(http://img2.abload.de/img/layoutuprh.png);}

#content {
position:absolute;
margin-top: 155px;
margin-left: 152px;
padding: 5px;
width: 695px;
height: auto;
color:#000000
font-size:15px;
overflow:auto;
background-image:url();}

#nav1 {
position:absolute;
margin-top: 145px;
margin-left: 10px;
padding: 5px;
width: 150px;
height: 498px;
color:#000000;
font-size:15px;
text-align: left;
border: 0px solid #FF0000;}

#nav2 {
position:absolute;
margin-top: 102px;
margin-left: 770px;
padding: 5px;
width: 150px;
height: 498px;
color:#000000;
font-size:15px;
text-align: center;}



#nav3 {
position:absolute;
margin-top: 115px;
margin-left:150px;
padding:8px;
width: 150px;
height: 498px;
color:#000000;
font-size:20px;
text-decoration:big;
text-align: center;}

#nav4 {
position:absolute;
margin-top:250px;
margin-left: -13px;
padding: 5px;
width: 150px;
height: 498px;
color:#000000;
font-size:15px;
text-align: left;
border: 0px solid #FF0000;}

#nav5 {
position:absolute;
margin-top:290px;
margin-left: 10px;
padding: 5px;
width: 150px;
height: 498px;
color:#000000;
font-size:15px;
text-align: left;
border: 0px solid #FF0000;}

#nav6 {
position:absolute;
margin-top:520px;
margin-left: -13px;
padding: 5px;
width: 150px;
height: 498px;
color:#000000;
font-size:15px;
text-align: left;
border: 0px solid #FF0000;}

#nav7 {
position:absolute;
margin-top:561px;
margin-left: 10px;
padding: 5px;
width: 150px;
height: 498px;
color:#000000;
font-size:15px;
text-align: left;
border: 0px solid #FF0000;}

#nav8 {
position:absolute;
margin-top:106px;
margin-left: 853px;
padding: 5px;
width: 150px;
height: 498px;
color:#000000;
font-size:15px;
text-align: left;
border: 0px solid #FF0000;}

#title {display:none;}
#nav_container{display:none;}
#header_container {display:none;}
#sidebar_container {display:none;} Seite</center>



Kann mir wer helfen ?
Beitrag09.04.2009 um 12:42 (UTC)    
Titel:

So:

Code:

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

body {
background-color: #;
background-repeat: no-repeat;
background-image:url(http://img2.abload.de/img/layoutuprh.png);}

#content {
position:absolute;
left: 50%;
margin-top: 155px;
margin-left: 152px;
padding: 5px;
width: 695px;
height: auto;
color:#000000
font-size:15px;
overflow:auto;
background-image:url();}

#nav1 {
position:absolute;
left: 50%;
margin-top: 145px;
margin-left: 10px;
padding: 5px;
width: 150px;
height: 498px;
color:#000000;
font-size:15px;
text-align: left;
border: 0px solid #FF0000;}

#nav2 {
position:absolute;
left: 50%;
margin-top: 102px;
margin-left: 770px;
padding: 5px;
width: 150px;
height: 498px;
color:#000000;
font-size:15px;
text-align: center;}



#nav3 {
position:absolute;
left: 50%;
margin-top: 115px;
margin-left:150px;
padding:8px;
width: 150px;
height: 498px;
color:#000000;
font-size:20px;
text-decoration:big;
text-align: center;}

#nav4 {
position:absolute;
left: 50%;
margin-top:250px;
margin-left: -13px;
padding: 5px;
width: 150px;
height: 498px;
color:#000000;
font-size:15px;
text-align: left;
border: 0px solid #FF0000;}

#nav5 {
position:absolute;
left: 50%;
margin-top:290px;
margin-left: 10px;
padding: 5px;
width: 150px;
height: 498px;
color:#000000;
font-size:15px;
text-align: left;
border: 0px solid #FF0000;}

#nav6 {
position:absolute;
left: 50%;
margin-top:520px;
margin-left: -13px;
padding: 5px;
width: 150px;
height: 498px;
color:#000000;
font-size:15px;
text-align: left;
border: 0px solid #FF0000;}

#nav7 {
position:absolute;
left: 50%;
margin-top:561px;
margin-left: 10px;
padding: 5px;
width: 150px;
height: 498px;
color:#000000;
font-size:15px;
text-align: left;
border: 0px solid #FF0000;}

#nav8 {
position:absolute;
left: 50%;
margin-top:106px;
margin-left: 853px;
padding: 5px;
width: 150px;
height: 498px;
color:#000000;
font-size:15px;
text-align: left;
border: 0px solid #FF0000;}

#title {display:none;}
#nav_container{display:none;}
#header_container {display:none;}
#sidebar_container {display:none;}

______________
Beiträge der letzten Zeit anzeigen:   


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