Tuesday, April 12, 2011

Resize image without distorting it

Has anyone come across a problem where image is being distorted on a webpage? Here is the simple CSS solution to display images without distorted. <html xmlns="http://www.w3.org/1999/xhtml"> <head>   <style type="text/css">     .imgresize {       width: 100px;       height: 150px;     }     .imgresize img {       width: 100px; // to fix...
 

Get paid for your opinions! Click on the banner above to join Planet Pulse. Its totally free to sign up, and you can earn UNLIMITED. Find out more by visiting PLANET PULSE.
Sign up for PayPal and start accepting credit card payments instantly. http://www.emailcashpro.com
July Code Blog Copyright © 2010 Blogger Template Designed by Bie Blogger Template