[pmwiki-users] div style=background-image:url - what is the right syntax ?

Hans design5 at softflow.co.uk
Sun Dec 10 05:46:57 CST 2006


Sunday, December 10, 2006, 11:20:11 AM, Christophe wrote:

> Could someone please post the right syntax to add
> "background-repeat:no-repeat" so that the background image is only displayed
> once with the follwing example ?  And maybe how to center the image with
> background-position too ;-) ?

try
(:div style="background: url(...) center center no-repeat":)

Note the "..." to enclose all the style attributes.


Hans





More information about the pmwiki-users mailing list