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 大田斗
主站蜘蛛池模板:
波多野结衣中文字幕免费视频
|
a级毛片毛片免费观看永久
|
亚洲黄色片免费看
|
亚洲国产精品自在线一区二区
|
久久久久久久久久久免费精品
|
免费久久精品国产片香蕉
|
亚洲AV无码国产一区二区三区
|
女人被弄到高潮的免费视频
|
99久久精品毛片免费播放
|
亚洲精品一级无码中文字幕
|
一日本道a高清免费播放
|
国产免费爽爽视频免费可以看
|
国产精品无码亚洲一区二区三区
|
国产无遮挡吃胸膜奶免费看
|
老司机亚洲精品影院在线观看
|
日本免费无遮挡吸乳视频电影
|
美女视频黄a视频全免费网站一区
|
午夜亚洲国产成人不卡在线
|
一级做α爱过程免费视频
|
亚洲色WWW成人永久网址
|
久久精品国产大片免费观看
|
亚洲影视一区二区
|
日韩中文字幕在线免费观看
|
国产亚洲精彩视频
|
亚洲中文字幕在线观看
|
日本一道本不卡免费
|
亚洲精品无码成人片在线观看
|
精品多毛少妇人妻AV免费久久
|
久久精品国产96精品亚洲
|
波多野结衣中文字幕免费视频
|
亚洲av乱码一区二区三区按摩
|
亚洲中文字幕无码久久精品1
|
无码人妻AV免费一区二区三区
|
亚洲人成片在线观看
|
免费播放特黄特色毛片
|
色播在线永久免费视频网站
|
亚洲免费视频网址
|
亚洲女同成人AⅤ人片在线观看
|
99热免费在线观看
|
免费在线观看亚洲
|
亚洲黄色免费电影
|