View Single Post
  #24  
Old 09-04-2007, 07:25 PM
 
somekindahate somekindahate is offline
 

Advanced Member
  
Join Date: Apr 2007
Posts: 84
 

Default Re: Internet Explorer centering everything

OphelliaPayne,

Your solution of removing the <center> tag and using align="center" is not correct. And like others have stated, you should be using CSS to fix this problem, not deprecated HTML. Remove the align attribute and the center tags you've added.

Go to skin1/customer/main/home.tpl

After the <body> tag add <div id="envelope">
Before the closing </body> tag add </div>

Add the following to your CSS file skin1.css
Code:
body { text-align: center; } #envelope { text-align: left; margin: 0 auto; }

When you view the source, there should be a <div id="envelope"> ... </div> wrapping the contents of the page just inside of the body tag.
__________________
X-Cart Gold v. 4.1.10
Reply With Quote