Internet Explorer image resizing tip

Who knew?

Though it's not best prac­tice to resize images in the browser this could really be use­ful in the right situation:

 
img { -ms-interpolation-mode: bicubic; }
 

This lit­tle snip­pet will vastly improve the image resiz­ing abil­i­ties of ie — bring­ing it closer to the resized image qual­ity expe­ri­enced with Fire­fox or Safari.

exam­ple

[seen at devthought via css-tricks]

Like it? Tweet it!

This entry was posted in Code and tagged , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

One Comment

  1. sage
    Posted 10 Oct 2009 at 5:50 pm | Permalink

    I…love…you

    THANKS FOR THIS CODE!

Post a Comment

Your email is never published nor shared. Required fields are marked *

Connect with Facebook

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

  • Categories

  • Archives