Bin dabei eine neue Website mit diesem doch schon bald Standard auszustatten. Leider werden keine CSS Eigenschaften erkannt vom IE und Firefox. Nur Opera zeigt alles super an. Woran liegt dies?
XHTML Datei:
<?xml version="1.0" encoding="iso-8859-1" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml-1strict.dtd" > <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Junge Nationaldemokraten - Her mit dem schönen Leben!</title> <link rel='stylesheet' type='html/css' href='css.css' /> <meta name="author" content="Bodo" /> </head> <body> <div class="div_big"> Testnews </div> </body> </html>
CSS Datei:
body { padding: 0 0 0 0; margin: 0 0 0 0; background-image: url(bg.jpg); backround-repeat: no-repeat; } div.div_big { font-size: 8pt; font-family: Arial; position:absolute; left: 87px; top: 28px; }