News

How to Add an Image to a CSS File. Web pages normally add images using the inline HTML "img" tag. CSS coding usually doesn't set an image's source because CSS controls design rather than content.
Open an HTML document that has an image and find the document's section. Paste the code shown below inside that section. This code creates a CSS class named stretchX.
WebReference.com's got a tutorial on how to make a professional-looking online photo gallery with thumbnails and rollovers using one HTML page and CSS ...