日期:2014-05-17 浏览次数:20764 次
.widget-repeat ul {
width:285px;
}
.widget-repeat li {
border-left:1px solid #ccc;
border-top:1px solid #ccc;
float:left;
width:93px;
text-align:center;
line-height:33px;
}
<div class=widget-repeat>
<div style="clear: both; margin: 0px 0px 15px 0px;"></div>
<ul>
<li style="list-style-type:none>
<a href="<?php the_permalink(); ?>"><img src="<?php $values = get_post_custom_values("thumbnail_url"); echo $values[0]; ?>" class="img-bigthumb-list" title="Play <?php the_title_attribute(); ?>" alt="" height="90" width="90" /></a><br/>
<a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php short_title('', '', true, '10'); ?></a>
</li>
</div>
<div>
<a href="<?php the_permalink(); ?>"><img src="<?php $values = get_post_custom_values("thumbnail_url"); echo $values[0]; ?>" class="img-bigthumb-list" title="Play <?php the_title_attribute(); ?>" alt="" height="90" width="90" /></a><br/>
<a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php short_title('', '', true, '10'); ?></a>
</div>
------解决方案--------------------
要去圆点
ul,li{list-style-type:none} 就可以了
还要加上这个margin:0;padding:0
综合一起就是
ul,li{list-style-type:none;margin:0;padding:0}
------解决方案--------------------
楼主那个图片里的圆点貌似不是list-style-type产生的
给标题的a里加个style="background:none;"先确实是否是背景图片