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

Christophe David pmwiki at christophedavid.org
Sun Dec 10 06:43:22 CST 2006


>
> > 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.



It's magic ;-)  Thanks a lot !

Christophe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20061210/ac5def4d/attachment.html 


More information about the pmwiki-users mailing list