liamC
Member
Registered: 28th Feb 04
User status: Offline
|
I have a tiny 1px by 1px image which is the background to my whole div code: background-image: url(images/home_services_bg.png);
I want to make the background 1px*1px image to 50% transparency, but when I put the following code in...
/* for IE */
filter:alpha(opacity=60);
/* CSS3 standard */
opacity.6
...then the whole of the DIV (text included) goes transparent as well.
Any ideas?
[Edited on 19-03-2008 by liamC]
|
AndyKent
Member
Registered: 3rd Sep 05
User status: Offline
|
Assuming you're on a solid background, why not just turn down the transparency in photoshop over the correct background colour and re-save?
|
liamC
Member
Registered: 28th Feb 04
User status: Offline
|
its a patterned background, and the locations of the DIVs differ slightly through each browser so it would look slightly 'off'
|