将bg属性串联起来.. [英] stringing bg properties together..

查看:78
本文介绍了将bg属性串联起来..的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我的代码出现W3C错误:


background-color:#FFFFFF; background-image:url(images / more.jpg)

不重复1%50%;


有什么不对,请...


非常感谢...



am getting W3C error on this code:

background-color:#FFFFFF; background-image:url(images/more.jpg)
no-repeat 1% 50%;

what is wrong w/it, pls..

thank you very much...

推荐答案



"玛雅" < ma ******** @ yahoo.com在消息新闻中写道:fj ********** @ aioe.org ...

"maya" <ma********@yahoo.comwrote in message news:fj**********@aioe.org...




我的代码出现W3C错误:


background-color:#FFFFFF; background-image:url(images / more.jpg)no-repeat

1%50%;


am getting W3C error on this code:

background-color:#FFFFFF; background-image:url(images/more.jpg) no-repeat
1% 50%;



小心告诉我们实际的错误是什么?

Care to tell us what the actual error is?


有什么问题,请等一下..
what is wrong w/it, pls..



什么是/它?


-

Richard。

What is a w/it?

--
Richard.


maya写道:
maya wrote:

hi,


收到W3C错误关于这段代码:


background-color:#FFFFFF; background-image:url(images / more.jpg)

不重复1%50%;


有什么不对,请...


非常感谢...


am getting W3C error on this code:

background-color:#FFFFFF; background-image:url(images/more.jpg)
no-repeat 1% 50%;

what is wrong w/it, pls..

thank you very much...



background-image只是单个属性hat只有一个值:

/图像/


如果你想要合并你的属性那么你的背景是什么

=nofollowhref =http://www.w3.org/TR/CSS21/colors.html#propdef-backgroundtarget =_ blank> http://www.w3.org/TR/CSS21/colors .ht ... def-background


背景:#fff background-image:url(images / more.jpg)no-repeat 1%50%;


提示:如有疑问,RT * M ......请参考此页:

http://www.w3.org/TR/CSS21/propidx.html


-

保重,


Jonathan

-------------- -----

LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

background-image is just the single property hat has only one value:
/the image/

If you want to combine your properties then what you what is "background"

http://www.w3.org/TR/CSS21/colors.ht...def-background

background: #fff background-image:url(images/more.jpg) no-repeat 1% 50%;

TIP: When in doubt, RT*M... so reference this page:

http://www.w3.org/TR/CSS21/propidx.html

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com


rf写道:
rf wrote:

" maya" < ma ******** @ yahoo.com在消息新闻中写道:fj ********** @ aioe.org ...
"maya" <ma********@yahoo.comwrote in message news:fj**********@aioe.org...

> hi,

我在此代码中收到W3C错误:

background-color:#FFFFFF; background-image:url(images / more.jpg)no-repeat
1%50%;
>

am getting W3C error on this code:

background-color:#FFFFFF; background-image:url(images/more.jpg) no-repeat
1% 50%;



小心告诉我们实际的错误是什么?


Care to tell us what the actual error is?


>有什么问题/它,请...
>what is wrong w/it, pls..



什么是/它?


What is a w/it?



肯定..


值错误:background-image太多的值或值不是

识别:url(images / more.jpg)no-repeat 1%50%


非常感谢..

sure..

Value Error : background-image Too many values or values are not
recognized : url(images/more.jpg) no-repeat 1% 50%

thank you very much..


这篇关于将bg属性串联起来..的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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