
Originally Posted by
AJ
Hey all.
I was thinking of using something like: <!--[if IE]> and creating conditional code, but again, unsure of the best course of action here. On a Mac so no IE6 here to test. Running it through browsershots.org at the moment.
Hi,
I don't know much about svg but you could swap out the images for IE quite easily.
Use a conditional so target all IE except IE9 e.g. <!--[if lt IE 9]>
Then set the height and width of the images to zero but set padding equal to the height and width. This means that you will have to style each one if they are all a different size.
Finally add your png image as a background to the foreground image.
e.g.
Code:
#about img{display:block;background:url(about-img.png);height:0;width:0;padding:100px 0 0 100px;}
#about a:hover{visibility:visible}
#about a:hover img{zoom:1.5}
That seems to work for me in Ie6 - 8. Not sure if its the neatest method though.
Bookmarks