Forum Moderators: not2easy

Message Too Old, No Replies

CSS Rollover BG image? I need guidance?

CSS Rollover BG image

         

Jsonfield

12:45 pm on Jul 23, 2003 (gmt 0)

10+ Year Member




Ok I tryied for hours now im calling for help.
I want to do this with my buttons.....

<snip>

1. I input the code in dreamweaver mx and can't get it to work.

2. Is there a better way to do this? Easyer?

3. All I have is a table with 4 columns and a Background that is only 2pixles high and aprox 30pix wide with a blue gradiant set as background image in properties.

4. I want the buttons made out of the table with 4 columns to do the effect in the link above.

Thanks for any help in advance.

Json,

[edited by: engine at 3:08 pm (utc) on July 23, 2003]
[edit reason] No urls, thanks. See TOS [webmasterworld.com] [/edit]

DrDoc

2:43 pm on Jul 23, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to Webmaster World!

Please review the guidelines about posting URLs. (Forum charter [webmasterworld.com] ¦ Terms of Service [webmasterworld.com])

The best way to get the background to change is using CSS:

a {
background: url(someimage.gif);
}
a:hover {
background: url(otherimage.gif);
}

Jsonfield

10:29 pm on Jul 23, 2003 (gmt 0)

10+ Year Member



That is weird about the no link policy. That's like blinding someone in the eye and pointing to describe something.

I'll try the new code when I get home. I hope its not just for normal images. I'm looking for small images that duplucate in BG and change on rollover.

Thank You for the reply.
Json,