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
大田斗
閱讀(1080)
評論(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年7月
>
日
一
二
三
四
五
六
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
8
9
導航
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
亞光
同云博客
小弟鵬
張玉磊
昕
李陽
黃鳴
搜索
積分與排名
積分 - 1104752
排名 - 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.?網頁不緩存(3564)
2.?Form嵌套引起的問題 (2868)
3.?解決IE下CSS背景圖片閃爍的Bug(2458)
4.?Spring AOP的動態載入原理(2416)
5.?如何制作漂亮的Excel表格(2057)
評論排行榜
1.?北京戶口--吃官司(5)
2.?開始→運行→輸入的命令集錦(3)
3.?讓網頁上的所有圖片動起來(2)
4.?Dom4j 編碼問題徹底解決 (1)
5.?心情不爽(1)
Powered by:
博客園
模板提供:
滬江博客
Copyright ©2025 大田斗
主站蜘蛛池模板:
色天使亚洲综合一区二区
|
在线观看成人免费
|
中文字幕在线免费看线人
|
免费又黄又硬又爽大片
|
精品亚洲成A人在线观看青青
|
好爽…又高潮了毛片免费看
|
亚洲精品女同中文字幕
|
国产美女精品视频免费观看
|
亚洲人成人无码网www电影首页
|
国产日韩精品无码区免费专区国产
|
亚洲欧洲中文日韩av乱码
|
亚洲一级黄色大片
|
毛片免费全部免费观看
|
亚洲精品无播放器在线播放
|
88av免费观看入口在线
|
久久亚洲日韩看片无码
|
成人a毛片免费视频观看
|
国产亚洲精品影视在线产品
|
亚洲熟妇久久精品
|
国产一级大片免费看
|
亚洲欧洲日产国码www
|
a一级爱做片免费
|
亚洲AV本道一区二区三区四区
|
91老湿机福利免费体验
|
亚洲人成网站在线播放2019
|
在线人成精品免费视频
|
亚洲色大成网站www尤物
|
免费一级毛片正在播放
|
国产精品免费大片
|
亚洲免费观看视频
|
麻花传媒剧在线mv免费观看
|
亚洲一区二区三区影院
|
亚洲视频在线观看免费
|
亚洲最大激情中文字幕
|
91精品国产免费
|
亚洲AV无码一区二区三区久久精品
|
精品久久久久成人码免费动漫
|
久久精品国产亚洲麻豆
|
无限动漫网在线观看免费
|
久久精品免费网站网
|
亚洲精品国产第1页
|