http://www.fotosik.pl/pokaz_obrazek/66f7ef25f8e144c7.html
xhtml
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl" lang="pl"> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <meta http-equiv="content-language" content="pl" /> <link rel="stylesheet" href="style.css" type="text/css" /> </head> <body> <div id="page"> <div id="header"> <form action="" method="post"> Login: <input type="text" name="login" class="form_log" /> Password: <input type="password" name="pass" class="form_log" /> <input type="submit" value="Zaloguj" /> </form> </div> <div id="wrapper"> <div id="menu"> <ul> </ul> </div> </div> </div> </body>
css
body{ background-color: #E8E8E8 } #header{ background-color:white; width:785px; margin:0 auto; margin-top:10px; margin-bottom:20px; padding:8px; border: 1px solid #A9A9A9; } #wrapper{ background-color:white; margin: 0 auto; width:780px; padding:10px; border: 1px solid #A9A9A9; font-size:1.5em; font-family:Curier New; text-align:center; } #menu{ position:relative; left:-179px; top:14px; } #menu ul{ width:130px; font-size:15px; position:absolute; margin-top:15px; } #menu li { display: block; list-style: none; } #menu a { display: block; text-decoration:none; padding:10px 10px 10px 10px; border:1px solid #a9a9a9; text-align:left; border-right: 1px solid white; font-weight:bold; font-size:12px; font-family:"Lucida Grande", Arial, Helvetica, Verdana, sans-serif; } #menu ul a:hover{ color:#D51007; background:white; font-weight:bolder; } .first{ margin-right:20px; width:110px; background-color:white; color:#D51007; border-bottom:0px solid white; } .Other{ background-image: url('media/menubg.png') ; color:gray; } .form_log{ background-image:url('media/formbg.gif'); }