Expand Cut Tags

No cut tags

Jun. 13th, 2008

ocelot: (Default)
Dear LazyWeb,

I want to make it so that all pictures of a certain class have the same text in their title attribute. Specifically, I want all thumbnails to say "Click here for larger image" when you put the mouse over them, which would normally be accomplished via the title attribute. How would I do this, preferably using CSS, but whatever works?

This is not working:

img.tpic
{
position: relative;
top: -8px;
background-image: url('images/imgbg.gif');
height: 130px;
padding: 10px;
title: "Click here for larger image";
}

I am embarrased to admit how long I have been trying to figure this out.

Thank you!

Profile

ocelot: (Default)
ocelot

April 2011

S M T W T F S
     12
3456789
10111213141516
17181920212223
24252627 282930

Most Popular Tags

Page Summary

Style Credit

Page generated Sep. 12th, 2025 08:48 pm
Powered by Dreamwidth Studios