SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Zealot m3avrck's Avatar
    Join Date
    Sep 2002
    Location
    Arlington, VA
    Posts
    122
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Scroll in browser, not in div?

    Hey guys, can you have a look at this:

    http://tedserbinski.com/tmp/layout/

    Right now it scrolls as part of the div as overflow. Is there a way to move things about so it scrolls as part of the browser (e.g., the scroll bar is in its normal browser position on the right?).

    Any ideas?

    I could live with it I suppose...

  2. #2
    SitePoint Zealot
    Join Date
    Apr 2006
    Location
    Ohio USA
    Posts
    171
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    remove this:

    Code:
      div#sub-wrapper {
         height:526px;
    It'll break some things that you'll have to work out, but this is why it's scrolling in the div.

  3. #3
    SitePoint Zealot m3avrck's Avatar
    Join Date
    Sep 2002
    Location
    Arlington, VA
    Posts
    122
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Right, I undertsand *why* it is scrolling but I want to move the scrolling from just inside that div to the entire page itself. Make sense? I've seen it done a few times... not sure if possible with my layout though as I want to keep that center part fixed height but have the scroll bar on the browser right instead of in the div itself.

  4. #4
    CSS & JS/DOM Adept bronze trophy
    Join Date
    Mar 2005
    Location
    USA
    Posts
    5,482
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You might be able to do it with fixed positioning if you split that background image into a few pieces. You would need to use a hack to get it to work in IE5-6 though.
    We miss you, Dan Schulz.
    Learn CSS. | X/HTML Validator | CSS validator
    Dynamic Site Solutions
    Code for Firefox, Chrome, Safari, & Opera, then add fixes for IE, not vice versa.

  5. #5
    SitePoint Zealot m3avrck's Avatar
    Join Date
    Sep 2002
    Location
    Arlington, VA
    Posts
    122
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Kravvitz
    You might be able to do it with fixed positioning if you split that background image into a few pieces. You would need to use a hack to get it to work in IE5-6 though.
    Hmm that is what I'm thinking, don't see any other way besides that.

    Ok thanks!


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
  •