![]() |
Need help with Centering issue
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"> Dialog box */ TABLE.DialogBox { WIDTH: 100%; HEIGHT: 100%; VERTICAL-ALIGN: top; } TD.DialogBox { BACKGROUND-COLOR: #fff; TEXT-ALIGN: center; PADDING: 10px; } .DialogBorder { BACKGROUND-COLOR: #9E9780; HEIGHT: 100%; PADDING: 0px; } TD.DialogTitle { COLOR: #130A2E; FONT-WEIGHT: bold; FONT-SIZE: 11px; BACKGROUND-COLOR: #9E9780; VERTICAL-ALIGN: bottom; HEIGHT: 15px; PADDING-TOP: 0px; PADDING-BOTTOM: 0px; PADDING-LEFT: 10px; PADDING-RIGHT: 0px; TEXT-ALIGN: left; } FONT.DialogTitle { COLOR: #9E9780; FONT-WEIGHT: bold; FONT-SIZE: 11px; VERTICAL-ALIGN: bottom; HEIGHT: 15px; TEXT-ALIGN: left; MARGIN-LEFT: 10px; } /* Dialog info box */ TABLE.DialogInfo { WIDTH: 85%; TEXT-ALIGN: center; } .DialogInfoTitle { COLOR: #FFFFFF; FONT-WEIGHT: bold; FONT-SIZE: 11px; VERTICAL-ALIGN: bottom; TEXT-ALIGN: left; HEIGHT: 15px; PADDING-TOP: 0px; PADDING-BOTTOM: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 5px; } |
Re: Need help with Centering issue
Quote:
Try changing <table class="Container" cellpadding="0" cellspacing="0" to <table class="Container" align="center" cellpadding="0" cellspacing="0" |
Re: Need help with Centering issue
Quote:
Thank you- i made the change and my admin changed centered BUT the site page did not? so no clue where the error is unless my vert menue or fancy cat is screw up |
All times are GMT -8. The time now is 03:13 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.