- Joined
- Dec 15, 2005
- Posts
- 1,780
- Reaction score
- 66
I want to scroll some text behind and image, this code works in IE (funnily enough )but not in Firefox,the image is invisible and scroll's.
.pic { background-image: url(images/NRbutton.png);
background-repeat:no-repeat;
background-attachment:fixed;
background-color:#FFFFFF;
width: 200px;
height: 15px;
z-index:50;
position:relative;
left: 10px;
}
The inclusion of a background is necessary for blocking out side's of image as it is not full width of Div.
I have read that in Mozilla you cannot use the properties : repeat & : fixed in the same command?
Does anyone know how to achieve Text scrolling behind a fixed image in Mozilla firefox?
Cheers.
.pic { background-image: url(images/NRbutton.png);
background-repeat:no-repeat;
background-attachment:fixed;
background-color:#FFFFFF;
width: 200px;
height: 15px;
z-index:50;
position:relative;
left: 10px;
}
The inclusion of a background is necessary for blocking out side's of image as it is not full width of Div.
I have read that in Mozilla you cannot use the properties : repeat & : fixed in the same command?
Does anyone know how to achieve Text scrolling behind a fixed image in Mozilla firefox?
Cheers.