Results 1 to 4 of 4

Thread: Chrome CSS Drop Down (V2.5)

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

    Default Chrome CSS Drop Down (V2.5)

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

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...rome/index.htm

    3) Describe problem:

    Hi,

    I am a real novice when it comes to Javascript and would like some help with this menu.

    I have got it all up and running but what I would like to do is have the drop down box center the the link that you hover over. Is this possible?

    Kind Regards
    Gareth

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    In your CSS file, change:
    Code:
    .dropmenudiv a:hover{ /*THEME CHANGE HERE*/
    background-color: #F0F0F0;
    }
    To:
    Code:
    .dropmenudiv a:hover{ /*THEME CHANGE HERE*/
    background-color: #F0F0F0;
    text-align: center;
    }
    Jeremy | jfein.net

  3. The Following User Says Thank You to Nile For This Useful Post:

    Gareth (04-06-2011)

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

    Default

    Hi Nile,

    Thanks for your response.



    I would like the drop down box to be directly centered below the Events link but it is offset to the right. I tried the code that you suggested but it did not work

    Any further help would be much appreciated!

    Cheers

  5. #4
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Please post a link to the page on your site that contains the problematic script so we can check it out.
    Jeremy | jfein.net

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
  •