Linux中国 Linux中国门户站!
设为主页 设为主页
收藏本站 收藏本站
 
当前位置 :首页 ->网站设计 ->CSS/CSS2 ->正文

CSS让表格的溢出内容隐藏起来

来源:Linuxdby.com 作者:Webmaster 时间:2007-04-12 点击: [收藏] [投稿]

<div style="width:150px;height:50px;overflow:hidden;">
<table cellspacing="0" cellpadding="0">
<tr>
<td>网页陶吧网页陶吧网页陶吧网页陶吧网页陶吧网页陶吧网页陶吧网页陶吧网页陶吧网页陶吧网页陶吧网页陶吧网页陶吧</td>
</tr>
<tr>
<td>网页陶吧网页陶吧网页陶吧网页陶吧网页陶吧网页陶吧网页陶吧网页陶吧网页陶吧网页陶吧网页陶吧网页陶吧</td>
</tr>
<tr>
<td>网页陶吧网页陶吧网页陶吧网页陶吧网页陶吧网页陶吧网页陶吧网页陶吧网页陶吧网页陶吧网页陶吧网页陶吧</td>
</tr>
</table>
</div>

<script language="Javascript">
var now = new Date();
document.write("<img src='http://counter.yesky.com/counter.shtml?CID=54197&AID=-1&refer="+escape(document.referrer)+"&rand="+ now.getTime()  + "&cur="+escape(document.URL)+"' border='0' alt='' width='0' height='0'>");
</script>
<noscript>
<img src="http://counter.yesky.com/counter.shtml?CID=54197&AID=-1&refer=noscriptcounter&cur=noscriptcounter" border='0' width='0' height='0'/>
</noscript>





 如果您对本文有任何疑问或者建议,请到讨论区发表您的意见: >> 论坛入口 <<



上一篇: 使用 CSS 创建固定宽度的布局   下一篇: 通过CSS类型的顺序改变翻滚效果

文章评论】 【收藏本文】 【推荐好友】 【打印本文】 【我要投稿】 【论坛讨论
更多相关文章
Power by linux-cn.com 粤ICP备05006655号