Centering top and bottom banner

Can someone give me a play-by-play of how to center the top and bottom Boonex banners?  I have searched and still cannot find anything that will help me center banners.

Quote · 30 Mar 2011

I am currently running 3rd party ads that utilize HTML code. I encase the code with a CENTER tag like so:

<center> HTML CODE HERE </center>

It centers my ads perfectly.

Quote · 30 Mar 2011

 

I am currently running 3rd party ads that utilize HTML code. I encase the code with a CENTER tag like so:

<center> HTML CODE HERE </center>

It centers my ads perfectly.

another way:

<div style="width:100px;margin:0 auto">your banner code</div>

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 30 Mar 2011

This way works thanks

 

<div style="width:100px;margin:0 auto">your banner code</div>

 

Quote · 30 Mar 2011

 

This way works thanks

 

<div style="width:100px;margin:0 auto">your banner code</div>

 

You're welcome

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 30 Mar 2011

That's basically the way I do it too SashE.  I take it one step further though and go ahead and give my banner wrappers id selectors so I can control the banner position with more precision if I have to.  Sometimes I don't actively control the selectors, but I have had to make adjustments to the banner positioning on occassion. I usually do it something like this.

 

<div id="mytopbannerwrapper">your banner code</div>

 

/* CSS that I either place in general.css or common.css */

#mytopbannerwrapper {

margin:0 auto;

width:100px;

}

Quote · 30 Mar 2011

 

That's basically the way I do it too SashE.  I take it one step further though and go ahead and give my banner wrappers id selectors so I can control the banner position with more precision if I have to.  Sometimes I don't actively control the selectors, but I have had to make adjustments to the banner positioning on occassion. I usually do it something like this.

 

<div id="mytopbannerwrapper">your banner code</div>

 

/* CSS that I either place in general.css or common.css */

#mytopbannerwrapper {

margin:0 auto;

width:100px;

}

it's correct way too!

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 31 Mar 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.