All Posts by Email, Once a Week

Media Temple logo

CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.

How to prevent ALT text showing on cursor hover over image?

  • # April 5, 2013 at 4:12 pm

    How to prevent ALT text showing on cursor hover over image? please help…

    # April 5, 2013 at 4:25 pm

    Alt text shouldn’t be showing, it’s the `title=””` attribute that you’re probably seeing. Simply remove it from your code.

    # April 6, 2013 at 6:43 am

    Else, you have to remove it on hover then put it back when leaving the mouse out. With JavaScript.

Viewing 3 posts - 1 through 3 (of 3 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