I need some help on this code snippet - please
These tabs are under the header and the far right. And I'm trying to round the bottom left corner of only the first tab. The two code snippets below both round the bottom left of every tab in the nav bar.
I'd like to figure out the proper code that would give me control over each tab and allow me to style each tab individually. The 2 snippets below get me halfway there, just not sure which is better to be improved on.
.custom .menu, .custom .menu a, .custom .menu li ul { -moz-border-radius-bottomleft:.5em; font-weight:bold; -webkit-border-bottom-left-radius:.5em; font-weight:bold; -moz-border-radius-bottomright:.0em; -webkit-border-bottom-right-radius:.0em;}
/* Remove the border from the far left. */ ul.menu{border-left:0;} /* Add the left border back in. If you change the color of the nav border in the WordPress admin panel, you will also have to manually change the left border color below. */ ul.menu li.tab-1 a{ border-left:1px solid #CCC; -moz-border-radius-topleft:.5em; -webkit-border-top-left-radius:.5em;} /* This creates the rounded borders. */ ul.menu li.tab a{ -moz-border-radius-bottomleft:.5em; font-weight:bold; -webkit-border-bottom-left-radius:.5em; font-weight:bold; -moz-border-radius-topright:.0em; -webkit-border-top-right-radius:.0em;}
-
doop -
Thanks
{{ DiscussionBoard.errors[3203506].message }} -
-
indianbill007 -
Thanks
{{ DiscussionBoard.errors[3203661].message }} -
-
phpbbxpert -
Thanks
{{ DiscussionBoard.errors[3213050].message }} -