Adding image in a style - Printable Version
+- Computer Graphics Community (http://www.cgshelf.com/forum)
+-- Forum: Web Designing (/forum-39.html)
+--- Forum: CSS (/forum-44.html)
+--- Thread: Adding image in a style (/thread-12.html)
Adding image in a style - jsguy - 02-14-2007 05:35 PM
How can I add an image to a CSS style. Say I need 'img.gif' as a background image for a particular style.
RE: Adding image in a style - albinjoseph - 02-14-2007 05:45 PM
You can use the background-image property to set the backgound image inside a style
For eg: the following style would add a img.gif as the image background.
RE: Adding image in a style - jsguy - 02-14-2007 05:56 PM
Thanks. It worked.