您当前位置:网站首页 >> 编程开发 >> HTML >> HTML 布局

HTML 布局

2013-10-15 09:55:34 来源:奇库斯(QCOOLS) 浏览:110
关键字:布局,随处,报纸,格式,分栏,HTML,table,颜色

内容提要:

在网络上,随处都可以看到像报纸那样的格式化分栏。

HTML布局 - 使用表格
One very common practice with HTML, is to use HTML tables to format the 

在网络上,随处都可以看到像报纸那样的格式化分栏。

 

HTML布局 - 使用表格

One very common practice with HTML, is to use HTML tables to format the layout of an HTML page.

A part of this page is formatted with two columns, like a newspaper page.

As you can see on this page, there is a left column and a right column.

This text is displayed in the left column.

An HTML <table> is used to divide a part of this Web page into two columns.

The trick is to use a table without borders, and maybe a little extra cell-padding.

No matter how much text you add to this page, it will stay inside its column borders.

同样的布局 - 添加了颜色

One very common practice with HTML, is to use HTML tables to format the layout of an HTML page.

A part of this page is formatted with two columns, like a newspaper page.

As you can see at this page, there is a left column and a right column.

An HTML <table> is used to divide a part of this Web page into two columns.

This text is displayed in the right column.

The trick is to use a table without borders, and maybe a little extra cell-padding.

No matter how much text you add to this page, it will stay inside its column borders.



相关文章
发表评论
网名:
评论:
验证:
共有0人对本文发表评论查看所有评论(仅供表达个人看法,并不表明本站同意其观点或证实其描述)
赞助商链接