Log In · Register

 
Black and White Pictures, Color on Hover
redciv2
post Feb 18 2006, 10:52 PM
Post #1


Senior Member
****

Group: Member
Posts: 120
Joined: Nov 2004
Member No: 61,408



I searched the forum, but I was unsure of exactly how to use the code.
I want all of my pictures to START black and white. I found:
img { filter: Gray; }

How would I put that in...
<style="text/css">
img { filter: Gray; }
</style>
Is that correct?

I'd try it, but I don't want to mess up the current layout yet. I'm putting my code together in word so that it looks complete when I put it on.

Secondly, how do I make it COLOR on hover? I found code to make it go from color to grayscale. Would it be the same except say color?

Thank you.
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: