Menu Going Under Elements in IE

This is a discussion on "Menu Going Under Elements in IE" within the Web Page Design section. This forum, and the thread "Menu Going Under Elements in IE are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Apr 29th, 2008, 18:16
Junior Member
Join Date: Nov 2007
Location: Michigan
Age: 22
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Menu Going Under Elements in IE

Here is the test site I'm filling out:

http://www.castbuzz.com/test/

In IE, the menu is going under the mini-menu below it. I tried adjusting z-index, but it's not working right. If I don't have the div containers within the box-info class, then it'll go over the elements, but nesting more elements inside it makes them stay on top of the menu. For reference sake, here is the CSS from the area in question:

CSS
Code: Select all
/* drop down menu */
#menu ul {
    position:absolute;
    top:52px;
    left:0;
    display:none;
    padding:0;
    margin:0;
    list-style:none;
    width:196px;
    border:1px solid #304878;
    border-width:0 1px 1px;
    z-index:10;
}

#menu ul li {
    float:left;
    width:196px;
    z-index:10;
}

#menu ul li a {
    font:12px/28px Arial, sans-serif;
    color:#fff;
    background:url(../images/bg-drop.jpg) repeat-x;
    padding:0 0 0 13px;
    width:183px;
    text-decoration:none;
}

#menu ul li a:hover { background:url(../images/bg-drop-over.jpg) repeat-x; }
HTML
Code: Select all
            <!--content-->
            <div id="content">
                <!--menu-->
                <ul id="menu">
                    <li><a href="#" class="home">Home</a></li>
                    <li><a href="#" class="news">Latest News</a></li>
                    <li>
                        <a href="#" class="students">CP Students</a>
                        <ul>
                            <li><a href="#">Overview</a></li>
                            <li><a href="#">Optimizing Your Program</a></li>
                            <li><a href="#">Program Guides</a></li>
                            <li><a href="#">In the Area</a></li>
                            <li><a href="#">Feature Articles</a></li>
                            <li><a href="#">Submit a Guide/Link</a></li>
                        </ul>
                    </li>
                    <li>
                        <a href="#" class="alumni">CP Alumni</a>
                        <ul>
                            <li><a href="#">Overview</a></li>
                            <li><a href="#">In the Area</a></li>
                            <li><a href="#">Helping New CP Students</a></li>
                            <li><a href="#">Share Your Experience</a></li>
                            <li><a href="#">Submit a Guide/Link</a></li>
                        </ul>
                    </li>
                    <li>
                        <a href="#" class="campus">Campus Reps</a>
                        <ul>
                            <li><a href="#">Overview</a></li>
                            <li><a href="#">Campus Outreach</a></li>
                            <li><a href="#">Submit a Guide/Link</a></li>
                        </ul>
                    </li>
                    <li><a href="#" class="forums">Community Forums</a></li>
                </ul>
                <!--main box-->
                <div class="box">
                    <div class="box-bg">
                        <div class="box-info">
                            <div class="maincolumn">
                                <ul id="nav-b">
                                    <li><a href="#" class="news">Latest News</a></li>
                                    <li><a href="#" class="guides">Program Guides</a></li>
                                    <li><a href="#" class="articles">Buzz Articles</a></li>
                                    <li><a href="#" class="journal">Site Journal</a></li>
                                </ul>
                            </div>
                            <div class="sidecolumn">Test</div>
                        </div>
                    </div>
                    <div class="box-foot">&nbsp;</div>
                </div>
            </div>
Undoubtedly I'm misunderstanding the concept =[ Thanks in advance for your help!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old May 1st, 2008, 20:51
Junior Member
Join Date: Feb 2008
Location: Michigan
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Menu Going Under Elements in IE

I had a problem a while back that sounds similar - I found this article helpful: http://annevankesteren.nl/2005/06/z-index
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
<li> elements break in IE7 pesho318i Web Page Design 1 Mar 4th, 2008 16:17
Disappearing elements boscomilo Web Page Design 9 Jun 9th, 2006 14:07
PHP XML Counting Elements Don Logan PHP Forum 1 Mar 18th, 2006 03:03
count of the elements amit_shetye PHP Forum 2 Dec 6th, 2005 16:21
Selecting certain XML elements fogofogo Other Programming Languages 3 Dec 5th, 2005 12:49


All times are GMT. The time now is 17:52.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42