BaoYaEr
一個完整的表格樣式定義
<!
DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"
>
<
html
>
<
head
>
<
meta
http-equiv
="Content-Type"
content
="text/html; charset=UTF-8"
>
<
title
>
CSS Test
</
title
>
<
style
type
="text/css"
>
table.default
{
}
{
background
:
#C1DCF7 none repeat scroll 0%
;
border
:
1px solid #C1DCF7
;
color
:
#000000
;
width
:
98%
;
border-collapse
:
collapse
;
margin
:
0 auto
;
}
table.default caption
{
}
{
background
:
transparent url(http://blog.sunshow.net/wp-content/uploads/2008/04/bg_list.gif) repeat-x scroll 0%
;
height
:
30px !important
;
line-height
:
30px
;
text-align
:
left
;
padding-left
:
10px
;
font-size
:
14px
;
font-weight
:
bold
;
color
:
#FFFFFF
;
}
table.default caption a:link, table.default caption a:visited
{
}
{
color
:
#000000
;
font-size
:
12px
;
text-decoration
:
underline
;
}
table.default caption a:hover
{
}
{
font-size
:
12px
;
color
:
#14568A
;
}
table.default thead tr
{
}
{
background
:
#C1DCF7 none repeat scroll 0%
;
color
:
#000000
;
height
:
25px
;
line-height
:
25px
;
text-align
:
center
;
font-size
:
13px
;
}
table.default thead tr th
{
}
{
border-color
:
#C1DCF7
;
/**/
/*
fix for IE
*/
}
table.default tbody
{
}
{
background
:
#FFFFFF none repeat scroll 0%
;
text-align
:
left
;
}
table.default tbody tr
{
}
{
height
:
25px
;
line-height
:
25px
;
event
:
expression(
(this.onmouseover = function() {this.className += ' over'
;
}
) &&
(this.onmouseout = function()
{
}
{
this.className = this.className.replace(' over', '');
}
)
);
}
table.default tbody tr:hover, table.default tbody tr.over
{
}
{
background-color
:
#E8F0FF
;
}
table.default tbody tr td
{
}
{
font-size
:
12px
;
padding
:
0 0 0 5px
;
border-color
:
#C1DCF7
;
/**/
/*
fix for IE
*/
}
table.default tbody tr td
{
}
{
/**/
/*
fix for IE when align="center" or align="right"
*/
padding-left
:
expression(
(((this.align == 'center') || (this.align == 'right')) ? '0px' : '5px')
)
;
padding-right
:
expression(
((this.align == 'right') ? '5px' : '0px')
)
;
}
table.default tbody tr td[align="center"]
{
}
{
padding
:
0
;
}
table.default tbody tr td[align="right"]
{
}
{
padding
:
0 5px 0 0
;
}
</
style
>
</
head
>
<
body
>
表格樣例
<
table
class
="default"
cellpadding
="1"
cellspacing
="0"
rules
="all"
>
<
caption
>
我是標題
</
caption
>
<
thead
>
<
tr
>
<
th
>
表頭1
</
th
>
<
th
>
表頭2
</
th
>
<
th
>
表頭3
</
th
>
</
tr
>
</
thead
>
<
tbody
>
<
tr
>
<
td
>
左對齊
</
td
>
<
td
align
="center"
>
居中
</
td
>
<
td
align
="right"
>
右對齊
</
td
>
</
tr
>
<
tr
>
<
td
>
測試1
</
td
>
<
td
align
="center"
>
測試2
</
td
>
<
td
align
="right"
>
測試3
</
td
>
</
tr
>
</
tbody
>
</
table
>
</
body
>
</
html
>
發表于 2008-05-26 13:47
大田斗
閱讀(1072)
評論(0)
編輯
收藏
所屬分類:
html/js/css
新用戶注冊
刷新評論列表
只有注冊用戶
登錄
后才能發表評論。
網站導航:
博客園
IT新聞
Chat2DB
C++博客
博問
管理
相關文章:
深入淺出之正則表達式【zt】
ExtJs2.0學習系列(8)--Ext.XTemplate
ExtJs2.0學習系列(7)--Ext.TabPanel
ExtJs2.0學習系列(6)--Ext.FormPanel之第五式(綜合篇)
ExtJs2.0學習系列(5)--Ext.FormPanel
ExtJs2.0學習系列(4)--Ext.FormPanel之第一式
ExtJs2.0學習系列(3)--Ext.Window
ExtJs2.0學習系列(2)--Ext.Panel
ExtJs2.0學習系列(1)--Ext.MessageBox
Ext.extend學習
<
2025年5月
>
日
一
二
三
四
五
六
27
28
29
30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
7
導航
BlogJava
首頁
發新隨筆
發新文章
聯系
聚合
管理
統計
隨筆: 32
文章: 427
評論: 144
引用: 0
常用鏈接
我的隨筆
我的評論
我的參與
最新評論
留言簿
(5)
給我留言
查看公開留言
查看私人留言
隨筆檔案
2008年12月 (1)
2008年4月 (2)
2008年2月 (1)
2008年1月 (1)
2007年12月 (3)
2007年11月 (1)
2007年10月 (3)
2007年7月 (2)
2007年6月 (1)
2007年4月 (2)
2007年3月 (3)
2007年2月 (5)
2007年1月 (3)
2006年12月 (4)
文章分類
axis(6)
(rss)
eclipse(7)
(rss)
Hibernate(30)
(rss)
html/js/css(107)
(rss)
java(106)
(rss)
linux(7)
(rss)
Lucene(7)
(rss)
spring(36)
(rss)
Spring CLOUd(1)
(rss)
Strtus(30)
(rss)
其它(48)
(rss)
開源opensource(48)
(rss)
數據庫DateBase(30)
(rss)
設計模式(12)
(rss)
文章檔案
2018年8月 (1)
2012年5月 (1)
2012年4月 (2)
2011年7月 (6)
2010年3月 (1)
2010年2月 (1)
2010年1月 (3)
2009年12月 (1)
2009年10月 (1)
2009年8月 (3)
2009年3月 (1)
2009年2月 (1)
2008年12月 (3)
2008年11月 (10)
2008年10月 (3)
2008年9月 (2)
2008年8月 (2)
2008年7月 (4)
2008年6月 (13)
2008年5月 (15)
2008年4月 (9)
2008年3月 (10)
2008年1月 (18)
2007年12月 (33)
2007年11月 (6)
2007年10月 (18)
2007年9月 (10)
2007年8月 (18)
2007年7月 (15)
2007年6月 (25)
2007年5月 (19)
2007年4月 (26)
2007年3月 (38)
2007年2月 (33)
2007年1月 (27)
2006年12月 (27)
2006年11月 (12)
java
Ajax特效網站
cndiy nio
GRO
Hani Suleiman's blog
Java之路
java論壇
J道
mule
mule 入門
oksonic(動畫教程)
一路由你
中國eclipse
八進制
在線源碼
多線程實戰
天火
小米的blogjava
幻境伯克----jface/swt
很全的博克-強
每日一得
滿江紅
邢紅瑞
飛翔
鳥詩選(js)
鳥食軒 (dhtml)
工具
apache中文手冊
extjs學習
iconFindre
java 安全
javaresearch
java技巧網
js之王
matrix(study)
prototype api
spring中文
北京IT企業速查
在線流程圖工具
雅虎翻譯
朋友
Happyshow
hibernate異常
skywalker
sunshow
xf
亞光
同云博客
小弟鵬
張玉磊
昕
李陽
黃鳴
搜索
積分與排名
積分 - 1101556
排名 - 28
最新評論
1.?re: hibernate.cfg.xml配置
好全啊 .. 棒棒噠 ~ !
--junqinag.yang
2.?re: Quartz任務調度快速入門
我現在來看還是覺得不錯
--小任
3.?re: js中this的總結
評論內容較長,點擊標題查看
--pam
4.?re: Quartz任務調度快速入門
樓主辛苦
--yd
5.?re: Quartz任務調度快速入門
頂了,內容寫的很好
--sen
閱讀排行榜
1.?網頁不緩存(3552)
2.?Form嵌套引起的問題 (2850)
3.?解決IE下CSS背景圖片閃爍的Bug(2445)
4.?Spring AOP的動態載入原理(2403)
5.?如何制作漂亮的Excel表格(2044)
評論排行榜
1.?北京戶口--吃官司(5)
2.?開始→運行→輸入的命令集錦(3)
3.?讓網頁上的所有圖片動起來(2)
4.?Dom4j 編碼問題徹底解決 (1)
5.?心情不爽(1)
Powered by:
博客園
模板提供:
滬江博客
Copyright ©2025 大田斗
主站蜘蛛池模板:
久操视频免费观看
|
最好免费观看高清在线
|
97无码免费人妻超级碰碰夜夜
|
亚洲精品无码午夜福利中文字幕
|
日韩精品无码永久免费网站
|
国产精品公开免费视频
|
亚洲综合国产成人丁香五月激情
|
日韩免费视频播放
|
亚洲gay片在线gv网站
|
日韩成人在线免费视频
|
亚洲第一综合天堂另类专
|
日韩a在线观看免费观看
|
色婷婷六月亚洲综合香蕉
|
天堂亚洲免费视频
|
国产99久久久久久免费看
|
亚洲老妈激情一区二区三区
|
国产成人免费ā片在线观看老同学
|
国产AV无码专区亚洲AV男同
|
四虎国产成人永久精品免费
|
中文字幕免费视频
|
2022年亚洲午夜一区二区福利
|
久久精品无码专区免费青青
|
亚洲成aⅴ人片在线观
|
国产福利在线观看免费第一福利
|
亚洲色精品VR一区区三区
|
精品国产免费人成电影在线观看
|
亚洲精品高清国产麻豆专区
|
免费无码又黄又爽又刺激
|
亚洲精品9999久久久久无码
|
亚洲中文字幕无码爆乳av中文
|
久久久久久AV无码免费网站
|
97久久国产亚洲精品超碰热
|
国产免费久久精品
|
国产成年无码久久久免费
|
亚洲国产精品久久人人爱
|
日本特黄a级高清免费大片
|
72pao国产成视频永久免费
|
亚洲国产精品人久久电影
|
免费一级国产生活片
|
无码av免费网站
|
国产亚洲福利一区二区免费看
|