Current location: Hot Scripts Forums » General Web Coding » CSS » Multilevel menu help


Multilevel menu help

Reply
  #1 (permalink)  
Old 10-24-11, 06:13 PM
rshunca rshunca is offline
New Member
 
Join Date: Oct 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Multilevel menu help

Hi,

I try to implement multilevel menu using CSS and HTML. But I have the following problem.

When I selected "About" parent menu tab, it is working properly (see screenshot1)

But when I select submenu item "What is?", it is not working properly (see screenshot2)

Here is part of my css style sheet:

.sf-menu li {
float: left;
position: relative;
background: url("/portals/0/Images/righttab.png") no-repeat right top;
}
.sf-menu a {
display: block;
position: relative;
background: url("/portals/0/Images/lefttab.png") no-repeat left top;
}

.sf-menu a, .sf-menu a:visited { /* visited pseudo selector so IE6 applies text colour*/
color: #FFFFFF;
}

.sf-menu li li {
background: #2B4870;

}

.sf-menu li li a{
background: #2B4870;

}
.sf-menu li li li {
/*background: #E600FF;*/
}

/* selected */
.sf-menu li:hover {
/*background: #626B8C;*/
float: left;
position: relative;
background: url("/portals/0/Images/selectedrighttab.png") no-repeat right top;
outline: 0;
}

.sf-menu li.sfHover {
/*background: #626B8C;*/
outline: 0;
}

.sf-menu a:focus {
display: block;
position: relative;
/* background: url("/portals/0/Images/selectedlefttab.png") no-repeat left top; */
/* background: #626B8C; */
outline: 0;
}

.sf-menu a:hover {
display: block;
position: relative;
background: url("/portals/0/Images/selectedlefttab.png") no-repeat left top;
outline: 0;
}

.sf-menu li li a:hover {
background: #626B8C;
outline: 0;
}

/*
.sf-menu a:active {
background: #626B8C;
outline: 0;
} */

Anyone know what is wrong with my stylesheet?

Thanks,

R
Attached Images
File Type: jpg screenshot1.jpg (7.2 KB, 4 views)
File Type: jpg screenshot2.jpg (7.1 KB, 4 views)
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Superfish jquery menu problems with modification transcend2005 CSS 2 03-25-09 01:30 AM
css problem with the scroll bar crazy.works CSS 0 11-04-08 05:34 PM
AnyLink Drop Down Menu - Smarty Error? shadyy510 JavaScript 2 05-08-08 11:44 AM
CSS Menu tobyjoiner CSS 3 12-11-06 01:45 PM
Xml / Dom / Css Mark_SC.SE JavaScript 0 06-29-05 08:05 AM


All times are GMT -5. The time now is 04:49 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.