include container wächst nicht mit?!

drabbit

Mitglied
Hallo zusammen ich hab folgendes Problemchen:

Wenn ich etwas include was von einer Datenbank bzw. von PHP generiert wird, dann wächst mein Container nicht mit. Ich mache das meistens immer so:

<div>
<? include('PHP-Skript/Datei')?>
</div>

Das Php skript gibt dann die Daten mittels echo frei...

Hier ein Beispiel im Netzt - wo ich wieder dieses Prolem habe:
http://www.hla-konzert.at/?page=gaestebuch

Danke für eure Antworten :)
 
Solltest du nicht ein ; am ende setzen?
PHP:
<? include('PHP-Skript/Datei'); ?>

Ansonsten müsste man mal wissen wie deine php-Datei aussieht
 
war ein tippfehler

<? include ($content); ?>

wie gesagt das passiert nur, wenn ich was von der Datenbank lade oder mit mittels Echo was ausgeben lasse...

So sieht der Code aus:

PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

<meta name="DC.Title" content="HLA Konzert" />
<meta name="DC.Creator" content="Daniel Hasieber - Mediafreak" />
<meta name="DC.Subject" content="HLA Konzert - Konzert - Veranstaltungen - Fotos" />
<meta name="DC.Description" content="Der Webauftritt vom HLA Konzert" />
<meta name="DC.Publisher" content="HLA Konzert" />
<meta name="DC.Contributor" content="keine" />
<meta name="DC.Date" content="2010" />
<meta name="DC.Type" content="Text" />
<meta name="DC.Format" content="text/html" />
<meta name="DC.Identifier" content="http://www.hla-konzert.at" />
<meta name="DC.Source" content="Quelle" />
<meta name="DC.Language" content="de" />

<meta name="DC.Rights" content="Alle Rechte liegen beim Autor" />


<link href="images/favicon.gif" rel="shortcut icon" />
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" />

<title>..::: HLA-Konzert :::..</title>

</head>

<body>

<div id="wrapper">
        
    <div id="header">
        <h1>HLA-Konzert</h1>

    </div>
    
    
    <div id="content">
    	
        <div id="maincontent">            <div id="left">
                    <div class="ball"><a href="?page=home"><strong>Home</strong></a></div><div class="line"></div>
                    <div class="ball"><a href="?page=band"><strong>Bands</strong></a></div><div class="line"></div>
                    <div class="ball"><a href="?page=ticket"><strong>Tickets &amp; Infos</strong></a></div><div class="line"></div>

                    <div class="ball"><a href="?page=bilder"><strong>Bilder</strong></a></div><div class="line"></div>
                    <div class="ball"><a href="?page=anfahrt"><strong>Anfahrt</strong></a></div><div class="line"></div>
                    <div class="ball"><a href="?page=gaestebuch"><strong>G&auml;stebuch</strong></a></div><div class="line"></div>
                    <div class="ball"><a href="?page=kontakt"><strong>Kontakt</strong></a></div><div class="line"></div> 
            </div>	
    <div id="center">

	             
       	##############  AB HIER WIRD INCLUDED ####################

            	
		<style type="text/css">
		body, p, div, td {font-family: Verdana; font-size: 11px; color: #1C1C1C} 

		a.links {text-decoration : None}
		a.links:link { color: #EEAD0E}
		a.links:visited { color: #EEAD0E}
		a.links:active { color: #CD950C}
		a.links:hover {color: #FFC125}

		a.links_eintrag {text-decoration : None}
		a.links_eintrag:link { color: #8B7765}
		a.links_eintrag:visited { color: #8B7765}
		a.links_eintrag:active { color: #CDB38B}
		a.links_eintrag:hover {color: #CDB38B}
		
		img.autofit { max-width:270px; }
		</style>

		<!--[if lt IE 7]>
		<style type="text/css">
		img.autofit { width:expression(this.complete ? Math.min(this.offsetWidth,270)+"px" : false); }
		</style>
		<![endif]-->
		<script type="text/javascript">
			function popup(url)
			{
			msgWindow=window.open(url,"Administration","toolbar=no,width=820,height=620,directories=no,status=yes,scrollbars=no,resize=no,menubar=no,marginwidth=0,marginheight=0,top=100px,left=100px")
			}
			
			function PopupPrint(url)
			{
			msgWindow=window.open(url,"Administration","toolbar=no,width=600,height=400,directories=no,status=yes,scrollbars=no,resize=no,menubar=no,marginwidth=0,marginheight=0,top=100px,left=100px")
			}
			
			function PopupCaptcha(url)
			{
			msgWindow=window.open(url,"Administration","toolbar=no,width=400,height=300,directories=no,status=yes,scrollbars=no,resize=no,menubar=no,marginwidth=0,marginheight=0,top=100px,left=100px")
			}
			
			var aktives_form;
			var aktives_feld;
			
			function insert(aTag, eTag, form, feld)
			{
				var input = document.forms[form].elements[feld];
				input.focus();
				
				  /* f?r Internet Explorer */
				if(typeof document.selection != 'undefined')
				{
					/* Einf?gen des Formatierungscodes */
						if(aTag=="[URL]")
						{
						var linkText = prompt("Bitte f?gen Sie Ihren Linktext ein / Please enter your Linktext:","");
						var insText = prompt("Bitte f?gen Sie Ihre URL ein (ohne http://) / Please enter your URL (without http://):","");
						var range = document.selection.createRange();
							if(linkText!=null)
							range.text = aTag+"http://"+insText+"[/URL2]"+linkText + eTag+" ";
						}
						else if(aTag=="[MAIL]")
						{
						var linkText = prompt("Bitte f?gen Sie Ihren Beschreibungstext ein / Please enter your Descriptiontext:","");
						var insText = prompt("Bitte f?gen Sie die Mailadresse ein / Please enter the Mailadress:","");
						var range = document.selection.createRange();
							if(linkText!=null)
							range.text = aTag+insText+"[/MAIL2]"+linkText + eTag+" ";
						}
						else if(aTag=="[IMG]")
						{
						var insText = prompt("Bitte f?gen Sie Ihre URL zu dem Bild ein (ohne http://) / Please enter your URL of the picture (without http://):","");
						var range = document.selection.createRange();
						
							if(insText!=null)
							range.text = aTag+"http://"+insText + eTag+" ";
						}
						else
						{
						var insText = prompt("Bitte f?gen Sie Ihren Text ein / Please enter your Text:","");
						var range = document.selection.createRange();
						
							if(insText!=null)
							range.text = aTag + insText + eTag+" ";
						}
						
					/* Anpassen der Cursorposition */
					range = document.selection.createRange();
					
					if (insText.length == 0)
					range.move('character', eTag.length);
					else
					range.moveStart('character', aTag.length + insText.length + eTag.length+" ");
					
					range.select();
				}
				  /* f?r neuere auf Gecko basierende Browser */
				else if(typeof input.selectionStart != 'undefined')
				{
					/* Einf?gen des Formatierungscodes */
					var start = input.selectionStart;
					var end = input.selectionEnd;
					//var insText = input.value.substring(start, end);
						if(aTag=="[URL]")
						{
						var insText = prompt("Bitte f?gen Sie Ihren Linktext ein / Please enter your Linktext:","");
						var linkText = prompt("Bitte f?gen Sie Ihre URL ein (ohne http://) / Please enter your URL (without http://):","");
						aTag=aTag+"http://"+linkText+"[/URL2]";
						}
						else if(aTag=="[MAIL]")
						{
						var insText = prompt("Bitte f?gen Sie Ihren Beschreibungstext ein / Please enter your Descriptiontext:","");
						var linkText = prompt("Bitte f?gen Sie die Mailadresse ein / Please enter the Mailadress:","");
						aTag=aTag+linkText+"[/MAIL2]";
						}
						else if(aTag=="[IMG]")
						{
						var insText = prompt("Bitte f?gen Sie Ihre URL zu dem Bild ein (ohne http://) / Please enter your URL of the picture (without http://):","");
						}
						else
						{
						var insText = prompt("Bitte f?gen Sie Ihren Text ein / Please enter your Text:","");
						}
						if(insText!=null)
						input.value = input.value.substr(0, start) + aTag + insText + eTag +" "+ input.value.substr(end);
					
					/* Anpassen der Cursorposition */
					var pos;
					
						if (insText.length == 0)
						pos = start + aTag.length;
						else
						pos = start + aTag.length + insText.length + eTag.length;
					
					input.selectionStart = pos;
					input.selectionEnd = pos;
				}
				  /* f?r die ?brigen Browser */
				else
				{
					/* Abfrage der Einf?geposition */
					var pos=input.value.length;
					
						if(aTag=="[URL]")
						{
						var insText = prompt("Bitte f?gen Sie Ihren Linktext ein / Please enter your Linktext:","");
						var linkText = prompt("Bitte f?gen Sie Ihre URL ein (ohne http://) / Please enter your URL (without http://):","");
						aTag=aTag+linkText+"[/URL2]";
						}
						else if(aTag=="[MAIL]")
						{
						var insText = prompt("Bitte f?gen Sie Ihren Beschreibungstext ein / Please enter your Descriptiontext:","");
						var linkText = prompt("Bitte f?gen Sie die Mailadresse ein / Please enter the Mailadress:","");
						aTag=aTag+linkText+"[/MAIL2]";
						}
						else if(aTag=="[IMG]")
						{
						var insText = prompt("Bitte f?gen Sie Ihre URL zu dem Bild ein (ohne http://) / Please enter your URL of the picture (without http://):","");
						}
						else
						{
						var insText = prompt("Bitte f?gen Sie Ihren Text ein / Please enter your Text:","");
						}
						
					/* Einf?gen des Formatierungscodes */
					if(insText!=null)
					input.value = input.value.substr(0, pos) + aTag + insText + eTag +" "+ input.value.substr(pos);
				}
			}
			
			function ZusatzdatenKlappen(id)
			{
				if(document.getElementById("WeitereDaten_"+id).style.display=="none")
					document.getElementById("WeitereDaten_"+id).style.display="block";
				else
					document.getElementById("WeitereDaten_"+id).style.display="none";
			}
			
			var standardFontSize=11;
			
			function FontSizePlus(id)
			{
				document.getElementById(id).style.fontSize="150%";
			}
			
			function FontSizeNormal(id)
			{
				document.getElementById(id).style.fontSize="100%";
			}
			</script>
		<a name="oben"></a>
		<div id="aussenrahmen" style="margin:0px;clear:both;position:absolute;left:50%;width:400px;margin-left:-200px">
			<p align="center" style="margin:0px;padding:0px;padding-bottom:20px;padding-top:10px">
				<font size="3">HLA-Konzert Gästebuch</font>
			</p>
			<div id="formular" style="display:block;clear:both;padding:0px;margin:0px">

				<div style=";margin:auto;width:400px;padding:0px">
	<form name="formEintragen" method="post" action="/inhalt/gaestebuch/index.php?action=eintragen&amp;form=0&" style="padding:0px;margin:0px">
			<div id="korrekturText" style="display:none;width:100%;clear:both;padding:0px;margin:0px;padding-bottom:10px">
				<b>%TEXTKORREKTUR%</b>
			</div>
			<div style="float:left;width:145px;margin:0px;padding:0px">
				<p style="margin:4px;padding:0px">Name *</p>
			</div>

			<div style="float:left;margin:0px;padding:0px">
				<input style="margin:0px;padding:2px;color:#333333;font-family: Verdana; font-size:11px; border: 1px solid #36648B; background-color: #BCD2EE; border-style: solid" type="text" value="" name="nick" maxlength="100" size="28.3333333333"> 
			</div>
			<div style="clear:both"></div>
			<div style="float:left;width:145px;margin:0px;padding:0px">
				<p style="margin:4px;padding:0px">E-Mail *</p>
			</div>
			<div style="float:left;margin:0px;padding:0px">
				<input style="margin:0px;padding:2px;color:#333333;font-family: Verdana; font-size:11px; border: 1px solid #36648B; background-color: #BCD2EE; border-style: solid" type="text" value="" name="mail" maxlength="150" size="28.3333333333"> 
				<p style="margin:4px"><input type="checkbox" name="emailcheck" value="1"> Mail verstecken</p>

			</div>
			<div style="clear:both"></div>
			<div style="float:left;width:145px">
	<p style="margin:4px">
	Homepage
	</p>
</div>
<div style="float:left">
	<input style="margin:0px;padding:2px;color:#333333;font-family: Verdana; font-size:11px; border: 1px solid #36648B; background-color: #BCD2EE; border-style: solid" type="text" value="" name="homepage" maxlength="200" size="28.3333333333"> 
</div>
<div style="clear:both"></div>

			<div style="float:left;width:145px">
	<p style="margin:4px">
	ICQ
	</p>
</div>
<div style="float:left">
	<input style="margin:0px;padding:2px;color:#333333;font-family: Verdana; font-size:11px; border: 1px solid #36648B; background-color: #BCD2EE; border-style: solid" type="text" value="" name="icq" maxlength="200" size="28.3333333333"> 
</div>
<div style="clear:both"></div>
			<div style="float:left;width:145px">
	<p style="margin:4px">

	MSN
	</p>
</div>
<div style="float:left">
	<input style="margin:0px;padding:2px;color:#333333;font-family: Verdana; font-size:11px; border: 1px solid #36648B; background-color: #BCD2EE; border-style: solid" type="text" value="" name="msn" maxlength="200" size="28.3333333333"> 
</div>
<div style="clear:both"></div>
			<div style="float:left;width:145px">
	<p style="margin:4px">
	AIM
	</p>
</div>

<div style="float:left">
	<input style="margin:0px;padding:2px;color:#333333;font-family: Verdana; font-size:11px; border: 1px solid #36648B; background-color: #BCD2EE; border-style: solid" type="text" value="" name="aim" maxlength="200" size="28.3333333333"> 
</div>
<div style="clear:both"></div>
			<div style="float:left;width:145px">
	<p style="margin:4px">
	YAHOO
	</p>
</div>
<div style="float:left">
	<input style="margin:0px;padding:2px;color:#333333;font-family: Verdana; font-size:11px; border: 1px solid #36648B; background-color: #BCD2EE; border-style: solid" type="text" value="" name="yahoo" maxlength="200" size="28.3333333333"> 
</div>

<div style="clear:both"></div>
			<div style="float:left;width:145px">
	<p style="margin:4px">
	Skype
	</p>
</div>
<div style="float:left">
	<input style="margin:0px;padding:2px;color:#333333;font-family: Verdana; font-size:11px; border: 1px solid #36648B; background-color: #BCD2EE; border-style: solid" type="text" value="" name="skype" maxlength="200" size="28.3333333333"> 
</div>
<div style="clear:both"></div>
			<div style="float:left;width:145px">
	<p style="margin:4px">

	Google Talk
	</p>
</div>
<div style="float:left">
	<input style="margin:0px;padding:2px;color:#333333;font-family: Verdana; font-size:11px; border: 1px solid #36648B; background-color: #BCD2EE; border-style: solid" type="text" value="" name="googletalk" maxlength="200" size="28.3333333333"> 
</div>
<div style="clear:both"></div>
			
			
			
			
			<script type="text/javascript">
			BewertungsArray=new Array("Sehr gut","Gut","Ok","Geht so","Schlecht","Sehr schlecht","Keine Bewertung");
			
			
			function BewertungenIn(id)
			{
				document.getElementById("bewertungsAnzeige").innerHTML=id+" ("+BewertungsArray[id-1]+")";
				for(var x=6;x>=id;x--)
				{
					document.getElementById('b'+x).src="./images/buttons/bewertung_hover.gif";
				}
			}
			
			function BewertungenOut(id)
			{
			bewertungFeld=document.formEintragen.bewertung.value;
				if(bewertungFeld!="")
				{
					if(bewertungFeld==0)
						document.formEintragen.bewertung.value="";
					else
						document.getElementById("bewertungsAnzeige").innerHTML=bewertungFeld+" ("+BewertungsArray[bewertungFeld-1]+")";
						
					for(x=bewertungFeld-1;x>=1;x--)
					{
						document.getElementById('b'+x).src="./images/buttons/bewertung_norm.gif";
					}
				}
				else
				{
					if(bewertungFeld==0)
						document.formEintragen.bewertung.value="";
						
					document.getElementById("bewertungsAnzeige").innerHTML=BewertungsArray[6];
					for(x=6;x>=id;x--)
					{
						document.getElementById('b'+x).src="./images/buttons/bewertung_norm.gif";
					}
				}
			}
			
			function BewertungKlick(id)
			{
				if(id>0)
				{
					document.getElementById("bewertungsAnzeige").innerHTML=id+" ("+BewertungsArray[id-1]+")";
					
					document.formEintragen.bewertung.value=id;
					
					for(var x=1;x<id;x++)
					{
						document.getElementById('b'+x).src="./images/buttons/bewertung_norm.gif";
					}
				}
				else
				{
					document.getElementById("bewertungsAnzeige").innerHTML=BewertungsArray[6];
					document.formEintragen.bewertung.value="";
					
					for(var x=1;x<=6;x++)
					{
						document.getElementById('b'+x).src="./images/buttons/bewertung_norm.gif";
					}
				}
			}
</script>
<div id="layer3" style="float:left;width:145px">
	<p style="margin:4px">
	Bewertung der Seite
	</p>

</div>
	<div style="float:left">
		<div style="float:left;margin:0px;padding:0px">
			<img OnClick="javascript:BewertungKlick('6')" OnMouseOver="javascript:BewertungenIn('6')" OnMouseOut="javascript:BewertungenOut('6')" src="./images/buttons/bewertung_norm.gif" border="0" id="b6" style="cursor:pointer" alt="" title=""><img OnClick="javascript:BewertungKlick('5')" OnMouseOver="javascript:BewertungenIn('5')" OnMouseOut="javascript:BewertungenOut('5')" src="./images/buttons/bewertung_norm.gif" border="0" id="b5" style="cursor:pointer" alt="" title=""><img OnClick="javascript:BewertungKlick('4')" OnMouseOver="javascript:BewertungenIn('4')" OnMouseOut="javascript:BewertungenOut('4')" src="./images/buttons/bewertung_norm.gif" border="0" id="b4" style="cursor:pointer" alt="" title=""><img OnClick="javascript:BewertungKlick('3')" OnMouseOver="javascript:BewertungenIn('3')" OnMouseOut="javascript:BewertungenOut('3')" src="./images/buttons/bewertung_norm.gif" border="0" id="b3" style="cursor:pointer" alt="" title=""><img OnClick="javascript:BewertungKlick('2')" OnMouseOver="javascript:BewertungenIn('2')" OnMouseOut="javascript:BewertungenOut('2')" src="./images/buttons/bewertung_norm.gif" border="0" id="b2" style="cursor:pointer" alt="" title=""><img OnClick="javascript:BewertungKlick('1')" OnMouseOver="javascript:BewertungenIn('1')" OnMouseOut="javascript:BewertungenOut('1')" src="./images/buttons/bewertung_norm.gif" border="0" id="b1" style="cursor:pointer" alt="" title=""><img OnClick="javascript:BewertungKlick('0')"  src="./images/buttons/no_bewertung.gif" border="0" style="cursor:pointer" alt="" title="">
		</div>
		<div style="clear:both"></div>
		<div style="float:left;margin:0px;padding:0px;padding-left:5px;height:15px">
			<span id="bewertungsAnzeige"></span>
			<input type="hidden" name="bewertung">

		</div>
	</div>
<div style="clear:both"></div>
			<div style="clear:both"></div>
			<div style="float:left;padding-left:145px">
				<p style="margin:0px;margin-bottom:5px;margin-top:5px">
					<a href="#" OnClick="insert('', '','formEintragen','message')"><img src="./images/buttons/fett.gif" border="0" alt="" title=""></a><a href="#" OnClick="insert('', '','formEintragen','message')"><img src="./images/buttons/kursiv.gif" border="0" alt="" title=""></a><a href="#" OnClick="insert('', '','formEintragen','message')"><img src="./images/buttons/unterstrichen.gif" border="0" alt="" title=""></a><a href="#" OnClick="SmiliesAnzeigen('formEintragen','message')"><img src="./images/buttons/smily.gif" border="0" alt="" title=""></a><a href="#" OnClick="insert('', '','formEintragen','message')"><img src="./images/buttons/link.gif" border="0" alt="" title=""></a><a href="#" OnClick="insert('[MAIL]', '[/MAIL]','formEintragen','message')"><img src="./images/buttons/mail.gif" border="0" alt="" title=""></a>
				</p>
			</div>

			<div style="clear:both"></div>
			<div style="float:left;width:145px">
				<p style="margin:4px">
				Eintrag *<br><br><font size="1">Mit * gekennzeichnete Felder sind Pflichtfelder<br><br>Internet- und E-Mailadressen werden automatisch umgewandelt</font>
				<input type="hidden" name="hiddencode" value="35d555ccf6ff06be09f5a0a1009c1ac6">
				</p>
			</div>

			<div style="float:left">
				<p style="margin:0px;margin-bottom:6px">
					<textarea style="margin:0px;padding:2px;color:#333333;font-family: Verdana; font-size:11px; border: 1px solid #36648B; background-color: #BCD2EE; border-style: solid" name="message" rows="14" cols="25.5"></textarea> 
				</p>
			</div>
			<div style="clear:both"></div>
			
			<div style="float:left;padding-left:145px">
				<p style="margin:0px;margin-top:12px;padding:0px">
				<input type="image" src="./images/buttons/send.gif" Alt="Ins G?stebuch eintragen" Title="Ins G?stebuch eintragen"> <a href="javascript:document.formEintragen.reset()"><img src="./images/buttons/reset.gif" border="0" Alt="Abschicken" Title="Abschicken"></A>

				</p>
			</div>
			<div style="clear:both;margin:0px;padding:0px;font-size:1px"></div>
			<div id="blaettern" align="center" style="display:none;width:100%;text-align:center;clear:both;padding:0px;margin:0px;padding-top:10px">
				%BEITRAEGEANSCHAUEN%
			</div>
			<div style="clear:both;margin:0px;padding:0px;font-size:1px"></div>
	</form>
</div>
<div style="clear:both"></div>

			</div>
			<div id="eintragenLink" style="display:none;width:100%;text-align:center;clear:both;padding:0px;margin:auto">
				%INSGBEINTRAGENLINK%
			</div>
			<div id="statistik" align="left" style="display:block;width:100%;padding:0px;margin:0px;padding-top:20px;padding-bottom:10px">
				<b>1</b> Eintrag auf <b>1</b> Seite | Aktuelle Seite <b>1</b>

			</div>
			<div id="blaettern1" align="center" style="display:%BLAETTERNDISPLAY%;width:100%;clear:both;padding:0px;margin:0px;padding-bottom:10px">
				[ <a href="/inhalt/gaestebuch/index.php?start=0&amp;ende=1&amp;aktuelleSeite=1&amp;form=0&" class="links">1</a> ]
			</div>
			<div id="beitraege" style="display:%BEITRAGDISPLAY%;width:100%;clear:both;padding:0px;margin:0px;">
				
<div style="width:400px;padding:0px;margin:0px">
	<div style="float:left;width:50px;border:2px;margin:0px;padding:0px">
		<p align="left" style="padding:0px;margin:0px;padding-top:10px;padding-left:10px">

				<b>1</b>
		</p>
	</div>
	<div style="float:left;width:346px;overflow:hidden;border:1px solid #000000;margin:0px;padding:0px;background-color:#FFEBCD;border:2px solid #CDBA96">
		<div>
			<p style="margin:0px;padding:10px">
				<b>ich</b> schrieb am 14.02.2010 um 23:15:
			</p>

		</div>
		<div>
			<p style="margin:0px;padding-left:20px;padding-right:27px;padding-bottom:10px">
				<font color="#363636">
					<span id="nachricht1">
					test
<br>äöaü ?test
<br>äöaü ?test
<br>äöaü ?test
<br>äöaü ?test
<br>äöaü ?test

<br>äöaü ?test
<br>äöaü ?test
<br>äöaü ?test
<br>äöaü ?test
<br>äöaü ?test
<br>äöaü ?test
<br>äöaü ?test
<br>äöaü ?test
<br>äöaü ?test
<br>äöaü ?test
<br>äöaü ?test
<br>äöaü ?test
<br>äöaü ?test
<br>äöaü ?test
<br>äöaü ?test
<br>äöaü ?test
<br>äöaü ?test

<br>äöaü ?test
<br>äöaü ?test
<br>äöaü ?test
<br>äöaü ?test
<br>äöaü ?test
<br>äöaü ?test
<br>äöaü ?test
<br>äöaü ?
					</span>
				</font>
			</p>
		</div>
		<div style="display:none;margin:0px;padding:0px;margin-right:5px">

			<p style="margin:0px;padding:0px;margin-bottom:5px;margin-left:10px;margin-right:20px">
				<b><i>%KOMMENTAREINLEITUNG%</i></b>
			</p>
			<p style="margin:0px;padding:0px;padding-left:20px;padding-right:20px">
				<i>
				<font color="#8B7E66">
				%KOMMENTAR%
				</font>
				</i>

			</p>
		</div>
		<div id="linkWeitereDaten_1" style="display:block">
			<p style="margin:0px;padding-left:10px;padding-right:10px;padding-bottom:10px">
				<b><a href="javascript:ZusatzdatenKlappen('1')" class="links_eintrag">Zus?tzliche Informationen anzeigen</a></b>
			</p>
		</div>
		<div id="WeitereDaten_1" style="display:none;margin:0px;padding-left:10px;padding-right:10px;padding-bottom:0px">

			<div style="display:compact;float:left;width:230px">
				<div style="display:block;padding-bottom:3px">
					<div style="float:left;top:0%;width:30px;padding-left:10px;margin:0px;padding-top:3px">
						<img src="./images/beitrag/email.gif" border="0" alt="" title="">
					</div>
					<div style="float:left;width:190px;padding-top:3px">
						E-Mail versteckt
					</div>
				</div>

					<div style="clear:both;display:block;height:0px;font-size:0px;border:0px none;margin-top:-2px; padding:0;"></div>
				<div style="display:none;padding-bottom:3px">
					<div style="float:left;top:0%;width:30px;padding-left:10px;margin:0px;padding-top:3px;">
						%HOMEPAGEBILD%
					</div>
					<div style="float:left;width:190px;padding-top:3px">
						%HOMEPAGEUSER%
					</div>
				</div>
					<div style="clear:both;display:block;height:0px;font-size:0px;border:0px none;margin-top:-2px; padding:0;"></div>

				<div style="display:none;padding-bottom:3px">
					<div style="float:left;top:0%;width:30px;padding-left:10px;margin:0px;padding-top:3px">
						%ICQBILD%
					</div>
					<div style="float:left;width:190px;padding-top:3px">
						%ICQUSER%
					</div>
				</div>
					<div style="clear:both;display:block;height:0px;font-size:0px;border:0px none;margin-top:-2px; padding:0;"></div>
				<div style="display:none;padding-bottom:3px">

					<div style="float:left;top:0%;width:30px;padding-left:10px;margin:0px;padding-top:3px">
						%MSNBILD%
					</div>
					<div style="float:left;width:190px;padding-top:3px">
						%MSNUSER%
					</div>
				</div>
					<div style="clear:both;display:block;height:0px;font-size:0px;border:0px none;margin-top:-2px; padding:0;"></div>
				<div style="display:none;padding-bottom:3px">
					<div style="float:left;top:0%;width:30px;padding-left:10px;margin:0px;padding-top:3px">

						%YAHOOBILD%
					</div>
					<div style="float:left;width:190px;padding-top:3px">
						%YAHOOUSER%
					</div>
				</div>
					<div style="clear:both;display:block;height:0px;font-size:0px;border:0px none;margin-top:-2px; padding:0;"></div>
				<div style="display:none;padding-bottom:3px">
					<div style="float:left;top:0%;width:30px;padding-left:10px;padding-top:3px">
						%AIMBILD%
					</div>

					<div style="float:left;width:190px;padding-top:3px">
						%AIMUSER%
					</div>
				</div>
					<div style="clear:both;display:block;height:0px;font-size:0px;border:0px none;margin-top:-2px; padding:0;"></div>
				<div style="display:none;padding-bottom:3px">
					<div style="float:left;top:0%;width:30px;padding-left:10px;padding-top:3px">
						%SKYPEBILD%
					</div>
					<div style="float:left;width:190px;padding-top:3px">

						%SKYPEUSER%
					</div>
				</div>
					<div style="clear:both;display:block;height:0px;font-size:0px;border:0px none;margin-top:-2px; padding:0;"></div>
				<div style="display:none;padding-bottom:3px">
					<div style="float:left;top:0%;width:30px;padding-left:10px;padding-top:3px">
						%GOOGLETALKBILD%
					</div>
					<div style="float:left;width:190px;padding-top:3px">
						%GOOGLETALKUSER%
					</div>

				</div>
			</div>
			<div style="display:inline;float:left;width:230px">
				<div style="display:block">
					<div style="float:left;top:0%;width:30px;padding-left:10px;margin:0px;padding-top:3px">
						<img src="./images/beitrag/bewertung.gif" border="0" alt="" title="">
					</div>
					<div style="float:left;width:190px;padding-top:3px">
						<b>-</b> (Keine Bewertung)
					</div>

				</div>
					<div style="clear:left"></div>
				<div style="display:none">
					<div style="float:left;top:0%;padding-right:5px;width:110px;padding-left:10px;margin:0px;padding-top:3px">
						<b>%ZUSATZFELD1TEXT%</b>
					</div>
					<div style="float:left;top:0%;width:105px;padding-top:3px">
						%ZUSATZFELD1%
					</div>

				</div>
					<div style="clear:left"></div>
				<div style="display:none">
					<div style="float:left;top:0%;padding-right:5px;width:110px;padding-left:10px;margin:0px;padding-top:3px">
						<b>%ZUSATZFELD2TEXT%</b>
					</div>
					<div style="float:left;top:0%;width:105px;padding-top:3px">
						%ZUSATZFELD2%
					</div>

				</div>
					<div style="clear:left"></div>
				<div style="display:none">
					<div style="float:left;top:0%;padding-right:5px;width:110px;padding-left:10px;margin:0px;padding-top:3px">
						<b>%ZUSATZFELD3TEXT%</b>
					</div>
					<div style="float:left;top:0%;width:105px;padding-top:3px">
						%ZUSATZFELD3%
					</div>

				</div>
					<div style="clear:left"></div>
				<div style="display:none">
					<div style="float:left;top:0%;padding-right:5px;width:110px;padding-left:10px;margin:0px;padding-top:3px">
						<b>%ZUSATZFELD4TEXT%</b>
					</div>
					<div style="float:left;top:0%;width:105px;padding-top:3px">
						%ZUSATZFELD4%
					</div>

				</div>
			</div>
			<div style="clear:both;font-size:1px;height:10px"></div>
		</div>
	</div>
	<div style="clear:both"></div>
	<div align="right" style="margin:0px;padding:0px;padding-bottom:10px;padding-top:5px;padding-right:5px">
		<a href="javascript:FontSizeNormal('nachricht1')"><img src="./images/beitrag/zoom_out.gif" border="0" title="Text verkleinern" alt="Text verkleinern"></a>
		<a href="javascript:FontSizePlus('nachricht1')"><img src="./images/beitrag/zoom_in.gif" border="0" title="Text vergr??ern" alt="Text vergr??ern"></a>

		<a href="javascript:PopupPrint('./print.php?id=1')"><img src="./images/beitrag/printer.gif" border="0" title="Beitrag Drucken" alt="Beitrag Drucken"></a>
		<a href="?quoteID=1&"><img src="./images/beitrag/quote.gif" border="0" title="Beitrag zitieren" alt="Beitrag zitieren"></a>
		<a href="#"><img src="./images/beitrag/nachoben.gif" border="0" title="Nach oben" alt="Nach oben"></a>
	</div>
</div>
<div style="clear:both"></div>
			</div>
			<div id="blaettern2" align="center" style="display:%BLAETTERNDISPLAY%;width:100%;text-align:center;clear:both;padding:0px;margin:0px;">
				[ <a href="/inhalt/gaestebuch/index.php?start=0&amp;ende=1&amp;aktuelleSeite=1&amp;form=0&" class="links">1</a> ]
			</div>

			<div id="cleaner" align="center" style="width:100%;text-align:center;clear:both;margin:0px;padding:0px;padding-top:15px">
				<p style="margin:0px;padding:0px;line-height:140%;margin-bottom:20px;padding-top:0px;font-size:10px">
					Design & Programmierung <a href="http://www.soraxdesign.de/projekte/php_gaestebuch_soraxdesign" class="links" target="_blank"><b>Soraxdesign</b></a><br> ? 2002 - 2010 | <a href="javascript:popup('./admin/admin.php')" class="links">Administration</a>
				</p>
			</div>
		</div>

				<script type="text/javascript">
			function createRequestObject()
			{
				var ro;
				var browser = navigator.appName;
				if(browser == "Microsoft Internet Explorer"){
					ro = new ActiveXObject("Microsoft.XMLHTTP");
				}else{
					ro = new XMLHttpRequest();
				}
				return ro;
			}
			
			var smilyReq=createRequestObject();
			
			function SmiliesAnzeigen(form, feld)
			{
				if(document.getElementById('smilies').style.display=='none')
				{
				aktives_form=form;
				aktives_feld=feld
				smilyReq.open("GET", './functions.inc.php?action=smiliesAnzeigen&pfad=.', true);
				smilyReq.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
				smilyReq.onreadystatechange = updateSmilyDiv;
				smilyReq.send(null);
				document.getElementById('smilies').style.display='block';
				document.getElementById('smilies_rahmen').style.display='block';
				document.getElementById('smilies_background').style.display='block';
				}
				else
				{
				document.getElementById('smilies').style.display='none';
				document.getElementById('smilies_rahmen').style.display='none';
				document.getElementById('smilies_background').style.display='none';
				}
			}
			
			function updateSmilyDiv()
			{
			
				if(smilyReq.readyState==3 || smilyReq.readyState==2)
				{
				document.getElementById('smilyDiv').innerHTML = "<center>Smilies werden geladen...</center>";
				}
				
				if(smilyReq.readyState==4)
				{
			        var response = smilyReq.responseText;
				document.getElementById('smilyDiv').innerHTML = response;
				}
			}

			function SmilieEinfuegen(tag)
			{
				var input = document.forms[aktives_form].elements[aktives_feld];
				input.focus();
				
				document.getElementById('smilies').style.display='none';
				document.getElementById('smilies_rahmen').style.display='none';
				document.getElementById('smilies_background').style.display='none';
				
				if(typeof document.selection != 'undefined')
				{
					var range = document.selection.createRange();
					range.text = tag;
					
					range = document.selection.createRange();

						if (tag.length == 0)
							range.move('character', 0);
						else
							range.moveStart('character', 0);
					
					range.select();
				}
				else if(typeof input.selectionStart != 'undefined')
				{
					/* Einf?gen des Formatierungscodes */
					var start = input.selectionStart;
					var end = input.selectionEnd;
					//var insText = input.value.substring(start, end);
					
					input.value = input.value.substr(0, start) + tag +" "+ input.value.substr(end);
					
					/* Anpassen der Cursorposition */
					var pos;
					
						if (tag.length == 0)
							pos = start;
						else
							pos = start + tag.length;
					
					input.selectionStart = pos;
					input.selectionEnd = pos;
				}
				else
				{
					/* Abfrage der Einf?geposition */
					var pos=input.value.length;
					
					/* Einf?gen des Formatierungscodes */
					input.value = input.value.substr(0, pos) + tag + " "+ input.value.substr(pos);
				}
			}
		</script>
		<div id="smilies_background" style="position:absolute;display:none;">
		</div>
		<div id="smilies_rahmen" style="filter:Alpha(opacity=40,style=0);position:absolute;display:none;top:50%;left:50%;margin:0px;padding:0px;height:400px;width:320px;margin-left:-160px;margin-top:-200px;z-index:3;background-image:url('./admin/images/images/verwaltung/smile_background_rahmen.png');">
		</div>
		<div id="smilies" style="filter:Alpha(opacity=85,style=0);position:absolute;display:none;top:50%;left:50%;margin:0px;padding:0px;height:380px;width:300px;margin-left:-150px;margin-top:-190px;z-index:4;background-image:url('./admin/images/images/verwaltung/smile_background.png')">
			<p align="right" style="margin:0px;padding-top:5px;padding-right:5px">
				<a href="#" OnClick="javascript:document.getElementById('smilies_background').style.display='none';javascript:document.getElementById('smilies').style.display='none';document.getElementById('smilies_rahmen').style.display='none'"><img src="./admin/images/images/verwaltung/schliessen.gif" border="0" alt="" title=""></a>

			</p>
			<p style="margin:0px;padding:15px;padding-top:0px">
				<span class="titel"><font color="#000000">Smilies</font></span>
			</p>
			<div id="smilyDiv" style="overflow:auto;height:330px;width:300px">
				
			</div>
		</div>
             
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />	
    </div>

    
       	##############  BIS HIER WIRD INCLUDED ####################

                <div id="right">
            
            <p><h3>Bands</h3>
            <a href="http://www.myspace.com/camokrooked" onclick="window.open(this.href,'_blank');return false;" class="band1">camo &amp; krooked</a> | 
            <a href="http://www.myspace.com/bandblub" onclick="window.open(this.href,'_blank');return false;" class="band2">bluB?</a><br />
            <a href="http://www.myspace.com/thiswasgod" onclick="window.open(this.href,'_blank');return false;" class="band2" style="font-size:8px;">THIS WAS GOD</a> | 
            <a href="http://www.thebaboonz.net/" onclick="window.open(this.href,'_blank');return false;"  class="band1" style="font-size:14px;">The Baboonz</a><br />

            <a href="http://www.skabucks.com/" onclick="window.open(this.href,'_blank');return false;"  class="band1" style="font-size:22px;">SkaBucks</a> | 
            <a href="http://www.myspace.com/souldjafighting" onclick="window.open(this.href,'_blank');return false;"  class="band2" style="font-size:12px;">Souldja</a><br />
            <a href="http://www.myspace.com/bountychillerskarlatan" onclick="window.open(this.href,'_blank');return false;"  class="band2" style="font-size:14px;">
            	bountychiller&amp;Skarlatan</a>
			</p>
			
            <br /><br /><br />
                
            <p><h3>Sponsoren</h3>

            <a  onclick="window.open(this.href,'_blank');return false;"  href="http://www.raiffeisen.at/eBusiness/rai_template1/1021234568466-NA-NA-NA-11-NA-NA.html">
            <img src="inhalt/img/raika.jpg" alt="raiffeisen holding niederoesterreich wien" style="border:0 none;"/></a>
			
            
              <a  onclick="window.open(this.href,'_blank');return false;" href="http://www.starzinger.at/">
              <img src="inhalt/img/schartner.jpg" width="190" height="90" alt="schartner" style="border:0 none;" /></a>
              
              <a  onclick="window.open(this.href,'_blank');return false;" href="http://www.fcio.at/DE/fcio/Homepage.aspx">
              <img src="inhalt/img/fcio.jpg" width="190" height="86" alt="fcio" style="border:0 none;" /></a>
              
              <a  onclick="window.open(this.href,'_blank');return false;" href="http://www.noen.at/">
              <img src="inhalt/img/non.jpg" width="190" height="145" alt="non" style="border:0 none;" /></a>
              
              <a  onclick="window.open(this.href,'_blank');return false;" href="http://www.jaegerbau.at/">

              <img src="inhalt/img/jaeger.jpg" width="190" height="83" alt="jaeger" style="border:0 none;" /></a>
              
              <a  onclick="window.open(this.href,'_blank');return false;" href="http://www.welser.com/">
              <img src="inhalt/img/welser.jpg" width="190" height="70" alt="wesler" style="border:0 none;" /></a>
              
              <a  onclick="window.open(this.href,'_blank');return false;" href="http://www.starzinger.at/">
              <img src="inhalt/img/juvina.jpg" width="190" height="104" alt="juvina" style="border:0 none;" /></a></div>
    		</p>
        
        </div>
        
    </div>	



<div id="footer">

    
    	<div id="footerleft"><br /><br /><br /><br /><br /><br />&copy; 2010 | <a  onclick="window.open(this.href,'_blank');return false;"  href="http://www.hlaysper.ac.at/">HLA Yspertal</a> </div>
        
        <div id="footercenter">&nbsp;</div>
        
        <div id="footerright">
       	  <p align="left">Design &amp; Code by:</p>
        	<a  onclick="window.open(this.href,'_blank');return false;" href="http://www.mediafreak.at/">

            <img src="inhalt/img/mediafreak.jpg" width="200" height="110" alt="mediafreak"  style="border:0 none;" />
            </a>
        </div>
    
  </div>

</div>




</body>
</html>
 
Wo ist der Echo?
Es reicht wenn du das Script postest, das du einbinden willst.

Ich nehme mal an, dass du das zu einbindende Script alleine getestet hast.
 
Hi,

wie du vielleicht mittlerweile bemerkt hast, wurde dein Thema von einem Moderatorenkollege vom PHP- ins CSS-Forum verschoben, weil hier überhaupt kein PHP-Problem vorliegt, sondern die Fehlerursache in deinem CSS zu suchen ist.

Der Grund, dass der Hintergrund von #maincontent nicht vollständig bis zum unteren Rand wiederholt wird, findet sich in der absoluten Positionierung des darin eingebundenen DIVs #aussenrahmen, die ihn aus dem normalen Dokumentfluß nimmt, und daher in eine relative umgewandelt gehört.

Aus
Code:
<div id="aussenrahmen" style="margin:0px;clear:both;position:absolute;left:50%;width:400px;margin-left:-200px">
wird
Code:
<div id="aussenrahmen" style="margin:0px;clear:both;position:relative;left:50%;width:400px;margin-left:-200px">


mfg Maik
 
Zurück