Working on a drop down menu, but the dropdown section doesn't overlap div below in IE

This is a discussion on "Working on a drop down menu, but the dropdown section doesn't overlap div below in IE" within the Web Page Design section. This forum, and the thread "Working on a drop down menu, but the dropdown section doesn't overlap div below in IE are both part of the Design Your Website category.



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

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Mar 25th, 2008, 15:19
Junior Member
Join Date: Feb 2007
Location: Missouri
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Working on a drop down menu, but the dropdown section doesn't overlap div below in IE

Never really used dropdowns before and I'm trying to add one to an existing website. I stripped out all the html and css not related to this problem, and have posted it below. Problem is the drop down list isn't overlapping the div below it in IE...works fine in other browsers...I've tried various clear statements but its still a no go in IE 6...thanks for any help

HTML: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<link href="dropdown_test.css" rel="stylesheet" type="text/css" />
</head>

<body>

<div id="wholecontainer">
    <div id="headercontainer">
        <div id="navbar">
                                
                <ul id="nav">
                    <li class="navbutton1"><a href="whoweare.html">Who We Are</a>
                        <ul class="dropdown">
                            <li>About Us</li>
                            <li>Meet The Departments</li>
                            <li>Testimonials</li>
                            <li>News</li>
                            <li>Contact Us</li>
                        </ul>
                    </li>
                    
                    <li class="navbutton2"><a href="whatwedo.html">What We Do</a>
                    
                    </li>
                </ul>
                
        </div>
        
        <div class="header_welcome"></div>
    </div>
</div>

</body>
</html>
HTML: Select all
/* CSS Document */
form, p, ul, li, dl, dt, dd, body, h1, h2, h3, h4, h5, h6 {
    margin: 0; padding: 0;
}

#wholecontainer {
    width: 742px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 8px;
}

#headercontainer {
    height: 246px;
    width: 742px;    
}


/* Begin Navigation bar */


#navbar {
    width: 636px;
    height: 32px;
    float: left;
    padding: 0px;
    border: none;
}

#navbar a {
    color: #FFFFFF;    
}

#navbar a:hover {
    color: #CCCCCC;    
}


.navbutton1, .navbutton1 a {
    float: left;
    margin: 0px;
    height: 32px;
    width: 144px;
    display: block;
    background-color: green;
}

.navbutton1 a:hover {
    height: 32px;
    width: 144px;
}

.navbutton2, .navbutton2 a {
    float: left;
    margin: 0px;
    height: 32px;
    width: 141px;
    display: block;
    background-color: green;
}

.navbutton2 a:hover {
    height: 32px;
    width: 141px;
}


/****************************start dropdown css*****************************/


#nav ul {
    float: left;
    position: relative;
}

#nav li {
    list-style-type: none;
}

#nav ul a {
    display: block;
    width: 144px;
}

#nav ul li {
    float: left;
    width: 144px;
    list-style-type: none;
    background-color: red;
}

.dropdown {
    float: left;
    position: relative;
}

.header_welcome {
    float: left;
    height: 165px;
    width: 636px;
    background-color: orange;
}
some screenshots of the problem...



Reply With Quote

  #2 (permalink)  
Old Mar 25th, 2008, 17:32
Junior Member
Join Date: Feb 2007
Location: Missouri
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Working on a drop down menu, but the dropdown section doesn't overlap div below i

nevermind, I figured it out, if a mod could delete this thread that would be great!
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
Dropdown menu from logo freddylaval JavaScript Forum 3 Jan 13th, 2008 16:27
menu, dropdown everland Flash & Multimedia Forum 2 Aug 21st, 2007 14:58
Dropdown Menu Issue greenphoenix Web Page Design 2 Aug 22nd, 2006 20:17
Drop Down Menu not Working Since I added Toggle Javascript to Page davva JavaScript Forum 1 May 19th, 2006 15:03
Dropdown menu Jorgerb Flash & Multimedia Forum 6 May 17th, 2005 08:29


All times are GMT. The time now is 07:21.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs 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 43