View Full Version : filter opacity, driving me nuts!


MaGiCSuN
02-05-2004, 10:38 PM
Hi there,

i really can't figure out what is wrong with this code:

.sidebar { background-color: #E87E7E; border: 1px solid #000000; color: #000000; font-weight: bold;
filter: alpha(opacity=10); }

the filter alpha opacity thing is not working at all. While i have on the same page (using the same stylesheet ((external)) offcourse) image buttons that do have the opacity thing work. This is what i use for the div:

<div class="sidebar">»» Welcome</div><br>

they are all headers. When i put the code directly into the <div> it doesn't work either.. I'm finding this kinda strange, since the buttons do work with the opacity thing and they are in the same external stylesheet file.

Thanks

Love,
Mirna

kittycat
02-06-2004, 12:21 AM
Try adding a width or a height to the class. I tried that and it worked for me :)

webmorpheus
02-06-2004, 06:41 AM
where do you find advanced css classes such as filtering opacity..?

MaGiCSuN
02-06-2004, 03:07 PM
Try adding a width or a height to the class. I tried that and it worked for me :)

awsome :) i added height: 0; and it worked :) Stupid though, since i know this has to be done for links too when using that kind of filter :P Thanks!

webmorpheus what do you mean? about filters you can find here:

http://www.fred.net/dhark/demos/css/css_filter_examples.html

Love,
Mirna

webmorpheus
02-06-2004, 07:47 PM
thanks for the great website!! exactly what i was looking for.