Need help with centering in WordPress TwentyEleven Theme

jensen

Active Member
Messages
1,167
Reaction score
22
Points
38
2011Theme_WP.jpg

Am trying to figure out how to make the GetResponse sign up page to be in the center.
It looks weird but am not able to make it stay in the center.

Any suggestions?
 

fretwizz

Member
Messages
106
Reaction score
3
Points
18
One way is to put it in a div that has a specified width and use margin:0 auto;
 

essellar

Community Advocate
Community Support
Messages
3,295
Reaction score
227
Points
63
There shouldn't be any need to add an extra div (or any other extraneous markup) — the element to be centred is already a block-level element. As such, it will happily take margin: 0 auto as-is.
 

fretwizz

Member
Messages
106
Reaction score
3
Points
18
There shouldn't be any need to add an extra div (or any other extraneous markup) — the element to be centred is already a block-level element. As such, it will happily take margin: 0 auto as-is.
I guess i wasn't clear there ;) Of course you're correct, you don't have to add a div if you have a block level element to apply this to.
 
Top