Grow your CSS skills. Land your dream job.

alt and title attributes – HELP!

  • # February 28, 2012 at 7:35 pm

    Does anyone know if there is a simple way to display text over an image during a mouseover? I am using the and tags, but the text is only appearing as a tooltip…is there a way to display actual text on the image?</p> <p>Thanks!

    # February 28, 2012 at 7:48 pm

    Try something like this: http://jsfiddle.net/joshnh/zkL9k/

    # March 1, 2012 at 5:54 am

    Or, with some transition magic: http://jsfiddle.net/zkL9k/4/

    # March 1, 2012 at 6:43 am

    @Hompimpa Well played Sir ;)

    # March 1, 2012 at 8:17 am

    @joshuanhibbert: I feel a little kinky. I am 19 years old and you call me sir. Umm.. okay… haha

    # March 1, 2012 at 5:51 pm

    @Hompimpa LOL! It was a show of respect rather than an age based thing.

    Rob
    # March 1, 2012 at 5:58 pm

    AGE FIGHT! :D

    # March 1, 2012 at 7:48 pm

    It’s happened to me too, and I’m 15.

    I would do it like Sir Hompimpa did it. :)

    # March 2, 2012 at 6:59 pm

    thanks for the help :)

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".