File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem using divs.

 
Darrin Smith
Ranch Hand
Posts: 276
  • 0
  • Mark post as helpful
  • send pies
  • 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 ]
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

[ June 07, 2005: Message edited by: Darrin Smith ]
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic