View Single Post
  #18  
Old 09-04-2007, 05:18 PM
 
OpheliaPayne OpheliaPayne is offline
 

Senior Member
  
Join Date: Aug 2007
Posts: 130
 

Default Re: Internet Explorer centering everything

Quote:
Originally Posted by balinor
View the source...you have a <center> tag (which is a depreciated tag by the way) just after the body tag, and then you attempted to close it within a table cell, which won't work. Get rid of the center tag and use an inline tag to center the main containing table:

<table class="Container" cellpadding="0" cellspacing="0" width="90%" align="center">

Hello.

I changed this

Code:
{* $Id: rectangle_top.tpl,v 1.25 2006/02/07 08:09:51 max Exp $ *} <center> <table class="Container" cellpadding="0" cellspacing="0" width="{$width|default:"90%"}"> <tr><td class="Container"> </center>

to this

Code:
{* $Id: rectangle_top.tpl,v 1.25 2006/02/07 08:09:51 max Exp $ *} <center> <table class="Container" cellpadding="0" cellspacing="0" width="{$width|default:"90%" align="center"}"> <tr><td class="Container"> </center>

It does fix the issues of the tables being centered, however it creates a new issue where the the store is left aligned now instead of centered in the middle of the page. Since our site is centered in the middle of the page at 90%, we obviously can't have the store left aligned Any ideas on how to fix that?
__________________
xCart 4.6.1
Reply With Quote