Question - Thumbnail gallery

Discussion in 'Web Design and Development' started by Bern, Oct 20, 2006.

  1. Bern macrumors 68000

    Bern

    Joined:
    Nov 10, 2004
    Location:
    Australia
    #1
    I've created a thumbnail gallery using CSS/xhtml.

    Everything looks great accept when the page loads there's no initial image there until the user hovers over a thumbnail.

    The code I'm using in the xhtml document is:-

    This is wrapped around a div and the appropriate class is written on an external css.

    My question is how do I manage to have an image sitting permanently on the page when it loads before the user hovers over a thumbnail and then when they do the image is covered by the new one?

    I appreciate anyone's advice.
     
  2. Bern thread starter macrumors 68000

    Bern

    Joined:
    Nov 10, 2004
    Location:
    Australia
    #2
    Never mind I worked it out myself again :D

    I just had to add some code into my content div.
     

Share This Page