Jump to content
Sign in to follow this  
indakno

CENTER AD BANNER

Recommended Posts

indakno

What is the code to center an ad across any page using a widget so that it shows centered and not flush to the left?

Share this post


Link to post
Share on other sites
kastelic
You can center an element like this: [code]#element { margin: 0 auto }[/code] It must have a set width and that width has to be less than its container.

Share this post


Link to post
Share on other sites
indakno
Do I put that inside the widget with the ad or in the CSS editor?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×