Tested on safari 6.0.5...

background-color: rgba(240,0,0,0.4);

althought it looks like rgba(240,0,0,0.2) might be better suited. :)

Best,

Karl DeSaulniers
Design Drumm
http://designdrumm.com



On Jun 19, 2013, at 12:17 PM, David Laakso wrote:

> On Wed, Jun 19, 2013 at 11:51 AM, COM <j...@coffeeonmars.com> wrote:
>> 
>> On Jun 19, 2013, at 8:37 AM, David Laakso <laakso.davi...@gmail.com> wrote:
>> 
>> For those among us who dwell in the visual world, one picture is worth
>> a thousand words... a click able link to your coded page would help.
>> 
>> 
>> A link to the page in question is here:
>> http://coffeeonmars.com/test/flextest/flextest.html
>> 
>> the part I'm talking about is at top, where it says "heading one" and
>> "heading two"; behind them in the <header> is a jpg of what looks like some
>> light texture. in the css is also a background color for that element: a red
>> at 0.4 alpha.
>> 
>> my goal is to have the texture image's color influenced by that background
>> color, IOW, by varying the opacity of the color, the image would have more
>> or less of a reddish cast to it.
>> 
>> Thank you!
>> 
>> John
> 
> 
> John,
> 
> rgba coding error...
> 
> Change this:
> header{
> background-color:rgba(240,0,0 0.4);
> }
> 
> to this:
> header{
> background-color:rgba(240,0,0,.04);
> }
> 
> or this:
> header{
> background-color:rgba(240,0,0,.4);
> }
> 
> Note the last comma.
> Not tested.
> 
> Best,
> David Laakso
> 
> 
> 
> 
> -- 
> Chelsea Creek Studio
> http://ccstudi.com
> ______________________________________________________________________
> css-discuss [css-d@lists.css-discuss.org]
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/
> List policies -- http://css-discuss.org/policies.html
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to