nic*_*ckf 1 html internet-explorer
我有一个包含此HTML的页面:
<p>
<img src="images/ih01.jpg" width="80" height="110" align="left" />
This course overs basic human anatomy and physiology, including the major
body systems and their functions. When you have completed this course you
will be able to identify major body components and their core physiological
functions.
</p>
Run Code Online (Sandbox Code Playgroud)
这就是它在Firefox 3,Chrome 1.0和IE7中的显示方式:(点击查看完整尺寸)
http://fisher.spadgos.com/stuff/ie-align-fail.png
你可以看到IE没有将文本包裹在图像周围,即使它是左对齐的.有任何想法吗?
使用:
<img src="images/ih01.jpg" style="float: left; height: 110px; width: 80px; " >
Run Code Online (Sandbox Code Playgroud)
而不是对齐.不推荐使用 align属性.
| 归档时间: |
|
| 查看次数: |
4552 次 |
| 最近记录: |