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...
Tuesday, April 12, 2011
Subscribe to:
Posts (Atom)