Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old August 3rd, 2006, 04:55 AM
Silent Fire
Guest
 
Posts: n/a
Default cancelling filter effects


Hi there :D

I have made my images all transparent with a basic
img {filter:mask; height:0; }

and then, when i mouseover(oh i mean hover :P )
i want the images to come up inverted

img:hover {filter:invert(); height:0; }


now the problem is obvious, you can not invert the colours of something
thats invisible :)

so i just want to cancel the previous filter

something like

img:hover {filter:mask(color:none;) filter:invert(); }

allthough i havent exactly tried it, i assume this is the wrong way to
go about things :D

any suggestions ?


--
Silent Fire
------------------------------------------------------------------------
Silent Fire's Profile: http://www.highdots.com/forums/m103
View this thread: http://www.highdots.com/forums/t184469

  #2  
Old August 3rd, 2006, 05:05 AM
Mark Parnell
Guest
 
Posts: n/a
Default Re: cancelling filter effects

Deciding to do something for the good of humanity, Silent Fire
<Silent.Fire.2by45z@no-mx.forums.yourdomain.com.audeclared in
comp.infosystems.www.authoring.stylesheets:
Quote:
Hi there :D
G'day.
Quote:
img {filter:mask; height:0; }
Have you tried validating that?
Quote:
now the problem is obvious,
Indeed.
Quote:
any suggestions ?
Stop using made-up CSS.

--
Mark Parnell
My Usenet is improved; yours could be too:
http://blinkynet.net/comp/uip5.html
  #3  
Old August 3rd, 2006, 06:55 AM
Silent Fire
Guest
 
Posts: n/a
Default Re: cancelling filter effects


ah all right


you busted me


I'm using css for myspace, it is all made up there.

look, i am just after the proper way to do things.

you could tell me instead of scoffing


--
Silent Fire
------------------------------------------------------------------------
Silent Fire's Profile: http://www.highdots.com/forums/m103
View this thread: http://www.highdots.com/forums/t184469

  #4  
Old August 3rd, 2006, 11:25 AM
Rik
Guest
 
Posts: n/a
Default Re: cancelling filter effects

Silent Fire wrote:
Quote:
ah all right
you busted me
>
>
I'm using css for myspace, it is all made up there.
look, i am just after the proper way to do things.
you could tell me instead of scoffing
He told you: filter: mask isn't valid css.

Grtz,
--
Rik Wasmus


  #5  
Old August 3rd, 2006, 11:35 AM
Andy Dingley
Guest
 
Posts: n/a
Default Re: cancelling filter effects

Silent Fire wrote:
Quote:
so i just want to cancel the previous filter
The way CSS selectors work make it difficult to "cancel" things. It's
much better to instead only apply them just where you want them - Try
adding a class attribute "foo" to where you want it and adding .foo to
the CSS rule selector.


And what's MySpace ? Is that like web hosting, only broken?
If you _insist_ on using MySpace, then don't expect anything webby to
work right.

 

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

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

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles