Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET CSS
Dear Friends,
 
Am facing problem with Menu.
 
I have created a website in asp.net c# and used Css , style sheets.
 
my requirement is, when i select particular page from menu..MOUSE OVER Should stay on that particular page. so that user can understand that he is on this page.
 
This is my style sheet css
.green #slatenav
{position:relative;
 display:block;
 height:42px;
 font-size:12px;
 font-weight:bold;
 width:50%;
 background-color:#EFCC00;
font-family:Arial,Verdana,Helvitica,sans-serif;
top:0px;
left: 520px;
width:570px;
}
 
.green #slatenav ul{margin:0px;padding:0;list-style-type:none;width:auto; }
.green #slatenav ul li{display:block;float:left;margin:0 1px 10px 8px;}
.green #slatenav ul li a{display:block;float:left;color:#197E46;text-decoration:none;padding:14px 10px 0 10px;height:28px;
 
 -moz-border-radius:20px;}
 
.green #slatenav ul li a:hover,.green #slatenav ul li a.current
{color:#fff;background:transparent url(images/greenslate_backgroundOVER.gif) no-repeat top center;}
 

.green #slatenav
{position:relative;
 display:block;
 height:42px;
 font-size:12px;
 font-weight:bold;
 width:50%;
 background-color:#EFCC00;
font-family:Arial,Verdana,Helvitica,sans-serif;
top:0px;
left: 520px;
width:570px;
}
 
.green #slatenav ul{margin:0px;padding:0;list-style-type:none;width:auto; }
.green #slatenav ul li{display:block;float:left;margin:0 1px 10px 8px;}
.green #slatenav ul li a{display:block;float:left;color:#197E46;text-decoration:none;padding:14px 10px 0 10px;height:28px;
 
 -moz-border-radius:20px;}
 
.green #slatenav ul li a:hover,.green #slatenav ul li a.current
{color:#fff;background:transparent url(images/greenslate_backgroundOVER.gif) no-repeat top center;}
So, please help me, If i Mouse over on this pages, it must stay mouse over till the user goes for another page.
 
Thanks in Advance...................
Posted 29-Oct-12 22:14pm
Edited 30-Oct-12 17:58pm
(no name)499K
v2
Comments
AshishChaudha at 31-Oct-12 0:51am
   
Insufficient information, could not understand "Mouse over on this pages, it must stay mouse over till the user goes for another page."
Ragamayura at 31-Oct-12 0:59am
   
What should happen. Either the Page has to be displayed on MouseOver on to the MenuItem or it should like displaying the preview of the page that should display once you click on the MenuItem

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 350
1 Jochen Arndt 150
2 PIEBALDconsult 110
3 Richard MacCutchan 105
4 Sergey Alexandrovich Kryukov 104
0 OriginalGriff 6,055
1 DamithSL 4,621
2 Maciej Los 4,087
3 Kornfeld Eliyahu Peter 3,500
4 Sergey Alexandrovich Kryukov 3,294


Advertise | Privacy | Mobile
Web02 | 2.8.141220.1 | Last Updated 30 Oct 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100