(no subject)
Jun. 13th, 2008 03:03 pmDear 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!
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!
no subject
Date: 2008-06-13 10:26 pm (UTC)(no subject)
From:no subject
Date: 2008-06-13 11:01 pm (UTC)Now I'm really curious. can I ask where this is being used? I'm curious about how it looks.
(no subject)
From: