Code:
.header_main{
background-image: url(img/header_Main.png);
background-repeat: no-repeat;
background-position: left top;
padding-top:100%;
margin-bottom:100%;
}
.header_main{
background-image: url(img/header_Main.png);
background-repeat: no-repeat;
background-position: left top;
padding-top:100%;
margin-bottom:100%;
}
html,body
div#center {
position:fixed;
left:50%;
top:50%;
height:600px;
width:955px;
margin-top:-300px;
margin-left:-478px;
background-color: #000000;
}
<div style="position:absolute; top:50px; left:0px;"><a href="http://www.meine-page.de"> <img src=images/header.png border=0></a></div>
.header_main{
background-image: url(img/header_Main.png);
background-repeat: no-repeat;
background-position: left top;
width:100%;
margin:auto auto; /*Sollte das dann doch recht mittig zentrieren*/
}
ein no-repeat, dann aber 100 % width ?Quote:
PHP Code:.header_main{
background-image: url(img/header_Main.png);
background-repeat: no-repeat;
background-position: left top;
width:100%;
margin:auto auto; /*Sollte das dann doch recht mittig zentrieren*/
}
#header_main {
background:url("img/header_Main.png") no-repeat;
width:die Weite eben;
height:die Höhe eben;
margin:0px auto;
}