|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
I heard of people using CSS stylesheets to define the color in an image to appear transparent. Anyone know how to do it?
|
|
#2
|
||||
|
||||
|
You heard wrong.
Image transparency is done when the image is created/edited. Generally br specifying whic of the index colours should be see-through.
__________________
Never sign your code....it leaves you liable! |
|
#3
|
||||
|
||||
|
Well no, not exactly. Some browsers respond to the 'filter' attribute of CSS.
http://hotwired.lycos.com/webmonkey...ml?tw=authoring |
|
#4
|
||||
|
||||
|
I stand corrected.
Personally I would prefer to manipulate the image directly as I could set transparency at the same time I did blurring, anti-aliasing etc. The example you sent has a particulary bad transparent image looking very blocky around the edges. Maybe if he had done the transparency in a paint package he would of been tempted to do that at the same time... |
|
#5
|
||||
|
||||
|
Didn't say that it was any good though... the only thing I've ever used the filter style for is to annoyingly fade text up to attract attention.
|
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > Image Transparency and CSS |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|