![]() |
| | LinkBack | Themen-Optionen | Thema durchsuchen | Thema bewerten | Ansicht |
|
#1
| |||
| |||
Hallo leute. Habe mir mal eine internetseite zusammen gebaut.Willkommen bei den Böhsen Dartz Funktioniert tadellos iim Firefox ,Opera und IE 7 leider sieht es im IE 6 ganz anders aus.Habe mir deshalb eine Browserweiche ins TS geschrieben.Funktioniert leider nicht.Auch mein animiertes gif für die erste Seite sieht im IE6 furchtbar langsam aus. Vieleicht hat ja einer eine Idee.Danke im vorraus Gruß Andreas. hier meine css und html für meine erste Seite: body { background-color:black; text-align:center; padding:0; margin:0; color:#ffffff; font-family:Arial, Helvetica, san-serif; } div#Page { width:1024px; text-align:left; margin:1em auto; } div#Start { position:relative; margin-top:50px; margin-left:0; margin-right:0; margin-bottom:0; z-index:1; } div#Weiter { position:relative; margin-top:-150px; margin-left:650px; z-index:2; } div#INHALT { position:relative; width:320px; height:100px; margin-top:-80px; margin-left:80px; z-index:2; } <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <?xml version="1.0" encoding="iso-8859-1"?> <html> <head> <title></title> <meta name="author" content="Andreas Roettger"> <link rel="stylesheet" type="text/css" href="index_Andreas.css"> </head> <!-- ###DOCUMENT_BODY### START--> <div id="Page"> <div id="Start"> ###START#### </div> <div id="Weiter"> ###Weiter### </div> <div id="INHALT"> <!-- ###CONTENT### START--> ###INHALT### <!-- ###CONTENT### END--> </div> </div> <!-- ###DOCUMENT_BODY###END--> </html> page = PAGE page.typeNum = 0 page.stylesheet = fileadmin/index_andreas.css config { doctype = xhtml_trans xhtml_cleaning = all xmlprologue = none htmlTag_langKey = de metaCharset = iso-8859-1 } page.10 = TEMPLATE page.10 { template = FILE template.file = fileadmin/index_andreas.html workOnSubpart = DOCUMENT_BODY marks.START = IMAGE marks.START.file = fileadmin/bilder/index1.gif marks.Weiter = IMAGE marks.Weiter.file = fileadmin/bilder/Klick-mich.jpg marks.Weiter.stdWrap.typolink.parameter = 164 } page.10.subparts{ CONTENT < styles.content.get } Hiet meine css und html und ts der anderen Seiten body { background-color:black; text-align:center; padding:0; margin:0; color:#ffffff; font-family:Arial, Helvetica, san-serif; } div#Page { width:980px; height:600px; text-align:left; margin:1em auto; } div#Banner { position:relative; margin-top:-20px; margin-left:100px; z-index:1; } div#Linie { position:relative; width:750px; height:2px; margin-top:-10px; margin-left:120px; background-color:#ca0000; overflow:hidden; z-index:1; } div#Navi { position:relative; font-size:1.2em; font-family:Arial; width:100px; margin-top:20px; margin-left:20px; width:150px; height:500px; z-index:1; } div#Navi a { color:#ca0000; text-decoration:none; } div#Navi a:link { color:#ca0000; text-decoration:none; } div#Navi a:visited { color:#ca0000; text-decoration:none; } div#Navi a:hover { color:white; text-decoration:underline; } div#Navi a:active { color:#ca0000; text-decoration:none; } div#INHALT { position:relative; width:500px; height:100%; z-index:1; font-size:1.3em; font-family:Arial; margin-top:-510px; margin-left:250px; padding-top:15px; } div#Linieho { position:relative; width:2px; height:550px; margin-top:-610px; margin-left:150px; background-color:#ca0000; z-index:1; } div#Liniehor { position:relative; width:2px; height:550px; margin-top:-550px; margin-left:840px; background-color:#ca0000; z-index:1; <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <?xml version="1.0" encoding="iso-8859-1"?> <html> <head> <title></title> <meta name="author" content="Andreas Roettger"> <link rel="stylesheet" type="text/css" href="Startseite.css" href="Startseite_ie.css"> </head> <!-- ###DOCUMENT_BODY### START--> <div id="Page"> <div id="Banner"> ###Banner### </div> <div id="Linie"> </div> <div id="Navi"> <!-- ###MENU### START--> ###HierNavi### <!-- ###MENU### END--> </div> <div id="INHALT"> <!-- ###CONTENT### START--> ###INHALT### <!-- ###CONTENT### END--> </div> <div id="Linieho"></div><div id="Liniehor"> </div> </div <!-- ###DOCUMENT_BODY### END--> </html> page = PAGE page.typeNum = 0 page.stylesheet = fileadmin/Startseite.css [browser = msie] AND [version < 7] config.doctypeSwitch = 1 page.stylesheet = fileadmin/Startseite_ie.css [GLOBAL] config { doctype = xhtml_trans xhtml_cleaning = all xmlprologue = none htmlTag_langKey = de metaCharset = iso-8859-1 } page.10 = TEMPLATE page.10 { template = FILE template.file = fileadmin/Startseite.html workOnSubpart = DOCUMENT_BODY marks.Banner = IMAGE marks.Banner.file = fileadmin/bilder/startseitebanner.jpg } page.10.subparts{ CONTENT < styles.content.get #Der Subpart MENU ist ein hierachisches Menü MENU = HMENU #Die 1. Ebene des Menüs ist ein Textmenü MENU { 1 = TMENU 1.NO = 1 #Die Einträge werden umschlossen von 1.NO.allWrap = <img src= "fileadmin/bilder/but.jpg"> 1.NO.linkWrap = | <p> } } |
|
#2
| ||||
| ||||
| Ich denke nicht das dir so wer antwortet. Gib doch deine Code-Teile in die dafür vorgesehenen Code-Boxen!!! ![]() BTW könntest du ja eine spezielle CSS-Datei für den IE einbinden mit Conditions rundherum die nur der IE annimt. Wie im Quelltext zB. auf yaml.de.
__________________ Bitte markiere Deinen Thread als Gelöst, wenn er es ist! Wie geht das? Hast Du ihn eventl. selbst gelöst? Dann lass uns an der Lösung teilhaben! Das Anzeigen von Typoscript in Beiträgen steuern |
![]() |
| Themen-Optionen | Thema durchsuchen |
| Ansicht | Thema bewerten |
| |
Ähnliche Themen | ||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| Browserweiche mit Versionsabfrage | Gluehstrumpf | TYPO3 4.x Fragen und Probleme | 2 | 03.06.08 08:37 |
| Browserweiche | amandine | TYPO3 4.x Fragen und Probleme | 11 | 16.05.08 22:23 |
| browserweiche für ie6 | MITSTREITER | TYPO3 4.x Fragen und Probleme | 8 | 06.05.08 21:51 |
| Browserweiche für den IE | r0bN | TemplaVoila | 3 | 01.08.07 10:39 |
| Browserweiche TS | online | TYPO3 3.x Fragen und Probleme | 4 | 01.01.06 13:18 |