W3C home > Mailing lists > Public > www-amaya@w3.org > January to March 2009

Bug with <img style="height:100%>

From: 笨乌不飞 WalkinRaven <walkinraven@gmail.com>
Date: Fri, 2 Jan 2009 16:04:30 +0800
Message-ID: <d455ee930901020004t1831a753v2a7aab845922307c@mail.gmail.com>
To: www-amaya@w3.org
My code is:

<div style="height:10em">

<img style="height:100% / scr="..."></img>

</div>

-----------------------

I just want my picture to display full of the DIV, but it show as it actual
size. this code can well treated by both IE and Firefox, and W3C's html 4 is
also defined that height can be given a % length.

Is the a bug? or there is a new way to write?

thank you.

-- 
我的个人主页:
My Homepage:
http://www.walkinraven.me/
Received on Saturday, 3 January 2009 15:38:35 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:40 UTC