View Full Version : A:hover background position

01-30-2007, 11:08 PM
How can i create a rule that when mouse hovers over part of picture, where not all is displayed just a sectionof that images, the piece hidden is displayed. say a button, top part of image is button one colour bottom another colour then when mouse hovers we see button as a diffrent colour.

01-30-2007, 11:16 PM
Hello AJW06,
Are you wanting to make a menu like this:
example one (http://www.nopeople.com/CSS/CSS_rollover/)
example two (http://www.nopeople.com/CSS/menu_buttons_horizontal/no_images.html)
example three (http://www.nopeople.com/doodlebug/)

Or are you talking about hotspots on an image, like an imagemap?
See http://www.cssplay.co.uk/menu/old_master.html

01-30-2007, 11:26 PM
It was hard to explain but Example One.

01-30-2007, 11:37 PM
How do i create a CSS Roleover?

01-31-2007, 12:18 AM
Look at the code in that example one. :confused:

Shows exactly how to do it.

01-31-2007, 08:50 AM
does anyone have any tutorials for cssrollovers can't find a quick click one on google

01-31-2007, 12:47 PM

I, however, prefer to have the images above each other, not next to each other because you would save some CSS then (equal height but different width).