Tura Posted December 19, 2005 Share Posted December 19, 2005 I cannot figure out how to make it so two different image colors can become transparent on the same page. I have tried a few codes: <style>#m,#n,#mb{display: tl-nfu;}table, td {background: transparent;}p img {filter:none alpha(opacity=100) chroma(color=white);p img {filter:none alpha(opacity=100) chroma(color=FEFEFE);}</style> And <style>#m,#n,#mb{display: tl-nfu;}table, td {background: transparent;}p img {filter:none alpha(opacity=100) chroma(color=white);</style><style>#m,#n,#mb{display: tl-nfu;}table, td {background: transparent;}p img {filter:none alpha(opacity=100) chroma(color=FEFEFE);</style> But no luck with those two or any of the others I tried. Link to comment Share on other sites More sharing options...
aspnetguy Posted December 20, 2005 Share Posted December 20, 2005 I am not sure what you are asking...do you have an example page???Are the 2 different colors overlapping? Link to comment Share on other sites More sharing options...
Tura Posted December 20, 2005 Author Share Posted December 20, 2005 Umm... Like a colored background with two images that have two different color backgrounds, but I want to show the picture inside the box... here is an example image. This is not exactly the pics I'm using, but I mean like... There are two different colored backgrounds on two images so I want both the image's backgrounds to be transparent so the black background appears where the image's background colors are, showing only the image without the boxes around them. Link to comment Share on other sites More sharing options...
Jonas Posted December 20, 2005 Share Posted December 20, 2005 To go from your example:If the background-color is already set on the images you use, css can't change transparency. CSS can only change what is already defined by other css, like if you define a background-color in css, css can put filters on it to change transparency etc. What you should do is get a program like Photoshop or GIMP and make your images transparent through that program... Link to comment Share on other sites More sharing options...
Tura Posted December 21, 2005 Author Share Posted December 21, 2005 To go from your example:If the background-color is already set on the images you use, css can't change transparency. CSS can only change what is already defined by other css, like if you define a background-color in css, css can put filters on it to change transparency etc. What you should do is get a program like Photoshop or GIMP and make your images transparent through that program...<{POST_SNAPBACK}> I ment a filter that changes the outer area. I have Adobe, but I can't change the images and to prevent advertizing I made a weird example. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now