Oto kod:
index.xhtml:
<!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" lang="pl"> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <style type="text/css"> body{background-color: #620000;height: 100%} h1{margin-bottom: 5px;} #header{background-image: url(drewno.png);margin-bottom: 5px;text-align: center} #left{background-image: url(drewno.png);margin-top: 0;margin-right: 5px;width: 200px;float: left;margin-bottom: 5px} #center{background-image: url(drewno.png);margin-top: 0;margin-right: 5px;width: 590px;float: left;margin-bottom: 5px} #right{background-image: url(drewno.png);margin-top: 0;margin-right: 0;width: 200px;float: right;margin-bottom: 5px} #ads{background-image: url(drewno.png);margin-top: 5px;clear: both} #footer{background-image: url(drewno.png);margin-top: 5px} #hidden{visiblity: hidden} </style> <script type="text/javascript"> function zmiana2(){ } function zmiana() { document.getElementById('worldlist').innerHTML = 'test<input type="button" value="x" onclick="zmiana2()" />'; } </script> </head> <body> <div id="header"> rozbudowuj je</h1> </div> <div id="wrapper"> <div id="left">Statystyki,ile online,kto online,kto najnowszy </div> <div id="center"> Ogłoszenia,zachęta do rejestracji itp. </div> <div id="hidden"> </div> </div> 2009</div> </div> </body> </html>
Proszę o pomoc,
Cysioland