Re: Have scroll bars in some table cells

Tech-Archive recommends: Speed Up your PC by fixing your registry



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

"susieq" wrote:

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

"Thomas A. Rowe" wrote:

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
==============================================


"susieq" <susieq@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:69444294-9330-4F70-9D5D-AB7B0B336790@xxxxxxxxxxxxxxxx
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


"Jon Spivey" wrote:

Hi,
<div style="height:200px;overflow:auto;">
.....content
</div>

Cheers,
Jon

"susieq" <susieq@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:BB93E951-A163-4DA2-9932-D1372C857A46@xxxxxxxxxxxxxxxx
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,






.



Relevant Pages

  • Re: Have scroll bars in some table cells
    ... you can see the scroll bars. ... Now if I want to add the Table cell into another webdesign software program, ... but on the design page the cell just keeps getting longer and longer. ... I managed to add a Div to one cell, but although it showed the scroll bars ...
    (microsoft.public.frontpage.programming)
  • Re: Have scroll bars in some table cells
    ... 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. ... shows in both design and preview mode on a webpage. ...
    (microsoft.public.frontpage.programming)
  • Re: Have scroll bars in some table cells
    ... Microsoft MVP - FrontPage ... I tried just ading the Div to a different table in another program, ... want the table cell to enlarge itself to accommodate the content; Scroll Bars ...
    (microsoft.public.frontpage.programming)
  • MSHFlexGrid problem
    ... I have a MSHFlexGrid that has scroll bars in both directions. ... I turn the scrolling off whenever I edit a cell by overlaying the cell ... I can't disable the grid because clickiing anywhere else on the grid ...
    (microsoft.public.vb.general.discussion)
  • Re: Panel in Table with overflow problem with firefox
    ... my datagrid will expand itself in case where there isn't ... much records...and if the number of records makes it larger than the cell, ... that is why I put the panel in that cell, and with the datagrid in that panel. ... and the scroll bars doesn't get used. ...
    (microsoft.public.dotnet.framework.aspnet)