Plik CSS wygląda tak:
Dane wczytuje w prosty sposób:
BODY { font-family: verdana; font-size: 10px; background:#000000 url('gfx/klatka2.jpg'); margin:0; padding:0; color: #000000} #up {position:relative; margin:0; margin-left: 150px; margin-right:150px; color:white; text-align:center; font-size:28px; } #reklama {margin:0; margin-left:150px; margin-right: 150px; color:white; font-size: 22px; text-align:center; margin-top:0px; position:relative; } #menu_lewe{margin:0; font-size:18px; position:absolute; margin-left:147px; margin-right: 900px; margin-bottom: 10px; color:black; background:white; border-left-style: solid; border-right-style: solid; border-bottom-style: solid; min-height:1000px; width:200px; } #menu_prawe{margin:0; font-family:test; font-size:12px; position:absolute; margin-left:900px; margin-right: 149px; margin-bottom: 10px; border-left-style: solid; border-right-style: solid; border-bottom-style: solid; min-height:1000px; width:200px; color:black; background:white; } #news { margin:0; font-size:18px; color:green; background-color:yellow; position:absolute; margin-left:345px; margin-right: 355px; margin-bottom: 10px; border-left-style: solid; border-right-style: solid; border-bottom-style: solid; min-height:1000px; width:552px; text-align:center; color:black; background:white; } #podpis {margin:0; background-image: url(gfx/dol.jpg); background-position: center; margin-bottom: 10px; position: absolute; background-repeat:no-repeat; margin-left: 142px; margin-top:827px; width:971px; } .stopka {margin:0; color:white; size:11px; position:relative; margin-left: 50px; margin-top:1000px; } .alert {margin:0; color:red; font-size:20px; text-align:center;} .title {text-align:center; font-size:35px; color:red; position:relative; margin-top:10px; background-color:gray;} .news {font-size:20px; color:black; font-family:verdana; margin-top:10px; position:relative; } a.news {font-size:17px; color:orange; text-align:center; position:relative; } .info {font-size:14px; color:#00000; position:relatibe; border-bottom-style:dashed; border-color:red; margin-bottom: 3px; }
<?php include('config.php'); //Plik z połączeniem oraz funkcjami main_menu(); czytaj_news(); //etc,etc,itd,itd..... ?>
Teraz nie wiem jak to zrobić. Czy tak aby biała przestrzeń się powiększała tzn parametr height się zwiększał i dostosowywał do newsa(ale równocześnie musi tak się dziać z pozostałymi dwoma div'ami) czy po prostu rozmiar pola mógłby taki zostać,ale news bylby stronnicowany i dopasowany do strony.
Przypominam,ze wczytywany jest z bazy.
Z góry dzięki i pozdrawiam
