The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

Display Text in a Div on Mouseover

  • # February 26, 2013 at 12:28 pm

    To be fair the OP doesn’t give much detail except for the example link. There’s no information on how the image and text are related. If the text did not describe the image, I personally would not put it in the alt attribute. I’m not discrediting the JS methods (I have a similar pen), rather I’m giving the OP another option using html/css that mimics his flash example.

    For the record, if an image were replaced you’d be changing the alt text anyway…

    edit// anyone else finding lorempixel wonky today?

    # February 26, 2013 at 12:35 pm

    **Wow**. You guys are awesome! Looks like I now have a number of working solutions to choose from…

    I’ll be trying this out tonight after work.


Viewing 2 posts - 16 through 17 (of 17 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed