问题描述
重复:
有什么技术(符合标准)在HTML页面中显示元素?
我将HTML CSS和javascript放在标签列表下面,因为我相信它们是相当普遍的,但如果你有一个技术使用其他
CSS3有一个border-radius标签和box-shadow标签,但它们只能在Mozilla和Safari中实现。
除此之外,我所做的是创建图像并加载那些使用CSS和DIV标签。这个链接是我开始使用的。
祝你好运!
Duplicate:
What is the best way to create rounded corners
How to make a cross browser, W3C valid, semantic, non-javascript ROUND corner?
What techniques (That are standards compliant) are there for putting rounded corners on display elements in an HTML page?
I put HTML CSS and javascript on the tag list below because I believe they are fairly ubiquitous, but if you have a technique that uses other techniques that may be used and are (relatively) reliable across standard browsers that works as well, but please put a note on what browsers fail.
CSS3 has a border-radius tag and box-shadow tag, but they are only implemented in Mozilla and Safari I think. You can round corners and create shadow very easily using that.
http://www.css3.info/preview/rounded-border/
Other then that, what I do is create images and load those using CSS and DIV tags. This link is what I used to get started.
http://www.cssjuice.com/25-rounded-corners-techniques-with-css/
Good luck!
这篇关于圆角的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!