<table  style="width:24px; height:24px;">
    <tr><td style="background: url(/images1/icons_mainnav.png) left center;background-position: 0 -310px;">
    </td></tr>
    </table>

把图片做为背景图 并  对齐

background-position 显示的坐标

posted on 2010-12-20 11:22  cqsar  阅读(304)  评论(0编辑  收藏  举报