Sent by Jeff Gates on 16 February 2005 20:08
Paul, thanks for both your emails. I'm going to have to digest this a bit. I
appreciate your quick response.
Best, Jeff
>>> Paul Novitski [EMAIL-REMOVED]> - 2/16/05 2:29 PM >>>
PS: It occurs to me that your #splash div may contain much more than the
background image portion for which you'd want the title. To avoid having
the title pop up when the user is mousing over the non-image portions of
the screen, I'd modify the markup like so:
<div id="splash">
...
[navigation menus, etc.]
...
<div id="spashbackground" title="Variable title text goes
here"></div>
</div><!-- #splash -->
Position the spashbackground div against the right-hand side of the parent
splash div, and apply your background image to #spashbackground instead of
#splash.
(Because the div that contains the title has dimension but is transparent,
the background div could actually be applied to the parent div. I just
thought it made more sense to apply the background image and the title to a
single page element.)
Paul
At 10:09 AM 2/16/2005, Jeff Gates wrote:
>We use a series of background images on our front page
>(http://americanart.si.edu). Each time a user goes to that page or
refreshes
>another image appears randomly. I'd like to put some descriptive text
>(giving some specific information about that image) when someone rolls
over
>it.
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/