打印本文 打印本文 关闭窗口 关闭窗口
CSS实现简单的横向排列demo
作者:武汉SEO闵涛  文章来源:敏韬网  点击数820  更新时间:2009/4/23 13:47:03  文章录入:mintao  责任编辑:mintao
<STYLE>
.sp{ width:97%;font-family: Tahoma, Verdana
;}
.sp font, .sp a, .sp a:visited{width:24.5%;padding:3px;margin-bottom:3;text-align:center;border:1px ridge
#8099FF;background-color:#BFD9FF;text-decoration: none;}
.sp a{  color:
#006699;}
.sp a:hover{ color:red;background:
#efefef;}
.sp font.sw { color:
#fff;width:99.8%;background-color:#007ACC;font-weight:bold;}
</STYLE
>
<span class=sp
>
    <font class=sw>width:99.8%;</font
>
    <font>这总宽有97%</font
>
    <font>每格32.9=</font
>
    <font>我们可以案比例</font
>
    <


打印本文 打印本文 关闭窗口 关闭窗口