<img src="xxx.img" width="16" height="16" style="width: 16px; height: 16px"></img>
解决方法
把它们加起来:
The gain from declaring a width value
and an height value (which may not be
the original physical dimensions of
the image) or from css declarations
(like width: [valueX]; height:
[valueY];) is that it helps speed up
the rendering of the page. The browser
kNows how much space to allocate a
particular area of the page: it will
even draw image placeholders on a
first draw,a first parsing+rendering
of the page. When one does not define
any width and height,then the browser
has to download the image and then
figure out its dimensions,space to
allocate and then redraw the page.
这似乎是我看来最有利的效果.
原文地址:https://www.jb51.cc/html/229232.html
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。