PDA

View Full Version : Chrome CSS Drop Down Question



Jip
12-05-2008, 06:26 PM
1) Script Title: Chrome CSS Drop Down Menu (v2.5)

2) Script URL (on DD): Http://www.dynamicdrive.com/dynamicindex1/chrome/index.htm

3) Describe problem: Is it possible to set a vertical offset where the div pops up from? In other words, I want the div to pop up around three pixels below from where it currently does.

Any help is much appreciated,
Thanks.

Snookerman
12-05-2008, 08:35 PM
Ad this to the css:

.dropmenudiv{
margin-top:3px;
position:absolute;
top: 0;
border: 1px solid #BBB; /*THEME CHANGE HERE*/
border-bottom-width: 0;
font:normal 12px Verdana;
line-height:18px;
z-index:100;
background-color: white;
width: 200px;
visibility: hidden;
filter: progid:DXImageTransform.Microsoft.Shadow(color=#CACACA,direction=135,strength=4); /*Add Shadow in IE. Remove if desired*/
}

Jip
12-05-2008, 11:16 PM
Ah, the answer lay in the CSS. Thank you very much!