Help with rollover

Discussion in 'CSS' started by overkil6, Oct 25, 2006.

  1. #1
    Hello,

    I've managed to implement an image gallery that will span a larger image into the div as seen here:http://www.dynamicdrive.com/style/csslibrary/item/css-image-gallery/ How would I go about making this so that the image stays spanned if the image is clicked? The idea is that there will always be an image present so that it doesn't look like a big waste of page space. I've looked into :active and :focus but I just can't see how to adapt the code on the page above.

    Also note that the images are not hard coded into the CSS or HTML as I've seen some. Rather it is being read with PHP and MySQL.

    Many thanks!
    Dave
     
    overkil6, Oct 25, 2006 IP