Results 1 to 5 of 5

Thread: changing the cursor hot spot

  1. #1
    Join Date
    Aug 2009
    Posts
    24
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default changing the cursor hot spot

    Greetings!

    I am working on a site and am using javascript for a drop-down nav table that appears when hovered on. Here is the site:

    http://favilla-designs.com/demo/northpole-option2/

    When you hover over the consulting | products | training buttons under the rotating cube, the drop down table reveals some navigational links on the right side of the table. When you hover the cursor over the links, the cursor's "hot spot" seems to be at the bottom of the pointer rather than the top.

    I don't have a clue how to fix this. Any help is greatly appreciated.

    Kind regards,
    -Kathy

  2. #2
    Join Date
    Oct 2009
    Posts
    845
    Thanks
    14
    Thanked 189 Times in 188 Posts

    Default

    in the style.css line 617, you can try to change the padding-top and padding-bottom to margin-top and margin-bottom, like this
    Code:
    .nav-blue {
    color:#5B77CC;
    font-family:Lucida Sans,Arial,Helvetica,sans-serif;
    font-size:14px;
    line-height:24px;
    margin-bottom:20px;
    margin-top:20px;
    padding-left:20px;
    padding-right:20px;
    }
    I think/hope it will help.

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

    undone (08-17-2010)

  4. #3
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    Paddings and margins are always the first things I check if positioning is off.

    Its surprising what positioning/size "mistakes" you find if you systematically work through all the elements with padding and margins in your CSS.
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  5. The Following User Says Thank You to Beverleyh For This Useful Post:

    undone (08-17-2010)

  6. #4
    Join Date
    Aug 2009
    Posts
    24
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default It was the CSS!

    OMG, I can't believe it was that simple! Thanks for taking the time to help me out and for setting me straight. The links work perfectly now.

  7. #5
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    lol - you didnt have to thank me for that passing coment (but thanks anyway)

    azoomer should take sole credit for this one.
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

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
  •