Hi,
ich hab schon wieder ein problem…
ich bekomm es nich hin, das der main teil meines scripts eine auto höhe bekommt, die sich anpasst…
Hier ist mal der code…
[HTML]
#main
{
position: relative;
background-color: #ffffff;
width: 800px;
min-height: 800px;
height: auto;
margin: auto;
z-index: 1;
}
#Elim_logo_top
{
position: absolute;
left: 20px;
height: 120px;
width: 280px;
z-index: 2;
}
#horizon_red
{
position: absolute;
top: 100px;
height: 3px;
width: 100%;
z-index: 1;
}
#vertical_red
{
position: absolute;
right: 150px;
height: 100%;
width: 3px;
z-index: 1;
}
#textfeld
{
position: absolute;
top: 250px;
left: 50px;
height: auto;
width: 500px;
background-color: transparent;
}
[/HTML]
Und der code aus der php datei:
[PHP]
<?php $text=file_get_contents('index.txt'); $navbar=file_get_contents('navbar.txt'); echo" Haus Elim[/PHP]
Mein Ziel ist es das #main ‚fenster‘ mit einer auto-höhe auszustatten, damit es sich anpasst um nicht bei jeder textveränderung im textfeld eine neue höhe festlegen zu müssen!!
Kann mir da einer helfen??