• Jetzt anmelden. Es dauert nur 2 Minuten und ist kostenlos!

Hintergrundbild Einmal

Status
Für weitere Antworten geschlossen.

crossa

Neues Mitglied
Ich muss ein Hintergrundbild in diesen content Bereich einbinden, aber so, dass es nur einmal angezeigt wird.

Code:
#content {
height: auto;
width: 425px;
background: #ffffff;
[B]background-image:url(Header.png);[/B]
</style>
color: #ffffff;
border: 8px solid #ffffff;
padding-left: 0px;
padding-right: 0px;
padding: 10px;
font-family:"Arial";
float:left;
}

Hab schon Themen hierzu gefunden, aber nicht wie man es in so etwas einbindet.
Bin echt verzeifelt.
 
zunächst:
Das rot-markierte hat hier nichts zu suchen:
#content {
height: auto;
width: 425px;
background: #ffffff;
background-image:url(Header.png);
</style>
color: #ffffff;
border: 8px solid #ffffff;
padding-left: 0px;
padding-right: 0px;
padding: 10px;
font-family:"Arial";
float:left;
}
Dann ergänze die CSS-Angaben noch um
Code:
background-repeat: no-repeat;
 
So gehts nicht >.< Kann mir jemand den genauen Code posten?

Code:
#content {
height: auto;
width: 400px;
background: #;
background-image:url(www.bliblablubb.de/images/bliblablubb.png); background-repeat: no-repeat;
color: #000000;
border: 8px solid #FFFFFF;
padding-left: 0px;
padding-right: 0px;
padding: 10px;
font-family:"Arial";
float:left;}

PS.: is' mir auch grad aufgefallen mit dem </style> ^^
 
Status
Für weitere Antworten geschlossen.

Neueste Beiträge

Zurück
Oben