ForumsProgramming ForumCss help, Background color transparency...

2 4440
Koshionos
offline
Koshionos
884 posts
Jester

I am trying to make my background color for a quote "text box", but unfortunately makes the color too transparent, how do I fix this?


[section of code]
p { font-size: medium; color: white; text-align: center; background-color: black; border-style: inset;
border-color: #ff0000 #ff0000 #ff0000 rgb(255,0,0); background-color:t transparent font-family: Helvetica,
Geneva, Arial,SunSans-Regular, sans-serif; position:absolute;left: 400px; top: 150px; width: 500px }
[end]
Can some one tell me how to fix this?

  • 2 Replies
dank
offline
dank
986 posts
Peasant

You'll need to use both for browser compatibility.

filter:alpha(opacity=50);
opacity:0.5;

Klaushouse
offline
Klaushouse
2,770 posts
Nomad

You'll need to use both for browser compatibility.

filter:alpha(opacity=50);
opacity:0.5;



Aww you beat me to it Dank.


Yes! Now everyone thinks I know CSS and I will be hailed as the most amazing person ever just for stealing Dank's post...


..
...
..
...


Am I thinking out loud again? Forget what I just said. :/

Showing 1-2 of 2