simplecart.js图片未显示在blogger.com网站上的IE8中

时间:2012-12-06 03:40:04

标签: javascript css image internet-explorer-8 blogger

图像在IE8中被扫描

的iFrame: 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]--> 

1 个答案:

答案 0 :(得分:0)

它是漂浮物:留在包裹跨度上。删除它,或将其宽度设置为100%或类似。你可能应该只为IE8及以下版本执行此操作。