Advertisement

06.18.2008 at 11:38PM PDT, ID: 23497858
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.1

CSS and menus

Asked by digitalZo in Cascading Style Sheets (CSS), Programming for ASP.NET, Extensible HTML (XHTML)

I have an ASP.Net menu. I have a horizontal bar and an image right after it. THe problem is it's displaying the child items behind the image and bar. How can i bring it to the front. i also tried z:index, but that didn;t work. this is the image of the problem:

http://img138.imageshack.us/img138/7668/err2gy3.jpg

any solutions?

this is the code:

 <div id="styletwo" style="left: 220px; width: 728px; top: -22px; z-index: 101;">
                 <asp:Menu ID="Menu1" runat="server" Orientation="Horizontal" style="z-index: 201; left: 6px; position: relative; top: 5px">
                 <Items>
                <asp:MenuItem Text="Home" Value="Home" Selected="True" NavigateUrl="~/Home.aspx"></asp:MenuItem>
                <asp:MenuItem Text="Assets" Value="Assets" NavigateUrl="~/frm_assets.aspx"></asp:MenuItem>
                <asp:MenuItem Text="Purchase" Value="Purchase"></asp:MenuItem>
                <asp:MenuItem Text="Contracts" Value="Contracts"></asp:MenuItem>
                <asp:MenuItem Text="Admin" Value="Admin" NavigateUrl="~/frm_admin.aspx"></asp:MenuItem>
                <asp:MenuItem Text="Reports" Value="Reports" NavigateUrl="~/frm_reports.aspx">
                    <asp:MenuItem Text="System" Value="System"></asp:MenuItem>
                    <asp:MenuItem Text="Laptop" Value="Laptop"></asp:MenuItem>
                    <asp:MenuItem Text="Server" Value="Server"></asp:MenuItem>
                    <asp:MenuItem Text="Printer" Value="Printer"></asp:MenuItem>
                    <asp:MenuItem Text="Projector" Value="Projector"></asp:MenuItem>
                    <asp:MenuItem Text="UPS" Value="UPS"></asp:MenuItem>
                </asp:MenuItem>
                <asp:MenuItem Text="Support" Value="Support"></asp:MenuItem>
                 <asp:MenuItem Text="Logout" Value="Logout" NavigateUrl="~/login.aspx"></asp:MenuItem>
                 </Items>
                 </asp:Menu>
       
                </div>


and this is the css:

#styletwo
{
      position:relative;
      display:block;
      height:24px;
      font-size:11px;
      font-weight:bold;
      background:transparent url(images/bgOFF.gif) repeat-x top left;
      font-family:Verdana;
}

#styletwo tr
{
      margin:0;
      padding:0;
      list-style-type:none;
      width:100%;
      }
      
#styletwo tr td
{
      display:block;
      float:left;
      margin:0 1px 0 0;
}

#styletwo tr td a
{
      display:block;
      float:left;
      color:#000;
      text-decoration:none;
      padding:0px 15px 0 20px;
      height:24px;
}

#styletwo tr td a:hover,#styletwo tr td a:active
{
      display:inline-block;
      color:#fff;
      background:transparent url(images/bgON.gif) repeat-x bottom right;
}


also i'd like the on hover block to cover the whole block not leave some gap at the top as shown in the pic.Start Free Trial
[+][-]06.18.2008 at 11:44PM PDT, ID: 21819744

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.19.2008 at 12:07AM PDT, ID: 21819827

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.19.2008 at 12:23AM PDT, ID: 21819936

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Cascading Style Sheets (CSS), Programming for ASP.NET, Extensible HTML (XHTML)
Sign Up Now!
Solution Provided By: sajay_j
Participating Experts: 2
Solution Grade: A
 
 
[+][-]06.19.2008 at 12:41AM PDT, ID: 21820022

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.19.2008 at 01:02AM PDT, ID: 21820143

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.19.2008 at 01:17AM PDT, ID: 21820226

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628