Zum Inhalt springen

Quellcode bereinigen

Erstellt am 6. März 2006 · 6 Antworten · letzte Antwort am 8. März 2006

Tags: Frage

tschinschiri ·

Hallo

Ich habe mir mal den Quellcode meiner Seite etwas genauer angesehen, weil die seite sehr langsam geladen wird. Ich habe nun festgestellt, das mir T3 vor den eigentlichen Seitenquelltext unmengen von Daten reinschreibt. Kann mir jemand sagen für was diese Daten sind, und wie ich sie gf herausbekomme. Danke Da mal ein kleiner Vorgeschmack...

<!DOCTYPE html
	PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<!-- 
	This website is brought to you by TYPO3 - get.content.right
	TYPO3 is a free open source Content Management Framework created by Kasper Skaarhoj and licensed under GNU/GPL.
	TYPO3 is copyright 1998-2005 of Kasper Skaarhoj. Extensions are copyright of their respective owners.
	Information and contribution at http://www.typo3.com
-->

	<style type="text/css">
		/*<![CDATA[*/
	<!--
	/* default styles for extension "tx_indexedsearch" */
	.tx-indexedsearch .tx-indexedsearch-searchbox INPUT.tx-indexedsearch-searchbox-button { width:100px; }
	.tx-indexedsearch .tx-indexedsearch-searchbox INPUT.tx-indexedsearch-searchbox-sword { width:150px; }
	.tx-indexedsearch .tx-indexedsearch-whatis P .tx-indexedsearch-sw { font-weight:bold; font-style:italic; }
	.tx-indexedsearch .tx-indexedsearch-whatis { margin-top:10px; margin-bottom:5px; }
	.tx-indexedsearch P.tx-indexedsearch-noresults { text-align:center; font-weight:bold; }
	.tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-title { background:#eeeeee; }
	.tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-title P { font-weight:bold; }
	.tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-title P.tx-indexedsearch-percent { font-weight:normal; }
	.tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-descr P { font-style:italic; }
	.tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-descr P .tx-indexedsearch-redMarkup { color:red; }
	.tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-info { background:#eeeeff; }
	.tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-secHead { margin-top:20px; margin-bottom:5px; }
	.tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-secHead H2 { margin-top:0px; margin-bottom:0px; }
	.tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-secHead TABLE { background:#cccccc; }
	.tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-secHead TD { vertical-align:middle; }
	.tx-indexedsearch .tx-indexedsearch-res .noResume { color : #666666; }
/* default styles for extension "tx_veguestbook_pi1" */
  /* example styles */
    .tx-guestbook-list-header { background-color: #539521; color: #FFFFFF; font-weight:bold; }
    .tx-guestbook-list-row { background-color: #FFFFFF; }
    .tx-guestbook-list-rowleft { background-color: #EEEEEE; }
    .tx-guestbook-list-entrycomment-title {font-weight: bold; }
    .tx-guestbook-list-entrycomment { font-style: italic; }
    .tx-guestbook-list-small { font-size: 9px; color: #666666; }
    .tx-veguestbook-pi1-browsebox TD { font-size: 9px; color: #666666; }
    .tx-veguestbook-pi1-browsebox-strong, .tx-ttnews-browsebox-SCell { font-weight: bold; }
    .tx-veguestbook-pi1-browsebox-SCell { background-color: #EEEEEE; }
    .tx-guestbook-latest-header { background-color: #539521; color: #FFFFFF; font-weight:bold; }
    .tx-guestbook-latest-row { background-color: #FFFFFF; }
    .tx-guestbook-latest-small { font-size: 9px; color: #666666; }
    .tx-guestbook-form-inputfield-med { border-style: solid; border-width: 1pt; border-color:#539521; font-size:12; color:#333333; width:100; height:20; }
    .tx-guestbook-form-inputfield-big { border-style: solid; border-width: 1pt; border-color:#539521; font-size:12; color:#333333; width:150; height:20; }
    .tx-guestbook-form-textarea { border-style: solid; border-width: 1pt; border-color:#539521; font-size:12; color:#333333; width:250; }
    .tx-guestbook-form-obligationfield { color: #CC0000; }
    .tx-guestbook-form-error { color: #CC0000; }
/* default styles for extension "tx_newloginbox_pi3" */
	.tx-newloginbox-pi3-listrow TD { background-color:#eeeeee; padding-left: 3px; padding-right: 3px; }
	.tx-newloginbox-pi3-listrow TR.tx-newloginbox-pi3-listrow-header TD { background-color:#cccccc; }
	.tx-newloginbox-pi3-listrow TR.tx-newloginbox-pi3-listrow-header TD P { font-weight:bold; }
	.tx-newloginbox-pi3-listrow TR.tx-newloginbox-pi3-listrow-odd TD { background-color:#f6f6f6; }
/* default styles for extension "tx_advCalendar_pi1" */
		.tx-advCaledar-pi1 { PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BACKGROUND-COLOR: #FFEEEE; font-family:Verdana; font-size:12px; }
		.tx-advCaledar-pi1 H1 { BACKGROUND-COLOR: #EEDDDD; font-size:16px; FONT-WEIGHT: bold; }
		.tx-advCaledar-pi1 P { BACKGROUND-COLOR: #EEDDDD; font-size:12px; }
		.tx-advCaledar-pi1 TD { font-size:12px; FONT-WEIGHT: bold; }
		.tx-advCaledar-pi1 A { color:black; FONT-WEIGHT: bold; }
		.tx-advCaledar-pi1 TD.notInMonth TD { FONT-WEIGHT: normal; FONT-SIZE: 8px; }
		.tx-advCaledar-pi1 TD.notInMonth A { color:gray; }
		.tx-advCaledar-pi1 TD.bottomEventsExpired { BACKGROUND-COLOR: #EEDDDD; color:red; }
		.tx-advCaledar-pi1 TD.bottomEventsExpired A { color:red; }
		.tx-advCaledar-pi1 TD.bottomEvents { BACKGROUND-COLOR: #FFEEEE; }
/* default styles for extension "tx_chcforum_pi1" */



/* BASIC STUFF */
#tx_chcforum-pi1 {
	font-family: verdana, sans-serif;
	font-size: 11px;
}

#tx_chcforum-pi1 caption {
	display: none;
}

#tx_chcforum-pi1 a {
	text-decoration: underline;
}

#tx_chcforum-pi1 a:hover {
	text-decoration: none !important;
}

/* only one form in the forum */
#tx_chcforum-pi1 form {
	margin-top: 5px;
	margin-bottom: 5px;
}

.tx-chcforum-pi1-noWrap {
	display: inline;
	white-space: nowrap;
}

.tx-chcforum-pi1-preTableWrap {
	border: 1px solid #999999;
	margin-bottom: 2px;
}

.tx-chcforum-pi1-postTableWrap {
	border: 1px solid #999999;
	margin-bottom: 2px;
}

/* GENERIC TABLE BEGIN */
.tx-chcforum-pi1-Table {
	border: 1px solid #666666;
	background: #FFFFFF;
	margin-bottom: 2px;
	width: 100%;
}

.tx-chcforum-pi1-Table thead tr th {
	font-size: 14px;
	font-weight: bold;
	background: #A7B3CB;
	padding: 5px;
	text-align: center;
	white-space: nowrap;
}

/* category title row */
.tx-chcforum-pi1-Table tbody tr th {
	font-size: 15px;
	font-weight: bold;
	letter-spacing: 2px;
	background: #F3F5F8;
	padding: 5px;
	text-align: left;
}

/* category features row */
.tx-chcforum-pi1-Table tbody tr td {
	font-size: 12px;
	background: #E3E7EF;
	padding: 5px;
}
/* GENERIC TABLE END */


/* CATEGORY TABLE BEGIN */
/* cell 1 */
.tx-chcforum-pi1-catConferenceCell {
}

.tx-chcforum-pi1-catConferenceCell dl {
	margin: 0;
}

.tx-chcforum-pi1-catConferenceCell dt {
}

.tx-chcforum-pi1-catConferenceCell dd {
	font-size: 10px;
	margin-left: 5px;
}

.tx-chcforum-pi1-catConferenceCell dd.new {
	color: #FF0000;
}

/* cell 2 */
.tx-chcforum-pi1-catThreadCell {
	text-align: center;
}

/* cell 3 */
.tx-chcforum-pi1-catPostCell {
	text-align: center;
}

/* cell 4 */
.tx-chcforum-pi1-catLastCell {
	font-size: 10px !important;
	vertical-align: top;
}
/* CATEGORY TABLE END */


/* CONFERENCE TABLE BEGIN */
/* cell 1 */

.tx-chcforum-pi1-confThreadImage {
	text-align: center;
}


.tx-chcforum-pi1-confThreadSubjCell {

}

.tx-chcforum-pi1-confThreadNew {
	color: #FF0000;
	font-size: 10px;
	padding-left: 5px;
}

.tx-chcforum-pi1-confThreadBtns img {
	padding-top: 5px;
}

.tx-chcforum-pi1-confThreadBtns {
	padding-left: 5px;
}

/* cell 2 */
.tx-chcforum-pi1-confThreadRepliesCell {
	text-align: center;
}

/* cell 3 */
.tx-chcforum-pi1-confThreadAuthorCell {
	text-align: center;
}

/* cell 4 */
.tx-chcforum-pi1-confThreadLastCell {
	font-size: 10px !important;
}

/* CONFERENCE TABLE END */

/* NAVPATH BEGIN*/
.tx-chcforum-pi1-navPath a {
	color: #6F6E70;
}

.tx-chcforum-pi1-navPath {
	line-height: 15px;
	color: #6F6E70;
	background: #E9E9E9;
	border-bottom: 1px solid #DEDEDE;
	margin-bottom: 1px;
	padding: 3px;
	font-size: 10px;
}
/* NAVPATH END*/

/* PAGELINKS BEGIN */
.tx-chcforum-pi1-pageLinksTop, .tx-chcforum-pi1-pageLinksBtm {
	color: #6F6E70;
	background: #E9E9E9;
	border-bottom: 1px solid #DEDEDE;
	font-size: 10px;
	line-height: 15px;
	padding: 3px;
	text-align: right;
	clear: both;
	padding-right: 5px;
}

.tx-chcforum-pi1-pageLinksBtm {
	margin-bottom: 1px;
}
/* PAGELINKS END */

/* POST FORM BEGIN */
.tx-chcforum-pi1-postForm {
	border: 1px solid #999999;
	background: #E3E7EF;
	padding: 5px;
	margin-bottom: 3px;
}

.tx-chcforum-pi1-postForm #formWhere {
	font-size: 14px;
	font-weight: bold;
	background: #A7B3CB;
	padding: 5px;
	text-align: center;
	white-space: nowrap;
	margin-bottom: 7px;
	border: 1px solid #999999;
}

.tx-chcforum-pi1-postForm fieldset label {
	display: block;
	text-align: right;
	padding-right: 20px;
	padding-top: 3px;
	width: 60px;
	float: left;
}

.tx-chcforum-pi1-postForm fieldset {
	background-color: #E9E9E9;
}

.tx-chcforum-pi1-postForm fieldset#formTop {
	margin-bottom: 8px;
}

.tx-chcforum-pi1-postForm fieldset#formTop legend {
	margin-bottom: 3px;
	background-color: #E9E9E9;
	border: 1px solid #999999;
	padding: 2px;
	font-weight: bold;
}

.tx-chcforum-pi1-postForm fieldset#formBottom legend {
	background-color: #E9E9E9;
	border: 1px solid #999999;
	padding: 2px;
	font-weight: bold;
	margin-bottom: 5px;
}


.tx-chcforum-pi1-postForm fieldset#formTop input {
	display: block;
	width: 150px;
	float: left;
	padding: 2px;
	border: 1px solid #DEDEDE;
	margin-bottom: 2px;
}

.tx-chcforum-pi1-postForm textarea {
	border: 1px solid #DEDEDE;
	margin: 3px 0;
	width: 100%;
	height: 150px;
}

.tx-chcforum-pi1-postForm fieldset#formTop br {
	clear:left;
}

.tx-chcforum-pi1-formBtn {
	text-align: center;
}

.tx-chcforum-pi1-formBtn input {
	border: 1px solid #999999;
	font-size:10px;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	margin:2px;
	background-color: #FFF;

}

.tx-chcforum-pi1-formBtnHov {
	border: 1px solid #666; 
	font-size:10px;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	margin:2px;
	background-color: #FFF;
	color: #CC0000;
}

.tx-chcforum-pi1-formBtnStyle {
	background-color: #FFF;
	border: 1px solid #666666;
	padding: 3px;
	margin: 3px;
}

.tx-chcforum-pi1-formBtnStyleHov {
	background-color: #FFF;
	border: 1px solid #C00;
	color: #CC0000;
	padding: 3px;
	margin: 3px;
}
/* POST FORM END */

/* SINGLE POST BEGIN */
.tx-chcforum-pi1-singlePost {
	border: 1px solid #666666;
	margin: 3px 0;
}

/* top */
.tx-chcforum-pi1-singlePost .author {
	background: #E3E7EF;
	padding: 3px;
	vertical-align: top;
	height: 78px;
}

.tx-chcforum-pi1-formEmicoStyle {
	margin: 3px;
}

.tx-chcforum-pi1-singlePost .im {
	vertical-align: middle;
	margin-top: 3px;
}

.tx-chcforum-pi1-singlePost .im a {
	margin-right: 10px;
}

.tx-chcforum-pi1-singlePost .im img {
	vertical-align: middle;
	border: 0px;
	padding-right: 2px;
	margin-bottom: 2px;
}

.tx-chcforum-pi1-singlePost .userPic {
	border: 1px solid #666666;
	float: right;
}
/* deprecated */
.tx-chcforum-pi1-singlePost #userPic {
	border: 1px solid #666666;
	float: right;
}

/* middle */
.tx-chcforum-pi1-singlePost .text {
	border-top: 1px solid #666666;
	border-bottom: 1px solid #666666;
	background: #E3E7EF;
}

.tx-chcforum-pi1-singlePost .scroller {
	overflow: auto;
	width: 95%;
	background: #FFF;
	min-height: 125px;
	text-indent: 0px;
	padding: 3px;
}

/* bottom */
.tx-chcforum-pi1-singlePost .edit {
	background: #F3F5F8;
	padding: 3px;
	height: 19px;
	vertical-align: middle;
	margin-top: 3px;
}

.tx-chcforum-pi1-singlePost .edit a {
	margin-right: 30px;
}

.tx-chcforum-pi1-singlePost .edit img {
	vertical-align: middle;
	border: 0px;
}

.tx-chcforum-pi1-singlePost .attachment {
	background: #DEE3E7;
	padding: 3px;
}

.tx-chcforum-pi1-singlePost .attachment div {
	vertical-align: top;
}

.tx-chcforum-pi1-singlePost .attachment img {
	float: left;
	margin-right: 5px;
}

.tx-chcforum-pi1-singlePost .rate {
	background: #DEE3E7;
	border-top: 3px solid #FFFFFF ;
	padding: 3px;
}

.tx-chcforum-pi1-singlePost .rate input {
	background-color: #FFF;
	border: 1px solid #666666;
	font-size: 9px;
}

.tx-chcforum-pi1-singlePost .rate select {
	border: 1px solid #666666;
	font-size: 10px;
}

.tx-chcforum-pi1-singlePost .rate select option {
	height: 1.5em;
}

.tx-chcforum-pi1-singlePost .rate form {
	padding: 0;
	margin: 0;
	display: inline;
}

.tx-chcforum-pi1-singlePost .rate .rateStars {
	float: left;
	text-align: left;
	height: 1.85em;
}

.tx-chcforum-pi1-singlePost .rate .rateMenu {
	text-align: right;
	width: 100%;
	height: 1.85em;
}

.tx-chcforum-pi1-singlePost .offset {
	margin-left: 15px;
	margin-right: 15px;
}

.tx-chcforum-pi1-singlePost .codeCell {
	font-family: Courier, 'Courier New', sans-serif; font-size: 11px; color: #006600;
	padding: 5px;
	background-color: #FAFAFA; 
	border: #D1D7DC; 
	border-style: solid;
	border-left-width: 1px; 
	border-top-width: 1px; 
	border-right-width: 1px; 
	border-bottom-width: 1px
}

.tx-chcforum-pi1-singlePost .quoteCell {
	background-color: #FAFAFA;
	font-size: 10px;
	padding: 5px;
	border: #D1D7DC; 
	border-style: solid;
	border-left-width: 1px; 
	border-top-width: 1px; 
	border-right-width: 1px; 
	border-bottom-width: 1px
}

.tx-chcforum-pi1-singlePost .quoteCellAuthor {
	border: 0px;
	font-weight: bold;
	padding: 3px 0;
}

.tx-chcforum-pi1-singlePost .quoteTable {
	border: 0px;
	margin: 15px 0;
}

.tx-chcforum-pi1-singlePost .text img {
	max-height: 350px;
	max-width: 350px;
}

.tx-chcforum-pi1-singlePostQuoteText {
	background-color: #FAFAFA;
	border: 1px solid #666666;
	font-size: 10px;
	padding: 5px;
}


/* SINGLE POST END */


/* FOOTER BOX BEGIN */
.tx-chcforum-pi1-footerBox {
	background: #A7B3CB;
	padding: 3px;
	border: 1px solid #999999;
	font-size: 10px; 
}

/* used for user listing */
.tx-chcforum-pi1-footerBox div { 
	padding-top: 5px; 
	padding-left: 5px;
	font-size: 10px; 
}
/* FOOTER BOX END */

/* HEADER BOX BEGIN */
.header_center {	
  text-align: center;
	height: 34px;
}
.header_text {
	font-size: 24px;
	line-height: 34px; 
	font-family: Verdana,Arial,Helvetica,sans-serif;
	font-weight: bold;
	font-variant: small-caps;
}
.header_small {
	margin-bottom: 3px;
	border: solid #666666 1px;
}
/* HEADER BOX END */

/* TOOL BAR  BEGIN */
.tx_chcforum-pi1-toolBar {
	background: #E3E7EF;
	border: 1px solid #666666;
	padding-right: 5px;
	padding-top: 3px;
	padding-bottom: 3px;
	margin-bottom: 2px;
}

.tx_chcforum-pi1-toolBar img {
	vertical-align: middle;
	margin-left: 16px;
}

.tx_chcforum-pi1-toolBar div {
	line-height: 30px;
	text-align: right;
	font-size: 9px;
	font-weight: bold;
	font-family: Verdana,Arial,Helvetica,sans-serif;
}

.tx_chcforum-pi1-subToolBar {
	background: #DEE3E7;
	margin-bottom: 1px;
	padding-right: 5px;
}

.tx_chcforum-pi1-subToolBar img {
	vertical-align: middle;
	margin-left: 16px;
}

.tx_chcforum-pi1-subToolBar div {
	margin: 0px;
	line-height: 15px;
	padding: 3px 0px 3px 0px;
	text-align: right;
	font-size: 9px;
	font-weight: bold;
	font-family: Verdana,Arial,Helvetica,sans-serif;
}


/* TOOL BAR  END */

/* PROFILE BEGIN */
.tx-chcforum-pi1-profileBorder {
	border: 1px solid #999999;
	padding: 3px;
}

.tx-chcforum-pi1-profileBorder #userPic {
	border: 1px solid #666666;
	float: right;
}

.tx-chcforum-pi1-profileBorder hr {
	clear: left;
	display: block;
	visibility: hidden;
}

.tx_chcforum-pi1-profileHdrBig {
	background: #DEE3E7;
	border: 1px solid #666666;
	padding: 5px;
	margin-bottom: 3px;
	font-size: 11px;
	font-weight: bold;
}

.tx_chcforum-pi1-profile_hdr {
	font-size: 11px;
  font-weight: bold;
  background: #E3E7EF;
  padding: 2px;
	padding-left: 6px;
}
/* PROFILE END */

/* MESSAGE BOX BEGIN */
.tx-chcforum-pi1-errorBoxCell {
	background: #E3E7EF;
	font-weight: bold;
	text-align: left;
}

.tx-chcforum-pi1-messageBoxErrorNoBorder {
	background: #FFD6EF;
	font-weight: bold;
	text-align: left;
	margin-bottom: 3px;
	padding: 3px;
	font-weight: bold;
}

.tx-chcforum-pi1-messageBox, .tx-chcforum-pi1-messageBoxError {
	background: #FFCCCC;
	margin-bottom: 3px;
	padding: 3px;
	padding-left: 5px;
	font-weight: bold;
	border: 1px solid #CF1127;
	color: #CF1127;
}
/* MESSAGE BOX END */

.tx-chcforum-pi1-forumTextBig {
	font-size: 14px;
	font-weight: bold;
}

.tx-chcforum-pi1-helpBox {
	background-color: #E9E9E9 !important;
	border-style: none;
}

.tx-chcforum-pi1-linkUp {
	background: #DEE3E7;
	border-bottom: 1px solid #DEDEDE;
	padding: 3px;
	padding-right: 5px;
	font-size: 10px;
	line-height: 15px;
	text-align: right;
}

.tx-chcforum-pi1-previewBoxCell {
	background: #A7B3CB;
	text-align: center;
}

/* CWT COMMUNITY STYLES */

#tx_chcforum-pi1 .tx-cwtcommunity-pi1 .userlistLetters {
	font-weight: bold;
}
#tx_chcforum-pi1 .tx-chcforum-pi1-Table .tx-cwtcommunity-pi1 form {
	margin: 0px;
	padding: 0px;
	font-family: arial, sans-serif;
}
#tx_chcforum-pi1 .tx-chcforum-pi1-Table .tx-cwtcommunity-pi1 td {
	font-family: arial, sans-serif;
	padding: 2px;
}
#tx_chcforum-pi1 .tx-chcforum-pi1-Table .tx-cwtcommunity-pi1 th {
	background: #E3E7EF;
	font-family: arial, sans-serif;
	font-size: 11px;
	padding: 2px;
	text-align: left;
	letter-spacing: 0px;
}



/* default styles for extension "tx_fdfx2cols_pi1" */
/*  Layout 1 */
.c2l1-left{
   border-right: 1px solid #FFEDA8;
   padding-right: 5px;
   width:50%;
   white-space:normal;
}
.c2l1-middle{
   padding-left: 5px;
   width:50%;
   white-space:normal;
}
/*  Layout 2 */
.c2l2-left{
   border-right: 1px solid #FFEDA8;
   padding-right: 5px;
   width:50%;
   white-space:normal;
}
.c2l2-middle{
   background-color:#FFEDA8;
   padding-left: 5px;
   width:50%;
   white-space:normal;
}
/* Layout 2 */
.c2l3-left{
   border-right: 1px solid #FFEDA8;
   padding-right: 5px;
   width:70%;
   white-space:normal;
}
.c2l3-middle{
   background-color:#FFEDA8;
   border: 1px solid blue;
   padding-left: 5px;
   width:30%;
   white-space:normal;
}
/*
	Styles 2 Column DIV Section
*/
div.tx-fdfx2cols-pi1{
    position:relative;
    left:0px;
	margin-bottom:10px;
}
/* Layout 1 */
div.c2l1d-left{
   position:absolute;
   left:0px;
   padding: 0px;
   width:380px;
   white-space:normal;
   border:1px solid red;
}
div.c2l1d-middle{
   position:absolute;
   left:390px;
   padding: 0px;
   width:380px;
   border:1px solid blue;
   white-space:normal;
}
/* Layout 2 */
div.c2l2d-left{
   position:absolute;
   left:0px;
   padding: 0px;
   width:380px;
   border:1px solid blue;
   white-space:normal;
}
div.c2l2d-middle{
   position:absolute;
   left:390px;
   padding: 0px;
   width:380px;
   white-space:normal;
   border:1px solid blue;
   background-color:#C0C0C0;
}
/* 
	Layout 3 
	
	embedded
*/
div.c2l3d-left{
   position:absolute;
   left:0px;
   padding: 0px;
   width:770px;
   white-space:normal;
   border:1px solid red;
}
div.c2l3d-middle{
   float:right;
   margin:5px;
   padding: 0px;
   width: 200px;
   height: 100px;
   overflow:auto;
   white-space:normal;
   border:1px solid blue;
   background-color:#C0C0C0;
}
/* default styles for extension "tx_fdfx3cols_pi1" */
/* Layout 1 */
.c3l1-left{
   border-right: 1px solid #FFEDA8;
   padding-right: 5px;
   width:33%;
   white-space:normal;
}
.c3l1-middle{
   border-right: 1px solid #FFEDA8;
   padding-left: 5px;
   padding-right: 5px;
   width:33%;
   white-space:normal;
}
.c3l1-right{
   padding-left: 5px;
   width:33%;
   white-space:normal;
}
/* Layout 2 */
.c3l2-left{
   border-right: 1px solid #FFEDA8;
   padding-right: 5px;
   width:25%;
   white-space:normal;
}
.c3l2-middle{
   border-right: 1px solid #FFEDA8;
   padding-left: 5px;
   padding-right: 5px;
   width:50%;
   white-space:normal;
}
.c3l2-right{
   padding-left: 5px;
   width:25%;
   white-space:normal;
}
/* Layout 3 */
.c3l3-left{
   border-right: 1px solid #FFEDA8;
   padding-right: 5px;
   width:40%;
   white-space:normal;
}
.c3l3-middle{
   border-right: 1px solid #FFEDA8;
   padding-left: 5px;
   padding-right: 5px;
   width:40%;
   white-space:normal;
}
.c3l3-right{
   padding-left: 5px;
   width:20%;
   white-space:normal;
   background-color:#FFEDA8;
}
/*
	Styles 3 Column DIV Section
*/
div.tx-fdfx3cols-pi1{
    position:relative;
    left:0px;
	margin-bottom:10px;
}
/* Layout 1 */
div.c3l1d-left{
   position:absolute;
   left:0px;
   padding: 0px;
   width:250px;
   white-space:normal;
   border:1px solid red;
}
div.c3l1d-middle{
   position:absolute;
   left:260px;
   padding: 0px;
   width:250px;
   border:1px solid blue;
   white-space:normal;
}
div.c3l1d-right{
   position:absolute;
   left:520px;
   padding: 0px;
   width:250px;
   border:1px solid green;
   white-space:normal;
}
/* Layout 2 */
div.c3l2d-left{
   position:absolute;
   left:0px;
   padding: 0px;
   width:380px;
   border:1px solid blue;
   white-space:normal;
}
div.c3l2d-middle{
   position:absolute;
   left:390px;
   padding: 0px;
   width:380px;
   white-space:normal;
   border:1px solid blue;
   background-color:#C0C0C0;
}
/*
	Layout 3

	embedded
*/
div.c3l3d-left{
   position:absolute;
   left:0px;
   padding: 0px;
   width:770px;
   white-space:normal;
   border:1px solid red;
}
div.c3l3d-middle{
   float:right;
   margin:5px;
   padding: 0px;
   width: 200px;
   height: 100px;
   overflow:auto;
   white-space:normal;
   border:1px solid blue;
   background-color:#C0C0C0;
}
/* default styles for extension "tx_quickpoll" */
		.tx-quickpoll-pi1 .pollbar { BACKGROUND: url(/typo3conf/ext/quickpoll/pi1/pollbar.gif) repeat-x left center;}
		.tx-quickPoll-pi1 .polltable{WIDTH: 100%;}
		.tx-quickPoll-pi1 h2 {font-size:11px;}
		.tx-quickPoll-pi1 TH {
							/* make it solid */
		  					text-transform:uppercase;
		  					margin-bottom:10px;
							/* indent from left */  
		  					padding-left:4px;}
		.tx-quickPoll-pi1 .pollquestion {PADDING-BOTTOM: 3px;}
		.tx-quickPoll-pi1 .pollanswer {vertical-align: -20%;BORDER: none;}
		.tx-quickPoll-pi1 .polltotal {text-align:center;PADDING-TOP: 6px;}
		.tx-quickPoll-pi1 .pollresulttext {padding-top: 6px;}
	-->
		/*]]>*/
	</style>
	<link rel="stylesheet" type="text/css" href="fileadmin/css/Tabelle.css" />
	<link rel="stylesheet" type="text/css" href="fileadmin/css/Ueberschrift_1.css" />
	<link rel="stylesheet" type="text/css" href="fileadmin/css/Ueberschrift_2.css" />
	<link rel="stylesheet" type="text/css" href="fileadmin/css/Ueberschrift_3.css" />
	<link rel="stylesheet" type="text/css" href="fileadmin/css/Ueberschrift_4.css" />
	<link rel="stylesheet" type="text/css" href="fileadmin/css/Ueberschrift_5.css" />
	<link rel="stylesheet" type="text/css" href="fileadmin/css/Rahmen.css" />
	<title>www.im-Sack.ch: im-sack</title>
	<meta name="generator" content="TYPO3 3.8 CMS" />
	<meta name="AUTHOR" content="Christoph Rota" />
	<script type="text/javascript">
		/*<![CDATA[*/
	<!--
		browserName = navigator.appName;
		browserVer = parseInt(navigator.appVersion);
		var msie4 = (browserName == "Microsoft Internet Explorer" && browserVer >= 4);
		if ((browserName == "Netscape" && browserVer >= 3) || msie4 || browserName=="Konqueror") {version = "n3";} else {version = "n2";}
			// Blurring links:
		function blurLink(theObject)	{	//
			if (msie4)	{theObject.blur();}
		}
		
	// -->
		/*]]>*/
	</script>

<script type="text/javascript">
	/*<![CDATA[*/
<!--

  // JS function for uncrypting spam-protected emails:
function UnCryptMailto(s) {	//
	var n=0;
	var r="";
	for(var i=0; i < s.length; i++) {
		n=s.charCodeAt(i);
		if (n>=8364) {n = 128;}
		r += String.fromCharCode(n-(1));
	}
	return r;
}
  // JS function for uncrypting spam-protected emails:
function linkTo_UnCryptMailto(s)	{	//
	location.href=UnCryptMailto(s);
}
		
		// JS function for mouse-over
	function over(name,imgObj)	{	//
		if (version == "n3" && document[name]) {document[name].src = eval(name+"_h.src");}
		else if (imgObj)	{imgObj.src = eval(name+"_h.src");}
	}
		// JS function for mouse-out
	function out(name,imgObj)	{	//
		if (version == "n3" && document[name]) {document[name].src = eval(name+"_n.src");}
		else if (imgObj)	{imgObj.src = eval(name+"_n.src");}
	}

// -->
	/*]]>*/

Das ist sämtlicher Müll den ich zt. nicht verstehe und raus haben will.

Danke für eure Tips und tricks

Tschinschiri

theo ·

Da gips keine Tricks, da gips nur eins: TS-Referenz lesen...

config {
inlineStyle2TempFile = 1
removeDefaultJS = external
disablePrefixComment = 1
}
Uno ·

Naja erstens schreibt Typo3 mal Unmengen von CSS direkt in die HTML-Seite. (-> Seht unübersichtlich, meiner Meinung nach gehören die in eine externe CSS-Datei!)
Danach sehe ich noch, dass mittels JS der Browser ermittelt wird. (Auch da hab ich keine Ahnung, warum man dies nicht sauber mit PHP macht :o )

Aber frag mich nicht, wo du dies im Typo3-Quelltext entfernen kannst. Ich hab selber schon danach gesucht, jedoch sind es einfach zuviele Codes, um als nicht Mitprogrammierer den Überblick zu bewahren...

So, genug über Typo3 rausgelassen, jetzt geht's wieder an die Dokumentation. Mal schauen, ob ich heute noch das eine oder andere raffe... 😉

Gruess Uno

markus.​l ·

Schnapp dir schonmal den CSS Code welche die Extensions erzeugen und lagere diesen in eine externe CSS Datei aus.

Dann kannst du in dein Root Template den CSS Code der einzelnen Templates löschen. Dies machst du ,mit den folgenden Zeilen welche Du in das Setup des Root Templates einträgst.Für Deine Extensions lauten die Zeilen:

plugin.tx_indexedsearch._CSS_DEFAULT_STYLE >
plugin.tx_veguestbook_pi1._CSS_DEFAULT_STYLE >
plugin.tx_newloginbox_pi3._CSS_DEFAULT_STYLE >
plugin.tx_advCalendar_pi1._CSS_DEFAULT_STYLE >
plugin.tx_chcforum_pi1._CSS_DEFAULT_STYLE >
plugin.tx_fdfx2cols_pi1._CSS_DEFAULT_STYLE >
plugin.tx_fdfx3cols_pi1._CSS_DEFAULT_STYLE >
plugin.tx_quickpoll._CSS_DEFAULT_STYLE >

Dadurch wird der CSS Code gelöscht, da Du Ihn aber in ein externes CSS File kopiert hast wird er weiterhin benutzt. Somit hast du schon größten Teil des Quellcodes bereinigt. Den Rest hat dir Theo ja schon geschrieben.

Viele Grüße

Markus

daffyduck ·

Hi Markus.l

Es geht viel einfacher. Folgendes musst Du in Dein Setup packen um ein Teil des Codes auszulagern:

#Styles aus html-Code auslagern
config.inlineStyle2TempFile=1
#Java entfernen
config.removeDefaultJS = external

Dein Quelltext sieht anschliessend bedeuten kleiner aus 😃

Gruss Daffy

theo ·

Wofür poste ich hier eigentlich, wenn danach sowieso jeder alles wiederholt, oder es sich gar nicht erst durchliest... :o :o :o