属性border-radius在CSS级别2.1中不存在,但存在于:6px 6px [英] Property border-radius doesn't exist in CSS level 2.1 but exists in : 6px 6px

查看:131
本文介绍了属性border-radius在CSS级别2.1中不存在,但存在于:6px 6px的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我是网页设计的新手.我的网站上有一些问题.首先,那不是跨浏览器的网站,我想做到这一点.但是我不知道该怎么做.我已经阅读了一些有关此的文章,但没有任何帮助.请告诉我如何制作跨浏览器网站.其次,我还有另一个问题.当我验证了我的网站css文件时,我遇到了以下错误218 .box属性border-radius在CSS级别2.1中不存在,但存在于:6px 6px 219 .box属性-moz-border-radius不存在存在:6px 6px 220 .box属性-webkit-border-radius不存在:6px 6px.但是我也不知道该怎么解决.请告诉我有人知道这件事.

www.harvestcreativemedia.com

Hello,

I am new in web designing. I have some probuelms in my website. Firstly That is not cross browser website and I want to make it. But I don''t know how to do this. I have read some articals about this but have not got any help. Please tell me how I can make cross browser website. Secondaly I have another problem. When I have validate my website css file then I have got these errors 218 .box Property border-radius doesn''t exist in CSS level 2.1 but exists in : 6px 6px 219 .box Property -moz-border-radius doesn''t exist : 6px 6px 220 .box Property -webkit-border-radius doesn''t exist : 6px 6px. But I don''t know how to solve this also. Please tell me is anyone know about that.

www.harvestcreativemedia.com

推荐答案

您已经知道,边框半径在不同的渲染引擎中使用不同的(主要是非标准的)属性名称以不同的方式实现.诀窍是将它们全部用于相同的元素或类.如果适用于Firefox/Seemonkey,Safari/Chrome,Opera和IE9.

例如,请在此处查看说明和示例:
http://www.css3.info/preview/rounded-border/ [ http://www.the-art-of-web.com/css/border-radius / [^ ].

如果您需要更多或有疑问,可以在Google上找到大量其他样品.

祝你好运,
—SA
You already know that border-radius is implemented in different ways in different rendering engines using different (mostly non-standard) property names. The trick is to use them all in for the same element or class. If should work for Firefox/Seemonkey, Safari/Chrome, Opera and IE9.

For example, see the direction and samples here:
http://www.css3.info/preview/rounded-border/[^],
http://www.the-art-of-web.com/css/border-radius/[^].

If you need some more or in doubt, you can find tons of other samples if you Google.

Good luck,
—SA


这篇关于属性border-radius在CSS级别2.1中不存在,但存在于:6px 6px的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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