473,406 Members | 2,956 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

scrolling column in a table

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

Oct 3 '07 #1
4 2523
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)

Mel wrote:
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
Oct 3 '07 #2
Mel
On Oct 3, 2:12 pm, bruce barker <nos...@nospam.comwrote:
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)

Mel wrote:
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
Thanks! I didn't set the <divheight so that was the problem. Thank
you, thank you! I think I love you; I'm totally serious!

Oct 3 '07 #3
Mel
On Oct 3, 2:12 pm, bruce barker <nos...@nospam.comwrote:
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)

Mel wrote:
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
Thanks! I didn't set the <divheight so that was the problem. Thank
you, thank you! I think I love you; I'm totally serious!

Oct 3 '07 #4
On Oct 3, 3:12 pm, bruce barker <nos...@nospam.comwrote:
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)

Mel wrote:
I have a table with 2columns(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
OMFG it DOES work :D thanks that helped ALOT.
http://www.x2creator.com

Oct 15 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Not Me | last post by:
Hi, I'm sure this is a common problem.. to create a single field from a whole column, where each row would be separated by a comma. I can do this for a specified table, and column.. and I've...
11
by: Peter Foti | last post by:
Hi all, I have a form that contains a 2 column table. In the left column is the description for a particular input (ie - "First Name", "Last Name", "Phone Number", etc.). In the right column...
18
by: Mr.Clean | last post by:
I have a table and would like to make it scroll if more rows are in the table than are visible in the height. How would I do that? overflow: scroll; doesn't work in IE or mozilla on this table.
3
by: Kathy | last post by:
Hi and thanks in advance for your help! I have Access 2000. I have imported a delinited text file and now have table with one column containing 100 records. I would like to display these values in...
2
by: Hymer | last post by:
Hello, I have a small two-column table with three rows. The first column has a logo and the second column has the name of the organization. The logo's in the first column are too high. That...
5
by: Hymer | last post by:
Hello, I have a small two-column table with three rows. The first column has a logo and the second column has the name of the organization. The logo's in the first column are too high. That...
10
by: ste | last post by:
Hi there, I'm trying to query a MySQL database (containing image data) and to output the results in a HTML table of 3 columns wide (and however many rows it takes) in order to create a basic...
1
by: akress | last post by:
Hiya, I'm trying to convert a table with 6 colums that looks like this: <table class="myTable" width="640px"> <tr> <td><a href="#"> <img src="../_img/announce.gif" align="middle"...
3
by: Csaba Gabor | last post by:
I have a table with 3 rows, and two pieces of data to display in each row. However, the first element of the last two rows and the 2nd element of the 1st row are very short. This would seem to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.