Weird behavior with anchors

Discussion in 'CSS' started by astersmitem, Jul 30, 2008.

  1. #1
    I'm having a problem with my site, Prank Ape, that I can't quite figure out. When you click on a link that should take you to a comment, instead of the browser scrolling down to the appropriate anchor, it brings the anchor up to the top of the page - pushing everything above that comment up and underneath the page header (Example), including the sidebar. Has anybody ever seen this behavior before and is there a fix? I'm pretty good with CSS, but I just can't figure this one out.
     
    astersmitem, Jul 30, 2008 IP
  2. astersmitem

    astersmitem Peon

    Messages:
    35
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Sorry everybody, I figured it out. The theme creation kit (ATCK for Drupal), I used had something that was making the divs in question "tidy" - which from what I understand just adjusts column heights to be the same. My site doesn't even need this, so I switched the classes from "tidy" to "untidy" and it started working perfectly. Just my luck that I would spent a day trying to figure it out, only to finally get it shortly after I post for help. Oh well.
     
    astersmitem, Jul 30, 2008 IP
  3. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #3
    It goes that way sometimes : )
     
    Stomme poes, Jul 31, 2008 IP