sterlingcooper
06-17-2010, 07:26 AM
Hi everyone, CSS newbie here.
Basically I have an ul that is a group of thumbnails. You click the thumbnail, the larger image opens in a new browser window. What I would like to know is how I can align the image that opens up in the new browser window, and how I can add a caption underneath that image.
Regarding centering the image, my code is:
<ul>
<li> <a href="cat.jpg"><img src="thumbnail.jpg"></a></li>
</ul>
What is the CSS I can use to make the "cat" image be centered in its new browser window (and add text underneath if possible)?
Thanks for any help. :)
Basically I have an ul that is a group of thumbnails. You click the thumbnail, the larger image opens in a new browser window. What I would like to know is how I can align the image that opens up in the new browser window, and how I can add a caption underneath that image.
Regarding centering the image, my code is:
<ul>
<li> <a href="cat.jpg"><img src="thumbnail.jpg"></a></li>
</ul>
What is the CSS I can use to make the "cat" image be centered in its new browser window (and add text underneath if possible)?
Thanks for any help. :)