为多单元格表指定一种字体 [英] Specify one font for a many-celled table

查看:66
本文介绍了为多单元格表指定一种字体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法让CSS为一个表格指定一种字体,该表格中有许多使用字体的
单元格?就像在,一个字体代表

表本身(而不是在每个单元格中指定)


谢谢! :-)

Is there a way to tell CSS to specify one font for a table that has many
cells in which the font is being used? As in, one font that represents the
table itself (rather than specifying in every cell)

Thanks! :-)

推荐答案

是的schreef:
有没有办法告诉CSS为表格指定一种字体有很多
单元格正在使用字体?如同,表示
表本身的一种字体(而不是在每个单元格中指定)

谢谢! :-)
Is there a way to tell CSS to specify one font for a table that has many
cells in which the font is being used? As in, one font that represents the
table itself (rather than specifying in every cell)

Thanks! :-)




有很多种可能性:


table {font-family:Verdana;} < br $>

或...


table#idName {font-family:Verdana;}


或者......


table th {font-family:Verdana;}

table td {font-family:Arial;}



-

Niek



There are many possibilities:

table{font-family: Verdana;}

or...

table#idName{font-family: Verdana;}

or...

table th{font-family: Verdana;}
table td{font-family: Arial;}


--
Niek


''sNiek写道:
''sNiek wrote:
是的schreef:
有没有办法告诉CSS为表格中指定一种字体,其中包含许多使用该字体的单元格?就像在,一个字体表示表本身(而不是在每个单元格中指定)
Is there a way to tell CSS to specify one font for a table that has
many cells in which the font is being used? As in, one font that
represents the table itself (rather than specifying in every cell)



有很多可能性:

table {font -family:Verdana;}

或...

table#idName {font-family:Verdana;}

或...

table th {font-family:Verdana;}
table td {font-family:Arial;}



There are many possibilities:

table{font-family: Verdana;}

or...

table#idName{font-family: Verdana;}

or...

table th{font-family: Verdana;}
table td{font-family: Arial;}




Please don'不推荐Verdana。谢谢。

http:// www .xs4all.nl / ~sbpoley / webmatters / verdana.html


-

-bts

- 警告:我为草坪鹿刹车



Please don''t recommend Verdana. Thanks.

http://www.xs4all.nl/~sbpoley/webmatters/verdana.html

--
-bts
-Warning: I brake for lawn deer


Beauregard T. Shagnasty schreef:
Beauregard T. Shagnasty schreef:
''sNiek写道:
''sNiek wrote:
是的schreef:
有没有办法告诉CSS为表格中指定一种字体,其中包含许多使用该字体的单元格?就像在,一个字体表示表本身(而不是在每个单元格中指定)
Is there a way to tell CSS to specify one font for a table that has
many cells in which the font is being used? As in, one font that
represents the table itself (rather than specifying in every cell)


有很多可能性:

table {font-family:Verdana ;}

或...

表#idName {font-family:Verdana;}

或......

table th {font-family:Verdana;}
table td {font-family:Arial;}


There are many possibilities:

table{font-family: Verdana;}

or...

table#idName{font-family: Verdana;}

or...

table th{font-family: Verdana;}
table td{font-family: Arial;}



请不要推荐Verdana。谢谢。

http:// www .xs4all.nl /~sbpoley / webmatters / verdana.html




加油人,几个月前我们进行了讨论。

http://tinyurl.com/mzeek


这只是一个例子来说明所用类型的差异

的TH'和TD'。
< br $> b $ b -

Niek



Come on man, we had a discussion on that months ago.
(http://tinyurl.com/mzeek)

It''s just an example by the way to show the difference in the type used
for TH''s and the TD''s.

--
Niek


这篇关于为多单元格表指定一种字体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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