Log in

View Full Version : aligning a banner that is shown using php


kurtbarker
03-19-2006, 11:28 PM
Hey guyz, I know this is probably a bit of a noobish question, but i'm not that good with this kinda thing.

I'm using phpadsnew to show banners on my site. I've put the banner code in a plugin, and all I have in the header template, is "$phpAds_raw", but without the "". That shows the banner and everything phpadsnew is supposed to do.

Now, what would I have to add to that code "$phpAds_raw" to have each banner it displays, in the center, because at the moment it is left aligned, which i'm guessing is the default

Thanks guyz,
Kurt

Rich
03-19-2006, 11:47 PM
Hello,

<div align="center">$phpAds_raw</div>

should do the trick.

kurtbarker
03-20-2006, 12:12 AM
thanks mate, that did the trick