Warning: The author of this contribution does not provide support for it anymore.

Advertisement Management

Put ad in center of page - Advertisement Management

Put ad in center of page

by BigDrago » Tue Jan 13, 2015 8:17 pm

Hi.

I have this code..:
<!-- IF ADS_7 -->{ADS_7}<br /><br /><!-- ENDIF -->

But it isn't in center. How to edit the code so that is will be in center of the page?
BigDrago
Registered User
Posts: 370
Joined: Fri Dec 10, 2004 5:16 pm
Location: Norway

Re: Put ad in center of page

by BigDrago » Tue Jan 13, 2015 8:24 pm

Solved:

<div style="text-align: center;">
<!-- IF ADS_7 -->{ADS_7}<br/><br /><!-- ENDIF -->
</div>
BigDrago
Registered User
Posts: 370
Joined: Fri Dec 10, 2004 5:16 pm
Location: Norway

Re: Put ad in center of page

by Primar13 » Tue Jan 13, 2015 11:43 pm

I usually just place the {ADS_7} Code in my Theme, and then when making the Ad, I place in the <Center></Center> Tags in the Ad HTML Code.

This was its Ad Specific, because sometimes I want them left or Center Alligned.
Primar13
Registered User
Posts: 28
Joined: Thu Oct 02, 2014 8:13 pm