背景:vs背景颜色: [英] background: vs background-color:

查看:206
本文介绍了背景:vs背景颜色:的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据 http://htmlhelp.org/tools/csscheck/上的CSS lint

速记背景属性比

背景色更受支持。任何人都可以指点或提供有关

浏览器难以设置

背景属性的非快捷方法的信息吗?

解决方案

Neal写道:

简写背景属性比
background-color得到更广泛的支持。
哪些浏览器难以设置
背景属性的非快捷方法?




NN4我想,也许是IE3。但更重要的一点是使用

背景速记颜色也将背景图像设置为无,这对于b $ b是好事,因为你不希望用户使用橙色你的背景图片

酷冰蓝色网站。几乎不会出现这样的情况:它会不会使用速记。


-

Lauri Raittila< http ://www.iki.fi/lr> < http://www.iki.fi/zwak/fonts>

我在找工作Etsin ty?t?


2004年5月11日星期二06:52:12 +0300,Lauri Raittila

< la *** @ raittila.cjb.net>写道:

Neal写道:

简写背景属性比
background-color支持得更广泛。"

哪些浏览器设置
背景属性的非快捷方法有困难?



NN4我想,也许IE3。但更重要的一点是,使用
背景速记颜色也将背景图像设置为无,这是好事,因为你不希望用户使用橙色背景图像
酷冰蓝色的网站。很难说它不会使用速记器。




所以,正如我所怀疑的那样,短绒过于谨慎。美丽。


谢谢。


Neal写道:

2004年5月11日星期二06: 52:12 +0300,Lauri Raittila
< la *** @ raittila.cjb.net>写道:

Neal写道:

简写背景属性比
background-color支持得更广泛。"


因此,正如我所怀疑的那样,短绒过于谨慎。美丽。



http://htmlhelp.org / tools / csscheck /

嗯,自2001年以来它似乎没有更新,而且IIANM,并非真的

工作自1999年以来......


-

Lauri Raittila< http://www.iki.fi/lr> < http://www.iki.fi/zwak/fonts>

我在找工作Etsin ty?t?


According to the CSS lint at http://htmlhelp.org/tools/csscheck/, "The
shorthand background property is more widely supported than
background-color." Can anyone point me to, or provide, information on what
browsers have difficulty with the non-shortcut methods of setting
background properties?

解决方案

Neal wrote:

shorthand background property is more widely supported than
background-color." what browsers have difficulty with the non-shortcut methods of setting
background properties?



NN4 I think, and maybe IE3. But more important point is that use of
background shorthand for color also sets background-image to none, which
is good thing, as you don''t want users orange background image on your
cool ice blue site. Ther is hardly ever case where it would make sence
not to use shorthand.

--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
I''m looking for work | Etsin ty?t?


On Tue, 11 May 2004 06:52:12 +0300, Lauri Raittila
<la***@raittila.cjb.net> wrote:

Neal wrote:

shorthand background property is more widely supported than
background-color."


what browsers have difficulty with the non-shortcut methods of setting
background properties?



NN4 I think, and maybe IE3. But more important point is that use of
background shorthand for color also sets background-image to none, which
is good thing, as you don''t want users orange background image on your
cool ice blue site. Ther is hardly ever case where it would make sence
not to use shorthand.



So, as I suspected, the linter is over-cautious. Beautiful.

Thanks.


Neal wrote:

On Tue, 11 May 2004 06:52:12 +0300, Lauri Raittila
<la***@raittila.cjb.net> wrote:

Neal wrote:

shorthand background property is more widely supported than
background-color."

So, as I suspected, the linter is over-cautious. Beautiful.



http://htmlhelp.org/tools/csscheck/

Well, it doesn''t seem to be updated since 2001, and IIANM, not really
worked on since 1999...

--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
I''m looking for work | Etsin ty?t?


这篇关于背景:vs背景颜色:的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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