Bluehost: Web hosting from $3.95/month. Sign Up

Great method for styling images with CSS

Posted on by Clive Walker in CSS

Web Designer Wall has published a clever CSS decorative gallery technique for styling images with CSS. The use of an absolutely positioned <span> element inside a relatively positioned container element and the use of transparent .png images enables a variety of decorative images to be used as 'overlays' for 'parent' images.

I particularly like the pop-up example which uses an <em> tag to display a title for each image on hover.

Nice method!

Technorati :

Leave a comment

A simple question that helps prevent automated form fillers.

© 2016 Clive Walker