Created
March 20, 2009 07:29
-
-
Save vio/82266 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style type="text/css" media="screen"> | |
form div { | |
margin: 0 0 1em; | |
padding: 0 0 0 8em; | |
} | |
/* clearfix */ | |
form div:after { | |
content: "."; | |
display: block; | |
height: 0; | |
clear: both; | |
visibility: hidden; | |
} | |
* html form div { | |
zoom: 1; | |
} | |
form label { | |
margin: 0 0 0 -8em; | |
float: left; | |
width: 7.5em; | |
} | |
</style> | |
<form action="#" method="post"> | |
<div> | |
<label>Username:</label> | |
<input type="text" name="username" value="" /> | |
</div> | |
<div> | |
<label>Password:</label> | |
<input type="password" name="password" value="" /> | |
</div> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment