css/forms/page layout

Hey guys, I need help with a problem here. On this page

<!-- w --><a class="postlink" href="http://www.rantingrage.com/cnew.html">www.rantingrage.com/cnew.html</a><!-- w --> I'm trying to put this form in the middle :

<form method="post" enctype="text/plain" action="mailto:[email protected]">

Name : <input type="text" name ="name" />
<p>

City : <input type="text" name="city" />
</p>
<p>
Birthdate : <input type="text" name="birthdate" />
</p>
<p>
Email : <input type ="text" name=email" />
</p>
<p>
<input type="submit" value="Submit"/>

The form works fine..I just can't position it in the middle of the content box of my layout that I did in photoshop. Is it even possible to do? And how do I do it...I have a css/xhtml begginner book. Thats where I got the form, but it doesn't talk about how to position it..Any takers?Here's a hint: Look up absolute/relative positioning. You have to create a <div> around the form and position it with CSS.ahh not a direct answer thats great..I just wanted direction in the book...btw I got the book you sugested a few days ago..I'll post again once I've figured it out :)Your image looks very nice and all that, but before you go any further, please read the article in my sig - it's an eye-opener.That's a good book - glad you picked it up. Trust me - everything you need is in there... at least, to get started on the basics... then you can move on up. ;) BTW - BonRouge's article is great - make sure you check that out as well...I'm reading the article now some of it is greek to me heh...only reason I have tables in my layout is because thats how photoshop did the html.. So thats just how I left it..so I'm open to learning css...I knew it was the way to go years ago..just never got into it...lazy I guess. haha..It's a common mistake - letting something like photoshop make a webpage for you. My advice - don't do it again. In fact, I'd go back to your original image and try to figure out a good way of using it with css.Sounds good...I'll start playing around css more I've got a begginer book..its just matter of figuring out what does what etc etc thanks..
 
Back
Top