在CSS中做一个表 [英] Doing a table in CSS

查看:64
本文介绍了在CSS中做一个表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

-

我刚开始进入CSS。我喜欢保留所有

我的html简单和通用外观。


我想用一张桌子,因为我有,(喘气)表格

数据。我希望它看起来像一张桌子。不仅如此,

但我希望它看起来像普通的普通

简单的香草桌,看起来像每个人

else''表格。


在我看来,唯一合理简单的方法就是声明样式过渡,并使用< TABLE>


还有更好的办法吗?


- digsig

James A. Donald

6YeGpsZR + nOTh / cGwvITnSR3TdzclVpR0 + pr3YYQdkG

I + ZMSazMMSKlfyX + QwvlSFcNl49Fafn5glRFYcFV

4SY3 / GBXA3FTNgCjcJdokwMMCbs5dlavAIpG3504w

-
http://www.jim.com

--
I am just beginning to get into CSS. I like to keep all
my html simple and generic looking.

I want to use a table, because I have, (gasp) tabular
data. I want it to look like a table. Not only that,
but I want it to look like a plain ordinary
uncomplicated vanilla table, to look like everyone
else''s table.

Seems to me that the only reasonably easy way to do this
is to declare the style transitional, and use <TABLE >

Is there a better way?

--digsig
James A. Donald
6YeGpsZR+nOTh/cGwvITnSR3TdzclVpR0+pr3YYQdkG
I+ZMSazMMSKlfyX+QwvlSFcNl49Fafn5glRFYcFV
4SY3/GBXA3FTNgCjcJdokwMMCbs5dlavAIpG3504w
--
http://www.jim.com

推荐答案

James A. Donald写道:
James A. Donald wrote:
-
我刚开始进入CSS。我喜欢保持所有
我的html简单和通用的外观。

我想使用一个表,因为我有,(喘气)表格数据。我希望它看起来像一张桌子。不仅如此,
但我希望它看起来像一个普通的简单的香草桌,看起来像每个人
别人的桌子。

似乎我唯一合理简单的方法就是声明过渡风格,并使用< TABLE>

有更好的方法吗?

--digsig
--
I am just beginning to get into CSS. I like to keep all
my html simple and generic looking.

I want to use a table, because I have, (gasp) tabular
data. I want it to look like a table. Not only that,
but I want it to look like a plain ordinary
uncomplicated vanilla table, to look like everyone
else''s table.

Seems to me that the only reasonably easy way to do this
is to declare the style transitional, and use <TABLE >

Is there a better way?

--digsig




由于你有表格数据,我会选择一张桌子,这就是他们的用途。


============================

http://www.allmyfaqs.com/faq.pl?Tableless_layouts


基于CSS的布局


HTML从未被设计为布局语言。 <表>元素是

用于标记表格数据(例如你在电子表格中找到的)。

CSS(层叠样式表)是专为设计和表现而设计的

问题 - 让页面更容易,更快速地编码,更易于管理,

可访问,并且下载速度更快。


Do不要让术语无表格布局愚弄你,这意味着它说的确是什么,它并不意味着无表格的网页。你应该继续使用表来获取表格数据。


==================== ========

http://webdesign.about.com/od/css/a/aa102102a.htm


.... CSS定位(CSS-P)是使用XHTML创建基于Web

页面的唯一方法。为什么?因为XHTML要求只使用表格来定义表格数据,而不是用于布局。


========== ==================

http://www.tableless.com.br/en/


什么是Tableless?


Tableless不是技术,也不是编程语言,更不用说是b $ b b应用了!无表格是建立清洁,可访问和标准投诉网站的方法的一个相当误导性的名称。

尽管如此,无表格是一个最好的描述主要概念

朝着一个更容易访问的网站:取消表格作为设计网站的手段。


我们使用CSS来格式化文本标记文件中包含的信息

,或者,如果您愿意,还可以使用(X)HTML文件。


澄清:我们不会使用臭名昭着的表来构建网站。

为此我们只使用CSS。我们没有摆脱桌子。在

无表格方法中,所有标签都是人工使用的,即每个标签都有自己的角色。如果你想要一个斜体文字,你应该使用

< i>< / i>标签。想要一个段落?使用< p>< / p>得到它了?所以,如果你想要显示表格式数据,例如
,例如产品清单及其价格,名称,如果它在库存中可用,则为
;你应该使用表格。因此,使用

表来显示表格数据是正确的,但从不使用它们来布局

结构化。


==== ========================
http://www.dcddesigns.com/folder/web...esign-Services


无表格CSS驱动流体网站设计


所以你可能会问什么是表格以及为什么从我的

网站上删除它们?很高兴你问!设计师将一个网站的图形布局重新组合在一起,错误地将表格用于了很多年b / b
$ b类似于拼图游戏。


....从非表格数据中删除表格也可以让那些具有

残疾和图像禁用浏览器的人获得更有意义的体验

与您的网站随着越来越多的非计算机设备能够访问网站,您的网站将随时可以访问它们!



Since you have tabular data, I''d go with a table, that''s what they''re for.

============================

http://www.allmyfaqs.com/faq.pl?Tableless_layouts

CSS-Based Layouts

HTML was never designed to be a layout language. The <table> element was
designed to mark-up tabular data (such as you''d find in a spreadsheet).
CSS (Cascading Style Sheets) was designed for design and presentational
issues - and makes pages easier and faster to code, more manageable,
accessible, and faster to download.

Do not let the term "tableless layouts" fool you, it means exactly what
it says, it does not mean "tableless webpages". You should continue to
use tables for tabular data.

============================

http://webdesign.about.com/od/css/a/aa102102a.htm

....CSS Positioning (CSS-P) is the only way to create standards based Web
pages using XHTML. Why? Because XHTML requires that tables only be used
to define tabular data, and not be used for layout.

============================

http://www.tableless.com.br/en/

What is Tableless?

Tableless isn''t a technology, nor a programming language, much less an
application! Tableless is a rather misleading name for a method of
building clean, accessible and standard complaint websites.
Notwithstanding, "tableless" is what best describes the main concept
towards a more accessible web: the abolishing of tables as a means of
designing web sites.

We use CSS to format the information contained in the text markup files
or, if you prefer, (X)HTML files.

Clarifying: We don''t use the infamous tables to structure the website.
For this we use exclusively CSS. We didn''t get rid of the tables. In the
tableless method, all the tags are used semantially, i.e, each tag has
its own role. If you want to have an italic text, you should use the
<i></i> tag. Want a paragraph? Use <p></p> Got it? So, if you want to
display tabular data , e.g. a list of products with their prices, names,
if it''s available in the stock; you should use tables. Therefore, using
tables to display tabular data is right but never use them to layout
structuring.

============================

http://www.dcddesigns.com/folder/web...esign-Services

Tableless CSS Driven "Fluid" Website Design

So you may be asking "what are tables and why does removing them from my
website help?" Glad you asked! Tables have mistakenly been used for many
years by designers to piece a site''s graphic layout back together,
similar to a jigsaw puzzle.

.... Removing tables from non-tabular data will also allow those with
disabilites and image disabled browsers a more meaningful experience
with your website and as more and more non computer devices are able to
access websites your site will be ready to go on them!


James A. Donald写道:
James A. Donald wrote:
-
我刚刚开始进入CSS。我喜欢保持所有
我的html简单和通用的外观。

我想使用一个表,因为我有,(喘气)表格数据。我希望它看起来像一张桌子。不仅如此,
但我希望它看起来像一个普通的简单的香草桌,看起来像每个人
别人的桌子。

似乎我唯一合理简单的方法就是声明过渡风格,并使用< TABLE>

有更好的方法吗?
--
I am just beginning to get into CSS. I like to keep all
my html simple and generic looking.

I want to use a table, because I have, (gasp) tabular
data. I want it to look like a table. Not only that,
but I want it to look like a plain ordinary
uncomplicated vanilla table, to look like everyone
else''s table.

Seems to me that the only reasonably easy way to do this
is to declare the style transitional, and use <TABLE >

Is there a better way?




是的,还有更好的方法。使用严格而不是过渡:表

不被弃用,只是被滥用。



Yes, there is a better way. Use strict instead of transitional: TABLE
is not deprecated, just misused.


2005年5月30日星期一17:02:21 -0700 ,James A. Donald

< ja **** @ echeque.com>写道:
On Mon, 30 May 2005 17:02:21 -0700, James A. Donald
<ja****@echeque.com> wrote:
我想使用一个表,因为我有,(喘气)表格数据。我希望它看起来像一张桌子。不仅如此,
但我希望它看起来像一个普通的简单的香草桌,看起来像每个人
别人的桌子。

似乎我唯一合理简单的方法就是声明过渡风格,并使用< TABLE>

有更好的方法吗?
I want to use a table, because I have, (gasp) tabular
data. I want it to look like a table. Not only that,
but I want it to look like a plain ordinary
uncomplicated vanilla table, to look like everyone
else''s table.

Seems to me that the only reasonably easy way to do this
is to declare the style transitional, and use <TABLE >

Is there a better way?




是:声明它_strict_,并使用< table> ;.


你不能使用表格的想法过于简单化了。即使是最彻底的纯粹主义者也会反对使用< table>而不是
对于

数据本质上是表格式的。反对意见是使用

< table>只需要强制执行布局 - _that_应该更好用

用CSS完成。


-

Stan Brown, Oak Road Systems,美国纽约州汤普金斯县
http://OakRoadSystems.com/

我感觉到一阵孕吐现象,我想在你的母亲的坟墓上站立时,我会想要b $ b。



Yes: declare it _strict_, and use a <table>.

The idea that "you mustn''t use tables" is an oversimplification. Not
even the most thoroughgoing purist would object to using <table> for
data that are actually tabular by nature. The objection is to using
<table> simply to enforce a layout -- _that_ is what should better
be done with CSS.

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
"I feel a wave of morning sickness coming on, and I want to
be standing on your mother''s grave when it hits."


这篇关于在CSS中做一个表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆