I've tried everything to modify pnCPG_block_scroller.htm so that images in the Scroller block are centered when scrolling vertically, but still haven't figured it out. You can see my implementation of the Scroller block on the right side of my page at www.bryanbrazil.com. Any suggestions?
Thanks!
try changing the template pnCPG_sroller_block.htm into :
<!--[* $Id: pnCPG_scroller_block.htm Exp $ *]-->
<div style="text-align:center;">
<!--[if $width eq 0]-->
<MARQUEE BEHAVIOR=scroll align=center DIRECTION=<!--[$dir]--> HEIGHT=<!--[$height]--> SCROLLAMOUNT=<!--[$amount1]--> SCROLLDELAY=<!--[$delay]--> TRUESPEED onmouseover=this.stop() onmouseout=this.start() >
<!--[else]-->
<MARQUEE BEHAVIOR=scroll align=center DIRECTION=<!--[$dir]--> HEIGHT=<!--[$height]--> SCROLLAMOUNT=<!--[$amount1]--> SCROLLDELAY=<!--[$delay]--> SCROLLWIDTH=<!--[$width]--> TRUESPEED onmouseover=this.stop() onmouseout=this.start() >
<!--[/if]-->
<!--[section name="items" loop=$items]-->
<center>
<A HREF="<!--[$items[items].url]-->"><IMG SRC="<!--[$items[items].picture]-->" border=0 title="<!--[$items[items].title]-->"></A>
<!--[$content1]-->
</center>
<!--[/section]-->
</marquee>
</div>
Cas
Problem solved! I didn't even think of using a <center> tag. I was trying to add align="center" to the <a> and <img> tags.
Thanks Cas!