7 replies [Last post]
turnkei
turnkei's picture
Offline
newbie
Last seen: 6 years 44 weeks ago
Timezone: GMT-5
Joined: 2013-09-27
Posts: 4
Points: 5

howdy,

I'm not much of a wiz at ccs so i ran out of ideas very fast on this one.

I have an embedded mail chimp opt in that I'm trying to center on my page.
But all I have managed to do is center the text and not the entire form

the page is http://www.yourturnkei.net/how-to-live-free/

I'm hoping someone can walk me thru the steps.

thanks

Joanne

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 1 week 4 days ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5343
Points: 2964

Hi Joanne, There's a how to

Hi Joanne,
There's a how to on centering
Try:

#mc_embed_signup{
  margin: 0 auto;
}

turnkei
turnkei's picture
Offline
newbie
Last seen: 6 years 44 weeks ago
Timezone: GMT-5
Joined: 2013-09-27
Posts: 4
Points: 5

I'm sorry but I'm still not

I'm sorry but I'm still not clear on how to use those.

Should I set them in a <div id= </div> ?

And then place it ahead of the <div id="mc_embed_signup" style="text-align: left;"> line?

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 1 week 4 days ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5343
Points: 2964

That should work, but you

That should work, but you would be better of adding it to a custom stylesheet if you can.

turnkei
turnkei's picture
Offline
newbie
Last seen: 6 years 44 weeks ago
Timezone: GMT-5
Joined: 2013-09-27
Posts: 4
Points: 5

ok, well im doing something

ok, well im doing something wrong.

I've added that code to my blog post, but it is not centering anything. It is only showing as a text on the page

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 1 week 4 days ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5343
Points: 2964

Take out what you did. and

Take out what you did.
and find where you have<div id="mc_embed_signup">
and change it to:
<div id="mc_embed_signup" style="margin:0 auto;">

turnkei
turnkei's picture
Offline
newbie
Last seen: 6 years 44 weeks ago
Timezone: GMT-5
Joined: 2013-09-27
Posts: 4
Points: 5

WOW!!!! TONY! I am sending

WOW!!!! TONY!

I am sending you GREAT BIG CYBER X's and O's

You are definitely HERO OF THE WEEK if not HERO OF FOREVER!!

I was going completely mad!

Thank You! Thank You! Thank You!

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 1 week 4 days ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5343
Points: 2964

Thank turnkei, We do this for

Thank turnkei,
We do this for love Wink