Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > filter:chroma messes up the whole page?

Reply
Thread Tools

filter:chroma messes up the whole page?

 
 
Binba
Guest
Posts: n/a
 
      07-05-2007
I'm trying to apply transparency to some elements in my scrollbars,
and according to what they say on this World Wide Web thingy, CSS
filter:chroma is the way to do it.
Problem is, whenever I add this declaration, it ruins all the text in
the page, as if trying to apply alpha transparency to the text or
something.

It's easy with examples.
Without: http://www.coffeemovie.info/misc/Coffee0.png
And with: http://www.coffeemovie.info/misc/Coffee1.png

This is the relevant block from my stylesheet:

div#content {
position: absolute; left: 170px; top: 30px; width: 615px; height:
450px; text-align: left; overflow: auto; padding-right: 20px;
filter:chroma(color=#FEFEFE);
scrollbar-3dlight-color:;
scrollbar-arrow-color:#8B4513;
scrollbar-base-color:;
scrollbar-track-color:#FEFEFE;
scrollbar-darkshadow-color:#8B4513;
scrollbar-face-color:#DEB887;
scrollbar-highlight-color:;
scrollbar-shadow-color:#000000}
}

Any ideas?
Thanks!

 
Reply With Quote
 
 
 
 
rf
Guest
Posts: n/a
 
      07-05-2007
"Binba" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) oups.com...

> I'm trying to apply transparency to some elements in my scrollbars,


Why? They are my scrollbars, not yours

> It's easy with examples.
> Without: http://www.coffeemovie.info/misc/Coffee0.png
> And with: http://www.coffeemovie.info/misc/Coffee1.png


These are not examples. These are images, without any evidence of
scrollbars.

> This is the relevant block from my stylesheet:
>
> div#content {
> position: absolute; left: 170px; top: 30px; width: 615px; height:
> 450px; text-align: left; overflow: auto; padding-right: 20px;
> filter:chroma(color=#FEFEFE);


The above line has nothing to do with scrollbars. It has to do with what the
selector selects, that is your div that has an id of 'content'. Plus, it's
an Microsoft only thing IIRC.

> scrollbar-3dlight-color:;
> scrollbar-arrow-color:#8B4513;
> scrollbar-base-color:;
> scrollbar-track-color:#FEFEFE;
> scrollbar-darkshadow-color:#8B4513;
> scrollbar-face-color:#DEB887;
> scrollbar-highlight-color:;
> scrollbar-shadow-color:#000000}


All of the above is Microsoft only stuff and will not work with other
browsers.

> Any ideas?


Don't ?

You appear to be trying to emulate frames. Don't do this. It has serious
accessibility and usability problems. Plus, the way you are doing this will
break in interesting ways.

--
Richard.


 
Reply With Quote
 
 
 
Reply

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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
*WITHOUT* using: ValidateRequest="False" for the whole page (or my whole site).... \A_Michigan_User\ ASP .Net 2 08-21-2006 02:13 PM
COM Interop messes with IE hosted windows forms control Dilip ASP .Net 3 12-30-2004 04:36 PM
ASP.Net messes with my form's action attributes! =?Utf-8?B?TWFydGlu?= ASP .Net 3 04-06-2004 03:11 PM
Please Help, NEWBIE, .net, .apsx, access external site messes up data access when using firewall ASP .Net 0 02-09-2004 04:56 PM
Please Help, NEWBIE, .net, .apsx, access external site messes up data access when using firewall ASP .Net 2 02-02-2004 01:03 PM



Advertisments