Zum Inhalt springen

Frage zu von Typo erzeugten Tags

Erstellt am 8. März 2007 · 7 Antworten · letzte Antwort am 8. März 2007

Tags: Inhaltselemente, Frage

stetabar ·

ich habe ein problem.
im typo werden immer diese zeilen

<p style="margin:0 0 0 0;">

automatisch generiert.
außerdem noch dieses

<a id="c3"></a>

was ich garnicht nachvollziehen kann...

ich habe jetzt schon länger gesucht und habe mein Template um diese Zeilen erweitert:

#no wrapping of RTE lines
tt_content.text.20.parseFunc {
nonTypoTagStdWrap.encapsLines.nonWrappedTag >
nonTypoTagStdWrap.encapsLines.wrapNonWrappedLines = | </br>
}

aber entweder bin ich völlig falsch unterwegs, oder ich muss noch was anderes vorher machen?!

wär super, wenn mir da mal jemand unter die arme greifen könnte um diese tags weg zu bekommen...

einpraegsam.​net ·

a) nimm css_styled_content, dann hast du die unsauberen Tags weg
b) das ist ein Anker, damit du an jedes Contentelement springen kannst (ist auch bei einer Abschnittsübersicht wichtig)

just2b ·
stetabar schrieb

aber es passiert nichts, selbst wenn ich das css_styled_content komplett raus nehme...

nein, das übernimmt rein das rendering, also wie die Inhalte dargestellt werden.

georg

stetabar ·

mir werden unter anderem auch diese beiden zeilen im header erzeugt, die ich nicht brauche...

<link rel="stylesheet" type="text/css" href="typo3temp/stylesheet_f9345f3d01.css" />
	<script type="text/javascript" src="typo3temp/javascript_757c080409.js"></script>

sind die notwendig, wenn man n tmenu verwendet und tt_news und tt_calender installiert hat?
bei ner anderen installation mit typo3 3.8 hatte ich da keine probleme...

stetabar ·

ah ok.

was mich jetzt etwas erstaunt ist halt nur die tatsache, dass ich meine elemente durch irgendwas in meinem typo3 code nicht mehr da anzeigen lassen kann, wo sie ursprünglich hin sollten.
wenn ich das html-template inkl. css öffne und inhalt von hand vorher eingepflegt habe, stellt er alles genau so dar, wie es soll.
sobald ich von typo3 generierte inhalt im content-bereich habe, werden diese oben links in der ecke dargestellt.
daher denke ich, dass das mit den tag die von typo erzeugt werden zusammen hängt.
oder könnte es da noch andere gründe für geben?

CSS-File:

//CSS-Document//
	* {
		margin:0;
		padding:0;
		}

	html, body {
		height:100%;
		}

	body {
		background-color:#000000;
		}

	#distance { 
		width:1px;
		height:50%;
		background-color:#000000;
		margin-bottom:-357px; 
		float:left;
		}

	#container {
		margin:0 auto;
		position:relative;
		text-align:left;
		height:715px;
		width:992px;
		clear:left;
		background-image:url(images/background.jpg);
		border:1px solid #333333;
		}

	#container h1 {
		font-family: Verdana;
		font-size: 10px;
		font-weight: bold;
		color: #c2c2c2;
		}
	
	#container h2 {
		font-family: Verdana;
		font-size: 11px;
		color: #c2c2c2;
		}

	#container h3 {
		font-family: Verdana;
		font-size: 11px;
		font-weight: bold;
		color: #c2c2c2;
		}

	#container p {
		font-family: Verdana;
		font-size: 10px;
		color: #c2c2c2;
		margin: 0px 15px 20px 0px;
		}

	main_text {
		overflow:auto;
		position:absolute;
		left:174px;
		top:270px;
		width:658px;
		height:310px;
		font-family: Verdana;
		font-size: 10px;
		color: #c2c2c2;
		}
	main_text a:link {
		font-family: Verdana;
		font-size: 10px;
		color: #8D281C;
		text-decoration: none;
		}

	main_text a:visited {
		font-family: Verdana;
		font-size: 10px;
		color: #8D281C;
		text-decoration: none;
		}

	main_text a:active {
		font-family: Verdana;
		font-size: 10px;
		color: #8D281C;
		text-decoration: none;
		}

	main_text a:hover {
		font-family: Verdana;
		font-size: 10px;
		color: #8D281C;
		text-decoration: none;
		}
	
	address {
		position:absolute; 
		left:742px; 
		top:720px; 
		width:250px;
		font-family: Verdana;
		font-size: 9px;
		color: #c2c2c2;
		text-align:right;
		}
	address a:link {
		font-family: Verdana;
		font-size: 9px;
		color: #8D281C;
		text-decoration: none;
		}

	address a:visited {
		font-family: Verdana;
		font-size: 9px;
		color: #8D281C;
		text-decoration: none;
		}

	address a:active {
		font-family: Verdana;
		font-size: 9px;
		color: #8D281C;
		text-decoration: none;
		}

	address a:hover {
		font-family: Verdana;
		font-size: 9px;
		color: #8D281C;
		text-decoration: none;
		}

	menu {
		position:absolute; 
		left:130px; 
		top:215px; 
		width:450px;
		height:30px;
		font-family: Verdana;
		font-size: 10px;
		color: #c2c2c2;
		text-align:left;
		}
	menu a:link {
		font-family: Verdana;
		font-size: 10px;
		color: #c2c2c2;
		text-decoration: none;
		}

	menu a:visited {
		font-family: Verdana;
		font-size: 10px;
		color: #c2c2c2;
		text-decoration: none;
		}

	menu a:active {
		font-family: Verdana;
		font-size: 10px;
		color: #c2c2c2;
		text-decoration: none;
		}

	menu a:hover {
		font-family: Verdana;
		font-size: 10px;
		color: #c2c2c2;
		text-decoration: none;
		}

HTML_Template

<html>
<head>
<title>###TITLE_PAGE###</title>
</head>

<body>
<!-- ###DOCUMENT_BODY### begin -->
<div id="distance"></div>
<div id="container">
	<menu>
		###MENU###
		###SUBMENU###
	</menu>
	
	<main_text>
		###CONTENT###
	</main_text>
<address>###BOTTOM###</address>
</div>
<!-- ###DOCUMENT_BODY### end -->
</body>
</html>
stetabar ·

so problem behoben, hab die div'S etwas verändert und dann ging es.
komischerweise haben die von typo3 generierten daten nicht funktioniert.
von hand eingetragene sachen schon.

naja, egal.
funktioniert.

vielen dank nochmal!