Suche im Forum:
Suchen


Autor Nachricht
Beitrag11.02.2010 um 10:25 (UTC)    
Titel: Background mittig und nur einmal

Hi,

was muss ich im code machen damit mir der background nur einmal und mittag dargestellt wird ?

Code:
body {
background-image : url(http://img.webme.com/pic/d/depongo/bg_content.png);
background-color : #eeeeee;
margin: 0;
padding: 0;

}


#header2 {
background-image : url(http://img.webme.com/pic/d/depongo/headerdepongovorstart.png);
width : 912px;
margin-top:-11px;
padding-left:30px;
height : 145px;
padding-top:75px;
}
#sitename{
font-family:Verdana, Geneva, sans-serif;
font-size:24px;
color:#151515;
font-weight:bold;}

#design {
width : 942px;
margin:auto;

}
#menu {
background-image : url(http://img.webme.com/pic/w/wir-testen/menu2.png);
width : 925px;
height : 36px;
margin-left:18px;
}

#content_top {
background-image : url(http://img.webme.com/pic/w/wir-testen/content_top.png);
width : 907px;
height : 14px;
margin-top:-17px;
margin-left:19px;

}

#content {
background-image : url(http://img.webme.com/pic/w/wir-testen/content2.png);
width : 893px;

margin-left:19px;
padding-left:15px;
font-family:Verdana, Geneva, sans-serif;
font-size:10px;
color:#151515;

}

#content_bottom {
background-image : url(http://img.webme.com/pic/w/wir-testen/content_bottom.png);
width : 907px;
margin-top:-20px;
height : 13px;

margin-left:19px;

}


#footer {
background-image : url(http://img.webme.com/pic/w/wir-testen/footer2.png);
width : 889px;
height : 77px;
font-family:Verdana, Geneva, sans-serif;
font-size:10px;
font-weight:bold;
color:#262626;
margin-top:-5px;
padding-top:30px;
padding-left:10px;
margin-left:19px;

}

#copy {

margin-top:-40px;
margin-left:655px;

}

a:link {
color : #151515;
font-weight : bold;
text-decoration : none;
}
a:visited {
color : #151515;
font-weight : bold;
text-decoration : none;
}
a:active {
color : #000000;
font-weight : bold;
text-decoration : none;
}
a:hover {
color : #000000;
font-weight : bold;
text-decoration : none;
}



ul, li
{
list-style-type: none;
padding: 0px;
margin: 0px;
}

li a
{
padding-right: 20px;padding-top: 8px;
}

div.menu
{
margin-left:15px;

width:905px;
}

.menu li
{

float: left;
}

.menu a
{
border: 0px solid #000000;


text-decoration: none;
text-align: center;
font-weight: bold;
cursor: pointer;
outline:0px;
margin: 0px;
display: block;
height: 23px;
color: #212121;
}

.menu a:hover
{
color: #0d0d0d;}

#header{display:none}
#sitebar_container{display:none}
#nav_container{display:none}
#title{display:none}
#counter{display:none}
#post_content{display:none}
#background{display:none}

td[height="102"]{position:absolute;left:50%;margin-left:-376px;width: 752px;}


Gruss Paddy
Beitrag11.02.2010 um 13:53 (UTC)    
Titel:

Ganz oben bei dir den Body-bereich ändern und dafür diesen Teil einsetzen:

Zitat:
body {
background-image : url(http://img.webme.com/pic/d/depongo/bg_content.png);
background-attachment: fixed;
background-position: center center;
background-repeat: no-repeat;
background-color : #eeeeee;
margin: 0;
padding: 0;}

______________
Spendet jetzt für den User -Name entfernt - , damit er sich ein Duden kaufen kann, da seine Schreibkünste die einens 11-jährigen sehr stark ähneln. Smile
Beitrag11.02.2010 um 14:45 (UTC)    
Titel:

hat supi geklappt danke dir.
Beiträge der letzten Zeit anzeigen:   


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