View Single Post
    #13 (permalink)  
Old 03-14-2010
The Perfect Word's Avatar
The Perfect Word The Perfect Word is offline
Junior Member
Company name: The Perfect Word
The Perfect Word Transcription: A little bit about?
 
Join Date: Jan 2010
Location: Richmond, Virginia
Posts: 475
Default Re: How do I center a web page??
Thanks for the quick response, Codehead, but it doesn't work right for me, so either I'm putting it in the wrong place, some other code is making it not work, or it won't work with the way my page is set up. (I didn't create it originally, just making changes.)

Except for the tables, it centers all the text and images just like if you took a Word document and set the whole page to "center," (like I've done to this paragraph) instead of the text left-aligned and having the whole page centered on the screen. Maybe everything needs to be set up in a table (or frames, whatever that is) for this work. This is where I put it. (I do have meta tags, but I didn't include them here.)

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>

<title>The Perfect Word Pricing</title>

<link href="style2.css" rel="stylesheet" type="text/css">

<style type="text/css">
body {
min-width: 800px;
text-align: center;
}
#main-wrapper {
width: 800px;
margin-left: auto;
margin-right: auto;
text-align: left;
}
</style>

</head>

(Love your HTML/CSS lessons on here. Getting ready to start #4.)
__________________
Pam Deyerle - Transcriptionist in the Richmond, Virginia area
The Perfect Word Transcription Services
Reply With Quote