Page length

M

mikka766

Hi.

I have a problem with a website that I'm editing with Frontpage.

The length of each page is different, so I was wondering if I can set
one standard length and for the longer pages insert a scroll bar to
read the pat of the text that does not fit in the fixed length.

How can I do it?

Thanks
 
R

Ronx

Use a scrollable div:

<div style="width:600px; margin: 0 auto; height: 350px; overflow:
auto;">Scrollable content goes here</div>

The scroll bars will be added if they are required. To always show
scroll bars, use overflow: scroll; instead of overflow: auto; .

Note that if the browser portal is not tall enough for the page, 2
vertical scroll bars will be shown - 1 for the whole page, plus 1 for
the scrollable div.

Change width and height values to suit your layout.
 
V

veziof

Change width and height values to suit your layout.

thanks

another question: how do I change the layout (width and height) of the
pages? I've selected the option to share top and left border but I
don't understand how to make the layout fixed so that when I open any
page with a browser I can see it centered in the middle of the screen.
Shall I change the margins?

thanks again
 
R

Ronx

Don't use shared borders - pages with shared borders will always be at
100% of the browser width, and cannot be centred. Use Include pages
instead for the left and top borders. Includes can be incorporated into
a fixed width, centred layout without any problems. Unless you can fix
the width of the page, changing margins will not solve centring issues -
what margin do you use for a browser opened at 970px wide? What do you
use for a browser opened at 800px wide? And for 1280px?

--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.

http://www.rxs-enterprises.org/fp
 
V

veziof

Don't use shared borders - pages with shared borders will always be at
100% of the browser width, and cannot be centred. Use Include pages
instead for the left and top borders. Includes can be incorporated into
a fixed width, centred layout without any problems. Unless you can fix
the width of the page, changing margins will not solve centring issues -
what margin do you use for a browser opened at 970px wide? What do you
use for a browser opened at 800px wide? And for 1280px?

yes, I understand, but I don't know how to use "Include pages". How
can I have the same layout for all the pages? That's why I used shared
borders

thanks again
 
M

mikka766

Take a look athttp://www.rxs-enterprises.org/tests/SB-to-IC.htm
In your case use a fixed width for the table, example 760px, not 100%.
Then centre the table.

Hi.

I have another question.

Not all the screen resolutions are compatible with the website. With
some of them (i.e.: 1152x864px) the text is shifted to the left so it
cannot be visualized properly.

What can I do?

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