Zum Inhalt springen

Quelltext bereinigen

Erstellt am 16. September 2004 · 1 Antwort · letzte Antwort am 16. September 2004

Tags: HTML & CSS, Frage

DaBel ·

Hallo Leute,

wie kann ich den Quelltext von Typo reinigen?
Hier mal ein Stück von dem Quelltext:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<!--
	This website is brought to you by Typo3 - get.content.right
	Typo3 is a free open source Content Management Framework
	created by Kasper Skaarhoej and licensed under GNU/GPL.
	Information and contribution at http://www.typo3.com
-->

<STYLE TYPE="text/css">
<!--
/* 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:absmiddle; }
/* default styles for extension "tx_mininews_pi1" */
	.tx-mininews-pi1 .tx-mininews-pi1-listrow P.tx-mininews-pi1-listrowField-title { font-weight:bold; }
	.tx-mininews-pi1 .tx-mininews-pi1-listrow P.tx-mininews-pi1-listrowField-teaser { margin-bottom:15px; }
	.tx-mininews-pi1 .tx-mininews-pi1-fp_listrow P.tx-mininews-pi1-fp_listrowField-title { font-weight:bold; }
	.tx-mininews-pi1 .tx-mininews-pi1-fp_listrow P.tx-mininews-pi1-fp_listrowField-teaser { margin-top:0px; margin-bottom:10px; }
	.tx-mininews-pi1 .tx-mininews-pi1-singleView P.tx-mininews-pi1-singleViewField-teaser { font-style:italic; margin-top:5px; margin-bottom:10px; }
	.tx-mininews-pi1 .tx-mininews-pi1-browsebox P SPAN.tx-mininews-pi1-browsebox-strong { font-weight:bold; }
	.tx-mininews-pi1 .tx-mininews-pi1-listrow P.tx-mininews-pi1-listrowField-teaser A { color:black; text-decoration:none; }
	.tx-mininews-pi1 .tx-mininews-pi1-listrow P.tx-mininews-pi1-listrowField-teaser A:hover { color:black; text-decoration:none; }
/* default styles for extension "tx_dearticles_pi1" */
  .tx-dearticles-pi1-sword {
    	color:maroon;
    	font-weight:bold;
    	font-style:italic;
    }
  P.tx-dearticles-pi1-singleViewField-title {
  	font-size:14px;
  	color:navy;
  	font-weight:bold;
  }
  P.tx-dearticles-pi1-singleViewField-author {
  	font-size:10px;
  	color:teal;
  	font-weight:bold;
  }
  P.tx-dearticles-pi1-singleViewField-sections {
  	font-size:10px;
  	color:gray;
  	font-weight:bold;
  }
  P.tx-dearticles-pi1-singleViewField-caption {
  	font-size:8px;
  	color:black;
  	font-weight:bold;
  }
  P.tx-dearticles-pi1-singleViewField-content {
  	font-family:Verdana, Helvetica, sans-serif;
  	font-size:12px;
  	color:black;
  }
  P.tx-dearticles-pi1-singleViewField-browseBy {
  	font-family:Verdana, Geneva, Arial, Helvetica, sans-serif;
  	font-size:10px;
  	color:black;
  }
  P.tx-dearticles-pi1-singleViewField-listHeader {
  	font-size:14px;
  	color:navy;
  	font-weight:bold;
  }
  P.tx-dearticles-pi1-singleViewField-listTitle {
  	font-size:12px;
  	color:teal;
  }
  P.tx-dearticles-pi1-singleViewField-showMore {
  	font-family:Verdana, Geneva, Arial, Helvetica, sans-serif;
  	font-size:8px;
  }
/* default styles for extension "tx_dedivbanner_pi1" */
  .pointer { cursor: hand}
  .bannerlink { font-family:verdana; font-size=12px; color: #ffffff; font-weight: normal; text-decoration:none; }
/* 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_lzgallery_pi1" */
    /* gallerie - listing */
	#tx-lzgallery-pi1-listing {border-style:dotted;border-width:1px;border-color:#00008c;border-collapse:collapse;font-size:12px;padding:0px;font-family:verdana}
	#tx-lzgallery-pi1-listing tr.line1 {background-color:lightgrey;color:black;}
	#tx-lzgallery-pi1-listing tr.line1 td.startdate{white-space:nowrap;}
	#tx-lzgallery-pi1-listing tr.line1 td.count{white-space-nowrap;padding-left:20px;}
	#tx-lzgallery-pi1-listing td.preview {padding:0px;width:80px;padding-left:4px;}
	#tx-lzgallery-pi1-listing td.title {font-size:16px;font-face:bold;padding-left:10px;width:80%;}
	#tx-lzgallery-pi1-listing tr.line2 {padding:0px;}

	#tx-lzgallery-pi1-listing a {color:black;}
	#tx-lzgallery-pi1-listing #line-descr-short {border-top-width:1px;border-top-style:dotted;border-top-color:#00008c;}
	#tx-lzgallery-pi1-parent-descr-short {padding:4px 4px 20px 4px;}
	#tx-lzgallery-pi1-parent-title {font-size:20px;padding:4px 4px 4px 4px;}
	#tx-lzgallery-pi1-parent-count {padding:4px 4px 4px 4px;}
	#tx-lzgallery-pi1-parent-subcount {padding:0px 4px 4px 4px;}
	#tx-lzgallery-pi1-listing td.information {font-size:10px;white-space:nowrap;}

    /* gallery - album  */

	#tx-lzgallery-pi1-fotonav td {text-align:center;padding-left:15px;}
	#tx-lzgallery-pi1-fotonav td.descr {color:#00008c;}
	#tx-lzgallery-pi1-fotonav {background-color:lightgrey;border-color:#00008c;border-style:solid;border-width:2px;font-family:verdana;}

	#tx-lzgallery-pi1-fotos {border-width:2px;border-style:solid;border-color:#00008c;text-align:center;padding:5px 5px 5px 5px;background-color:white;border-collapse:collapse;font-family:verdana;}
	#tx-lzgallery-pi1-fotos td {text-align:center;padding:0;border-style:solid;border-width:1px;border-color:#00008c;padding:3px;}

	#tx-lzgallery-pi1-title {border-bottom-width:2px;border-bottom-style:solid;border-bottom-color:#00008c;text-align:center;margin-bottom:20px;font-size:20px;}
	#tx-lzgallery-pi1-descr-long {margin:5px 5px 15px 5px;text-align:justify;}

    /* gallery - annotations */
	.tx-lzgallery-pi1-5x5-filename {font-size:10px;font-style:italic;}
	.tx-lzgallery-pi1-1x1-1 {font-size:12px;font-face:bold;border-bottom:1px solid lightgray;}
	.tx-lzgallery-pi1-1x1-2 {font-size:12px;border:1px solid lightgray;margin:3px 3px 3px 3px;}
	.tx-lzgallery-pi1-1x1-filename {font-size:10px;font-style:italic;}
/* default styles for extension "tx_t3quotes_pi1" */
  .tx-t3quotes-pi1 .tx-t3quotes-pi1-listrow P.tx-t3quotes-pi1-listrowField-quote { font-style: italic; margin-left: 50px;}
  .tx-t3quotes-pi1 .tx-t3quotes-pi1-listrow P.tx-t3quotes-pi1-listrowField-author { background-color: #eeeeee; margin-top: 10px;}
  .tx-t3quotes-pi1 .tx-t3quotes-pi1-listrow P.tx-t3quotes-pi1-listrowField-preface {font-style: italic; margin-left: 50px; color: maroon; }
/* default styles for extension "tx_lzgallery_pi1_simple" */
    /* gallerie - listing */
	#tx-lzgallery-pi1-listing {border-style:dotted;border-width:1px;border-color:#00008c;border-collapse:collapse;font-size:12px;padding:0px;font-family:verdana}
	#tx-lzgallery-pi1-listing tr.line1 {background-color:lightgrey;color:black;}
	#tx-lzgallery-pi1-listing tr.line1 td.startdate{white-space:nowrap;}
	#tx-lzgallery-pi1-listing tr.line1 td.count{white-space-nowrap;padding-left:20px;}
	#tx-lzgallery-pi1-listing td.preview {padding:0px;width:80px;padding-left:4px;}
	#tx-lzgallery-pi1-listing td.title {font-size:16px;font-face:bold;padding-left:10px;width:80%;}
	#tx-lzgallery-pi1-listing tr.line2 {padding:0px;}

	#tx-lzgallery-pi1-listing a {color:black;}
	#tx-lzgallery-pi1-listing #line-descr-short {border-top-width:1px;border-top-style:dotted;border-top-color:#00008c;}
	#tx-lzgallery-pi1-parent-descr-short {padding:4px 4px 20px 4px;}
	#tx-lzgallery-pi1-parent-title {font-size:20px;padding:4px 4px 4px 4px;}
	#tx-lzgallery-pi1-parent-count {padding:4px 4px 4px 4px;}
	#tx-lzgallery-pi1-parent-subcount {padding:0px 4px 4px 4px;}
	#tx-lzgallery-pi1-listing td.information {font-size:10px;white-space:nowrap;}

    /* gallery - album  */

	#tx-lzgallery-pi1-fotonav td {text-align:center;padding-left:15px;}
	#tx-lzgallery-pi1-fotonav td.descr {color:#00008c;}
	#tx-lzgallery-pi1-fotonav {background-color:lightgrey;border-color:#00008c;border-style:solid;border-width:2px;font-family:verdana;}

	#tx-lzgallery-pi1-fotos {border-width:2px;border-style:solid;border-color:#00008c;text-align:center;padding:5px 5px 5px 5px;background-color:white;border-collapse:collapse;font-family:verdana;}
	#tx-lzgallery-pi1-fotos td {text-align:center;padding:0;border-style:solid;border-width:1px;border-color:#00008c;padding:3px;}

	#tx-lzgallery-pi1-title {border-bottom-width:2px;border-bottom-style:solid;border-bottom-color:#00008c;text-align:center;margin-bottom:20px;font-size:20px;}
	#tx-lzgallery-pi1-descr-long {margin:5px 5px 15px 5px;text-align:justify;}

    /* gallery - annotations */
	.tx-lzgallery-pi1-5x5-filename {font-size:10px;font-style:italic;}
	.tx-lzgallery-pi1-1x1-1 {font-size:12px;font-face:bold;border-bottom:1px solid lightgray;}
	.tx-lzgallery-pi1-1x1-2 {font-size:12px;border:1px solid lightgray;margin:3px 3px 3px 3px;}
	.tx-lzgallery-pi1-1x1-filename {font-size:10px;font-style:italic;}
-->
</STYLE>

Das ist doch alles Suchmaschinen-Freundlich.

Alex Weber ·

ich denke mal du meinst die diversen styleangaben im head. die wirst du für die indexed search mit folgendem setup code los

plugin.tx_cssstyledimgtext._CSS_DEFAULT_STYLE >

funktioniert auch mit anderen extensions.