scrolling column in a table

M

Mel

I have a table with 2 columns (the left hand column is 80% width and
the other at 20% width) in a content section. I want the column on
the right hand side to scroll; it contains a bulleted list. When I
add a bunch of bulleted items to the column it just makes my web page
taller. How can I get the column to scroll?

- Mel
 
B

bruce barker

use a div

<div style="overflow:auto;height:400px;">
some content
</div>


note: you must specify an absolute height. if you want it to resize to
page size use javascript and the resize event.

-- bruce (sqlwork.com)
 
M

Mel

use a div

<div style="overflow:auto;height:400px;">
some content
</div>

note: you must specify an absolute height. if you want it to resize to
page size use javascript and the resize event.

-- bruce (sqlwork.com)

Thanks! I didn't set the <div> height so that was the problem. Thank
you, thank you! I think I love you; I'm totally serious!
 
M

Mel

use a div

<div style="overflow:auto;height:400px;">
some content
</div>

note: you must specify an absolute height. if you want it to resize to
page size use javascript and the resize event.

-- bruce (sqlwork.com)

Thanks! I didn't set the <div> height so that was the problem. Thank
you, thank you! I think I love you; I'm totally serious!
 
X

x2creator

use a div

<div style="overflow:auto;height:400px;">
some content
</div>

note: you must specify an absoluteheight. if you want it toresizeto
page size use javascript and theresizeevent.

-- bruce (sqlwork.com)

OMFG it DOES work :D thanks that helped ALOT.


http://www.x2creator.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,810
Latest member
Kassie0918

Latest Threads

Top