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 大田斗
主站蜘蛛池模板:
亚洲精品视频免费
|
国产精品免费久久久久影院
|
蜜臀91精品国产免费观看
|
亚洲深深色噜噜狠狠网站
|
免费无码AV电影在线观看
|
亚洲人成77777在线播放网站不卡
|
免费国产黄网站在线观看
|
91亚洲va在线天线va天堂va国产
|
国产啪精品视频网站免费尤物
|
亚洲中文久久精品无码
|
黄页免费在线观看
|
亚洲A∨无码一区二区三区
|
在线观看免费av网站
|
亚洲人成7777影视在线观看
|
性生交片免费无码看人
|
色天使色婷婷在线影院亚洲
|
免费一级毛片一级毛片aa
|
色老头综合免费视频
|
亚洲精品无码专区久久久
|
三年片在线观看免费观看大全一
|
亚洲视频在线免费看
|
午夜视频在线观看免费完整版
|
亚洲AV无码国产精品永久一区
|
一区二区三区亚洲视频
|
久久免费线看线看
|
亚洲永久在线观看
|
亚洲国产午夜福利在线播放
|
污视频在线观看免费
|
亚洲欧美日韩中文字幕一区二区三区
|
免费在线观看黄色毛片
|
日韩精品免费视频
|
国产婷婷综合丁香亚洲欧洲
|
亚洲国产91精品无码专区
|
国产精品99久久免费观看
|
国产亚洲中文日本不卡二区
|
亚洲欧洲日产国码高潮αv
|
亚洲三级在线免费观看
|
青青草97国产精品免费观看
|
亚洲精品自产拍在线观看动漫
|
日韩精品成人无码专区免费
|
亚洲欧美日韩中文二区
|