提议增加CSS 3 [英] Proposed CSS 3 additions

查看:45
本文介绍了提议增加CSS 3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

评论这三个相关的,提议的CSS 3添加?


1.添加''text-transform:time'',它将以格式转换文本

小时:分钟:秒(24小时制)到显示

时间的本地格式,例如< span style =" text-transform:time;"> 23:15< / span>可能会在晚上11:15或23:15呈现




2.添加''text-transform:date'',它将改变文本格式

年 - 月 - 日以本地格式显示日期,例如

< span style =" text-transform:date;" > 2004-07-23< /跨度>可能会呈现

07/23 / 04,23 / 07/04,07/23 / 2004,23 / 07/2004,或者其他什么。


3.添加''text-transform:number'',它将根据

本地格式转换一个数字,用于显示数字,例如< span

style =" text-transform:number;"> 123,456,789.01< / span>可能会被呈现为

123,456,789.01,123 456 789,01,123.456.789,01,或者其他什么。


目标当然是能够以用户最熟悉的格式呈现

内容中的时间,日期和数字,例如进入

Windows中的格式由控制面板指定,区域

设置。


Comments re these three related, proposed CSS 3 additions?

1. Add ''text-transform:time'', which would transform text in the format
hours:minutes:seconds (24 hour clock) to the local format for displaying the
time, e.g. <span style="text-transform:time;">23:15</span> might be rendered
as 11:15PM or 23:15.

2. Add ''text-transform:date'', which would transform text in the format
year-month-day to text in the local format for displaying the date, e.g.
<span style="text-transform:date;">2004-07-23</span> might be rendered
07/23/04, 23/07/04, 07/23/2004, 23/07/2004, or whatever.

3. Add ''text-transform:number'', which would transform a number per the
local format for displaying a number, e.g. <span
style="text-transform:number;">123,456,789.01</span> might be rendered as
123,456,789.01, 123 456 789,01, 123.456.789,01, or whatever.

The objective, of course, is to be able to have times, dates, and numbers in
content rendered in formats with which the user is most familiar, e.g. into
the formats which in Windows are specified by Control Panel, Regional
Settings.


推荐答案

CA Upsdel​​l写道:
C A Upsdell wrote:
评论这三个相关的,提议的CSS 3添加?

1.添加'' text-transform:time'',它将文本格式转换为小时:分钟:秒(24小时制)到
本地格式以显示时间,例如< span
style =" text-transform:time;"> 23:15< / span>可能会在晚上11:15或23:15呈现。

2.添加''text-transform:date'',它将以年份格式转换文本
以月为单位的本地格式文本
用于显示日期,例如< span
style =" text-transform:date;"> 2004-07-23< / span>可能是在07/23 / 04,27 / 07/04,07/23 / 2004,23 / 07/2004,或
所有。

3.添加' 'text-transform:number'',它会根据本地格式转换
号以显示数字,例如
< span style =" text-transform:number;"> 123,456,789.01 < / span>
可能会呈现为123,456,789.01,123 456 789,01,
123.456.789,01等等。

目标当然是能够以用户最熟悉的格式呈现的内容中包含时间,
日期和数字,例如在Windows中由控制面板指定的格式,区域
设置。
Comments re these three related, proposed CSS 3 additions?

1. Add ''text-transform:time'', which would transform text
in the format hours:minutes:seconds (24 hour clock) to the
local format for displaying the time, e.g. <span
style="text-transform:time;">23:15</span> might be rendered
as 11:15PM or 23:15.

2. Add ''text-transform:date'', which would transform text
in the format year-month-day to text in the local format
for displaying the date, e.g. <span
style="text-transform:date;">2004-07-23</span> might be
rendered 07/23/04, 23/07/04, 07/23/2004, 23/07/2004, or
whatever.

3. Add ''text-transform:number'', which would transform a
number per the local format for displaying a number, e.g.
<span style="text-transform:number;">123,456,789.01</span>
might be rendered as 123,456,789.01, 123 456 789,01,
123.456.789,01, or whatever.

The objective, of course, is to be able to have times,
dates, and numbers in content rendered in formats with
which the user is most familiar, e.g. into the formats
which in Windows are specified by Control Panel, Regional
Settings.




为什么使用本地格式?


如果我正在荷兰阅读英文网页,我希望这需要1000万美元,而不是100万美元。如果本地格式为

,则1000,000表示1000和千分之五。

(这是英文单词吗?)


相同的日期,虽然可能不那么成问题。

我的当地(荷兰)日期格式是日 - 月 - 年。

但是当我''在阅读美国页面时,我预计7-3-1999到

意味着7月3日,而不是3月7日。


至于时间,我不知道本地格式会是什么意思

的意思。我在我的电脑上安装的格式,或者国内最常见的

?我们使用下午3点和15点。我更喜欢24小时b $ b小时系统,但不是每个人都一样。


-

Els
< a rel =nofollowhref =http://locusmeus.com/target =_ blank> http://locusmeus.com/

Sonhos vem。 Sonhos v?o。 Orestoébritfeito。

- Renato Russo -



Why the local format?

If I''m reading an English webpage in Holland, I expect
1000,000 to mean 1 million. If the local format would be
applied, 1000,000 means 1000 and zero thousandths.
(is that an English word?)

Same goes for the date, although maybe less problematic.
My local (Dutch) format for date is day-month-year.
But when I''m reading an American page, I expect 7-3-1999 to
mean the 3rd of July, not the 7th of March.

As for the time, I don''t know what the local format would
mean. The format I installed on my pc, or what is most common
in the country? We use both 3pm and 15.00. I prefer the 24
hour system, but not everybody is the same.

--
Els
http://locusmeus.com/
Sonhos vem. Sonhos v?o. O resto é imperfeito.
- Renato Russo -


" Els" < EL ********* @ tiscali.nl>在消息中写道

news:Xn ***************** @ 130.133.1.4 ...
"Els" <el*********@tiscali.nl> wrote in message
news:Xn*****************@130.133.1.4...
CA Upsdel​​l写道:
C A Upsdell wrote:
评论这三个相关的,提议的CSS 3补充?

1.添加''text-transform:time'',这将改变文本
格式小时:分钟:秒(24小时制)到
本地格式,用于显示时间,例如< span
style =" text-transform:time;"> 23:15< / span>可能会在晚上11:15或23:15呈现。

2.添加''text-transform:date'',它将以年份格式转换文本
以月为单位的本地格式文本
用于显示日期,例如< span
style =" text-transform:date;"> 2004-07-23< / span>可能是在07/23 / 04,27 / 07/04,07/23 / 2004,23 / 07/2004,或
所有。

3.添加' 'text-transform:number'',它会根据本地格式转换
号以显示数字,例如
< span style =" text-transform:number;"> 123,456,789.01 < / span>
可能会呈现为123,456,789.01,123 456 789,01,
123.456.789,01等等。

目标当然是能够以用户最熟悉的格式呈现的内容中包含时间,
日期和数字,例如在Windows中由控制面板指定的格式,区域
设置。
Comments re these three related, proposed CSS 3 additions?

1. Add ''text-transform:time'', which would transform text
in the format hours:minutes:seconds (24 hour clock) to the
local format for displaying the time, e.g. <span
style="text-transform:time;">23:15</span> might be rendered
as 11:15PM or 23:15.

2. Add ''text-transform:date'', which would transform text
in the format year-month-day to text in the local format
for displaying the date, e.g. <span
style="text-transform:date;">2004-07-23</span> might be
rendered 07/23/04, 23/07/04, 07/23/2004, 23/07/2004, or
whatever.

3. Add ''text-transform:number'', which would transform a
number per the local format for displaying a number, e.g.
<span style="text-transform:number;">123,456,789.01</span>
might be rendered as 123,456,789.01, 123 456 789,01,
123.456.789,01, or whatever.

The objective, of course, is to be able to have times,
dates, and numbers in content rendered in formats with
which the user is most familiar, e.g. into the formats
which in Windows are specified by Control Panel, Regional
Settings.



为什么是本地格式?

如果我我正在读荷兰的英文网页,我希望1000,000意味着100万。如果应用本地格式,则1000,000表示1000和千分之一。
(这是一个英文单词吗?)

同样适用于日期,尽管可能更少有问题。
我的本地(荷兰语)日期格式是日 - 月 - 年。
但是当我正在阅读美国页面时,我希望7-3-1999表示
意味着7月3日,而不是3月7日。

至于时间,我不知道本地格式是什么意思。我在电脑上安装的格式,或者国内最常见的格式?我们使用下午3点和15点。我更喜欢24小时系统,但不是每个人都一样。



Why the local format?

If I''m reading an English webpage in Holland, I expect
1000,000 to mean 1 million. If the local format would be
applied, 1000,000 means 1000 and zero thousandths.
(is that an English word?)

Same goes for the date, although maybe less problematic.
My local (Dutch) format for date is day-month-year.
But when I''m reading an American page, I expect 7-3-1999 to
mean the 3rd of July, not the 7th of March.

As for the time, I don''t know what the local format would
mean. The format I installed on my pc, or what is most common
in the country? We use both 3pm and 15.00. I prefer the 24
hour system, but not everybody is the same.




当然,如何确定本地格式将取决于O / S 。

使用Windows我相信默认格式由您的选择决定

键盘(例如Windows支持荷兰语/荷兰语和荷兰语/比利时语)但

使用控制面板/区域设置,您可以选择您个人喜欢的格式。事实上,我已经为我的电脑做了这个,通过指定年/月/日的首选日期格式,即使它不是我国家的标准

表示法。


当我说''本地格式''时,我的意思是你的电脑'的默认格式为

由你定制。所以,如果您更喜欢24小时制,那就是您要看到的价格。


你说当你去美国网站时,你会期待查看根据美国公约格式化的信息

。据推测,这意味着当你去加拿大的网站时,你会希望根据加拿大的惯例看到格式化的信息

:但是要知道这些约定是什么/>
所有国家/地区? (提示:加拿大使用月/日/年和日/月/年。)

我的建议将使设计师能够使用我建议的CSS3添加到

确保日期,时间和数字的格式为您首选的

格式。



How your local formats are determined will, of course, be O/S dependent.
With Windows I believe that the default format is determined by your choice
of keyboard (e.g. Windows supports Dutch/Netherlands and Dutch/Belgium) but
with Control Panel / Regional Settings you can choose the format you
personally prefer. Indeed, I have done this for my PC, by specifying a
preferred date format of year/month/day even though that it not the standard
notation for my country.

When I said ''local format'' above, I mean your PC''s default format as
customized by you. So if you prefer a 24-hour clock, that is what you would
see.

You say that when you go to a US site, you expect to see information
formatted according to the US conventions. Presumably this means that when
you go to a Canadian site, your would expect to see information formatted
according to Canadian conventions: but do know what the conventions are for
all countries? (Hint: Canada uses both month/day/year and day/month/year.)
My proposal would enable the designer to use my proposed CSS3 additions to
ensure that dates, times, and numbers are formatted in YOUR preferred
format.


CA Upsdel​​l写道:
C A Upsdell wrote:
" Els" < EL ********* @ tiscali.nl>在消息中写道
新闻:Xn ***************** @ 130.133.1.4 ...
"Els" <el*********@tiscali.nl> wrote in message
news:Xn*****************@130.133.1.4...
CA Upsdel​​l写道:
C A Upsdell wrote:
>评论重新提出这三个相关的,提议的CSS 3
>添加?
>
> 1.添加''text-transform:time'',这将改变
>文本格式为小时:分钟:秒(24小时制)
>用于显示时间的本地格式,例如< span
>风格= QUOT;文本变换:时间;"> 23:15℃; /跨度>可能是
>呈现时间为下午11:15或23:15。
>
> 2.添加''text-transform:date'',这将改变
>文本格式为年 - 月 - 日当地文字
>用于显示日期的格式,例如, < span
>风格= QUOT;文本变换:日期;"> 2004-07-23< /跨度>可能是
>呈现07/23 / 04,27 / 07 / 04,07 / 23 / 2004,23 / 07/2004,或
>无论如何。
>
> 3.添加''text-transform:number'',这将转换
>用于显示数字的本地格式的数字,
>例如< span
> style =" text-transform:number;"> 123,456,789.01< / span>
>可能会呈现为123,456,789.01,123 456 789,01,
> 123.456.789,01,或者其他什么。
>
>当然,目标是能够有时间,
>以
>格式呈现的内容中的日期和数字用户最熟悉的,例如格式
>在Windows中由控制面板指定,
>区域设置。
为什么选择本地格式?

如果我正在荷兰读英文网页,我希望1000,000意味着100万。如果应用本地格式,则1000,000表示1000和千分之一。
(这是一个英文单词吗?)

同样适用于日期,尽管可能更少有问题。
我的本地(荷兰语)日期格式是日 - 月 - 年。
但是当我正在阅读美国页面时,我希望7-3-1999
意味着7月3日,而不是3月7日。

至于时间,我不知道本地格式是什么意思。我在电脑上安装的格式,还是国内最常见的格式?我们使用下午3点和15点。我更喜欢24小时系统,但不是每个人都一样。
> Comments re these three related, proposed CSS 3
> additions?
>
> 1. Add ''text-transform:time'', which would transform
> text in the format hours:minutes:seconds (24 hour clock)
> to the local format for displaying the time, e.g. <span
> style="text-transform:time;">23:15</span> might be
> rendered as 11:15PM or 23:15.
>
> 2. Add ''text-transform:date'', which would transform
> text in the format year-month-day to text in the local
> format for displaying the date, e.g. <span
> style="text-transform:date;">2004-07-23</span> might be
> rendered 07/23/04, 23/07/04, 07/23/2004, 23/07/2004, or
> whatever.
>
> 3. Add ''text-transform:number'', which would transform a
> number per the local format for displaying a number,
> e.g. <span
> style="text-transform:number;">123,456,789.01</span>
> might be rendered as 123,456,789.01, 123 456 789,01,
> 123.456.789,01, or whatever.
>
> The objective, of course, is to be able to have times,
> dates, and numbers in content rendered in formats with
> which the user is most familiar, e.g. into the formats
> which in Windows are specified by Control Panel,
> Regional Settings.
Why the local format?

If I''m reading an English webpage in Holland, I expect
1000,000 to mean 1 million. If the local format would be
applied, 1000,000 means 1000 and zero thousandths.
(is that an English word?)

Same goes for the date, although maybe less problematic.
My local (Dutch) format for date is day-month-year.
But when I''m reading an American page, I expect 7-3-1999
to mean the 3rd of July, not the 7th of March.

As for the time, I don''t know what the local format would
mean. The format I installed on my pc, or what is most
common in the country? We use both 3pm and 15.00. I prefer
the 24 hour system, but not everybody is the same.



当然,如何确定本地格式将取决于O / S 。使用Windows我相信默认的
格式取决于您选择的键盘(例如,Windows支持荷兰语/荷兰语和荷兰语/比利时语),但是使用控制面板/区域设置可以选择
您个人喜欢的格式。事实上,我已经为我的电脑做了这个,通过指定年/月/日的首选日期格式,即使它不是我国家的标准
表示法。

当我说''本地格式''时,我的意思是你自己定制的PC默认格式。所以,如果您更喜欢24小时的时钟,那就是您所看到的。

您说当您访问美国网站时,您希望看到
信息格式化根据美国的惯例。



How your local formats are determined will, of course, be
O/S dependent. With Windows I believe that the default
format is determined by your choice of keyboard (e.g.
Windows supports Dutch/Netherlands and Dutch/Belgium) but
with Control Panel / Regional Settings you can choose the
format you personally prefer. Indeed, I have done this for
my PC, by specifying a preferred date format of
year/month/day even though that it not the standard
notation for my country.

When I said ''local format'' above, I mean your PC''s default
format as customized by you. So if you prefer a 24-hour
clock, that is what you would see.

You say that when you go to a US site, you expect to see
information formatted according to the US conventions.




是的。

大概这意味着当你去加拿大的网站时,
你的意愿期望看到根据加拿大公约格式化的信息:但是要知道所有国家/地区的惯例是什么?


我不是。但就日期而言,这就是为什么我将2004年3月30日放在我网站上的b / b
的原因,任何人都无法误解这一点。

(提示:加拿大使用月/日/年
和日/月/年。)


不是每个人都会使用CSS文本转换属性,

这意味着我仍然需要查看来源,看看是否b / b / 3月3日是3月7日还是7月3日。我更愿意能够识别啊,另一个加拿大网站,所以这意味着7月7日

而不是啊,另一个Candian网站,让''如果它是加拿大格式或我自己的电脑的格式,请查看来源



我的建议将使设计师能够
使用我建议的CSS3添加,以确保日期,
次数和数字格式化为您的首选格式。



Yes.
Presumably this means that when you go to a Canadian site,
your would expect to see information formatted according to
Canadian conventions: but do know what the conventions are
for all countries?
I don''t. But as for the date, that''s why I put 30-apr-2004 on
my site, there is no way anybody can misunderstand that.
(Hint: Canada uses both month/day/year
and day/month/year.)
Not everybody will use the CSS text-transform properties,
which means I would still have to look in the source to see if
7/3/2004 means 7 March or 3 July. I prefer to be able to
recognise "Ah, another Canadian site, so it means July 7"
instead of "Ah, another Candian site, let''s look in the source
if it''s the Canadian format or my own PC''s format".
My proposal would enable the designer
to use my proposed CSS3 additions to ensure that dates,
times, and numbers are formatted in YOUR preferred format.




我的操作系统处于美国键盘模式。使用

数字的本地格式,荷兰网站上的数字将为
a $:1000,000。

荷兰语上的任何荷兰人网站预计1000.000。


-

Els http://locusmeus.com/

Sonhos vem。 Sonhos v?o。 Orestoébritfeito。

- Renato Russo -

现在播放:Daryl Hall和John Oates - Rich Girl



My OS is in American keyboard mode. With the local format on
numbers, numbers on a Dutch site would be
a million: 1000,000.
Any Dutch person on a Dutch site expects 1000.000.

--
Els http://locusmeus.com/
Sonhos vem. Sonhos v?o. O resto é imperfeito.
- Renato Russo -
Now playing: Daryl Hall and John Oates - Rich Girl


这篇关于提议增加CSS 3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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