Forum Moderators: not2easy
I'm trying to make tabs with round corners. I know there is a solution with a backgroundimage but the name's are generated with a CMS (so I don't know how the tabs are going to be. So that tric won't work.
My CSS
------------------------
#tabarea {
border-bottom-color: Black;
border-left: 0px none Black;
border-right: 0px none Black;
border-top: 0px none Black;
border-bottom: 1px solid #CECECE;
padding: 2px 2px;
}
#tabarea a{
background-color: #f0f0f0;
border: 1px solid #cccccc;
padding: 2px 1em 2px 1em;
text-decoration: none;
}
#tabarea a, #tabarea a:visited {
color: Blue;
}
#tabarea a:hover {
background-color: #d0d0d0;
color: #606060;
}
-----------------
HTML
<div id="tabarea"><a href="#">hello</a> <a href="#">world</a></div>
Has anybody a suggestion?
Thanks
Jonathan van den Bosch
a.tab {
background-color: #d0b0ff;
border: 2px solid #000000;
border-bottom-width: 0px;
border-color: #f0d0ff #b090e0 #b090e0 #f0d0ff;
-moz-border-radius: .75em .75em 0em 0em;
border-radius-topleft: .75em;
border-radius-topright: .75em;
padding: 2px 1em 2px 1em;
position: relative;
text-decoration: none;
top: 3px;
z-index: 100;
}