IE7/8中的圆形边框 [英] Round Borders in IE7/8

查看:100
本文介绍了IE7/8中的圆形边框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我正在使用HTML5/CSS3"border-radius:4px;"使我的边界变圆/弯曲.在IE9中可以正常使用.

对于IE7/8,我该怎么办,因为它显示正常的块边界.

请对此提供任何帮助,
关于

Hi there,

I''m using HTML5/CSS3 "border-radius:4px;" to make my borders round/curved. This works fine in IE9.

How do I do it for IE7/8 because it displays normal block borders.

Any help on this please,
Regards

推荐答案

如何为IE7/8做到这一点,因为它显示正常的块边界
你不能.它是不支持它的浏览器,您对此没有任何控制.

HTML5是新的,所有浏览器都试图在其当前和即将发布的版本中支持尽可能多的HTML5功能. HTML5与旧版浏览器不兼容.对于Internet Explorer,IE9及更高版本支持HTML5.
How do I do it for IE7/8 because it displays normal block borders
You cannot. It''s the browser that does not support it and you don''t have any control on it.

HTML5 is new and all the browsers are trying to support as much HTML5 features possible in their current and upcoming versions. HTML5 is not back compatible with older version of browsers. For Internet Explorer, IE9 onwards support HTML5.


正如Sandeep所说,并非所有浏览器都支持圆角,但是您始终可以设计CSS来支持尽可能多的浏览器.您可以在这里找到不错的解释和不同浏览器支持的概述:
> http://jonraasch.com/blog/css-rounded-corners-in-all-browsers [^ ];

另请参见:
http://www.css3.info/preview/rounded-border/ [ http://border-radius.com/ [ ^ ].



顺便说一句,在所有设计中,最好是提供简化的后备设计.对于Web浏览器根本不支持某些功能的情况,视图应优雅地降级,同时仍具有良好的可读性.

—SA
As Sandeep correctly put it, rounded corners are not supported by all browsers, but you can always design CSS to support as many browsers as possible. You can find nice explanation and the overview on different browser support here:
http://jonraasch.com/blog/css-rounded-corners-in-all-browsers[^];

See also:
http://www.css3.info/preview/rounded-border/[^].

It is very convenient to use CSS Border Radius Generator:
http://border-radius.com/[^].



By the way, in all designs its would be the best to provide a simplified fallback design; for the cases when a Web browser does not support some feature at all, the view should gracefully degrade, still having a decent readable look.

—SA


解决方案我尝试了自己的后遗症.

链接1
[打开新窗口]

链接2
[在新窗口]

问候
Solutions i tried myself afterwords that worked.

Link 1
[Open in New Window]

Link 2
[Open in New Window]

Regards


这篇关于IE7/8中的圆形边框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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