Antwort
 
LinkBack Themen-Optionen Thema bewerten Ansicht
  #1  
Alt 25.09.07, 10:36
Forum Newbie
 
Registriert seit: 15.09.07
Alter: 46
Beiträge: 21

Firefox und ie


Hallo, Ich beschäftige mich erst seit kurzem mit typo3, und habe eine seite solange angepasst, dass sie unterm ie 6 jetzt normal aussieht.
Allerdings kam dann mit firefox das erwachen.
Ich habe mit den doctypes und den css bugs noch nicht so den durchblick.
Normalerweise mache ich was anderes (softwareentw).
Vielleicht kann mir jemand helfen.


Hier ist der anfang des typoscript:

Typoscript-Code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
page = PAGE

[browser = msie] && [version =< 7]
config {
doctype = xhtml_strict
htmlTag_langKey=de-DE
XHTML_cleaning = all
xmlprologue = none
}
page.includeCSS.file1 = fileadmin/default_ie.css
[else]
config {
doctype = xhtml_strict
htmlTag_langKey=de-DE
XHTML_cleaning = all
xmlprologue = none
}
page.includeCSS.file1 = fileadmin/default_other.css
[global]

page {
# Allgemeine Seiteneigenschaften setzen
bodyTag = <body>
}

# MetaTags angeben


dann die css für den ie:

Code:
div,img {
margin:0;
padding:0;
border:0;
display: block;
}
 
body {
margin: 0;
padding: 0;
background: #800000;
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 13px;
color: #666666;
}

p, h1, h2, h3, h4, h5, h6 {
}

h1 {
font-size: 18px;
}
blockquote {
font-style: italic;
}
 
/* Page */
#page {
width: 980px;
margin: 0 auto;
background: #FFFFFF url(images/greenline.jpg) repeat-y;
}

/* Sidebar */
#sidebar {
float: left;
width: 240px;
}

/* Logo */
#logo {
height: 220px;
background: #808080;
}
 
/* Menu */
#menu {
float: left;
padding: 0px ;
}
 

/* trailer */
#trailer {
float: right;
width: 740px;
}

/* top */
#top {
float: right;
width: 725px;
font: bold 10px Verdana,Arial;
clear:both;
background-color:#000463;
text-align:right;
color:#FFFFFF;
padding:5px;
padding-right:10px;
}

#top a {
text-decoration: none;
color:white;
}
 
/* Content */
#content {
float: right;
width: 740px;
background-color:#FFFFFF;
}

/* Footer */
#footer {
width: 980px;
height: 120px;
margin: 0 auto;
background: url(images/img12.gif) repeat-x;
}

#footer p {
margin: 0;
font-size: 85%;
}

#links {
float: left;
width: 220px;
height: 45px;
padding: 35px 0 0 20px;
background: url(images/img13.gif) repeat-x;
}

#links a {
color: #FFFFFF;
}

#legal {
float: right;
width: 720px;
height: 45px;
padding: 35px 0 0 20px;
}
 
Und das css für andere browser:
 
 
div,img {
display: block;
}

body {
margin: 0;
padding: 0;
background: #800000;
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 13px;
color: #666666;
}
 
p, h1, h2, h3, h4, h5, h6 {
}

h1 {
font-size: 18px;
}

blockquote {
font-style: italic;
}
 
/* Page */
#page {
width: 980px;
margin: 0 auto;
background: #FFFFFF url(images/greenline.jpg) repeat-y;
}

/* Sidebar */
#sidebar {
float: left;
width: 240px;
}

/* Logo */
#logo {
height: 220px;
background: #808080;
}
 
/* Menu */
#menu {
float: left;
padding: 0px ;
}
 
 
 
/* trailer */
#trailer {
float: right;
width: 740px;
}

/* top */
#top {
float: right;
width: 720px;
font: bold 10px Verdana,Arial;
clear:both;
background-color:#000463;
text-align:right;
color:#FFFFFF;
padding:5px;
padding-right:10px;
}

#top a {
text-decoration: none;
color:white;
}
 
/* Content */
#content {
float: right;
width: 730px;
background-color:#FFFFFF;
}

/* Footer */
#footer {
width: 980px;
height: 120px;
margin: 0 auto;
background: url(images/img12.gif) repeat-x;
}

#footer p {
margin: 0;
font-size: 85%;
}

#links {
float: left;
width: 220px;
height: 45px;
padding: 35px 0 0 20px;
background: url(images/img13.gif) repeat-x;
}

#links a {
color: #FFFFFF;
}

#legal {
float: right;
width: 720px;
height: 45px;
padding: 35px 0 0 20px;
}

und der anfang der index.html der vorlage, die ich benutzt habe:

HTML-Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!--
Design by Free CSS Templates
[url="http://www.freecsstemplates.org"]Download free CSS templates - Free CSS Templates[/url]
Released for free under a Creative Commons Attribution 2.5 License
Title : Travel Portal
Version : 1.0
Released : 20070618
Description: A two-column, fixed-width template.
--> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>Travel Portal by Free Css Templates</title> <meta name="keywords" content="" /> <meta name="description" content="" /> <link href="default.css" rel="stylesheet" type="text/css" /> </head> <body>

kann mir da jemand etwas auf die Sprünge helfen?
Vielen Dank



//Edit von MistaD
Code in die passenden Container geschubst

Geändert von MistaD (25.09.07 um 16:17 Uhr).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
  #2  
Alt 25.09.07, 15:22
TYPO3forum.net Donater
 
Registriert seit: 19.01.06
Ort: Köln
Beiträge: 836

gerne, allerdings zwei bitten:

- formatieren den Quellcode mit den Tags

- und poste in diesem Fall lieber links und screenshots, dann kann man sich das Problem im Browser anschauen und vergleichen

und mein Rat: wechsele den Browser
__________________
was ist ghoti, blog npostnik.de, job network.publishing

Geändert von ghoti (25.09.07 um 15:29 Uhr).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
  #3  
Alt 25.09.07, 15:48
Benutzerbild von MistaD
TYPO3 Forum Team
Moderator
 
Registriert seit: 25.01.06
Beiträge: 1.455

----------> THEMA VERSCHOBEN!

@Juergen_190:
Für den nächsten Post (wie auch ghoti anmerkt) bitte die dafür vorgesehenen Container (Code, HTML und TYPOSCRIPT) nutzen.



__________________
Gruss
MD
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
  #4  
Alt 25.09.07, 19:21
Forum Newbie
 
Registriert seit: 15.09.07
Alter: 46
Beiträge: 21

Hallo,
Ich vermute mittlerweile, dass es nur am falschen doctype liegt.
Ich zeige hier mal aus der index.html den doctype der Vorlage,
wie bringe ich den dann dem Template in T3 mit Typoscript bei??

Hier der Doctype

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
  #5  
Alt 25.09.07, 20:04
Forum Newbie
 
Registriert seit: 15.09.07
Alter: 46
Beiträge: 21

Hallo,
Ich werde die Seite von vorne nochmal Schritt für Schritt aufsetzen und nach jedem Schritt mit dem Firefox vergleichen, ich denke, da ist der Lerneffekt am groessten.

Vielen Dank trotzdem natürlich
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
  #6  
Alt 26.09.07, 16:50
Benutzerbild von ttb
ttb ttb ist offline
Forum Stammgast
 
Registriert seit: 08.12.05
Ort: Schwerin
Beiträge: 267
ttb eine Nachricht über Skype™ schicken

Moin,

andersherum wird ein Schuh draus!

Benutze den Firefox, der sich weitestgehend standardkonform verhält, zum entwickeln und baue dann, sofern nötig, Hacks für den IE ein.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
Antwort

Lesezeichen

Themen-Optionen
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Darstellungsproblem bei Firefox atzii TYPO3 4.x Fragen und Probleme 2 02.07.08 10:28
Template RE und Firefox stefken TYPO3 4.x Fragen und Probleme 2 21.08.07 13:18
CSS und Firefox sabienb HTML & CSS 4 20.03.07 15:17
Firefox 1.0 Thoral Forum Bar 15 02.10.04 17:12
Firefox Zinner Forum Bar 5 07.09.04 15:06


Alle Zeitangaben in WEZ +1. Es ist jetzt 11:38 Uhr.


Powered by vBulletin® Version 3.7.3 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0