Zum Inhalt springen

Optischer Fehler

Erstellt am 28. November 2006 · 10 Antworten · letzte Antwort am 29. November 2006

Tags: Frage

scorp ·

Nabend,

ich hab ein sehr komisches Problem und zwar:

hab ich 2 COntens angelegt.

vorne:Kurzer Text für die jeweilige Seite
dahinter:tt_news oder andere module.

SO der vordere Text ist aber immer nicht zu sehen.Änder ich die reihenfolge sehe ich ihn.das komische is...im Firefox besteht nicht das problem.

Ich hab keine ahnung was das sein könnte.
Hier mal der TScode

page = PAGE
typeNum = 0
page.stylesheet = uploads/tf/CSS.css
page.10 = TEMPLATE
page.10 {
  template = FILE
  template.file = uploads/tf/tmp.html 
  workOnSubpart = DOCUMENT_BODY
}

page.10.subparts.HAUPT_NAVI1 < tmp.BEREICHE
page.10.subparts.HAUPT_NAVI2 < tmp.HAUPTNAVIGATION2
page.10.subparts.HAUPT_NAVI3 < tmp.HAUPTNAVIGATION3
page.10.subparts.HAUPT_NAVI4 < tmp.HAUPTNAVIGATION4
page.10.subparts.ZUSATZ_NAVI < tmp.ZUSATZNAVIGATION
page.10.subparts.TOP_NAVI < tmp.TOPNAVIGATION
 

page.10.marks.NEWS_BLOCK = CONTENT
page.10.marks.NEWS_BLOCK < styles.content.get
page.10.marks.NEWS_BLOCK.select.orderBy = sorting 
page.10.marks.NEWS_BLOCK.select.where = colPos=2


page.10.marks
NEWS_BLOCK = COA
NEWS_BLOCK.10 < plugin.tt_news
NEWS_BLOCK.10 {
templateFile = fileadmin/templates/tt_news_v2_template.html
code >
code = LATEST
pid_list >
pid_list = 12
singlePid = 15
catImageMode = 0
catTextMode = 1
latestLimit = 2
}

#Content ausgeben
page.10.marks.CONTENT = CONTENT
page.10.marks.CONTENT.select.where = colPos=0
page.10.marks.CONTENT < styles.content.get.left
page.10.marks.CONTENT.select.orderBy = sorting

#INTRO ausgeben
page.10.marks.INTRO = CONTENT
#page.10.marks.INTRO.10.singlePid = 20
page.10.marks.INTRO.select.where = colPos=0
page.10.marks.INTRO < styles.content.get
page.10.marks.INTRO.select.orderBy = sorting 

content.RTE_compliant = 3

page.10.marks.HEADER = IMAGE
page.10.marks.HEADER.file = uploads/tf/header_home.jpg

#tt_address
tt_address >
tt_address = COA
tt_address {
        wrap = <div>|</div>
 
        10 = TEXT
        10.field = name
        10.wrap = <div>|</div>  
}

weiss nun nicht ob es an die Include static sachen liegen tut, weil dort hab ich keinerlei Objekte zur auswahl (da brauch ich aber das language.de zumindest) weil die Page auf deutsch sein muss, sprich die tt_news zB.).

Bei Include static (from extensions)sind drin:
table-based tmpl(tt_news) und
CSS styled content(CSS_styled_content).

ICh steh völlig auf dem schlauch 🙁

gruss scorp

scorp ·

Ich weiss das man das makieren muss...aber das soll ja nich 😉 im FF brauch man das nicht tun.Hast du eine Idee was das sein kann?

scorp ·

Leider nichts geändert.
Hier mal die CSS, maybe hilft die mehr.

body {
	font-family: Arial, Helvetica, sans-serif;
	background-color: #ffffff;
	font-size: 11px;
}
a {
	color: #C2D468;
	font-size: 11px;
	text-decoration: none;
	text-align: left;
}
a:hover {
	color:#EE792A;
	font-size: 11px;
	text-decoration: none;
	text-align: left;
}
a:active {
	color: #EE792A;
	font-size: 11px;
	text-decoration: none;
}
#mainnavcontainer {
                font-size: 10px;
	margin-left: 8px;
                width: 139px;
	background-color: #EE792A;
                border-bottom-width:1px;
  	border-bottom-style:solid;
  	border-color:#E6D6D6;
                border-top-width:1px;
  	border-top-style:solid;
}
#mainnavcontainer ul {
	list-style:none;
	margin:0;
	padding:0;
}
#mainnavcontainer li {
	margin:0;
	padding:0px;
                border-bottom-width:1px;
  	border-bottom-style:solid;
                border-top-width:0.5px;
  	border-top-style:solid;
  	border-color:#E6D6D6;
}
#mainnavcontainer a {
	color: #000000;
	background-color: #F4F7E4;
	font-size: 10px;
	text-decoration: none;
                display: block;
                line-height: 14px;
                height: 12px;
                padding: 0px 0px 0px 18px;


}
#mainnavcontainer a:visited {
	color: #000000;
	background-color: #F4F7E4;
	font-size: 10px;
	text-decoration: none;
	text-align: left;
                display: block;
                line-height: 14px;
                height: 12px;
                padding: 0px 0px 0px 18px;
}
#mainnavcontainer a:hover {
	color: #000000;
	background-color: #E0E9B2;
	font-size: 10px;
	text-decoration: none;


}
#mainnavcontainer a:active {
	color: #EE792A;
	background-color: #F4F7E4;
	font-size: 10px;
	text-decoration: none;
         display: block;
         line-height: 14px;
         height: 12px;
         padding: 0px 0px 0px 18px;
}
#zusatznavicontainer {
                font-size: 10px;
                width: 139px;
	margin-left: 8px;
	background-color: #EE792A;
                border-bottom-width:0.5px;
  	border-bottom-style:solid;
  	border-color:#E6D6D6;
                border-top-width:1px;
  	border-top-style:solid;
  	border-color:#E6D6D6;
}
#zusatznavicontainer ul {
	list-style:none;
	margin: 0;
	padding: 0;
}
#zusatznavicontainer li {
	margin: 0;
	padding: 0;
                border-bottom-width:1px;
  	border-bottom-style:solid;
                border-top-width:0.5px;
  	border-top-style:solid;
  	border-color:#E6D6D6;
}
#zusatznavicontainer a {
	color: #000000;
	background-color: #F4F7E4;
	font-size: 10px;
	text-decoration: none;
	text-align: left;
}
#zusatznavicontainer a:visited {
	color: #000000;
	background-color: #F4F7E4;
	font-size: 10px;
	text-decoration: none;
	text-align: left;
}
#zusatznavicontainer a:hover {
	color: #000000;
	background-color: #E0E9B2;
	font-size: 10px;
	text-decoration: none;
}
#zusatznavicontainer a:active {
	color: #EE792A;
	background-color: #F4F7E4;
	font-size: 10px;
	text-decoration: none;
}
#topnavcontainer a {
	color: #000000;
	font-size: 10px;
	text-decoration: none;
	text-align: left;
	width: 139px;
}
#topnavcontainer a:visited {
	color: #000000;
	font-size: 10px;
	text-decoration: none;
	text-align: left;
}
#topnavcontainer a:active {
	color: #EE792A;
	background-color: #F4F7E4;
	font-size: 10px;
	text-decoration: none;
}
#lipsum {
	font-family: Arial, Helvetica, sans-serif;
	background-color: #ffffff;
	font-size: 11px;
	margin-left: 4px;
	margin-right: 4px;
}
#lipsum td {
	font-family: Arial, Helvetica, sans-serif;
	background-color: #ffffff;
	font-size: 11px;

}
#lipsum p {
	margin-top: 9px
}

#lipsum a:hover {
	color:#EE792A;
	font-size: 11px;
	text-decoration: none;
	text-align: left;
}

#lipsum a {
	color:#9AAC43;
	font-size: 11px;
	text-decoration: none;
	text-align: left;
}

#lipsum a:active {
	color:#EE792A;
	font-size: 11px;
	text-decoration: none;
	text-align: left;
}
#topnavcontainer {
	width: 285;
                font-size: 10px;
                height: 8;
	margin-left: 3px;
}
#topnavcontainer a {
	width: 40px;
                font-size: 10px;
                border: 1px;
                border-bottom-color: #EE792A;
                border-left-color: #EE792A;
                border-left-width:12px;
                border-left-style:solid;
                border-bottom-width:1px;
  	border-bottom-style:solid;
  	border-color:#EE792A;
         }
#topnavcontainer li {
	margin:0;
	padding:0;
	display: inline;
}
#topnavcontainer ul {
	list-style:none;
	margin:0;
	padding:0;
}
#box_content {
	background-color: #F4F7E4;
                font-size: 10px;
                font-color: #000000;
                margin-left: 16px;
                width: 139;
                border-bottom-width:0.5px;
  	border-bottom-style:solid;
  	border-color:#E6D6D6;
                border-top-width:0.5px;
  	border-top-style:solid;
}
#box_content a {
	background-color: #F4F7E4;
                font-size: 10px;
                font-color: #000000;
                width: 139;
}
#box_header {
                font-size: 10px;
                font-color: #F4F7E4;
                margin-left: 16px;
                width: 139;
                background-color: #EE792A;
}

b.off1 {
                display: block;
                line-height: 14px;
                height: 12px;
                padding:  0px 0px 0px 18px;
                text-decoration: none;
}

p.bodytext { color:black; }
scorp ·

Okay, der is wieder eingekommen,als ich das tmp ersetzen musste.da typo3 mein template total verworfen hat.

komisch is nur, dass die meisten fehler durch Typo3 kommen.

258 <img src="uploads/pics/kueche5_01.jpg" width="250" height="188" bor
der="0" alt="" />
Attribut "/" hier nicht gültig!

<td background="./uploads/tf/top-nav_r.jpg" width="171" height="18"
alt="top-nav_r">
Attribut "alt" hier nicht gültig!
Attribut "background" hier nicht gültig!

wie krieg ich denn sonst die schrift über das bild.will keine layer benutzen.und alt ist doch nich ein fehler oder?

einpraegsam.​net ·
scorp schrieb

Okay, der is wieder eingekommen,als ich das tmp ersetzen musste.da typo3 mein template total verworfen hat.

komisch is nur, dass die meisten fehler durch Typo3 kommen.

258 <img src="uploads/pics/kueche5_01.jpg" width="250" height="188" bor
der="0" alt="" />
Attribut "/" hier nicht gültig!

<td background="./uploads/tf/top-nav_r.jpg" width="171" height="18"
alt="top-nav_r">
Attribut "alt" hier nicht gültig!
Attribut "background" hier nicht gültig!

wie krieg ich denn sonst die schrift über das bild.will keine layer benutzen.und alt ist doch nich ein fehler oder?

Aaaalso:
- alt ist sehr wohl ein Fehler, ist nicht erlaubt im <td> Tag
- Background wird per css gesetzt:

<td style="background-image: url(../uploads/tf/top-nav_r.jpg)"...

- Du musst TYPO3 sagen, ob er Bilder und andere Tags als HTML oder XHTML ausgeben soll
- usw...

scorp ·

Ja hast recht, mein Fehler.Nun gut, hab das mal getan mit den Backgroundbildern.Die mit dem Attribut "/" Fehler keine Ahnung wie ich die wegkrieg.Bin neu bei TYPO3 🙁