473,399 Members | 2,858 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

CSS Overflow:Visible IE

Hi,
I'm working on a site that has a drop-down navigation bar on the top
of the screen (in a separate php file), but whenever the menu drops
down, the #header div expands over the body content. You can see what
I mean at bkaneweb.com/LICF . It works fine in Firefox, but I can't
seem to get it to work in IE. I've posted the code below: Any help
would be very much appreciated! Thanks!

CSS:
#header {
font: 9px verdana;
color: #CCCCCC;
width:100%;
border-bottom: 1px solid #DDD;
border-top: none;
font-weight: bold;
background: #F1F1F1;
height:138px;
overflow-y:visible;
float:left;
position:absolute;
}

/* CSS Tabs */
dl, dt, dd, ul, li {
margin: 0;
padding: 0;
list-style-type: none;
}

#header dl {
float:left;
width: 130px;
text-align:center;
}
#header dt {
cursor: pointer;
text-align: center;
font-weight: bold;
background:url(tabpinktop.gif);
height:25px;
margin: 1px;
}
#header dd {
display: none;
border: 1px solid gray;
}
#header li {
text-align: center;
background:url(tabpinklight.gif);
height:20px;
}
#header li a, #header dt a {
color: #000;
text-decoration: none;
display: block;
height: 100%;
border: 0 none;
}
#header dt a:hover, #header dt a:focus {
background: url(tabwhitetop.gif);
}
#header li a:hover, #header li a:focus {
background: url(tabwhitesmall.gif);
}
#site {
position: absolute;
z-index: 1;
top : 70px;
left : 10px;
color: #000;
background-color: #ddd;
padding: 5px;
border: 1px solid gray;
}
/* End of CSS Tabs */

<div id="header">
<dl>
<dt onmouseover="javascript:show();"><a href="/LICF/index.php"
title="Return to home">Home</a></dt>
</dl>

<dl>
<dt onmouseover="javascript:show('smenu1');"><a href="/LICF/
candles.php">Candles</a></dt>
<dd id="smenu1" onmouseover="javascript:show('smenu1');"
onmouseout="javascript:show('');">
<ul>
<li><a href="/LICF/glass.php">Glass</a></li>
<li><a href="/LICF/traveltins.php">Travel Tins</a></li>
<li><a href="/LICF/votives.php">Votives</a></li>
<li><a href="/LICF/beeswax.php">Beeswax</a></li>
<li><a href="/LICF/fragrances.php">Fragrances</a></li>
</ul>
</dd>
</dl>
<dl>
<dt onmouseover="javascript:show('smenu2');"><a href="/LICF/
diffusers.php">Reed Diffusers</a></dt>
<dd id="smenu2" onmouseover="javascript:show('smenu2');"
onmouseout="javascript:show('');">
<ul>
<li><a href="/LICF/fragrances.php">Fragrances</a></li>
<li><a href="/LICF/refilloils.php">Refill Oils</a></li>
<li><a href="/LICF/refillreeds.php">Bamboo Reeds</a></li>
</ul>
</dd>
</dl>

<dl>
<dt onmouseover="javascript:show('smenu3');"><a href="/LICF/
index.php">Bath &amp; Body</a></dt>
<dd id="smenu3" onmouseover="javascript:show('smenu3');"
onmouseout="javascript:show('');">
<ul>
<li><a href="/LICF/bodywash.php">Body Wash</a></li>
<li><a href="/LICF/moisturizers.php">Moisturizers</a></li>
<li><a href="/LICF/bathsalt.php">Bath Salt</a></li>
<li><a href="/LICF/sachets.php">Sachets</a></li>
</ul>
</dd>
</dl>

<dl>
<dt onmouseover="javascript:show('smenu4');"><a href="/LICF/
misc.php">Miscellaneous</a></dt>
<dd id="smenu4" onmouseover="javascript:show('smenu4');"
onmouseout="javascript:show('');">
<ul>
<li><a href="/LICF/oils.php">2 Oz. Oils</a></li>
<li><a href="/LICF/oilburners.php">Oil Burners</a></li>
</ul>
</dd>
</dl>
<dl>
<dt onmouseover="javascript:show('smenu5');"
onmouseout="javascript:show('');"><a href="/LICF/gifts.php">Gifts</a></
dt>
<dd id="smenu5">
<ul>
<li><a href="/LICF/baskets.php">Gift Baskets</a></li>
<li><a href="/LICF/wedding.php">Wedding Favors</a></li>
</ul>
</dd>
</dl>
</div>

Jun 13 '07 #1
1 5921
Nevermind, I got it working...

Jun 14 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: Andrew Fedoniouk | last post by:
I have a simple test document which produce the following in Mozilla and Opera: http://terrainformatica.com/w3/p2/problem1.png Internet Explorer behaves as per recommendation (I guess) Did I...
5
by: Charles Blaquière | last post by:
As part of my explorations in liquid design, I'm exploring ways to use the overflow: hidden property -- when browser windows become too narrow, I want (some) images to get cropped rather than have...
6
by: Kai Grossjohann | last post by:
I have a frame which is supposed to contain a list of links. The clickable area of each link comprises a picture followed by some text. I want the text to be cut at the right hand side when the...
1
by: Appleboy | last post by:
Hello, I apologize about my poor english. I need to put an image inside a box and I would like that the image expands to both sides without alter the parent box. Something like that: <div...
10
by: GTi | last post by:
I have a popup window, If this window is to smaal the scrollbars is visible. Is there any JavaScript available so I can check if the scrollbars is visible on page (right and bottom side)? Then I...
1
by: Simon Dean | last post by:
Hi, Im trying to learn CSS and putting a website in effect. Just getting used to DIV's and SPAN's and using the proper formatting of H1 H2 H3 etc to format HTML documents and using different...
5
by: vunet.us | last post by:
How can I hide scrollbars which appear in my floating div element with CSS property overflow:auto? I do need to use auto overflow. Thank you.
4
by: zzpat | last post by:
I have a box element that uses overflow: hidden and I want a link which at the bottom of the element to be visible. I can't make the link visible. Obviously I'm having problems so I was...
12
Plater
by: Plater | last post by:
I have run into a situation, where I am not clear what attribbutes I have set incorrectly. I have the following snipit of html: <div id="divFloatingSearch" > <div id="divSearchTop"> Enter in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.