Results 1 to 4 of 4

Thread: Help move dropdown PLEASE

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

    Default Help move dropdown PLEASE

    Hi all,
    Could someone please help? I need to move my dropdown menu left by 20px and no matter what i do i cant do it.

    I really dont know much about css so I really need some help.

    This is the code im trying to edit

    .dropmenudiv{
    position:absolute;
    top: 0;
    border: 1px solid #d2abcb; /*THEME CHANGE HERE*/
    border-bottom-width: 0;
    font:normal 10px Verdana;
    line-height:18px;
    z-index:100;
    background-color: white;
    width: 171px;
    visibility: hidden;
    }


    Any help would be great.

    Many thanks in advance.

    Jon

  2. #2
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    See if this works. Relative positioning has it's own design limitations, but depending on your page, it might not matter.

    Code:
    .dropmenudiv{
    position:relative;
    left:-20px;
    top: 0;
    border: 1px solid #d2abcb; /*THEME CHANGE HERE*/
    border-bottom-width: 0;
    font:normal 10px Verdana;
    line-height:18px;
    z-index:100;
    background-color: white;
    width: 171px;
    visibility: hidden;
    }
    The highlighted is what I changed.

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

    Default

    Thanks I tried this but it threw the whole page out.

    Im using the chromestyle menu if thats any help.

    Jon

  4. #4
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    Quote Originally Posted by jonnyw6969 View Post
    Thanks I tried this but it threw the whole page out.

    Im using the chromestyle menu if thats any help.

    Jon
    Yea, those would be the design limitations I was talking about. It works in some instances, it doesn't in others.

    You should post a link to your test page where we can see the problem in action. Or post a stripped down version of your code --keep the structure, delete the text, images, etc..

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
  •