
02-03-2008, 03:35 PM
|
|
 | |
|
|
 X-Wizard
|
|
Join Date: Feb 2006
Location: UK
Posts: 1,146
|
|
|
Re: Need help with Centering issue
Quote:
Originally Posted by DezineJunkie
I have set the style of Container and DialogBox in my stylesheet to text-align: center; . My goal is to have all centered at 800-850px wide. The page will not budge it is positioned Flush Left. (about 800 px wide) how do i get it to shift center?
TABLE.Container {
WIDTH: 800px;
BACKGROUND-COLOR: #ffffff
margin-right:5%;
margin-left: 5%;
background-position: center;
TD.Container { height: 90%; vertical-align: top; }
{* $Id: rectangle_top.tpl,v 1.25 2006/02/07 08:09:51 max Exp $ *}
<table class="Container" cellpadding="0" cellspacing="0" width="{$width|default:"800px"}">
<tr><td class="Container">
|
Try changing
<table class="Container" cellpadding="0" cellspacing="0"
to
<table class="Container" align="center" cellpadding="0" cellspacing="0"
__________________
v4.1.10
In Dev v4.5.x
"If you don't keep an eye on your business, someone else will."
|
|