css - IE8 Transparent PNG issue -


i trying display transparent png background image (actually bootstrap image) on page.

now want display less opacity. not displaying correctly (displays edges around image)

i know can fixed adding background-color attribute.

but there other way fix it. have tried various microsoft filter attributes... like

-ms-filter:"progid:dximagetransform.microsoft.alpha(opacity=10)";   opacity: 0.1; 

but not help.

use code instead. remember should in same order!

live demo (works ie6)

.box:hover {     -ms-filter:"progid:dximagetransform.microsoft.alpha(opacity=10)";     filter: alpha(opacity=10);     -moz-opacity: 0.1;     -webkit-opacity: 0.1;     opacity: 0.1; } 

Comments

Popular posts from this blog

vb.net - Alternative to the T-SQL AS keyword -

php - MySQLi binding parameters in a prepared statement doesn't work unless inserted after "WHERE" -

ios - UICollectionView Self Sizing Cells with Auto Layout -