Opacity of background-color, but not the text [duplicate]

How do I make the cross-browser (including Internet Explorer 6) transparency for the background of a div while the text remains opaque?

I need to do it without using any library such as jQuery, etc. (But if you know of a library that does it I’d love to know so I can look at their code).

5 Answers
5

Leave a Comment