• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Problem using divs.

 
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a page that has an area that I would like to make scrollable while the rest of the page stays put.

I was told that it was easy to do using "scrolling divs". Well, I googled for this and found an example, but when I run the app nothing even similar to what I exepected (an area with scroll bars) gets displayed. What I see is the exact page as it was before but with a square box in the background.

Here is a snippet of the code:



What is it that I am doing wrong? Is it that the components have static position values?

Thanks.
[ June 07, 2005: Message edited by: Darrin Smith ]
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
can you do me a favor and do a view source on the page and give me that code instead....
 
Darrin Smith
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

[ June 07, 2005: Message edited by: Darrin Smith ]
 
Eric Pascarello
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Remove the asolute positioning from the tables along with their top and left positions and that should get you started.

I avoid abs. positioning at all costs!

Eric
 
reply
    Bookmark Topic Watch Topic
  • New Topic