Einzelnen Beitrag anzeigen
  #6 (permalink)  
Alt 13.04.2015, 20:16
K.Roland K.Roland ist offline
Erfahrener Benutzer
XHTMLforum-Mitglied
 
Registriert seit: 24.06.2010
Beiträge: 528
K.Roland wird schon bald berühmt werden
Standard

OK. Ich lass es so, wie du es hast.

Dan vielleicht so:

Code:
div#header {
    width: auto;
}
   img#headerbild {
   background-image: url(http://www.psdgraphics.com/wp-content/uploads/2014/10/grass-illustration.jpg);
   background-color: transparent;
   background-position: center bottom;
   padding-bottom: 30%;
   width: 25px;
   height: 25px;
   padding-right: 98%;
   position: fixed;
   top: 4%;   
}
HTML-Code:
<div id="header">
<img id="headerbild" src="http://placehold.it/25x25/555555/555555.png" alt="headerbild">
</div> <!-- header -->
_____________
MfG Roland
Mit Zitat antworten