Posted by Lawrence on 12/19/06 13:04
Quick question I am trying to style my submit button so it is line with
the input boxes. However this is not working:
input.sub
{
margin-left: 4.5em;
}
The html bit is this:
<div id="main-text">
<!-- Insert your page here -->
<h1>Please Register</h1>
<p>Enter your desired username and password</p>
<div id="register-form">
<form action="#">
<fieldset>
<legend> Registration</legend>
<p><label for="name">Name</label> <input type="text" id="name"
/></p>
<p><label for="e-mail">E-mail</label> <input type="text"
id="e-mail" /></p>
<p><input class="sub" type="submit" value="Submit" /></p>
</fieldset>
</form>
</div>
</div>
I have styled the inputs and labels correctly but I am having trouble
with the submit button!
Thanks
Lawrence
Navigation:
[Reply to this message]
|