如何删除div上边框的一部分,使左侧导航看起来与主要内容部分无缝? [英] How do I remove a section of the border on a div to make left nav look seamless with main content section?

查看:354
本文介绍了如何删除div上边框的一部分,使左侧导航看起来与主要内容部分无缝?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要移除活动菜单项符合正确内容div的左边框。

I am trying to remove the left border where the active menu item meets right content div.

请参阅 http://d.pr/i/hfRZ+

因此,看起来活动元素与级别为主要内容div,像这样 http://dribbble.com/shots/663779-Left -navigation

So it appears the active element is the same as the level as the main content div, like this http://dribbble.com/shots/663779-Left-navigation

如果重要的话,我使用twitter启动。

If it matters I am using twitter bootstrap.

任何指针都非常感谢!

Any pointers greatly appreciated!

编辑:此处是指向HTML / CSS的链接

here is link to HTML/CSS

查看:
http://codepen.io/anon/full/Asrnm

编辑
http:// codepen.io/anon/pen/Asrnm

推荐答案

您不能部分移除边框,他们起来。您需要使所选项重叠边框(或有一个脚本将另一个元素放在边框上)。

You can't partially remove borders, you can only cover them up. You need to make the selected item overlap the border (or have a script that places another element over the border).

这篇关于如何删除div上边框的一部分,使左侧导航看起来与主要内容部分无缝?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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