How can I get my table displayed in a scrolling window?

S

Sherry

I have a table that's about 4 times the height of my screen. I want to
display it in a scrolling window. How do I go about doing that?
 
S

Sherry

But I don't want this to be a form. The text withing the table has links in
it I want my users to click on.
 
S

Stefan B Rusynko

You can either set up your page in Frames or IFRAMES (IE only)
Another alternative is to use DHTML and layers



| But I don't want this to be a form. The text withing the table has links in
| it I want my users to click on.
|
| | > I have a table that's about 4 times the height of my screen. I want to
| > display it in a scrolling window. How do I go about doing that?
| >
| >
|
|
 
J

jon spivey

I can't see why you'd use an iframe here - if NN4 support isn't important a
scrolling div would be easier, eg
<div id="scroll">
<table>...etc
this table content will scroll as needed
</table>
</div>
and this is the style
#scroll {
height: 250px;
overflow: auto;}

In NN4 the whole table will display non-scrolling. To get scrolling in NN4
would need quite a lot of script.
 
S

Sherry

I'm new at all of this. I pasted the code you sent me into a web page and
the text of the code is what I see, not the scrolling text box. Can you
please explain to me how to make it work? Thanks!!!
 
J

jon spivey

Hi Sherry,

Copy and paste this onto a new page -
<html>
<head>
<style type="text/css">
#scroll {
height: 250px;
overflow: auto;
}
</style>
</head>
<body>
<div id="scroll">
<table>
<tr><td>....put your text here......</tr></td>
</table>
</div>
</body>
</html>

Experiment with 250px to get the height you want - if you're still stuck
give me a shout in the morning and I'll put up an example page
 
S

Stefan B Rusynko

Did you paste it from his post to Notepad and from Notepad to FP Html (Code) View (not into normal design view)




| I'm new at all of this. I pasted the code you sent me into a web page and
| the text of the code is what I see, not the scrolling text box. Can you
| please explain to me how to make it work? Thanks!!!
|
|
| | > I can't see why you'd use an iframe here - if NN4 support isn't important
| a
| > scrolling div would be easier, eg
| > <div id="scroll">
| > <table>...etc
| > this table content will scroll as needed
| > </table>
| > </div>
| > and this is the style
| > #scroll {
| > height: 250px;
| > overflow: auto;}
| >
| > In NN4 the whole table will display non-scrolling. To get scrolling in NN4
| > would need quite a lot of script.
| >
| > --
| > Jon
| > Microsoft MVP - FP
| >
| > | > > You can either set up your page in Frames or IFRAMES (IE only)
| > > Another alternative is to use DHTML and layers
| > > --
| > >
| > > _____________________________________________
| > > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > > "Warning - Using the F1 Key will not break anything!" (-;
| > > To find the best Newsgroup for FrontPage support see:
| > > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > > _____________________________________________
| > >
| > >
| > | > > | But I don't want this to be a form. The text withing the table has
| links
| > in
| > > | it I want my users to click on.
| > > |
| > > | | > > | > I have a table that's about 4 times the height of my screen. I want
| to
| > > | > display it in a scrolling window. How do I go about doing that?
| > > | >
| > > | >
| > > |
| > > |
| > >
| > >
| >
| >
|
|
 
S

Sherry

I guess I need help. This doesn't give me a scrolling text box. Can you post
something for me to look at please?
Thanks
 

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