Reply
css rollover images
Old 12-10-2004, 11:47 AM css rollover images
Junior Talker

Posts: 1
is there any way to do a rollover image thing using css and be accessible ?

I want a different bg image for each link ... I thought I'd got there (see a rough http://chant4.co.uk/dodo/ ) which look ok in ie 5.5 but screws up in netscape and opera and I guess ie 6 too ..

any suggestions ?


Ritsos
ritsos is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 12-10-2004, 12:07 PM
karinne's Avatar
Extreme Talker

Posts: 197
Location: Quebec, Canada
of course...

Code:
a:link {
  background-image: url(off.gif);
}

a:hover {
  backgorund-image: url(on.gif);
}
i use it here - http://www.karinnelegault.com/widows-walk/ - i suggest you had an image preload script tho... i haven't gotten around to that yet.

hth
__________________
a web design portfolio - blog - last.fm - del.icio.us - widow's walk

Getting on the Web Standards band-wagon? Get these books - Designing With Web Standards and Web Standard Solutions

Takin' in the view from the outside. Feeling like the underdog. Watching through the window I'm on the outside. Living like the underdog.
-Dream Theater
karinne is offline
Reply With Quote
View Public Profile Visit karinne's homepage!
 
Reply     « Reply to css rollover images
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.10907 seconds with 12 queries