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:56 PM
Post
#2
|
|
|
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. |
|
|
|
redciv2 Black and White Pictures Feb 18 2006, 10:52 PM
xbabyboo <style="text/css">
img { filter: n... Feb 18 2006, 10:54 PM
coldtrance QUOTE(xbabyboo @ Feb 18 2006, 8:54 PM) ... Feb 18 2006, 11:35 PM![]() ![]() |