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.
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. |
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. |
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 |
This way works thanks
<div style="width:100px;margin:0 auto">your banner code</div>
|
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 |
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; } |
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 |