边界右边没有显示在第一个li [英] border-right not showing on first li

查看:91
本文介绍了边界右边没有显示在第一个li的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有以下示例的具体问题:
http://jsfiddle.net/c7NyZ / 8 /

I have a specific issue with the following example: http://jsfiddle.net/c7NyZ/8/

在IE7或IE7模式下打开它。第一个LI(border-right)似乎已经与第二个li合并了。

Open it in IE7 or do IE7 mode. The first LI (border-right) seems to have merged with the 2nd li.

我使用jquery库来处理圆角。

I am using a jquery library for the rounded corners.

您能帮我像其他人一样显示边框吗?

Can you help me show the border right again like the others?

推荐答案

使用不是在IE< 9
中输出的圆角,您可以运行 -

the problem has to do with the rounded corners that are not soported in IE<9 you can run this -

$("ul#top-nav li:first").corner("tl: 5px bl:5px ");
$("ul#top-nav li:last").corner("tr: 5px br:5px ");​

如果没有IE <9
http:// api .jquery.com / jQuery.browser /

这篇关于边界右边没有显示在第一个li的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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