Forum Moderators: not2easy

Message Too Old, No Replies

applying a style to a background img

is it possible

         

theonliest

3:42 pm on Jun 23, 2004 (gmt 0)

10+ Year Member



does anyone know if it's possible to apply a style to a background img; for instance in the example:

div.yoke {background: url(blah.png);}

where the img (blah.png) would tile across the background, is it possible to apply a style to blah.png?
I know I can put stuff like 'no-repeat','center' etc after the image call but I'm looking for more control than this.

DrDoc

4:12 pm on Jun 23, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Only what the
background
property provides...

D_Blackwell

9:24 pm on Jun 23, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



What, specifically, do you want to do? What 'styles' are you after? Is {background-image} the best way to go?

theonliest

12:30 pm on Jun 24, 2004 (gmt 0)

10+ Year Member



I'm actually trying to alter the opacity of the background image useing something like:
 img.blah { filter : alpha(opacity=50); }

I know this is an IE only tag but I'd like to see if I can get it to work, if only in that browser.