Is it possible to achieve this? I have a thumbnail image with both alt and title attributes, and when the image is hovered over or clicked on, I want an enlarged image to pop up. Additionally, I would like the alt or title of the image to appear as a signature at the bottom of the image's border. I have tried using the CSS popup image viewer trick, but I'm wondering if there is another way to accomplish this. I believe it has something to do with this statement:
a:after { content: " (" attr(href) ")"; }
I attempted to use the content: attr(title); statement in the following way:
img.thumb:active img.thumb:after { content: attr(title); font-weight: bold; margin: 10px 400px 20px 400px; }
As a newbie in web design, I have been searching for inspiration to make this work but haven't had any luck so far.
Any help would be greatly appreciated. Thanks!