Have scroll bars in some table cells

S

susieq

I want to be able to have scroll bars within particular cells in a table, as
this table will be viewed on the web.
As some of the cells are going to contain considerable data, and some of the
others not, I want to be able to have scroll bars to these cells, thereby
allowing for easy viewing for customers and also the table cell will not take
up so much viewable webspace.

I managed to add a Div to one cell, but although it showed the scroll bars
in preview mode (webpage), on the design page, the cell kept on getting
longer the more data I entered.
Does anyone know the correct Div I need to add, so that works correctly and
shows in both design and preview mode on a webpage.

Many thanks,
 
S

susieq

Hi Jon, Thansk for replying.
I did as you suggest. code as follows:

<table border="1" cellpadding="0" cellspacing="0" height="98"
bordercolor="#000080" id="table1">
<tr>
<td><div style="height:91px;width:200px;overflow:auto">
<p> </td>
</tr>
</table>

But the same thing happens, in preview mode the cell has the scroll bars,
but on the design page the cell just keeps getting longer and longer.
Is there a way to set the table height to absolute, even though the height
is already set, so that it cannot grow even in design view. Otherwise trying
to design the page around the table is very difficult, although if I had the
table showing in an iFrame it wouldn't matter I suppose.
Is there a way around this?

Many thanks,
Susieq
 
T

Thomas A. Rowe

Does it work correctly when you use File Menu | Preview in Browser, which is more important then how
it appears when viewed in FP Design or Preview tab?

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================
 
S

susieq

Hi Thomas,
Yes, you can see the scroll bars.
If I add other content in layers, they will only sit underneath the table
irrespective of how large it is, but when viewing the page, the content
appears as normal, with the scroll bars working.

Now if I want to add the Table cell into another webdesign software program,
would it be a case of copying the full code, or just applying the div to a
the program's own table cell?

Many thanks,
Susieq
 
S

susieq

Update:
I tried just ading the Div to a different table in another program, but it
wouldn't then display the scroll bars.
But when I copied all the code (as well as the content in the cells), and
pasted it into the other program, the scrol bars were still working.

Perhaps this is something Microsoft could add to both FrontPage's Tables and
to Excel.
As sometimes when adding content, you want to be able to see it, but don't
want the table cell to enlarge itself to accommodate the content; Scroll Bars
would definitely be a good option!

Thanks,
Susieq
 
T

Thomas A. Rowe

Tables are implement based on HTML guidelines, not Microsoft.

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.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

Top