This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Stylesheets > November 2005 > background-image





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author background-image
sleinpir

2005-11-19, 8:17 am

Hi,
I use this stylesheet:

body { background: #999999 url(img.jpg); }

bloc { background: #DDDDDD url(img_light.jpg); }

to get an illusion of transparency (img_light.jpg is a faded copy of img.jpg).

This works fine with browsers from the mozilla suite, but not in IE...
is there a way to make it work in both ?


thanks in advance
sleinpir

2005-11-19, 8:19 am

quote:
Originally posted by sleinpir
Hi,
I use this stylesheet:

body { background: #999999 url(img.jpg); }

bloc { background: #DDDDDD url(img_light.jpg); }

to get an illusion of transparency (img_light.jpg is a faded copy of img.jpg).

This works fine with browsers from the mozilla suite, but not in IE...
is there a way to make it work in both ?


thanks in advance



Oups I'm sorry, the good bloc definition is:

..bloc { background: #DDDDDD url(img_light.jpg) no-repeat fixed center ;}
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews