Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Page Layout

Status
Not open for further replies.

BNPMike

Technical User
Sep 17, 2001
1,818
GB
I haven't used Frontpage for quite a while. First thing is I can't see how you set the size of the page. Perhaps I'm barking up the wrong tree here. You can push items out to the right and the window increases. so I guess there's normally no concept of a page size. However is there anything that tells you how wide your page is going to be? Preview doesn't give an accurate idea as it is not 'full screen'. Also I notice other people's pages are often centred. How do you do that?

 
Several questions here

First thing is I can't see how you set the size of the page.
You don't - the browser does that. You can tell the browser to start at a specific size but make sure it is not bigger than 800x600 otherwise everything will disappear off the edges when the user uses an 800x600 display.

If you really want a starting size, add the following in the <head> section
Code:
<script language="vbscript">
resizeTo wid,hgt
</script>
You can push items out to the right and the window increases. so I guess there's normally no concept of a page size.
However is there anything that tells you how wide your page is going to be?
No - this depends on the browser. A browser with a default 20 point font is going to have a wider page than a browser with a default 10 point font.
Also I notice other people's pages are often centred. How do you do that?
Many techniques. The one I use is to enclose the section you wish to centre in a paragraph and then centre the paragraph. In HTML, it should look something like
Code:
<p align="center"><input type=button></p>
will give you a centred button.
 
Thanks XWB. I was thinking how you make your whole web page sit in the middle of the screen. I guess the answer to all these positioning questions is CSS. There is only one paragraph on it in the manual that came with my Frontpage 2000.

I have to say I am very disappointed with Frontpage. I've had to change all the table widths manually in the HTML as FP just doesn't work and it's WYSIsn'tWYG. Do you think I should give up on it or buy a book? I don't really want much apart from neat lines and borders around text and image rectangles.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top