|
|||
Stylesheet wird nicht benutzt
Hallo!
Ich habe Probleme meine Seite dem Internet Explorer 6.0 anzupassen da dieser strickt die Verwendung des Stylesheets verweigert.- Ich bin mit meinem Latein am Ende. default.html : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Home/Tribot</title> <meta name="keywords" content="Tribot,tribot,Manuel,Singer,Manuel Singer,HTL-Villach,IT,Homepage,Manuel´s Homepage,Manuels Homepage,Manuel Tribot"/> <meta name="description" content="Manuel Singers Homepage: Tribot"/> <base href="www.tribot.tr.funpic.de"/> <meta name="author" content="Manuel Singer"/> <link rel="stylesheet" type="text/css" href="stylesheet.css" /> </head> <body> <div id="welcome"> <div id="picture"> <img src="Images/tribot.png" height="500" width="1000" title="Welcome to Tribot" alt="Welcome to Tribot"/> <h1><a href="home.html">» ENTER SITE «</a></h1> </div> </div> </body> </html> und der Stylesheet: /* CSS Document */ /*2spaltig menue links*/ body{ margin:auto;padding:0px; color:#000000; background-image:url(../Images/Background1.png); font-family:Verdana, Arial, Helvetica, sans-serif; font-size:0.9em; background-color:#333333; } h1{ margin: 0px auto; width: 400px; text-algin: center; color:#9a0000; text-decoration:underline; } strong{ color:#9A0000; } div#welcome{ margin:auto; margin-top:100px; width:1000px; } div#container{ margin:auto; margin-top:100px; width:880px; position:relative; } div#header{ margin:auto; width:880px; height:100px; background-image:url(../Images/Header_weich.jpg); } div#nav{ margin:auto; padding:0px 110px 0px 110px; background-color:#000; font-family:"Courier New", Courier, mono; font-size:18px; text-decoration:none; height:20px } div#lowerHeader { background-image:url(../Images/Header2.jpg); width:880px; height:70px; margin:auto; } div#nav a{ text-decoration:none; color:#FDFDFD; display:inline; margin:0px; padding:0px; } div#nav a:hover{ color:#CCC; text-decoration:none; } div#nav a span{ display:none; } div#nav a:hover span{ display:block; position:absolute; top:84px; left:192px; font-size:0.8em; font-weight:normal; color:#6633FF; } div#nav ul{ margin:0px; } div#content{ margin:auto; padding:15px 10px 15px 10px; border:2px dashed #999; background-image:url(../Images/Background2left.png); } div#content a{ color:#234534; } div#footer{ margin:auto; color:#F1F1F1; } div#footer a{ color:#FFFFFF; } Bitte um Hilfe!!! |
Sponsored Links |
Sponsored Links |
|
|||
Ordner und href passen. Das wär mir schon viel früher aufgefallen
Ist das der richtige DocType?? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> wenn nicht dann gebt ihn mir Bitte. Base Element hab ich korrigiert! thx trotzdem gehts noch nicht!! lG Manuel |
|
||||
Der Doctype stimmt, bis auf das fehlen Leerzeichen hinter dem Identifier (zumindest oben in deinem ersten Beitrag).
In deinem Code oben hast du „http://tribot.tr.funpic.de/stylesheet.css“ als Speicherort für das Stylesheet angegeben, dort liegt es aber offensichtlich nicht. Sollen wir uns nun an dem hier angegebenen Code, oder dem online orientieren? Online hat deine Seite noch einige Fehler: [Invalid] Markup Validation of http://tribot.tr.funpic.de/home.html - W3C Markup Validator |
|
|||
Danke jetzt gehts!!!
Es war wirklich das Base Element das ich falsch hatte....... Ich hab die Fehler zuerst offline zu korrigieren versucht, dh die Ordner waren nicht vorhanden.(online ist also anders) Die Website ist jetzt auch IE 6.0 kompatibel (dank euch). Ich mag IE grundsätzlich nicht aber viele Leute haben ihn ja noch (leider). Danke für die Hilfe.-Thema erledigt |
Themen-Optionen | |
Ansicht | |
|
|
Ähnliche Themen | ||||
Thema | Autor | Forum | Antworten | Letzter Beitrag |
Stylesheet durch Bildlink laden | Mr-Rhomb | CSS | 13 | 18.10.2009 19:42 |
IE 6 Stylesheet Include Fehler...? | TobyZ23NM8 | CSS | 5 | 20.12.2007 21:57 |
Stylesheet wechseln OHNE php oder js | kurtwalter | CSS | 6 | 17.07.2007 17:13 |
IE Weiche für Stylesheet, funzt nicht immer! | deekee | CSS | 3 | 28.09.2005 22:00 |
Stylesheet ausschalten | campsy | CSS | 3 | 27.03.2005 13:22 |