I'm trying to position the labels on the inputs but seems like they are not moving on them until i change their position to absolute
(which i don't need).
Here is an example of my code:
<label for="username">Your Email...</label>
<input name="username" class="field" type="text" id="username" maxlength="40" />
Here is the CSS:
label {
color:#373737;
font-weight:bold;
font-family:Tahoma, Geneva, sans-serif;
font-size:18px;
margin-left:8px;
margin-top:28px;
}
And here is what i get:
Now here is the thing I'm trying to duplicate and for some weird reason it works here but not on my side. The demo I'm trying to duplicate with my own CSS properties