Results 1 to 1 of 1

Thread: Problem in Chrome re. Smooth Scroll

  1. #1
    Join Date
    Apr 2006
    Posts
    205
    Thanks
    11
    Thanked 0 Times in 0 Posts

    Default Problem in Chrome re. Smooth Scroll

    Hello everybody,

    I've only recently started testing my sites in Chrome and straight away I've come across a problem with one.

    On the following site I'm using a Smooth Scroll effect from Mootools. In Chrome none of my internal links are scrolling to the correct height.

    http://raiar.org/01/pt/home/ (try any of the subsections to see it go wrong)

    I think this might have something to do with the way in which I defined different CSS to position the named anchors in FF and IE.

    CSS I used:
    Code:
    .anchorHolder {
     position: relative; top: -170px;
     /position:inherit;
     /padding-bottom: 20px;
    }
    Am I right in guessing that whereas FF ignores the last two lines Chrome reads them? How can I better define different CSS for different browsers? And what's good about Chrome anyway?
    Last edited by dog; 02-28-2010 at 03:32 PM. Reason: to subscribe to the thread

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
  •