centering my web page

M

maureen

I am using frontpage 2000 premium with windows vista
i am trying to centre my webpage as when it is displaying it is to the right
of the screen i am a real beginner so not to technical please
 
R

Ronx

The usual technique is to place all content in a container (table or div),
and center the container using CSS.
For example:

<body>
<div id="container" style="margin: 0 auto; width: 760px; position:
relative;}
Page content goes here
</div>
</body>

This centers the page, and gives it a fixed width of 760px (for a browser
opened to 800px wide)

However, usually the original page is to left of the screen, not right, so
it may be useful to see the page to give more pertinent advice. A link to
the page will help.

--
Ron Symonds
Microsoft MVP (Expression)
http://www.rxs-enterprises.org/fp

Reply only to group - emails will be deleted unread.
 

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