Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7598339
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T22:23:01+00:00 2026-05-30T22:23:01+00:00

Here is my code <!DOCTYPE HTML> <html> <head> <style type =’text/css’> * { font-family:Arial,

  • 0

Here is my code

<!DOCTYPE HTML>
<html>
<head>
<style type ='text/css'> 
*
{
    font-family:Arial, Helvetica, sans-serif;
    color:#333;
    font-size:12px;


}
IMG
{
    display:block;
}
A
{
    text-decoration:none;
    color:#ffffff !important;
}

    BODY
    {
        background:url('./../images/bg.jpg') #eeeeee fixed;
        background-position:fixed;
        width:100%;
        height:650px;
        margin:0px;
        padding:0px;
        overflow:scroll;

    }
    #menuHolder{
        width:100%;
        height:5%;
        background:rgba(0,0,0,0.8);
        background: -webkit-linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.1));
        background: -moz-linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.1));
        background: -ms-linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.1));
        background: -o-linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.1));
        color:#cdcdcd;

    }
    #holder{
        width:80%;
        height:110%;
        background:transparent;
        margin-left:auto;
        margin-right:auto;
        margin-top:5%;
        border:solid 1px #000000;
    }
    #contentHolder{
    background:rgb(250,250,250);
        background:rgba(250,250,250,0.5);
        width:96.1%;
        height:94%;
        //height:auto;
        padding:2%;

    }
    ul{
        list-style:none !important;
        margin-top:0 !important;
        margin-left:auto;
        margin-right:auto;
        padding-left:0 !important;
    }

    #mainUl{
        background:transparent;
        width:100%;
        height:100%;
        font-family: 'Lucida Console', Monaco, monospace;
    }
    #mainUl li{
        float:left; 
        width:16.6%;
        height:75%;
        text-align:center;
        padding-top:0.8%;
        cursor:pointer;
        -webkit-transition:background 1s;
        -moz-transition:background 1s;
        -o-transition:background 1s;
        -ms-transition:background 1s;

    }
    #mainUl li:hover{

        background:rgba(255,255,255,0.8);
        border-top-left-radius:4px;
        border-top-right-radius:4px;

    }

    #mainUl li ul{
        margin-top:5% !important;
        width:100%;
        height:0px;
        background:transparent;

        -webkit-transition:height 1s;
        -moz-transition:height 1s;
        -o-transition:height 1s;
        -ms-transition:height 1s;


    }
    #mainUl li:hover ul{
        background:rgba(255,255,255,0.8);
        height:200px;
        border-bottom-left-radius:4px;
        border-bottom-right-radius:4px;



    }
    #mainUl li ul li{ 
        height:12%;
        width:100%;
        color:transparent;
        padding-top:10%;
        -webkit-transition:color 1s;
        -moz-transition:color 1s;
        -o-transition:color 1s;
        -ms-transition:color 1s;
    }
    #mainUl li:hover ul li{
        color:#000000;
    }
    .contentDiv{
        width:24%;
        height:92%;
        border:solid 1px #000000;
        float:left;
        margin-left:2%;
    }
    .featured{
        width:100%;
        height:60%;
        margin-left:0 !important;
    }


</style>
</head>
<body>

<div id = 'holder'>
    <div id = 'menuHolder'>
        <ul id = 'mainUl'>
            <li>HOME</li>
            <li>NEWS
                <ul>
                    <li>PC</li>
                    <li>MOBILE</li>
                    <li>WEB</li>
                    <li>TABLET</li>
                </ul>
            </li>
            <li>ARTICLES
                <ul>
                    <li>PC</li>
                    <li>MOBILE</li>
                    <li>WEB</li>
                    <li>TABLET</li>
                </ul>
            </li>
            <li>DOWNLOADS</li>
            <li>TECH WIKI</li>
            <li>LOGIN</li>
        </ul>
    </div>
    <div id = 'contentHolder'>
        <div class = 'contentDiv' style = 'width:73.6%;margin-left:0px !important;border:none;'>
            <div class = 'contentDiv featured' > 
            </div>
            <div class = 'contentDiv featured' style = 'margin-top:2.4%;height:37%;'>
            </div>

        </div>
        <div class = 'contentDiv'>t
        </div>
    </div>
</div>


</body>

</html>

I cannot hover the list items Mobile,Web,Tablet.But i can hover it when the divisions having class = contentDiv removed.Why is this happening?Is it something related with z-index?.Please suggest a solution

A live example: http://jsfiddle.net/QSkps/1/

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T22:23:02+00:00Added an answer on May 30, 2026 at 10:23 pm

    Yes, adding position:relative; z-index:1 to the style for #mainUl works.

    But if you already thought this might be the case, why didn’t you try for yourself before posting here?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here's the code I currently have. <!DOCTYPE html> <html> <head> <meta http-equiv=Content-Type content=text/html; charset=utf-8/>
Here is the code: <!DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd> <html> <head>
Ok, here's my code: <!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/TR/html4/strict.dtd> <html> <head> <meta
I'm seeing my Friend's code here... <!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN> <HTML>
First off here is the code! <!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd>
I am using Google maps JavaScript API. Here is code : <!DOCTYPE html PUBLIC
here is the code......... <!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd> <html xmlns=http://www.w3.org/1999/xhtml>
Here is an example of the embed code from a Youtube Video: <!DOCTYPE html
Here is my page. I need to insert whole code here. <!DOCTYPE html PUBLIC
Here is the code. I can't make opacity animate as well. <!DOCTYPE html> <html>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.