Black and White Pictures, Color on Hover |
![]() ![]() |
Black and White Pictures, Color on Hover |
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. |
|
|
|
Feb 18 2006, 10:54 PM
Post
#2
|
|
![]() the name is ada. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 4,688 Joined: Dec 2005 Member No: 334,608 |
<style="text/css">
img { filter: none; } </style> The codes correct ^^Thats to make it colored |
|
|
|
Feb 18 2006, 10:56 PM
Post
#3
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
In that code you need to change hte first style tag to
<style type="text/css"> then code here. That should be the right code. |
|
|
|
Feb 18 2006, 11:35 PM
Post
#4
|
|
![]() There Are Strange Things Afoot At The Cirlce K ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 1,130 Joined: Oct 2005 Member No: 253,395 |
|
|
|
|
![]() ![]() |