[xwiki-users] Including css in graphics in user-created macros (WikiMacroClass)

2014-11-04 Thread Dale Davidson
Hi there.  I'm trying to create a specialized macro for my wiki that is
simply three divs, two of which have css background images that are
attached to the macroclass page.

I've tried rendering the URL into the css style attribute, and I've tried
attaching the image to the same.

I see it done with the the included macros, and I know that I can call
images from other pages, but is there a way to use an image in css?

I love xwiki, but information on this type of stuff is incredibly sparse on
the Internet.  Maybe I'm the only person trying to do this stuff...


Thanks in advance! :)

-- 
Dale Davidson
Technical Writer / Production Diagnostics
www.RanchSystems.com
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Including css in graphics in user-created macros (WikiMacroClass)

2014-11-04 Thread vinc...@massol.net
Hi Dale,

On 4 Nov 2014 at 19:38:45, Dale Davidson 
(ddavid...@ranchsystems.com(mailto:ddavid...@ranchsystems.com)) wrote:

 Hi there. I'm trying to create a specialized macro for my wiki that is
 simply three divs, two of which have css background images that are
 attached to the macroclass page.
  
 I've tried rendering the URL into the css style attribute, and I've tried
 attaching the image to the same.
  
 I see it done with the the included macros, and I know that I can call
 images from other pages, but is there a way to use an image in css?
  
 I love xwiki, but information on this type of stuff is incredibly sparse on
 the Internet. Maybe I'm the only person trying to do this stuff…

For CSS see StyleSheet Extensions at:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial

Thanks
-Vincent

PS: I wonder how come you didn’t find it. What did you google or searched? (so 
that we make it easier to find). Any suggestion for us to make this simpler to 
find?

 Thanks in advance! :)
  
 --
 Dale Davidson
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users