Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Help 

How would I go about centering my "contact us" form?

Hey, I really want to know how the hell I can center my "contact us" form. I've tried a couple methods, but obviously not the right ones. Here's a picture of the form.

Spoiler (Click to View)

And here is the code for the form

Spoiler (Click to View)

Not knowing is bugging the hell out of me, thank you to anyone who attempts to help me.
Not a expert on web development but
if you put the form in a class and in the css file do
margin-left: auto;
margin-right: auto
Try it and let me know if it works
You could try adding this to the CSS file:

Code
.box-white {
    position: absolute;
    left: 50%;
    margin-left: -half the width of your div;
}
e.g. width: 200px; margin-left: -100px;
That should work.
Code
.contact-us {
    width: 800px;
    margin: 0 auto;
}


Possibly Related Threads...
Thread / Author Replies Views Last Post
by dilanoJan 23, 2019 11:45 PM 1 145 Jan 23, 2019 11:45 PM
Last Post: Aelustelin
[Help] by RezyOct 15, 2016 09:37 AM 8 214 Oct 15, 2016 09:37 AM
Last Post: Rezy
[Help] by ExodianJul 30, 2015 07:20 PM 5 97 Jul 30, 2015 07:20 PM
Last Post: Exodian