#1  
Alt 25.09.07, 11:36
Forum Newbie
 
Registriert seit: 15.09.07
Alter: 48
Beiträge: 22
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 17: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
Sponsored Links
Unterstützen Sie das Forum und buchen Sie Ihren Webspace beim
T3N Testsieger, dem Webhoster der auch dieses Forum hostet!


  #2  
Alt 25.09.07, 16:22
Forum Freak
 
Registriert seit: 19.01.06
Ort: Köln
Beiträge: 841

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 16: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, 16:48
Benutzerbild von MistaD
TYPO3 Forum Team
Moderator
 
Registriert seit: 25.01.06
Beiträge: 1.458

----------> 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, 20:21
Forum Newbie
 
Registriert seit: 15.09.07
Alter: 48
Beiträge: 22

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, 21:04
Forum Newbie
 
Registriert seit: 15.09.07
Alter: 48
Beiträge: 22

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, 17:50
Benutzerbild von ttb
ttb ttb ist offline
Forum Stammgast
 
Registriert seit: 08.12.05
Ort: Schwerin
Beiträge: 396
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 11:28
Template RE und Firefox stefken TYPO3 4.x Fragen und Probleme 2 21.08.07 14:18
CSS und Firefox sabienb HTML & CSS 4 20.03.07 16:17
Firefox 1.0 Thoral Forum Bar 15 02.10.04 18:12
Firefox Zinner Forum Bar 5 07.09.04 16:06


Alle Zeitangaben in WEZ +1. Es ist jetzt 05:01 Uhr.


Powered by vBulletin® Version 3.8.4 (Deutsch)
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165