Guest Posted January 24, 2004 Share Posted January 24, 2004 Hey guys, another quick question. How can I get my whole site in a border and centered in the page like here: http://dev.modyourcar.com.au/ I would like to get my alignment like that, what should i edit/change? Thanks, Ed Link to comment Share on other sites More sharing options...
Urbluffingme Posted January 24, 2004 Share Posted January 24, 2004 Here is what I did. It is pretty standard html. You will have to make these changes to every single page that loads on an event. In other words: a boat load. So grab a pot of coffee and plan on being at keyboard for a while. Here goes: Open index.php. look for this code: <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> right after this code put: <table width=750 align="center"><tr><td> and then go almost all the way to the bottom and look for this: </body> </html> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?> and add this right after </body> </td></tr></table> rinse and repeat Link to comment Share on other sites More sharing options...
djs Posted January 24, 2004 Share Posted January 24, 2004 and add this right after </body> This should say... add this right BEFORE </body>. The </TD></TR></TABLE> need to be closed before the body tag is closed. Dan Dan Stevens Link to comment Share on other sites More sharing options...
Urbluffingme Posted January 24, 2004 Share Posted January 24, 2004 yep sorry about that Link to comment Share on other sites More sharing options...
Guest Posted January 24, 2004 Share Posted January 24, 2004 Thanks guys, I will give it a shot :) Link to comment Share on other sites More sharing options...
Guest Posted February 26, 2004 Share Posted February 26, 2004 Hi, Thanks it worked great for me on the index.php. Now if I can figure out how to make the body of the page smaller it will be perfect. Donna Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.