Skip to content

Menu go behind when ajax page load

vinod mishra

Asked Sep 2, 2013, 4:19 AM EDT3 answers
Share
LinkedInX

   <style Style="z-index:1000">

CSS
        *
{
      margin : 0px;
      padding: 0px;
      }
      body
      {
            font-family:Verdana;
            background-color:#ABC;
            padding:0px;
            }

            h1

CSS
            {
                  text-align:center;
                  border-bottom:2px solid;
                  margin-bottom:50px;
            }
            /* rules for navigation menu*/
            ul#navmenu, ul.sub1, ul.sub2
            {
                  list-style-type : none;
                  /* border:1px solid red;*/

                  }

                  ul#navmenu li

CSS
            {
                /*border:1px solid red;   */
                width: 125px;
                text-align:center;
                position: relative;
                float:left;
                margin-right : 4px;
            top: 0px;
            left: 0px;
            font-size: small;
            font-weight: 700;
        }
            ul#navmenu a
            {
                text-decoration : none;
                  display:block;
                  width : 125px;
                  height: 25px;
                  line-height:25px;
                  background-color :#FFF;
                  border:1px solid #CCC;
            font-size: small;
        }

            ul#navmenu .sub1 li

CSS
            {
                  /*    border : 1px solid green;*/
                  margin-top : 5px;
            }
      ul#navmenu .sub1 a
      {
            margin-top : 0px;
            }

            ul#navmenu .sub2 a

CSS
            {
                  margin-left : 10px;
          }
      ul#navmenu li:hover > a
            {
                  background-color :#CFC;
            }

      ul#navmenu li:hover a:hover :

CSS
            {
                  background-color :#FF0;
            }
      ul#navmenu ul.sub1
            {
                  display : none;
                  position : absolute;
                  top : 26px;
                  left : 0px;
            }

      ul#navmenu ul.sub2

CSS
            {
                  display : none;
                  position : absolute;
                  top : 0px;
                  left : 121px;
            }
ul#navmenu li:hover .sub1
            {
                  display :block;
            }

           

ul#navmenu .sub1 li:hover .sub2

Code
            {
                  display :block;
            }
        .style1
        {
            font-size: small;
        }

    </style>   <style Style="z-index:1000">

CSS
        *
{
      margin : 0px;
      padding: 0px;
      }
      body
      {
            font-family:Verdana;
            background-color:#ABC;
            padding:0px;
            }

            h1

CSS
            {
                  text-align:center;
                  border-bottom:2px solid;
                  margin-bottom:50px;
            }
            /* rules for navigation menu*/
            ul#navmenu, ul.sub1, ul.sub2
            {
                  list-style-type : none;
                  /* border:1px solid red;*/

                  }

                  ul#navmenu li

CSS
            {
                /*border:1px solid red;   */
                width: 125px;
                text-align:center;
                position: relative;
                float:left;
                margin-right : 4px;
            top: 0px;
            left: 0px;
            font-size: small;
            font-weight: 700;
        }
            ul#navmenu a
            {
                text-decoration : none;
                  display:block;
                  width : 125px;
                  height: 25px;
                  line-height:25px;
                  background-color :#FFF;
                  border:1px solid #CCC;
            font-size: small;
        }

            ul#navmenu .sub1 li

CSS
            {
                  /*    border : 1px solid green;*/
                  margin-top : 5px;
            }
      ul#navmenu .sub1 a
      {
            margin-top : 0px;
            }

            ul#navmenu .sub2 a

CSS
            {
                  margin-left : 10px;
          }
      ul#navmenu li:hover > a
            {
                  background-color :#CFC;
            }

      ul#navmenu li:hover a:hover :

CSS
            {
                  background-color :#FF0;
            }
      ul#navmenu ul.sub1
            {
                  display : none;
                  position : absolute;
                  top : 26px;
                  left : 0px;
            }

      ul#navmenu ul.sub2

CSS
            {
                  display : none;
                  position : absolute;
                  top : 0px;
                  left : 121px;
            }
ul#navmenu li:hover .sub1
            {
                  display :block;
            }

           

ul#navmenu .sub1 li:hover .sub2

Code
            {
                  display :block;
            }
        .style1
        {
            font-size: small;
        }

    </style>

3 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • Sunny  Sharma
    0
    Hey Vinod,

    Is that a question or a solution? Please consider explaining the problem/issue while posting any kind of concern in a forum. We just can not read your mind/HardDisk. Your question above makes no sense without explanation, hope you got the point :)
    0
  • 0
    In the above code have problem that when i run web page the menu items hide behind Ajax Enable form.
    0
  • Sunny  Sharma
    0
    Vinod,

    What you have shared above in the question is just CSS. In order to help us to help you, you need to share your aspx code at least.
    0