Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 10:28:06 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155537 Posts in 21714 Topics by 7737 Members
Latest Member: chris85
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Active menu tab with rounded corners  (Read 1215 times)
JonH

Offline Offline

Posts: 25


« on: March 29, 2010, 01:36:04 PM »

I need help getting rounded corners to my active pages.

menu:
Code:
<?php show_menu(111); ?>

css:
Code:
#body #menu ul li a.menu_current{
color:#000;
background: url(../images/menu_left.gif) no-repeat left bottom;
margin-top: 0;
background: #fff;
padding-right: 10px;
}

#body #menu ul li a.menu_current span {
background-image:url(../images/menu_right.gif);
background-repeat:no-repeat;
background-position:right bottom;
}

How do I get the <span> into the menu? I found a template with rounded tabs. It uses this menu code:
Code:
<?php show_menu(1,0,1,true,'<li [class]>[a][menu_title][/a]</li>','','','','','class="current"'); ?>
but I don't know how to use it as the template is very old.
Logged
applepie

Offline Offline

Posts: 342


« Reply #1 on: April 17, 2010, 08:42:11 AM »

Have you look at other CSS templates with rounded corner?
Logged
JonH

Offline Offline

Posts: 25


« Reply #2 on: April 20, 2010, 01:46:05 PM »

Yes, the one mentioned above.
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!