SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    May 2013
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Sticky element not working in Firefox

    I'm having trouble with a sticky element in Firefox. It doesn't seem to be working at all and I can't see why. It works fine in Safari and Chrome.

    The sidebar and top should be sticky: http://www.xnthony.com/xnto/blog

    See it in Chrome to see it working.

    I'd appreciate any help.

  2. #2
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,696
    Mentioned
    101 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by JumpJump View Post
    I'm having trouble with a sticky element in Firefox. It doesn't seem to be working at all and I can't see why. It works fine in Safari and Chrome.

    The sidebar and top should be sticky: http://www.xnthony.com/xnto/blog

    See it in Chrome to see it working.

    I'd appreciate any help.
    I think that Firefox has trouble when using just body. Try using 'body,html' so that it works in Firefox too.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript


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
  •