I have made a pretty basic form
and am using this cssHTML Code:<form method="post" action="contact.php"> <label for="name">Name:</label><input type="text" name="name" maxlenght="20"><br /> <label for="title">Title:</label><input type="text" name="title" maxlenght="20"><br /><br /> <label for="content">Message:</label> <br /> <textarea name="content" cols="40" rows="7"></textarea> <br /> <input type="submit" name="submit" value="submit"> </form>
It alligns the name and title but not the content box. I would like it to have them all lined up nicely. Any help?HTML Code:label { width: 3em; float: left; text-align: right; margin-right: 0.1em; display: block } .submit input { margin-left: 4.5em; }



Reply With Quote


Bookmarks