I have this code http://jsfiddle.net/Kbzgd/ what i’m trying to do is on the top right corner it have the rounded effect aswell…
But if i remove the border-bottom and add that border to the content like border-top, the active tab gets that border on the bottom, and i don’t want that =\
I want it like this but with the rounded corner on the top right corner, is possible ?
Thanks
Try
border-top-right-radius: 5pxon.tab_content_containerAfter a little more fiddling I added this:
So the right corner looks a little nicer. An alternative is to use
box-shadow: 0 -1px 0 0 #CCC(shadow above div) instead of theborder-topandtopvalues.Edit: After some more editing I got rid of little bit sticking out (you’ll see if you look carefully with the above couple examples).
All you have to do is remove the border on the ul (the border/shadow from the div works fine, as long as you set its
z-indexbehind the ul). Note that when you move the border it shifts a bit, so you could setposition: relative; top: 1px;back on the ul.I gave multiple options because I don’t know if anything will conflict with the rest of your code.
Here’s my final CSS: