【发布时间】:2012-11-24 01:36:06
【问题描述】:
图像在 IE8 中被压缩
iframed: http://techmobile.com/storeBETA.html
原网站: http://store-techmobile.blogspot.com/
为什么要这样做? IE9 没问题。
这是插入图片的代码:
<th class="item_thumb" id="thumb" width="45%"><a href="http://3.bp.blogspot.com/-
k1EQIca2tCw/TdtZUjHTeGI/AAAAAAAACAs/vNwQwZAVkaI/s1600/blue.gif" onblur="try
{parent.deselectBloggerImageGracefully();} catch(e) {}"><img alt="" border="0"
id="BLOGGER_PHOTO_ID_5610175970378217570" src="http://3.bp.blogspot.com/-
k1EQIca2tCw/TdtZUjHTeGI/AAAAAAAACAs/vNwQwZAVkaI/s400/blue.gif" style="cursor: hand;
cursor: pointer; display: block; height: 164px; margin: 0px auto 10px; text-align:
center; width: 148px;" /></a></th>
<td><input class="item_add" type="button" value="Add to Cart" /></td>
</tr>
项目拇指宽度在 IE8 中是否被压缩?我想在更改设置和编写代码之前查明原因是什么。此代码是插入到 blogger.com 后端的代码表的一部分,因此会显示一个用于发布图片、价格、描述详细信息等的表。根据 BloggerMints 说明: http://www.bloggermint.com/2011/05/shopping-cart-blogger-template/
我使用的是 Mac,因此无法访问 IE8 的开发人员工具。非常感谢任何见解。
而且我对如何编写代码有点困惑,因为它不是简单的 CSS 转移重写,例如:
<!--[if IE 8]>
<link rel="stylesheet" href="css/ie8.css" type="text/css" />
<![endif]-->
【问题讨论】:
标签: javascript css image internet-explorer-8 blogger