www.webdeveloper.com
Results 1 to 2 of 2

Thread: Need help with :hover.

Hybrid View

  1. #1
    Join Date
    May 2013
    Posts
    1

    Need help with :hover.

    Hello,
    I am making a small schoolproject but I am now stuck on something.
    I want the headphone pictures to dissapear and text to appea rinside the same box when I hover over them. Is this possible in CSS?

    Here is a picture of my website.
    http://piclair.com/4o2xn

  2. #2
    Join Date
    Mar 2011
    Posts
    1,145
    It's possible to do what you want, but it would require slicing up that single image into several pieces and working with z-index/layers, which I don't know if you're ready for yet. My advice would be to make the image an image map, and add 'title' attributes to the <area> tags to display your desired text as pop-up tooltips without requiring a lot of coding. That would be much simpler and cleaner.
    Rick Trethewey
    Rainbo Design

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles