Click here to Skip to main content
15,892,643 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi guys,

I have in my website a menu and down to it there is an auto-playing slider, the menu has long sub-menus, and the problem when I open the menu I cannot see the whole list of sub-menus; the moving slider hides it. It just come over the menu.
I tried to edit the CSS, the z-index attribute, but still the same problem.
I want the sub-menu over the slider.

Here is the picture:

<img>http://im24.gulfup.com/2012-07-31/1343690359371.png</img>


Here are the design code of menu

HTML
<div id="menus" style="z-index: 10px;">
        <ul class="menus">
            <li><a href="index.aspx"><span>Home</span></a></li>
            <li><a class="parent"><span>Educational Plan</span></a>
                <ul>
                    <li><a href="#" class="parent"><span>Education Faculty</span></a>
                        <ul>
                            <li><a href="#"><span>Curricula & Teaching Methods Dep.</span></a></li>
                            <li><a href="#"><span>Educational Mgmt. Supervision Dep.</span></a></li>
                            <li><a href="#"><span>Islamic Studies Dep.</span></a></li>
                            <li><a href="#"><span>Educational Mgmt. Supervision Dep.</span></a></li>
                            <li><a href="#"><span>Islamic Studies Dep.</span></a></li>
                            <li><a href="#"><span>Lingustics Dep.</span></a></li>
                            <li><a href="#"><span>Literatures Dep.</span></a></li>
                        </ul>
                    </li>
                </ul>
            </li>
        </ul>
    </div>


and this is the design code of slider

HTML
<div id="prew_img" style="z-index: 3px;">
            <ul class="round">
                <li>
                    <img src="images/header1.jpg" alt="" /></li>
                <li>
                    <img src="images/header2.jpg" alt="" /></li>
                <li>
                    <img src="images/header3.jpg" alt="" /></li>
                <li>
                    <img src="images/header4.jpg" alt="" /></li>
                <li>
                    <img src="images/header5.jpg" alt="" /></li>
                <li>
                    <img src="images/header6.jpg" alt="" /></li>
            </ul>
        </div>
Posted
Updated 30-Jul-12 13:47pm
v3

Start here[^].
 
Share this answer
 
The problem was only with px property, I set z-index:10, and it worked!
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900