skip to content

A simple CSS photo-album

31th July 2006


Information

I have had many requests for a simple photo-gallery in which there is a horizontal row of numbers across the bottom of the gallery, and when your visitors click any of these numbers a corresponding full size image is displayed above.

Well this is about as simple as it gets. The text numbers and images are held in an unordered list without any extra markup (no 'ems' or 'spans' etc). The CSS just styles the text numbers so that they appears in a box and the images so that they are hidden until your visitor clicks a number square.

I have used both landscape and portrait images to show how these can be accommodated and have limited the sizes to 320 x 240 pixels and 240 x 320 pixels just to show the method. You can, of course, resize this to fit any size/combination of images.



Copyright

You may use this method on your personal 'non-profit' web site without seeking my permission. A link back to CSSplay is always appreciated.

Commercial usage is also permitted without seeking approval, but I would ask that a donation is considered to support my work on CSSPlay.

If you are having problems integrating any of my demonstrations into your website then I now offer a service to fault find and correct any errors that you may have introduced. Please email me for more information.


Recommended Sites

CSSplay web design/assistance

"The citroen.co.uk web site uses
CSS Play code for the site drop down menus.
This code works seamlessly in IE 6 & 7, and is an excellent solution to the Creative requirements of the site."

Damon Clark - Brandwidth


Advertise with CSSplay

CSS play pages

CSS (Design) - TOP.ORG

CSS play recommend

SitegrinderPSD to HTMLFree, practical CSS menus, layouts, and examplesEarn from your site today with Netklix text ads