Centering Pages to View on Internet Explorer

G

Guest

I usually don't use Frontpage to build websites since Dreamweaver is so much
easier, however for this current site I am building i have to use Frontpage.

My question is how do i center each page, so it will be centered in Internet
Explorer, instead of Left Aligned? I have tried searching the Frontpage help
and it was useless.

Please Help! ASAP!
 
M

Murray

Search the forum with "center" or "centre" in the subject. It's one of the
most frequently asked questions - you're sure to find plenty of hits.
 
G

Guest

That didn't help me much considering i have searched and searched for an
answer. could you please give me a step by step answer where i dont have to
search? thanks for all your help!
 
M

Murray

Gee -

It depends on whether you are using absolute positioning on the page, as to
which method might be best, but in either event, this will work -

Change this -

</head>

to this -

<style type="text/css">
<!--
body { text-align:center; }
#wrapper { text-align:left; width:760px; margin:0 auto;position:relative; }
/* 760px will display on an 800px screen maximized browser window without */
/* horizontal scrollbars. */
-->
</style>
</head>

change this -

<body ...>

to this -

<body ...>
<div id="wrapper">

and this -

</body>

to this -

<!-- /wrapper -->
</div>
</body>

and see if that helps.
 

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