Jago6060 Posted June 13, 2007 Share Posted June 13, 2007 I've defined a div that is supposed to just display a background image. the image is a gif file that I've made transparent with Photoshop. heres the code... #trans { background-image:url(rotarytrans3.gif); background-attachment: fixed; background-position: center center; background-repeat: no-repeat; height: 300px; width: 300px; float: right; } am I missing something? Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted June 13, 2007 Share Posted June 13, 2007 gifs only have 100% transparency or 0. if you need an image thats slighty opaque then use a png - you will need the png fix for it to work in ie6 http://www.twinhelix.com/css/iepngfix/ Quote Link to comment Share on other sites More sharing options...
dbrimlow Posted June 26, 2007 Share Posted June 26, 2007 #trans { background-image:transparent url(rotarytrans3.gif) center no-repeat; height: 300px; width: 300px; float: right; } Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.