我正在查看一个可以在除 IE 之外的所有其他浏览器中运行的网站。
像下面这样的链接在 IE 中不起作用是有原因的吗?
代码:
<form action="<?php echo base_url(); ?>shop/cart/add/<?php echo base64_url_encode(url_req()); ?>/" method="post">
<div style="height: 150px;"><a href="<?php echo base_url(); ?>shop/product/details/<?php echo $c->getId(); ?>/"><?php if($im = Shop_image::retrieveByPk($c->getCover_image_id())) echo '<img src="',base_url(),$im->getMedium_path(),'" alt="click to read more" style="max-height: 120px; max-width: 120px;" />'; ?></a></div>
<p style="height: 30px;"><a class="products_name" href="<?php echo base_url(); ?>shop/product/details/<?php echo $c->getId(); ?>/"><?php echo $c->getName(); ?></a></p>
<p><span class="price"><?php if($s=Shop_special::retrieveByCatalogId($c->getId())): echo '<small><del>$', number_format($c->getPrice_net()*1.15,2),'</del></small> '; ?>$<?php echo number_format($s->getNew_price()*1.15,2); ?><?php else: ?><?php if(count($cheap=Shop_quantity_price::retrieveByCatalogIdCheapest($c->getId()))!=0): ?>From $<?php echo number_format($cheap[0]->getPrice_per_item()*1.15,2); else: ?>$<?php echo number_format($c->getPrice_net()*1.15,2); ?><?php endif; ?><?php endif; ?></span><span class="currency"> NZD</span></p>
<p><a style="text-decoration: none;" href="<?php echo base_url(); ?>shop/product/details/<?php echo $c->getId(); ?>/"><img src="<?php echo base_url(); ?>assets/images/button_more.jpg" > </a>
<input type="hidden" name="catalog" value="<?php echo base64_url_encode($c->getId()); ?>" /><input type="image" src="<?php echo base_url(); ?>assets/images/button_buynow.jpg" onclick="location.href='<?php echo base_url(); ?>shop/product/details/<?php echo $c->getId(); ?>/'" value="Buy Now" /></p>
</form>