WEB Really quick CSS issue, halp? Overflow/scrollbars

Discussion in 'OT Technology' started by Insert Tokens, Mar 2, 2009.

  1. Insert Tokens

    Insert Tokens Making Cancer My Bitch OT Supporter

    Joined:
    Jan 12, 2006
    Messages:
    8,329
    Likes Received:
    75
    Location:
    Tasmania
    Still learning some of the CSS stuff required when using jquery/div-layers/etc..

    I've made this crappy site for a friend:

    http://evilparrot.com/dev/skulogic/

    How can I make the main window scrollbars vanish? I've tried setting a height on a parent div of all those content panes and setting overflow to none, but it aint working.. :wtc:
     
  2. kingtoad

    kingtoad OT Supporter

    Joined:
    Sep 2, 2003
    Messages:
    55,923
    Likes Received:
    11
    Location:
    Los Angeles
    overflow: hidden;
     
  3. Insert Tokens

    Insert Tokens Making Cancer My Bitch OT Supporter

    Joined:
    Jan 12, 2006
    Messages:
    8,329
    Likes Received:
    75
    Location:
    Tasmania
    Tried that... then realised I need to put it on the BODY not on the parent div :o

    Been a LONG day..
     
  4. kingtoad

    kingtoad OT Supporter

    Joined:
    Sep 2, 2003
    Messages:
    55,923
    Likes Received:
    11
    Location:
    Los Angeles
    Another approach would be to use JavaScript to set the CSS elements to hidden, then show them on an event.
     
  5. Insert Tokens

    Insert Tokens Making Cancer My Bitch OT Supporter

    Joined:
    Jan 12, 2006
    Messages:
    8,329
    Likes Received:
    75
    Location:
    Tasmania
    Did that as well, but as they animate upwards a scrollbar appaers then disappears.

    I did overflow:hidden on the body and it's working perfectly now :)
     

Share This Page