Reputation: 430
I'm creating a navigation bar (in a div) that has a vertical list. When you click on an element in the navigation, it pops up a div that touches the nagigation list. This div has a border (getting rid of that border looks weird, so i'm not doing that). How do I remove a part of that border (the part that touches the selected navigation div)?
A little more explanation: The pop-up div touches the nav on the left side. I want to hide the border for only the section of the border touching the selected element in the nav bar
FOUND A SOLUTION: I needed to put a right-border: -1px on the navigation in order to cover the border on the pop-up div.
Upvotes: 0
Views: 150
Reputation: 2938
You can use Outline:0px;
or Border:none;
on that part. but cant say unless i see the code.
Upvotes: 0