Aligning graphic in ad_header

Pepe2012

Well-known member
Licensed customer
I have a logo graphic at the top of the forum that is aligned left. I want to use the space to the right of the logo. For a banner ad. When I put the google adsense code in the ad_header template, the ad shows up, but it is aligned to the top, and abutting the logo graphic.

I'd like the ad to be to the right of the logo, aligned to the center of the available space both horizontally and vertically.


How can I do this?
 
Wrap the advert code in a div, float it right and add some padding to the top.

<div style="float: right; padding-top: 50px;">code here</div>
 
Back
Top Bottom