Results 1 to 2 of 2

Thread: Scrolling with browser Scrollbar?

  1. #1
    Join Date
    Jul 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Scrolling with browser Scrollbar?

    This may have been answered but i couldn't find it through search, at least not what i thought was the answer. It also may be so simple that it has never been asked and i am just complicating it.
    I have mostly a flash background so html is not second nature to me. that being said...
    i want to have a simple set up of a fixed back ground image and a context box centered in that back ground that is scrollable via the browsers scroll bar. is this just a <div> situation or do i need to make a table? Sorry, i am going in reverse as far as learning html after i have learned other things. thanks for the help, AS USUAL!
    Josh

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    I think you are thinking about the situation backwards: it's not possible to "attach" a div to the scrollbar-- just make it attached by default.
    The complex part is getting the OTHER elements to stay where they are.

    So what you need is CSS positioning that will force the 'background' and other parts of the page to not move.

    The real question is exactly what elements you want to keep from moving then someone can help you figure out the CSS. It may be simple or if you end up with a complex layout it may require some Javascript to help.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

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
  •