[jQuery] Re: Opacity for a menu background, but not for the element inside

2008-12-12 Thread Jim D
You can use the CSS 'opacity' property. It accepts a value between 0.0 and 1.0. For example, if you wanted to set the opacity of an element to 40%, you would use: opacity: 0.4; However, in true MS style, you have to do something different to get it to work in IE. Internet Explorer accepts

[jQuery] Re: Opacity for a menu background, but not for the element inside

2008-12-12 Thread Liam Potter
Jim, read the question again ;) Anyway. There is no simple solution to this problem, I'd advise using a PNG image as it is the cleanest way to achieve this. Jim D wrote: You can use the CSS 'opacity' property. It accepts a value between 0.0 and 1.0. For example, if you wanted to set the

[jQuery] Re: Opacity for a menu background, but not for the element inside

2008-12-12 Thread ricardobeat
This will be easier sometime around 2012 when RGBA and HSLA colors are widely supported :) On Dec 12, 1:22 pm, Liam Potter radioactiv...@gmail.com wrote: Jim, read the question again ;) Anyway. There is no simple solution to this problem, I'd advise using a PNG image as it is the cleanest