Hallo Leute, ich habe folgendes Problem:
Ich habe da eine Page und diese ist mit CSS in 3 Spalten unterteilt.
hier das CSS:
CSS
* {
font-size: 13px; font-family: "Trebuchet MS", Arial, sans-serif;
}
* title {
color: #0000FF; background: #000000; border: #0000FF solid;
}
h1 {
font-size: 23px;
background: url(headline_bg.png) repeat-x;
padding-left: 10px;
padding-right: 9px;
color: #0A0FFF;
}
A {
text-decoration: none;
}
body {
height: 100.1%;
}
div#anination {
margin-left: -450px;
left: 50%;
position: absolute;
height: auto !important;
height: 100%;
top: 0px;
background: url(content_bg.png);
}
div#header2 {
width: 898px;
height: 10px;
background: url(header2_bg.png) no-repeat bottom;
}
div#header {
width:878px;
}
div#login {
float: right;
padding-top: 20px;
}
div#navi {
background: url(navi_bg.png) no-repeat;
}
div#navi a {
padding-left: 5px;
}
div#content {
padding-left: 9px;
width: 878px;
}
#spalte1 {
width: 200px;
border: 1px #000000;
}
#spalte2 {
width: 200px;
border: 1px #000000;
}
#spalte3 {
width: 250px;
border: 1px #000000;
}
div#footer {
height: 60px;
text-align: center;
background: url(footer_bg.png) no-repeat;
text-decoration: overline;
}
Alles anzeigen
und das HTML/PHP:
HTML
<html>
<head>
<title>Created Creativity</title>
<meta name="autor" content="Tobias Marstaller">
<meta name="lang" content="de">
<meta name="description" content="Eine Animationen Share-Plattform für Adobe Flash-Animationen und Anwendungen">
<meta name="keywords" content="AniNation Portal, Animation, Adobe Flash, Flash sharing">
<link href="styles.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="anination">
<div id="header2">
</div>
<div id="content">
<div id="header">
<img src="header.png" name="header" alt="AniNation Portal" border="0" id="headerimg">
<br>
<div id="login">
<?php
$logged=$_GET['logged'];
if ($logged=="true") {
echo "Sie sind bereits in der Memberzone";
}
else {
echo "
<a>LogIn:</a>
<br>
<form action='login.php' method='POST' enctype='text/plain'>
<input type='text' name='user' value='Benutzername' onfocus='value=''' onblur='if (value=='') { value='Benutzername';}'>
<br>
<input type='text' name='pass' value='Passwort' onfocus='value=''; type='password';' onblur='if (value=='') { type='text'; value='Passwort';}'>
<br>
<input type='image' src='login.png' border='0'>
</form>
<a href='#?page=register'>Registrieren</a>
<a> | </a>
<a href='#?page=passkey'>Passwort vergessen</a>
";
}
?>
</div>
<div id="navi">
<a id="home">HOME</a>
<a id="anis" href="#?page=animations" class="link">ANIMATIONEN</a>
<a id="top1" href="#?page=topten" class="link">TOP 10 ANIMATIONEN</a>
<a id="uppn" href="#?page=uppn" class="link">UPLOAD</a>
<a id="impr" href="#?page=imprint" class="link">IMPRESSUM</a>
<a id="kont" href="#?page=kont" class="link">KONTAKT</a>
</div>
</div>
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="200">
<div id="spalte1">
<div id="info">
<?php
$infopage=$_GET['page'];
$getnews=array();
$getnews['index']="news_index.txt";
$getnews['aniamtions']="news_animations";
$getnews['topten']="news_topten";
$getnews['imprint']="news_imprint";
$getnews['kont']="news_kont";
$getnews['uppn']="news_uppn";
if (isset($infopage)) {
$fp3=fopen($getnws['$infopage'], "r");
$news=fread($fp3);
fclose($dp3);
echo $news;
}
else {
echo "Dieses Script wurde seperat aufgerufen, ohne eine (gültige) GET variable zum Inhalt anzugeben. Unter diesen Umständen ist keine Ausgabe möglich.";
}
?>
</div>
</div>
</td>
<td width="200">
<div id="splate2">
<div id="content">
<?php echo $content ?>
</div>
</div>
</td>
<td width="200">
<div id="spalte3">
<div id="10news">
<?php include("10news.php"); ?>
</div>
<div id="news">
<?php include("news.php"); ?>
</div>
</div>
</td>
</tr>
</table>
</div>
<div id="footer">
<a>AniNation</a>
<a> | </a>
<a href="imprint.php">Impressum</a>
<a> | </a>
<a href="kontakt.php">Kontakt</a>
<a> | </a>
<a href="agb.php">AGB</a>
<br>
<a>Copyright © by Created Crativity</a>
</div>
</div>
</body>
</html>
[/HTL<html>
<head>
<title>Created Creativity</title>
<meta name='autor' content='Tobias Marstaller'>
<meta name='lang' content='de'>
<meta name='description' content='Eine Animationen Share-Plattform für Adobe Flash-Animationen und Anwendungen'>
<meta name='keywords' content='AniNation Portal, Animation, Adobe Flash, Flash sharing'>
<link href='styles.css' rel='stylesheet' type='text/css'>
</head>
<body>
<div id='anination'>
<div id='header2'>
</div>
<div id='content'>
<div id='header'>
<img src='header.png' name='header' alt='AniNation Portal' border='0' id='headerimg'>
<br>
<div id='login'>
</div>
<div id='navi'>
<a id='home'>HOME</a>
<a id='anis' href='#?page=animations' class='link'>ANIMATIONEN</a>
<a id='top1' href='#?page=topten' class='link'>TOP 10 ANIMATIONEN</a>
<a id='uppn' href='#?page=uppn' class='link'>UPLOAD</a>
<a id='impr' href='#?page=imprint' class='link'>IMPRESSUM</a>
<a id='kont' href='#?page=kont' class='link'>KONTAKT</a>
</div>
</div>
<table cellpadding='0' cellspacing='0' border='0'>
<tr>
<td width='200'>
<div id='spalte1'>
<div id='info'>
</div>
</div>
</td>
<td width='200'>
<div id='splate2'>
<div id='content'>
<?php echo $content ?>
</div>
</div>
</td>
<td width='200'>
<div id='spalte3'>
<div id='10news'>
<?php include('10news.php'); ?>
</div>
<div id='news'>
</div>
</div>
</td>
</tr>
</table>
</div>
<div id='footer'>
<a>AniNation</a>
<a> | </a>
<a href='imprint.php'>Impressum</a>
<a> | </a>
<a href='kontakt.php'>Kontakt</a>
<a> | </a>
<a href='agb.php'>AGB</a>
<br>
<a>Copyright © by Created Crativity</a>
</div>
</div>
</body>
</html>
Alles anzeigen
und die mittlere spalte WILL und WILL nicht auf die größe. Sie bleibt so groß sie will. Wora liegt das?? Ich hab jetzt schon ewig probiert, helft mir bitte. Hier ein Link.
Thx