PDA

View Full Version : Awkward Background (gradient border)


Ricky55
01-27-2007, 04:09 PM
Hi

I'm currently working on a site and I want to have a subtle striped background fade into my site border that has a gradient blue to black.

Its easier if you just take a look at my page here:-

http://www.creativeauto.co.uk/sat.html

How can I do this, I had this working with a png file with transparency but unfortunately only new versions of browsers support png's with transparency.

I've tried to use a gif with transparency but this don't seem to support the subtle blue gradient that I have in my page border.

What I've done in this example is just use a gif with the stripes just placed on top but as you can see as the page moves it stops the stripes from lining up.

Can this be achieved or am I chasing something thats impossible?

Can it be done in CSS in some way??

Thanks

Ricky55

domedia
01-27-2007, 05:47 PM
You can make IE support PNG transparency. See this thread:
http://www.dreamweaverclub.com/forum/showthread.php?t=21387

Ricky55
01-28-2007, 08:37 PM
Thanks for that mate,

what about other browsers

for example do these support png with transparancy

Firefox

Netscape

Safari

Thanks for your help.

Ricky55

domedia
01-29-2007, 12:33 PM
Yes, other browsers support it :)