hi ich hab ein problem:
http://scue.lima-city.de/
wenn in meiner shortbox zu viel Text drin steht wird sie automatisch länger,
allerdings das hauptfeld in der mitte, ich will das das aber auch länger wird.
im quelltext steht eine absolute größe, aber wenn ich die auf 100% hochschraub wird das ding kleiner.
------------------------------------------------------------------------------
HTML
<? echo $_POST['flag'];
if($_POST['flag']=="1")
{
$tabellenname= "shoutbox";
echo $_POST['absender'];
$absender =$_POST['absender'];
$message =$_POST['message'];
/* //Leerstellen entfernen
$absender=trim($_POST['absender']);
$message=trim($_POST['message']);
//Sonderzeichen mit htmlentities ersetzen
$absender=htmlentities($absender);
$message=htmlentities($message);
*/
$tag = array('Mon' => "Mon", 'Tue' => "Die", 'Wed' => "Mit", 'Thu' => "Don", 'Fri' => "Fre", 'Sat' => "Sam", 'Sun' => "Son");
$monat = array('Jan' => "Januar", 'Feb' => "Februar", 'Mar' => "März", 'Apr' => "April", 'May' => "Mai", 'Jun' => "Juni", 'Jul' => "Juli", 'Aug' => "August", 'Sep' => "September", 'Oct' => "Oktober", 'Nov' => "November", 'Dec' => "Dezember");
$datum = $tag[date("D")].", " .date("d").".".$monat[date("M")]." ".date("Y");
require 'dbzugangsdaten.php';
$link = mysql_connect($host, $benutzer, $passwort);
mysql_select_db($dbname, $link);
$sql="INSERT INTO $tabellenname (absender, message, datum) VALUES ('$absender', '$message', '$datum')";
mysql_query($sql, $link);
}
?>
<html>
<head>
<title>- - - S*C*U*E - - -</title>
<meta name="generator" content="bluebelt NetAuthor 2.0">
<meta name="author" content="André Meier">
<link href="style.css" type="text/css" rel="stylesheet">
</head>
<body>
<div style="position: absolute; top: 0px; left: 0px; z-index: 5; background-image: url(leiste-links.png); height: 100%; width: 50; background-repeat: repeat-y;"></div>
<div style="position: absolute; top: 0px; right: 0px; z-index: 5; background-image: url(leiste-rechts.png); height: 100%; width: 50; background-repeat: repeat-y;"></div>
<div style="position: absolute; top: 5px; left: 60; z-index: 2;">
[img]navi.png[/img]
</div>
<div style="position: absolute; top: 40px; left: 100; z-index: 6;">
[img]logo.png[/img]
</div>
<div style="position: absolute; top: 40px; left: 625; z-index: 6;">
<table border="1" frame="lhs" bordercolor="#000000" bordercolordark="#000000" bordercolorlight="#000000">
<tr>
<td style="border: none;">Benutzername:</td>
<td style="border: none;"><input></td>
</tr>
<tr>
<td style="border: none;">Passwort:</td>
<td style="border: none;"><input></td>
</tr>
<tr>
<td colspan="2" style="border: none;">Login | Regestrieren</td>
</tr>
</table>
</div>
<div style="position: absolute; top: 40px; left: 260; z-index: 6;">
<table border="1" frame="lhs" bordercolor="#000000" bordercolordark="#000000" bordercolorlight="#000000" height="80" width="360">
<tr valign="bottom">
<td style="border: none;">Link 1</td>
<td style="border: none;">Link 2</td>
<td style="border: none;">Link 3</td>
<td style="border: none;">Link 4</td>
<td style="border: none;">Link 5</td>
</tr>
<tr valign="top">
<td style="border: none;">Link 6</td>
<td style="border: none;">Link 7</td>
<td style="border: none;">Link 8</td>
<td style="border: none;">Link 9</td>
<td style="border: none;">Link 10</td>
</tr>
</table>
</div>
<div style="position: absolute; top: 105px; left: 80; z-index: 1;">
<table border="2" width="818" height="475" bgcolor="#C0C0C0" bordercolor="#000000">
<tr>
<td></td>
</tr>
<tr>
<td height="25" style="border: none;">
<div align="center" class="untereleiste">
© SCUE 2007
[url='mailto:thescue@yahoo.de']Kontakt[/url] |
Impressum
<?
//Datum
$tag = array('Mon' => "Montag", 'Tue' => "Dienstag", 'Wed' => "Mittwoch", 'Thu' => "Donnerstag", 'Fri' => "Freitag", 'Sat' => "Samstag", 'Sun' => "Sonntag");
$monat = array('Jan' => "Januar", 'Feb' => "Februar", 'Mar' => "März", 'Apr' => "April", 'May' => "Mai", 'Jun' => "Juni", 'Jul' => "Juli", 'Aug' => "August", 'Sep' => "September", 'Oct' => "Oktober", 'Nov' => "November", 'Dec' => "Dezember");
echo $tag[date("D")].", " .date("d").".".$monat[date("M")]." ".date("Y");
?>
</div>
</td>
</tr>
</table>
</div>
<div style="position: absolute; top: 150px; left: 720; z-index: 3;">
[img]shoutbox.png[/img]
</div>
<div style="position: absolute; top: 190px; left: 728; z-index: 2;">
<table border="2" width="155" bgcolor="#808080" bordercolor="#000000" bordercolordark="#000000" cellpadding="5">
<tr>
<td style="border: none;" >
<?
$shoutbox=$_GET['shoutbox'];
if($shoutbox==eintragen)
{
echo "<form action=\"index.php\" method=\"POST\">
<input type=\"hidden\" name=\"flag\" value=\"1\">
<table>
<tr>
<td>Absender</td>
</tr>
<tr>
<td><input size=\"17\" type=\"text\" name=\"absender\" value=".$_POST['absender']."></td>
</tr>
<tr>
<td>Naricht</td>
</tr>
<tr>
<td><textarea rows=\"11\" cols=\"13\" name=\"message\">".$_POST['message']."</textarea></td>
</tr>
</table>
";
}
else
{
require 'datenabrufen.php';
}
?></td>
</tr>
<tr>
<td style="border: none; height: 25px; text-align: center; color: #C0C0C0">
<?
if($shoutbox==eintragen)
{
echo "<input type=\"submit\" value=\"Senden\"></form>";
}
else
{
echo "<a href=\"index.php?shoutbox=eintragen\" class=\"shoutboxeintrag\">Eintrag erstellen</a>";
}
?>
</td>
</tr>
</table>
</body>
</html>
Alles anzeigen