off-centered advertising block

Hello,

I just installed an html block with Adsense advertising on my site, but it's a bit off-centered (see image attached). Any help to center it would be appreciate it.   

off-centered ad block.jpg · 56.9K · 146 views
Quote · 8 Sep 2014

Looks more like its too big for the size of the block you have it in. You need to keep in mind that dolphin 7 has a 20px border around the content of the block.

In your case you can see that 20px border on the left, but the content is exceeding it on the right indicating it is to large to fit in the block.

Normally you simply put the content in-between center tags like so.

<center>
Your Content Here.
</center>

But centering is not your current problem. Size is your current problem.

https://www.deanbassett.com
Quote · 8 Sep 2014

Thanks so much deano92964. I will delete the "large rectangle" ad and create a new "medium rectangle" one, because Google doesn't offer a change-size option and it doesn't allow adding anything to the code.

 

Normally you simply put the content in-between center tags like so.


Your Content Here.


But centering is not your current problem. Size is your current problem.

 

Quote · 8 Sep 2014

Yes. Thats the problem with google. The ads are a fixed size. But most companies that provide ads are like that. There are only so many sizes to choose from. There is always the option of resizing your sites columns to the size of the ads as well.

https://www.deanbassett.com
Quote · 8 Sep 2014
 
 
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.