W3C home > Mailing lists > Public > www-validator@w3.org > June 2013

Re: image width in percent

From: Coldfire Design Studio Pvt Ltd <coldfiredesigns@gmail.com>
Date: Wed, 5 Jun 2013 20:58:33 +0530
Message-ID: <CANAxcJi=BOs_N87WXo8chvX7G38bv3bVFpbof4Py4nvTLwNYnQ@mail.gmail.com>
To: bbecula@mac.hush.com, www-validator@w3.org
Hi Ben,

I have created a demo page for you to illustrate the use of % for scaling
of images in HTML/CSS.
See
http://www.coldfiredesignstudio.com/devtools/tutorials/image-css-tutorial.html

Let me know if this was helpful for you.

Regards,
COLDFIRE

-- 

COLDFIRE DESIGN STUDIO PVT LTD
web: www.coldfiredesignstudio.com <http://www.coldfiredesignstudio.com/> |
phone: +91 98763 37545 | email: coldfiredesigns@gmail.com

This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you have
received it in error, please notify the sender immediately and delete the
original. Any other use of the email by you is prohibited.

*P *Please consider the environment before printing this e-mail. Every 3000
sheets of paper costs a tree. Print only when needed.

On Wed, Jun 5, 2013 at 12:45 PM, <bbecula@mac.hush.com> wrote:

> URL:  http://electromontis.net/evoligion/_A/A-1.shtml#A-1
>
> On this page, and many others, I have images which are currently sized with tags such as:
> <img class="fl" src="A-Images/0.b_EireneC.jpg" alt="Real Soon Now" width="66%">
> with width in percent. This means that they scale nicely on different sized screens, and
> it works on everything I have tried, keeping captions neatly beside the images. The
> validator insists that only 'px' should be used for widths, but this gives erratic results
> on displays with different pixels/cm densities.
>
> What to do?
>
> Ben Becula
>
>
Received on Wednesday, 5 June 2013 15:29:01 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:08 UTC