Results 1 to 3 of 3

Thread: Chrome CSS Drop Down Question

  1. #1
    Join Date
    Apr 2008
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Chrome CSS Drop Down Question

    1) Script Title: Chrome CSS Drop Down Menu (v2.5)

    2) Script URL (on DD): Http://www.dynamicdrive.com/dynamici...rome/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.

  2. #2
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Ad this to the css:
    Code:
    .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*/
    }

  3. #3
    Join Date
    Apr 2008
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Ah, the answer lay in the CSS. Thank you very much!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •