Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Re: DIVs and overflow scroll bars

Thread Tools

Re: DIVs and overflow scroll bars

S. Justin Gengo
Posts: n/a
I don't know if this would work but what happens if the div is in a table?

You could try setting the table's first row to a fixed pixel height for the
header and the second table row height to 99%. Then maybe if the div tag is
inside the second table row its 100% setting will make it fill the table row
and not the whole page?

I have no idea if this will work. It's just an idea to try.

S. Justin Gengo, MCP
Web Developer

Free code library at:

"Out of chaos comes order."
"(Liquid) Daniel Bass" <(E-Mail Removed)> wrote in
message news:%(E-Mail Removed)...
> a pic's worth a thousand words so if you can make sense of the attached
> image do you know if it's possible?
> basically say you set a DIV style to have 90% width and height and set
> overflow to auto, where elements inside it overflow, the DIV element will
> produce scroll bars...
> and so if view the page in different resolution, or browser view size, you
> know the div will always occupy a 90% X 90% of the visible page and use
> scroll bars to allow the user to view other content...
> well, i want to konw if i can have a format whereby i can use 100% width,
> and a certain height so that i can have a no scrollable header, and the

> of the page below is always filled with the scrollable DIV, no matter what
> res or view size i look at the page at.
> it's a simple thing really, but it's driving me crazy.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Opening windows with and without scroll bars john6630 Javascript 0 12-06-2009 12:34 AM
swapping divs -- when divs NOT positioned absolutely.. maya Javascript 4 11-16-2007 05:11 PM
Using a div with scroll bars - can we get the scroll bars on the left instead of the right side? UJ ASP .Net 1 11-01-2006 09:32 PM
Managing divs within divs.... rich HTML 0 02-02-2006 07:38 PM
Re: Horizontal scroll bars in IE6? rf HTML 0 07-24-2003 11:43 PM