個人檔案百无禁忌相片部落格清單更多 工具 說明
2005/6/28

利用<table></TABLE>创建表格

by gouy2k

(转贴或引用代码请注明作者和出处)

 

一个好消息, 微软开放了以前关闭的<table></TABLE>,示例如下

 

         
         
         

 

代码分析如下

<TABLE width=200 border=1><<----width 是宽度控制, bord而是边框线条粗细,单位是象素
<TBODY>
<TR>
<TD>&nbsp;</TD>  棕色代表一个row里有五个列
<TD>&nbsp;</TD>
<TD>&nbsp;</TD>
<TD>&nbsp;</TD>
<TD>&nbsp;</TD></
TR>
<TR>
<TD>&nbsp;</TD>
<TD>&nbsp;</TD>
<TD>&nbsp;</TD>
<TD>&nbsp;</TD>
<TD>&nbsp;</TD></TR>

<TR>
<TD>&nbsp;</TD>
<TD>&nbsp;</TD>
<TD>&nbsp;</TD>
<TD>&nbsp;</TD>
<TD>&nbsp;</TD></TR></
TBODY></TABLE>  三种不同颜色代表三行

 

 

全部就是三行伍列. 很简单明了吧.

 

可以根据不同需要调整整个table,懂html的自己研究一下拉,哈

 

         
         
         

 

ps. html创建表格的一些相关属性

 

相关属性 :
· ALIGN 调整
· BGCOLOR 背景颜色
· BORDER 边框
· HEIGHT 高度
· WIDTH 宽度 <CAPTION>...</CAPTION> 表格标题 。

相关属性 :
· ALIGN 调整 <TR>...</TR> 表格列 ( </TR>可省略 ) 。

相关属性 :
· ALIGN 调整 <TH>...</TH> 表格栏标题 ( 表头 ) 粗体字 ( </TH>可省略 ) 。

相关属性 :
· ALIGN 调整
· COLSPAN 栏宽
· ROWSPAN 栏高 <TD>...</TD> 表格栏资料 ( 储存格 ) ( </TD>可省略 ) 。

相关属性 :
· ALIGN 调整
· BGCOLOR 背景颜色
· HEIGHT 高度
· WIDTH 宽度
· COLSPAN 栏宽
· ROWSPAN 栏高

web log free

回應 (10)

請稍候...
很抱歉,您輸入的回應過長。請縮短您的回應。
您尚未輸入內容,請再試一次。
很抱歉,目前無法新增您的回應,請稍後再試。
若要新增回應,您的父母必須先給您權限。要求權限
您的家長已關閉回應功能。
很抱歉,目前無法刪除您的回應,請稍後再試。
您已超過每日回應上限次數,請於 24 小時後再試一次。
由於系統顯示您可能傳送垃圾郵件給其他使用者,因此您帳號中的回應功能已遭停用。 如果您認為自己帳號遭錯誤停用,請連絡 Windows Live 支援
請完成下列安全檢查,以完成回應。
您輸入的安全檢查字元必須與圖片或音訊中的字元相符。

若要新增回應,請以您的 Windows Live ID 登入 (若您使用 Hotmail、Messenger 或 Xbox LIVE,則您已擁有 Windows Live ID)。登入


沒有 Windows Live ID?註冊

匿名 的圖片
JWW 撰寫:
This day was also considered as a harvest festival since wow goldfruits, vegetables and grain had aoc goldbeen harvested by this time and food was abundant. Food offerings were placed on an altar set up in the courtyard. Apples, pears, peaches, grapes,maple story mesos pomegranates, melons, oranges maplestory mesosand pomelos might be seen. Special foods for the festival included moon cakes, cooked taro and water caltrope, a type of water maple story mesochestnut resembling black buffalo horns. Some people insisted that cooked taro be included because at the time of creation, aoc goldtaro was the first food discovered at night in the moonlight. Of allthese foods, it wow goldcould not be omitted from the Mid-Autumn wow goldFestival.The round moon cakes, measuring about three inches in diameter and one and a half inches in thickness, resembled Western fruitcakes in taste and consistency. These wow goldcakes were made with melon seeds, lotus seeds, almonds, minced meats, bean paste, orange peels and lard. A golden yolk from a salted duck egg was placed at the wow goldcenter of each cake, and the golden brown crust was decorated with symbols of the festival. Traditionally, thirteen moon cakes were piled in a pyramid to symbolize the thirteen moons of a "complete year," that is, twelve wow goldmoons plus one intercalary moon. The Mid-Autumn wow goldFestival is a traditional festivity for both the Han and minority nationalities. The custom of worshipping the moon can be traced back as far as the wow goldancient Xia and Shang Dynasties (2000 B.C.-1066 B.C.). In the Zhou Dynasty(1066 B.C.-221 B.C.), people hold wow goldceremonies to greet winter and worship the moon whenever the Mid-Autumn Festival sets in. It becomes very wow goldprevalent in the Tang Dynasty(618-907 A.D.) that people enjoy and worship the full moon. In the Southern Song Dynasty (1127-1279 A.D.), however, people send round moon cakes to their relatives as gifts in expression wow goldof their best wishes of family reunion. When it becomes dark, they look up at the full silver moon or go sightseeing on lakes to celebrate the festival. Since the Ming (1368-1644 A.D. ) and Qing Dynasties (1644-1911A.D.), the custom of Mid-Autumn Festival celebration becomes unprecedented popular. Together with the celebration there appearwow gold some special customs in different parts of the country, such as burning incense, planting Mid-Autumn trees, lighting lanterns on towers and fire dragon dances. However, the custom of playing under the moon is not so popular as it used to be nowadays, but it is not less popular to enjoy the brightwow gold silver moon. Whenever the festival sets in, people will look up at the full silver moon, drinking wine to celebrate their happy life or thinking of their relatives and friends far from home, and extending all of their best wishes to them.
9 月 5 日
匿名 的圖片
9 月 5 日
ご壊吖頭︶撰寫:
看不太懂啊!!
12 月 10 日
Shennono撰寫:
天资愚钝...
看8大懂
4 月 30 日
匿名 的圖片
天一無花™ 撰寫:
怎么做到表格不至于被文字撑大起来,求救:一定要帮忙!!!
1 月 17 日
匿名 的圖片
AA-Apple 撰寫:
想过要做
不过日志要手工置顶
就放弃了
不过会学习一下
谢谢
9 月 14 日
匿名 的圖片
mayl兰花草 撰寫:
如果EXCEL表能直接复制过去就省事了。
7 月 12 日
匿名 的圖片
Ricess 撰寫:
好象只会直接搬过去模仿,但不会更改其他形式
7 月 9 日
匿名 的圖片
---小宇______mQs______ 撰寫:
暂时对表格兴趣不大!
6 月 29 日
匿名 的圖片
奶茶的味道 撰寫:
这个有什么用?
6 月 28 日

引用通告 (2)

此內容的引用通告是:
http://gouy2k.spaces.live.com/blog/cns!6BC65641375BEA45!1992.trak
引述這則內容的部落格