PDA

View Full Version : CSS Rollover, Image then Text



darley
August 2nd, 2004, 12:32 PM
I have a predicament.

I want to make a CSS rollover. This is not a problem with 2 images. But I am trying to figure out how to do it the following way.

I have 1 image for the UP state. I would like the OVER state to be nothing but text. I have a solid background color. Image size is 108x108. Text will need to fit in same area.

Ideas? I will keep messing around with it, but I appreciate any direction.

Thanks!!!

Jeff Wheeler
August 2nd, 2004, 12:39 PM
http://bombingpxiels.com/kirupa/lists-css.php

view the source

darley
August 2nd, 2004, 12:49 PM
very, very close.

the biggest problem I have is the text being visible on the UP state. The OVEr state performs just as desired. I need to have ONLY the image showing on the UP state.

thank you for your quick response.

Jeff Wheeler
August 2nd, 2004, 01:08 PM
http://bombingpxiels.com/kirupa/lists-css.php

if you set the width and height in a different place it'll work, I just didn't get that part working...