Oto plik html:
<html> <head> <link rel="Stylesheet" type="text/css" href="css/style.css" /> </head> <body> <?php require("header.html"); ?> <form name="form1" method="post" action="check_image.php" enctype="multipart/form-data"> <div class="form"> <input name="image_caption" type="text" id="item_caption" size="55" maxlength="255"> </div> <div class="form"> <input name="image_username" type="text" id="imege_username" size="15" maxlength="255"> </div> <div class="form"> <input name="image_filename" type="file" id="image_filename"> </div> <div class="form"> </div> <div class="form"> <input type="submit" name="Submit" value="Wyślij"> <input type="reset" name="Submit2" value="Wyczyść"> </div> </form> </body> </html>
A tutaj plik css :
BODY { background-color:#6495ED; margin:0px; } div.menu { position:absolute; left:50%; margin-left:-325px; } label .form{ display:block; float:left; width:150px; height:40px; padding-right:10px; text-align:left; } div.form { clear: left; text-align: left; } ul, ul li { display:block; list-style:none; margin:0; padding:0; } ul li { float:left; } ul a:link, ul a:visited { text-decoration:none; display:block; width:150px; text-align:center; background-color:#6495ED; color:#000; border:2px outset #008B8B; padding:5px; } ul a:hover { border-style:inset; padding:7px 3px 3px 7px; }
No i cos jest nie tak z pozycjonowaniem elementow...moze ktos podpowiedziec jak to poprawic ?