First , put together your basic HTML Code. Nothing complicated , but it should probably look like this;
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type" /> <title>Your Site Name</title> </head> <body> <div id="layout"> All but All content should be here </div> </body> </html>
The ID is important. It doesn't matter what you ID/Class it as , as long as it has a value/Id
Open a new CSS file , or make a new one in notepad
body {
text-align: center;
}
#container {
margin: 0 auto;
width: abcpx;
text-align: left;
}
Body defines the entire document. The Body text align; center is used for the general code.The container tag defines the container ID we declared earlier That's essentially it. There are several other tweaks , but aren't really neccesary. Hoping I helped in some way , Encryptedwrath
NOTES:
1) The text align is compulsary for IE users. Other browsers display the code fine without it
Edited by encryptedwrath, 30 October 2008 - 07:19 PM.















