我想要的圖片在這個表空間分開,使用CSS邊框間距屬性,但由於某種原因,它不工作。你可以看到圖像在這裏仍然粘在JSFiddle中:http://jsfiddle.net/nKgnq/表格邊框間距不工作
我試圖通過在圖像周圍放置填充來代替它,但無濟於事。我怎樣才能將這些照片分開?
生成表的代碼是在這裏:
<div class="table-right">
<table class="fixed-height fixed-width fixed-cell">
<tr>
<td class="valigned"><h3 class="date">Details</h3>
<?php the_field('details');?>
</td>
<td class="valigned">
<a href="<?php echo MultiPostThumbnails::get_post_thumbnail_url(get_post_type(), 'secondary-image');?>">
<img class="detail-image" src="<?php echo MultiPostThumbnails::get_post_thumbnail_url(get_post_type(), 'secondary-image');?>">
</a>
</td>
<td class="valigned">
<a href="<?php echo MultiPostThumbnails::get_post_thumbnail_url(get_post_type(), 'tertiary-image');?>">
<img class="detail-image" src="<?php echo MultiPostThumbnails::get_post_thumbnail_url(get_post_type(), 'tertiary-image');?>">
</a>
</td>
<td class="valigned">
<a href="<?php echo MultiPostThumbnails::get_post_thumbnail_url(get_post_type(), 'fourth-image');?>">
<img class="detail-image" src="<?php echo MultiPostThumbnails::get_post_thumbnail_url(get_post_type(), 'fourth-image');?>">
</a>
</td>
</tr>
</table>
</div>
你可以發佈與提琴工作圖像和只是不工作的代碼部分。 – ThinkingStiff 2013-02-21 02:57:51
您的jsfiddle充斥着破碎的形象等清潔你的jsfiddle是,我們越早將能夠幫助你 – abbood 2013-02-21 04:31:22