Zum Inhalt springen

jp_pageteaser nach unten verschoben

Erstellt am 31. Oktober 2006 · 4 Antworten · letzte Antwort am 1. November 2006

Tags: HTML & CSS, TYPO3 4, Frage

NickD ·

hallo,

nach langem hin und her habe ich die anzeige endlich hinbekommen. ich nutze dafür das mitgelieferte standarttemplate. leider ist die anzeige nach unten verschoben, also zwischen title und extensionsausgabe ist eine riesen lücke. ich kann mir das irgendwie nicht erklären.
so sieht mein quellcode aus:

<!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 powered by TYPO3 - inspiring people to share!
	TYPO3 is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.
	TYPO3 is copyright 1998-2006 of Kasper Skaarhoj. Extensions are copyright of their respective owners.
	Information and contribution at http://typo3.com/ and http://typo3.org/
-->

	<link rel="stylesheet" type="text/css" href="typo3temp/stylesheet_d42a518d63.css" />
	<link rel="stylesheet" type="text/css" href="fileadmin/style.css" />
<script language="javascript" type="text/javascript" src="fileadmin/tiny_mce/tiny_mce.js"></script><script language="javascript" type="text/javascript">tinyMCE.init({mode : "textareas",theme : "simple"});function popupPage(url,titel) { window.open(url, titel, "location=no,scrollbars=yes,menubars=no,toolbars=no,resizable=yes, width=1000, height=800");}</script>
	<title>Teaser</title>

	<meta name="generator" content="TYPO3 4.0 CMS" />
	<meta name="AUTHOR" content="Nicky Mike Schrader" />
	<meta name="DESCRIPTION" content="Das ist meine Testseite" />
	<script type="text/javascript" src="typo3temp/javascript_757c080409.js"></script>

<script type="text/javascript">
	/*<![CDATA[*/
<!--
if (version == "n3") {
img68_2d86_0_n=new Image(); img68_2d86_0_n.src = "typo3temp/menu/b93bdb15d1.png"; 
img68_2d86_0_h=new Image(); img68_2d86_0_h.src = "typo3temp/menu/b93bdb15d1.png"; 
img54_2d86_1_n=new Image(); img54_2d86_1_n.src = "typo3temp/menu/3eff544859.png"; 
img54_2d86_1_h=new Image(); img54_2d86_1_h.src = "typo3temp/menu/3c87839618.png"; 
img10_2d86_2_n=new Image(); img10_2d86_2_n.src = "typo3temp/menu/b197178bc2.png"; 
img10_2d86_2_h=new Image(); img10_2d86_2_h.src = "typo3temp/menu/5f6b2eef5c.png"; 
img28_2d86_3_n=new Image(); img28_2d86_3_n.src = "typo3temp/menu/4fc23053aa.png"; 
img28_2d86_3_h=new Image(); img28_2d86_3_h.src = "typo3temp/menu/c130eab670.png"; 
img29_2d86_4_n=new Image(); img29_2d86_4_n.src = "typo3temp/menu/646bcd1312.png"; 
img29_2d86_4_h=new Image(); img29_2d86_4_h.src = "typo3temp/menu/075d26f758.png"; 
img27_2d86_5_n=new Image(); img27_2d86_5_n.src = "typo3temp/menu/85c823e2b6.png"; 
img27_2d86_5_h=new Image(); img27_2d86_5_h.src = "typo3temp/menu/05f3579fe5.png"; 
img56_2d86_6_n=new Image(); img56_2d86_6_n.src = "typo3temp/menu/beeebef693.png"; 
img56_2d86_6_h=new Image(); img56_2d86_6_h.src = "typo3temp/menu/ad6519f1d6.png"; 
img17_2d86_7_n=new Image(); img17_2d86_7_n.src = "typo3temp/menu/d52365f006.png"; 
img17_2d86_7_h=new Image(); img17_2d86_7_h.src = "typo3temp/menu/44982e4bb1.png"; 
img35_2d86_8_n=new Image(); img35_2d86_8_n.src = "typo3temp/menu/33cc8db8ad.png"; 
img35_2d86_8_h=new Image(); img35_2d86_8_h.src = "typo3temp/menu/2d49ea2393.png"; 
img7_2d86_9_n=new Image(); img7_2d86_9_n.src = "typo3temp/menu/0096b1aac0.png"; 
img7_2d86_9_h=new Image(); img7_2d86_9_h.src = "typo3temp/menu/8a58e40196.png";
}
// -->
	/*]]>*/
</script>

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

  // decrypt helper function
function decryptCharcode(n,start,end,offset) {
	n = n + offset;
	if (offset > 0 && n > end)	{
		n = start + (n - end - 1);
	} else if (offset < 0 && n < start)	{
		n = end - (start - n - 1);
	}
	return String.fromCharCode(n);
}
  // decrypt string
function decryptString(enc,offset) {
	var dec = "";
	var len = enc.length;
	for(var i=0; i < len; i++)	{
		var n = enc.charCodeAt(i);
		if (n >= 0x2B && n <= 0x3A)	{
			dec += decryptCharcode(n,0x2B,0x3A,offset);	// 0-9 . , - + / :
		} else if (n >= 0x40 && n <= 0x5A)	{
			dec += decryptCharcode(n,0x40,0x5A,offset);	// A-Z @
		} else if (n >= 0x61 && n <= 0x7A)	{
			dec += decryptCharcode(n,0x61,0x7A,offset);	// a-z
		} else {
			dec += enc.charAt(i);
		}
	}
	return dec;
}
  // decrypt spam-protected emails
function linkTo_UnCryptMailto(s)	{
	location.href = decryptString(s,-1);
}

		// JS function for mouse-over
	function over(name,imgObj)	{	//
		if (version == "n3" && document[name]) {document[name].src = eval(name+"_h.src");}
		else if (typeof(document.getElementById)=="function" && document.getElementById(name)) {document.getElementById(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 (typeof(document.getElementById)=="function" && document.getElementById(name)) {document.getElementById(name).src = eval(name+"_n.src");}
		else if (imgObj)	{imgObj.src = eval(name+"_n.src");}
	}

// -->
	/*]]>*/
</script>

</head>

<body bgcolor=#FFFFFF>

  	
    <div id="container">
    	
      <div id="header">
        <img src="fileadmin/pics/logo.gif" width="270" height="130" border="0" alt="" title="" />
      </div>
<!--
	<div id="pdf">
        ###PDF### ###DRUCK###
      </div>
-->
      <div id="links">
<!--
			<div>
      			###SUCHE###
      		</div>
-->
			<div>
				<a href="index.php?id=68" onfocus="blurLink(this);" onmouseover="over('img68_2d86_0');" onmouseout="out('img68_2d86_0');"><img src="typo3temp/menu/b93bdb15d1.png" width="178" height="24" border="0" alt="Teaser" name="img68_2d86_0" /></a><a href="index.php?id=54" onfocus="blurLink(this);" onmouseover="over('img54_2d86_1');" onmouseout="out('img54_2d86_1');"><img src="typo3temp/menu/3eff544859.png" width="178" height="24" border="0" alt="Allg. News" name="img54_2d86_1" /></a><a href="index.php?id=10" onfocus="blurLink(this);" onmouseover="over('img10_2d86_2');" onmouseout="out('img10_2d86_2');"><img src="typo3temp/menu/b197178bc2.png" width="178" height="24" border="0" alt="Agentur" name="img10_2d86_2" /></a><a href="index.php?id=28" onfocus="blurLink(this);" onmouseover="over('img28_2d86_3');" onmouseout="out('img28_2d86_3');"><img src="typo3temp/menu/4fc23053aa.png" width="178" height="24" border="0" alt="Team" name="img28_2d86_3" /></a><a href="index.php?id=29" onfocus="blurLink(this);" onmouseover="over('img29_2d86_4');" onmouseout="out('img29_2d86_4');"><img src="typo3temp/menu/646bcd1312.png" width="178" height="24" border="0" alt="Referenzen" name="img29_2d86_4" /></a><a href="index.php?id=27" onfocus="blurLink(this);" onmouseover="over('img27_2d86_5');" onmouseout="out('img27_2d86_5');"><img src="typo3temp/menu/85c823e2b6.png" width="178" height="24" border="0" alt="News" name="img27_2d86_5" /></a><a href="index.php?id=56" onfocus="blurLink(this);" onmouseover="over('img56_2d86_6');" onmouseout="out('img56_2d86_6');"><img src="typo3temp/menu/beeebef693.png" width="178" height="24" border="0" alt="Kontakte" name="img56_2d86_6" /></a><a href="index.php?id=17" onfocus="blurLink(this);" onmouseover="over('img17_2d86_7');" onmouseout="out('img17_2d86_7');"><img src="typo3temp/menu/d52365f006.png" width="178" height="24" border="0" alt="Profil" name="img17_2d86_7" /></a><a href="index.php?id=35" onfocus="blurLink(this);" onmouseover="over('img35_2d86_8');" onmouseout="out('img35_2d86_8');"><img src="typo3temp/menu/33cc8db8ad.png" width="178" height="24" border="0" alt="Suche" name="img35_2d86_8" /></a><a href="index.php?id=7" onfocus="blurLink(this);" onmouseover="over('img7_2d86_9');" onmouseout="out('img7_2d86_9');"><img src="typo3temp/menu/0096b1aac0.png" width="178" height="24" border="0" alt="An/Abmelden" name="img7_2d86_9" /></a>

				&nbsp;&nbsp;


	<!--

		BEGIN: Content of extension "eu_startpage", plugin "tx_eustartpage_pi1"

	-->
	<div class="tx-eustartpage-pi1">
		<a href="index.php?id=68&amp;create_startpage=1&amp;no_cache=1" ><img src="typo3conf/ext/eu_startpage/pi1/home.gif" width="16" height="12" border=0> Als Startseite festlegen!</a>
	</div>
	
	<!-- END: Content of extension "eu_startpage", plugin "tx_eustartpage_pi1" -->

	
			</div>
		
      </div>      

      <div id="center">	
	   <div>
		 <font color="white"><h1><b>&nbsp;&nbsp;&nbsp;&nbsp;<font color="black">Teaser</font></b></h1></font>
        </div>
        <div id="center2">
		
	<!--  CONTENT ELEMENT, uid:62/list [begin] -->
		<a id="c62"></a>

		<!--  Plugin inserted: [begin] -->
			


	<!--

		BEGIN: Content of extension "jp_pageteaser", plugin "tx_jppageteaser_pi1"

	-->
	<div class="tx-jppageteaser-pi1">
		
    <div class="tx-jppageteaser-pi1-list">
	       
	       <div class="tx-jppageteaser-pi1-list-entry tx-jppageteaser-pi1-list-entry-first tx-jppageteaser-pi1-list-entry-odd">
	           <h4><a href="index.php?id=54" >asdfasd fdfg dfsg df g</a></h4>
	           <div class="tx-jppageteaser-pi1-list-entry-image">
	               <a href="index.php?id=54" ><img src="uploads/tx_jppageteaser/meinuser_logo_bcdc16635f.gif" width="270" height="130" border="0" alt="asdfsda fsd" title="fsda fasdf asdfdgsad" /></a>

	           </div>
		       <div class="tx-jppageteaser-pi1-list-entry-description">
		           dsf asdfsd afsd fasdf d fasdf asdf sdg
sdf
 gdf
 
dfg sdfgh gjhh adfghöjfadghjdf ahadfgh
		       </div>
		       <div class="tx-jppageteaser-pi1-list-entry-link-item"><a href="index.php?id=54" >Weiterlesen...</a></div>
		       <div class="tx-jppageteaser-pi1-list-floatcleaner">&nbsp;</div>
	       </div>
	       
	       <div class="tx-jppageteaser-pi1-list-entry tx-jppageteaser-pi1-list-entry-last tx-jppageteaser-pi1-list-entry-even">
	           <h4><a href="index.php?id=10" >sdaf asdf sdaf asdf</a></h4>

	           <div class="tx-jppageteaser-pi1-list-entry-image">
	               <a href="index.php?id=10" ><img src="uploads/tx_jppageteaser/logo_01.png" width="194" height="194" border="0" alt="" title="" /></a>
	           </div>
		       <div class="tx-jppageteaser-pi1-list-entry-description">
		           asd fsda fasdf sdaf asdf sdf asdfsdaf
		       </div>
		       <div class="tx-jppageteaser-pi1-list-entry-link-item"><a href="index.php?id=10" >Weiterlesen...</a></div>
		       <div class="tx-jppageteaser-pi1-list-floatcleaner">&nbsp;</div>
	       </div>

	     
	    
	</div>

	</div>
	
	<!-- END: Content of extension "jp_pageteaser", plugin "tx_jppageteaser_pi1" -->

	
		<!--  Plugin inserted: [end] -->
			<a href="http://localhost/typo3/typo3/alt_doc.php?edit[tt_content][62]=edit&amp;columnsOnly=list_type%2C%20layout%2C%20select_key%2C%20pages%20%5Brecursive%5D&amp;noView=0&amp;returnUrl=%2Ftypo3%2Findex.php%3Fid%3D68"><img src="typo3/gfx/edit_fe.gif" width="11" height="12" border="0" align="top" title="Plugin ändern/konfigurieren" class="frontEndEditIcons" alt="" /></a>
	<!--  CONTENT ELEMENT, uid:62/list [end] -->
		

								<!-- BE_USER Edit Panel: -->
								<form name="TSFE_EDIT_FORM_1af6" action="/typo3/index.php?id=68" method="post" enctype="multipart/form-data" onsubmit="return TBE_EDITOR_checkSubmit(1);" style="margin: 0 0 0 0;">

									<input type="hidden" name="TSFE_EDIT[cmd]" value="" />
									<input type="hidden" name="TSFE_EDIT[record]" value="tt_content:62" />
									<table border="0" cellpadding="0" cellspacing="0" border="1" bordercolor="black" class="typo3-editPanel">
										<tr>
											<td nowrap="nowrap" bgcolor="#ABBBB4" class="typo3-editPanel-controls"><a href="#" onclick="document.TSFE_EDIT_FORM_1af6['TSFE_EDIT[cmd]'].value='edit'; document.TSFE_EDIT_FORM_1af6.submit(); return false;"><img src="typo3/gfx/edit2.gif" width="11" height="12" hspace="2" border="0" title="Datensatz bearbeiten" align="top" alt="" title="" /></a><a href="#" onclick="document.TSFE_EDIT_FORM_1af6['TSFE_EDIT[cmd]'].value='up'; document.TSFE_EDIT_FORM_1af6.submit(); return false;"><img src="typo3/gfx/button_up.gif" width="11" height="10" vspace="1" hspace="2" border="0" title="Nach oben verschieben" align="top" alt="" title="" /></a><a href="#" onclick="document.TSFE_EDIT_FORM_1af6['TSFE_EDIT[cmd]'].value='down'; document.TSFE_EDIT_FORM_1af6.submit(); return false;"><img src="typo3/gfx/button_down.gif" width="11" height="10" vspace="1" hspace="2" border="0" title="Nach unten verschieben" align="top" alt="" title="" /></a><a href="#" onclick="if (confirm('Das Verstecken eines Datensatzes macht diesen auf der Webseite unsichtbar. Um den Datensatz zu bearbeiten m&amp;#xfc;sen Sie entweder das Backend benutzen oder bei der Frontend-Eingabe die Vorschau einschalten. Fortfahren?')){document.TSFE_EDIT_FORM_1af6['TSFE_EDIT[cmd]'].value='hide'; document.TSFE_EDIT_FORM_1af6.submit();} return false;"><img src="typo3/gfx/button_hide.gif" width="11" height="10" vspace="1" hspace="2" border="0" title="Ausblenden" align="top" alt="" title="" /></a><a href="#" onclick="document.TSFE_EDIT_FORM_1af6['TSFE_EDIT[cmd]'].value='new'; document.TSFE_EDIT_FORM_1af6.submit(); return false;"><img src="typo3/gfx/new_record.gif" width="16" height="12" vspace="1" hspace="2" border="0" title="Neuen Datensatz nach" align="top" alt="" title="" /></a><a href="#" onclick="if (confirm('Wollen Sie diesen Datensatz wirklich l&amp;#xf6;schen?')){document.TSFE_EDIT_FORM_1af6['TSFE_EDIT[cmd]'].value='delete'; document.TSFE_EDIT_FORM_1af6.submit();} return false;"><img src="typo3/gfx/delete_record.gif" width="12" height="12" vspace="1" hspace="2" border="0" title="L&#xf6;schen" align="top" alt="" title="" /></a></td>
											<td nowrap="nowrap" bgcolor="#F6F2E6" class="typo3-editPanel-label"><font face="verdana" size="1" color="black">&nbsp;&nbsp;</font></td>
										</tr>
									</table>
								</form><img src="clear.gif" width="1" height="5" alt="" title="" /><br /><table border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="black" style="border: 0px;"><tr style="border: 0px;"><td style="border: 0px;"><img src="clear.gif" width="1" height="1" alt="" title="" /></td></tr></table><br />

        </div>
	</div>      



    </div>
    
    
</body>
</html>
just2b ·

Hallo,

nichts für ungut, aber hast du mal das lokal gespeichert und angeschaut?!? ich tipp mal auf css.

und doctype auf xhtml wird wohl auch nicht schaden

georg

NickD ·

hab mir die seite mal abgespeichert und angesehen, so wird alles super angezeigt.
ich denke das es an der jp_pageteaser css liegt, denn ohne die funkst alles super.
hast du eine idee wie ich am besten an das css problem ran gehe bzw. wo ich suchen kann?

thx

just2b ·

schrittweise einfach aus dem css rauslöschen und so dem fehler auf die spur kommen.

mehr kann man ja nicht helfen, gibst ja keine url her

georg

NickD ·

leider läuft mein typo3 noch lokal...
ich habe es jetzt so behoben, das ich die mitgelieferte css nicht mehr benutze und das template auf meins anpasse. jetzt wird alles sauber angezeigt 🙂