![]() |
css problem
warum wird das hintergrundbild nicht angezeigt?? was ist falsch am code?
body{ margin: 0px: background-image: url(img/mauerwerk.jpg); } #logoBox { width: 600px; height: 150px; margin-top: 10px; margin-left: 200px; background-color: red; } #zettelBox_latest { width: 600px; height: 150px; margin-top: 0px; margin-left: 200px; background-color: gray; } #menu_rechts { width: 200px; height: 300px; margin-top: -150px; margin-left: 840px; background-color: green; } #zettelBox_main { width: 600px; height: 400px; margin-top: -150px; margin-left: 200px; background-color: blue; } h1 { color: red; } a.link, a.active, a.visited, a.hover |
Ist die Pfadangabe vielleicht relativ zum HTML File statt relativ zum CSS File? Oder sonstige falsche Pfadangabe? Groß-/Kleinschreibung beachtet?
Ansonsten gibt halt mal den ganzen anderen CSS-Source weg und gib uns ne Online-Testversion, sonst tut man sich hier ziemlich schwer. mfg Thomas |
der pfad stimmt. liegt im selben verzeichnis
das ist der html code:
<html> <head> <title>STUKI.at</title> <link rel="stylesheet" type="text/css" href="stuki.css"> </head> <body> <div id="logoBox"> banner </div> <div id="zettelBox_latest"> latest news </div> <div id="menu_rechts"> seitenmenue </div> <div id="zettelBox_main"> news </div> <h1> Meine Überschrift </h1> Hier weiterlesen </body> </html> |
das hatten wir doch schon mal ;)
schau dir doch mal die Zeile drüber an: Code:
margin: 0px: |
@Schappenberg
das wars!! dankeschön --> hat sich derselbe fehler 2mal eingschlichen!
|
CSS Validator:
http://jigsaw.w3.org/css-validator/validator-uri.html X/HTML Valdiator: http://validator.w3.org/ gruss, snowman |
@snowman
danke. das ist wirklich hilfreich.
|
styleheets frage
danke. wie lade ich eine .htm oder .php datei jetzt in eine meiner "stylesheetboxe". was ist eigentlich die korrekte bezichnung für so eine "DIV box"?
thanks |
Alle Zeitangaben in WEZ +2. Es ist jetzt 16:05 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 2009 FSL Verlag