Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- semitransparent div
- .rhavin grobert
May 18, 2007, 12:34 am
rate this thread
with the div having background #000000 and the text having color
now the problem:
i want to have the div semitransparent like this...
but i want to have the text at opacity 100%.
thx for any thoughts, .rhavin;)
Re: semitransparent div
You need the text in a different element that's not a descendent of the
semi-transparent one, but stacked on top of it. z-index and position:
absolute can be used to achieve this.