Kod:
<!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"> <head> <meta http-equiv="Content-Type" content="text/html; charset=Windows-1250" /> <style type="text/css"> #subForm { font-size: .8em; margin: 0; padding: 0; } #subForm .label { margin: 0; padding: 0; float: left; width: 150px; border: 1px solid blue; text-align: right; font-weight: bold; clear: left; } </style> </head> <body id="feature" class="col2"> <div id="wrapper"> <div id="main"> <form id="subForm" name="subForm" method="post" action=""> <p> <input type="text" name="name" id="name" /> </p> <p> <input type="text" name="email" id="email" /> </p> <p> <label> <label> <label> </p> <p> <select name="refer" id="refer"> </select> </p> <p> </p> <p> <input type="submit" name="Submit" id="subscribe" value="Wyślij" /> </p> </form> </div> </div> </body> </html>
Jak ustawić, żeby etykiety label o nazwach: "Podaj swój adres email i Twoja wiedza", "Gdzie sie o nas dowiedziales i Czy masz jakies komentarze"
miały taki sam odstęp tak jak między Jak się nazywasz a Podaj swój adres email, czyli jednym słowem, żeby wszystkie etykiety label miały taki same odstępy