ecp5
11-29-2008, 06:48 PM
1) Script Title: Drop Down Tabs
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/droptabmenu.htm
3) Describe problem:
My DIV is getting a position attrbiute that I can't figure out where it is coming from. I have copied the example CSS and some CSS from another site that works correctly and nothing works. If I don't give it a DIV at all, it moves to the left margin of the parent DIV, but still not immediately below the main menu. Not sure what I am doing wrong. When I look in Firebug I see: (I can't find where the "element.style" is getting its positioning from)
element.style {
left:192px;
top:207px;
visibility:hidden;
}
.dropmenudiv_b {layout.css (line 47)
background-color:#757367;
border-color:#918D8D;
border-style:solid;
border-width:0 1px;
color:#FFFFFD;
font-family:Verdana;
font-size:9px;
font-size-adjust:none;
font-stretch:normal;
font-style:normal;
font-variant:normal;
font-weight:normal;
line-height:12px;
opacity:0.9;
position:absolute;
top:0;
visibility:hidden;
width:150px;
z-index:100;
I have attached what it looks like when main menu moused over. If you need the site or full CSS, let me know.
Thanks for any help.
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/droptabmenu.htm
3) Describe problem:
My DIV is getting a position attrbiute that I can't figure out where it is coming from. I have copied the example CSS and some CSS from another site that works correctly and nothing works. If I don't give it a DIV at all, it moves to the left margin of the parent DIV, but still not immediately below the main menu. Not sure what I am doing wrong. When I look in Firebug I see: (I can't find where the "element.style" is getting its positioning from)
element.style {
left:192px;
top:207px;
visibility:hidden;
}
.dropmenudiv_b {layout.css (line 47)
background-color:#757367;
border-color:#918D8D;
border-style:solid;
border-width:0 1px;
color:#FFFFFD;
font-family:Verdana;
font-size:9px;
font-size-adjust:none;
font-stretch:normal;
font-style:normal;
font-variant:normal;
font-weight:normal;
line-height:12px;
opacity:0.9;
position:absolute;
top:0;
visibility:hidden;
width:150px;
z-index:100;
I have attached what it looks like when main menu moused over. If you need the site or full CSS, let me know.
Thanks for any help.