MOIN! Ich habe ein problem. Bis montag muss ich für den Infpunterricht eine PHP-Website ableifern. aber die stylesheets machen probleme, genauer gesagt: die hintergrundfarbe. Rahmen erscheinen bereits.
ich bitte euch, nein, ich FLEHE euch an, sagt mir warum!
sodele, der code:
das is die "index.php"
und nu die formate.css
Danke schonmal!
ich bitte euch, nein, ich FLEHE euch an, sagt mir warum!
sodele, der code:
Code:
<?PHP ?> <!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Frameset//EN\" \"http://www.w3.org/TR/html4/frameset.dtd\"> <html> <head> <title>HOME</title> </head> <link rel="stylesheet" type="text/css" href="formate.css"> <body> <?PHP echo "<h1 align='center'><big>Mein Warenkorb</big> Hallo "; echo "</h1> <p align=center>Auch über mehrere Zeilen anwendbar"; echo "\"Holla\" </p> "; echo "</body>"; ?> </html>
und nu die formate.css
Code:
body {background-color="black"; color:"white"} h1 {border-width:1px; border-style:solid; border-color:#5D5D5D; text-align="center"; font-family="Viner Hand ITC" font-size=15pt; color=blue; bgcolor="#353535"} h2 {text-align="center"; font-family="Arial" font-size=12pt; color=#0000FF; background-color="#353535"} p {text-align="center"; font-family="Times New Roman" font-size=9pt; color=#FFFFFF; background-color="#353535"; border-width:1px; border-style:solid; border-color:#5D5D5D} a {text-decoration="none";} li {text-align="center"; font-family="Times New Roman" font-size=9pt; color=#FFFFFF;} ul {background-color="#353535"}
Danke schonmal!
Kommentar