This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem using divs.

 
Darrin Smith
Ranch Hand
Posts: 276
  • 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
  • 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
  • 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
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic