centering my web page

  • Thread starter Thread starter maureen
  • Start date Start date
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
 
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.
 
Back
Top