использую шаблон сделанный в Artisteer.
Делаю во встроенном редакторе табличку выравниваю ее по центру, а она все равно липнет к левому краю.
Firebug-ом смотрел, но никаких зависимостей для этого безобразия не обнаружил.
body
{
margin: 0 auto;
padding: 0;
background-color: #FFFFFF;
background-image: url('../images/Page-BgTexture.jpg');
background-repeat: repeat-x;
background-attachment: fixed;
background-position: top center;
}
#art-main
{
position: relative;
width: 100%;
left: 0;
top: 0;
}
#art-page-background-gradient
{
background-position: top center;
}
.cleared
{
float: none;
clear: both;
margin: 0;
padding: 0;
border: none;
font-size:1px;
}
form
{
padding:0 !important;
margin:0 !important;
}
table.position
{
position: relative;
width: 100%;
table-layout: fixed;
}
.art-Sheet
{
position:relative;
z-index:0;
margin:0 auto;
width: 1000px;
min-width:1px;
min-height:1px;
}
.art-Sheet-body
{
position: relative;
z-index: 1;
padding: 0px;
}
.art-Sheet
{
margin-top: 0px !important;
}
#art-page-background-simple-gradient, #art-page-background-gradient, #art-page-background-glare
{
min-width:1000px;
}
div.art-Header
{
margin: 0 auto;
position: relative;
z-index:0;
width: 1000px;
height: 127px;
}
div.art-Header-jpeg
{
position: fixed;
z-index:-1;
top: 0;
left: 0;
width: 1000px;
height: 126px;
background-image: url('../images/Header.jpg');
background-repeat: no-repeat;
background-position: center center;
}
.art-contentLayout
{
position: relative;
margin-bottom: 0px;
width: 1000px;
}
.art-Block
{
position:relative;
z-index:0;
margin:0 auto;
min-width:15px;
min-height:15px;
}
.art-Block-body
{
position: relative;
z-index: 1;
padding: 7px;
}
.art-Block-tr, .art-Block-tl, .art-Block-br, .art-Block-bl, .art-Block-tc, .art-Block-bc,.art-Block-cr, .art-Block-cl
{
position:absolute;
z-index:-1;
}
.art-Block-tr, .art-Block-tl, .art-Block-br, .art-Block-bl
{
width: 14px;
height: 14px;
background-image: url('../images/Block-s.png');
}
.art-Block-tl
{
top:0;
left:0;
clip: rect(auto, 7px, 7px, auto);
}
.art-Block-tr
{
top: 0;
right: 0;
clip: rect(auto, auto, 7px, 7px);
}
.art-Block-bl
{
bottom: 0;
left: 0;
clip: rect(7px, 7px, auto, auto);
}
.art-Block-br
{
bottom: 0;
right: 0;
clip: rect(7px, auto, auto, 7px);
}
.art-Block-tc, .art-Block-bc
{
left: 7px;
right: 7px;
height: 14px;
background-image: url('../images/Block-h.png');
}
.art-Block-tc
{
top: 0;
clip: rect(auto, auto, 7px, auto);
}
.art-Block-bc
{
bottom: 0;
clip: rect(7px, auto, auto, auto);
}
.art-Block-cr, .art-Block-cl
{
top: 7px;
bottom: 7px;
width: 14px;
background-image: url('../images/Block-v.png');
}
.art-Block-cr
{
right:0;
clip: rect(auto, auto, auto, 7px);
}
.art-Block-cl
{
left:0;
clip: rect(auto, 7px, auto, auto);
}
.art-Block-cc
{
position:absolute;
z-index:-1;
top: 7px;
left: 7px;
right: 7px;
bottom: 7px;
background-color: #474747;
}
.art-Block
{
margin: 10px;
}
.art-BlockHeader
{
position:relative;
z-index:0;
height: 30px;
padding: 0 7px;
margin-bottom: 7px;
}
.art-BlockHeader .t
{
height: 30px;
color: #000000;
font-family: Georgia, "Times New Roman", Times, Serif;
font-size: 13px;
font-style: normal;
font-weight: bold;
white-space : nowrap;
padding: 0 6px;
line-height: 30px;
}
.art-BlockHeader .l, .art-BlockHeader .r
{
display:block;
position:absolute;
z-index:-1;
height: 30px;
background-image: url('../images/BlockHeader.png');
}
.art-BlockHeader .l
{
left:0;
right:6px;
}
.art-BlockHeader .r
{
width:1000px;
right:0;
clip: rect(auto, auto, auto, 994px);
}
.art-header-tag-icon
{
height: 30px;
background-position:left top;
background-image: url('../images/BlockHeaderIcon.png');
padding:0 0 0 12px;
background-repeat: no-repeat;
min-height: 12px;
margin: 0 0 0 5px;
}
.art-BlockContent
{
position:relative;
z-index:0;
margin:0 auto;
min-width:1px;
min-height:1px;
}
.art-BlockContent-body
{
position: relative;
z-index: 1;
padding: 8px;
}
.art-BlockContent-body
{
color:#D9D9D9;
font-family: Georgia, "Times New Roman", Times, Serif;
font-size: 12px;
}
.art-BlockContent-body a:link
{
color: #EBEBEB;
font-family: Georgia, "Times New Roman", Times, Serif;
text-decoration: underline;
}
.art-BlockContent-body a:visited, .art-BlockContent-body a.visited
{
color: #B8B8B8;
font-family: Georgia, "Times New Roman", Times, Serif;
text-decoration: underline;
}
.art-BlockContent-body a:hover, .art-BlockContent-body a.hover
{
color: #858585;
font-family: Georgia, "Times New Roman", Times, Serif;
text-decoration: none;
}
.art-BlockContent-body ul
{
list-style-type: none;
color: #B5B5B5;
margin:0;
padding:0;
}
.art-BlockContent-body li
{
font-family: Georgia, "Times New Roman", Times, Serif;
font-size: 12px;
}
.art-BlockContent-body ul li
{
padding:0px 0 0px 13px;
background-image: url('../images/BlockContentBullets.png');
background-repeat:no-repeat;
margin:0.5em 0 0.5em 0;
line-height:1.2em;
}
.art-Post
{
position:relative;
z-index:0;
margin:0 auto;
min-width:1px;
min-height:1px;
}
.art-Post-body
{
position: relative;
z-index: 1;
padding: 10px;
}
.art-Post
{
margin: 7px;
}
a img
{
border: 0;
}
.art-article img, img.art-article
{
margin: 1em;
}
.art-metadata-icons img
{
border: none;
vertical-align: middle;
margin: 2px;
}
.art-article table, table.art-article
{
border-collapse: collapse;
margin: 1px;
width:auto;
}
.art-article table, table.art-article .art-article tr, .art-article th, .art-article td
{
background-color:Transparent;
}
.art-article th
{
text-align: center;
vertical-align: middle;
padding: 7px;
}
pre
{
overflow: auto;
padding: 0.1em;
}
.art-PostHeader
{
text-decoration:none;
margin: 0.2em 0;
padding: 0;
font-weight:normal;
font-style:normal;
letter-spacing:normal;
word-spacing:normal;
font-variant:normal;
text-decoration:none;
font-variant:normal;
text-transform:none;
text-align:center;
text-indent:0;
line-height:inherit;
font-family: Georgia, "Times New Roman", Times, Serif;
font-size: 18px;
font-style: normal;
font-weight: bold;
color: #545454;
}
.art-PostHeader a, .art-PostHeader a:link, .art-PostHeader a:visited, .art-PostHeader a:hover
{
font-family: Georgia, "Times New Roman", Times, Serif;
font-size: 18px;
font-style: normal;
font-weight: bold;
margin:0;
color: #545454;
}
.art-PostHeader a:link
{
font-family: Georgia, "Times New Roman", Times, Serif;
text-decoration: none;
text-align: left;
color: #666666;
}
.art-PostHeader a:visited, .art-PostHeader a.visited
{
font-family: Georgia, "Times New Roman", Times, Serif;
text-decoration: none;
text-align: left;
color: #4D4D4D;
}
.art-PostHeader a:hover, .art-PostHeader a.hovered
{
font-family: Georgia, "Times New Roman", Times, Serif;
text-decoration: underline;
text-align: left;
color: #1C1C1C;
}
body
{
font-family: Georgia, "Times New Roman", Times, Serif;
font-size: 12px;
font-style: normal;
font-weight: normal;
color: #404040;
}
.art-PostContent
{
font-family: Georgia, "Times New Roman", Times, Serif;
text-align: center;
color: #404040;
}
a
{
font-family: Georgia, "Times New Roman", Times, Serif;
text-decoration: underline;
color: #1C1C1C;
}
a:link
{
font-family: Georgia, "Times New Roman", Times, Serif;
text-decoration: underline;
color: #1C1C1C;
}
a:visited, a.visited
{
font-family: Georgia, "Times New Roman", Times, Serif;
text-decoration: underline;
color: #757575;
}
a:hover, a.hover
{
font-family: Georgia, "Times New Roman", Times, Serif;
text-decoration: none;
color: #595959;
}
h1, h2, h3, h4, h5, h6,
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover
h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited
{
font-weight: normal;
font-style: normal;
text-decoration: none;
}
h1, h1 a, h1 a:link, h1 a:visited, h1 a:hover
{
font-family: Georgia, "Times New Roman", Times, Serif;
font-size: 20px;
font-style: normal;
font-weight: bold;
text-align: left;
color: #000000;
}
h2, h2 a, h2 a:link, h2 a:visited, h2 a:hover
{
font-family: Georgia, "Times New Roman", Times, Serif;
font-size: 18px;
text-align: left;
color: #595959;
}
h3, h3 a, h3 a:link, h3 a:visited, h3 a:hover
{
font-family: Georgia, "Times New Roman", Times, Serif;
font-size: 18px;
font-style: normal;
font-weight: bold;
text-align: left;
color: #1C1C1C;
}
h4, h4 a, h4 a:link, h4 a:visited, h4 a:hover
{
font-family: Georgia, "Times New Roman", Times, Serif;
font-size: 15px;
text-align: left;
color: #404040;
}
h5, h5 a, h5 a:link, h5 a:visited, h5 a:hover
{
font-family: Georgia, "Times New Roman", Times, Serif;
font-size: 13px;
text-align: left;
color: #404040;
}
h6, h6 a, h6 a:link, h6 a:visited, h6 a:hover
{
font-family: Georgia, "Times New Roman", Times, Serif;
font-size: 12px;
text-align: left;
color: #404040;
}
ol, ul
{
color: #000000;
margin:1em 0 1em 2em;
padding:0;
font-family: Georgia, "Times New Roman", Times, Serif;
font-size: 12px;
}
li ol, li ul
{
margin:0.5em 0 0.5em 2em;
padding:0;
}
li
{
margin:0.2em 0;
padding:0;
}
ul
{
list-style-type: none;
}
ol
{
list-style-position:inside;
}
blockquote,
blockquote p,
.art-PostContent blockquote p
{
color:#080808;
font-family: Georgia, "Times New Roman", Times, Serif;
text-align: left;
}
blockquote,
.art-PostContent blockquote
{
border:solid 1px #C7C7C7;
margin:10px 10px 10px 50px;
padding:5px 5px 5px 41px;
background-color:#828282;
background-image:url('../images/PostQuote.png');
background-position:left top;
background-repeat:no-repeat;
}
.art-button-wrapper .art-button
{
display:inline-block;
width: auto;
outline:none;
border:none;
background:none;
line-height:33px;
margin:0 !important;
padding:0 !important;
overflow: visible;
cursor: default;
text-decoration: none !important;
z-index:0;
}
.art-button-wrapper
{
display:inline-block;
position:relative;
height: 33px;
overflow:hidden;
white-space: nowrap;
width: auto;
z-index:0;
}
.firefox2 .art-button-wrapper
{
display:block;
float:left;
}
.art-button-wrapper .art-button
{
display:block;
height: 33px;
font-family: Georgia, "Times New Roman", Times, Serif;
font-size: 12px;
font-style: normal;
font-weight: normal;
white-space: nowrap;
text-align: left;
padding: 0 21px !important;
line-height: 33px;
text-decoration: none !important;
color: #F2F2F2 !important;
}
input, select
{
font-family: Georgia, "Times New Roman", Times, Serif;
font-size: 12px;
font-style: normal;
font-weight: normal;
}
.art-button-wrapper.hover .art-button, .art-button:hover
{
color: #EBEBEB !important;
text-decoration: none !important;
}
.art-button-wrapper.active .art-button
{
color: #F5F5F5 !important;
}
.art-button-wrapper .l, .art-button-wrapper .r
{
display:block;
position:absolute;
z-index:-1;
height: 99px;
background-image: url('../images/Button.png');
}
.art-button-wrapper .l
{
left:0;
right:10px;
}
.art-button-wrapper .r
{
width:409px;
right:0;
clip: rect(auto, auto, auto, 399px);
}
.art-button-wrapper.hover .l, .art-button-wrapper.hover .r
{
top: -33px;
}
.art-button-wrapper.active .l, .art-button-wrapper.active .r
{
top: -66px;
}
.art-Footer
{
position:relative;
z-index:0;
overflow:hidden;
width: 1000px;
margin: 5px auto 0px auto;
}
.art-Footer .art-Footer-inner
{
height:1%;
position: relative;
z-index: 0;
padding: 5px;
text-align: center;
}
.art-Footer .art-Footer-text p
{
margin: 0;
}
.art-Footer .art-Footer-text
{
display:inline-block;
color:#292929;
font-family: Georgia, "Times New Roman", Times, Serif;
letter-spacing: 1px;
}
.art-Footer .art-Footer-text a:link
{
text-decoration: none;
color: #1C1C1C;
font-family: Georgia, "Times New Roman", Times, Serif;
text-decoration: underline;
}
.art-Footer .art-Footer-text a:visited
{
text-decoration: none;
color: #3B3B3B;
font-family: Georgia, "Times New Roman", Times, Serif;
text-decoration: underline;
}
.art-Footer .art-Footer-text a:hover
{
text-decoration: none;
color: #949494;
font-family: Georgia, "Times New Roman", Times, Serif;
text-decoration: none;
}
.art-page-footer, .art-page-footer a, .art-page-footer a:link, .art-page-footer a:visited, .art-page-footer a:hover
{
font-family:Arial;
font-size:10px;
letter-spacing:normal;
word-spacing:normal;
font-style:normal;
font-weight:normal;
text-decoration:underline;
color:#666666;
}
.art-page-footer
{
margin:1em;
text-align:center;
text-decoration:none;
color:#212121;
}
.art-contentLayout .art-content
{
position: relative;
margin: 0;
padding: 0;
border: 0;
float: left;
overflow: hidden;
width: 999px;
}
table.moduletable th
{
font-size: 140%;
padding: .5em 0em;
}
.firefox2 table.poll tr td div
{
font-size:0;
}
#footer
{
text-align: center;
}
.breadcrumbs
{
display: block;
padding: .7em 0em;
}
.contentpaneopen span.small, .contentpaneopen td.createdate, .contentpaneopen td.modifydate
{
font-size: 75%;
padding-bottom: 1em;
}
.column_separator
{
padding-left: .4em;
}
.pagination span
{
padding: 2px;
}
.pagination a
{
padding: 2px;
}
div.offline
{
background: #fffebb;
width: 100%;
position: absolute;
top: 0;
left: 0;
font-size: 1.2em;
padding: 5px;
}
span.pathway
{
display: block;
margin: 0 20px;
overflow: hidden;
}
table.moduletable th, legend
{
margin: 0;
font-weight: bold;
font-family: Helvetica,Arial,sans-serif;
font-size: 1.5em;
padding-left: 0px;
margin-bottom: 10px;
text-align: left;
}
.invalid
{
border-color: #ff0000;
}
label.invalid
{
color: #ff0000;
}
.ol-foreground
{
background-color: #f6f6f6;
}
.ol-background
{
background-color: #666;
}
.ol-textfont
{
font-family: Arial, Helvetica, sans-serif;
font-size: 10px;
}
.ol-captionfont
{
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #f6f6f6;
font-weight: bold;
}
.ol-captionfont a
{
color: #0B55C4;
text-decoration: none;
font-size: 12px;
}
span.article_separator
{
display: none;
}
.column_separator
{
padding-left: 10px;
}
td.buttonheading img
{
border: none;
}
.clr
{
clear: both;
}
div#maindivider
{
border-top: 1px solid #ddd;
margin-bottom: 10px;
overflow: hidden;
height: 1px;
}
table.blog span.article_separator
{
display: none;
}
.contentpaneopen_edit
{
float: left;
}
table.contenttoc
{
margin: 5px;
border: 1px solid #ccc;
padding: 5px;
float: right;
}
table.contenttoc td
{
padding: 0 5px;
}
td.sectiontableheader
{
background: #efefef;
color: #333;
font-weight: bold;
padding: 4px;
border-right: 1px solid #fff;
}
tr.sectiontableentry0 td,
tr.sectiontableentry1 td,
tr.sectiontableentry2 td
{
padding: 4px;
}
td.sectiontableentry0,
td.sectiontableentry1,
td.sectiontableentry2
{
padding: 3px;
}
table.contentpaneopen, table.contentpane
{
margin: 0;
padding: 0;
width: auto;
}
table.contentpaneopen li
{
margin-bottom: 5px;
}
table.contentpaneopen fieldset
{
border: 0;
border-top: 1px solid #ddd;
}
table.contentpaneopen h3
{
margin-top: 25px;
}
table.contentpaneopen h4
{
font-family: Arial, Helvetica, sans-serif;
color: #333;
}
.highlight
{
background-color: #fffebb;
}
table.user1user2 div.moduletable
{
margin-bottom: 0px;
}
div.moduletable, div.module
{
margin-bottom: 25px;
}
div.module_menu h3
{
font-family: Helvetica, Arial, sans-serif;
font-size: 12px;
font-weight: bold;
color: #eee;
margin: -23px -4px 5px -5px;
padding-left: 10px;
padding-bottom: 2px;
}
div.module_menu
{
margin: 0;
padding: 0;
margin-bottom: 15px;
}
div.module_menu div div div
{
padding: 10px;
padding-top: 30px;
padding-bottom: 15px;
width: auto;
}
div.module_menu div div div div
{
background: none;
padding: 0;
}
div.module_menu ul
{
margin: 10px 0;
padding-left: 20px;
}
div.module_menu ul li a:link, div.module_menu ul li a:visited
{
font-weight: bold;
}
#leftcolumn div.module
{
padding: 0 10px;
}
#leftcolumn div.module table
{
width: auto;
}
table.adminform textarea
{
width: 540px;
height: 400px;
font-size: 1em;
color: #000099;
}
div.search input
{
width: 145px;
border: 1px solid #ccc;
margin: 15px 0 10px 0;
}
form#form-login
{
text-align: left;
}
form#form-login fieldset
{
border: 0 none;
margin: 0;
padding: 0.2em;
}
form#form-login ul
{
list-style-type: none;
margin: 0;
padding: 0;
}
form#form-login ul li
{
background-image: none;
padding: 0;
}
#modlgn_username, #modlgn_passwd
{
width: 90%;
}
#form-login-username, #form-login-password, #form-login-remember
{
display: block;
margin: 0;
}
form#com-form-login
{
text-align: left;
}
form#com-form-login fieldset
{
border: 0 none;
margin: 0;
padding: 0.2em;
}
form#com-form-login ul
{
list-style-type: none;
margin: 0;
padding: 0;
}
form#com-form-login ul li
{
background-image: none;
padding: 0;
}
div.mosimage
{
margin: 5px;
}
div.mosimage_caption {
font-size: .90em;
color: #666;
}
div.caption
{
padding: 0 10px 0 10px;
}
div.caption img
{
border: 1px solid #CCC;
}
div.caption p
{
font-size: .90em;
color: #666;
text-align: center;
}
table.paramlist
{
margin-top: 5px;
}
table.paramlist td.paramlist_key
{
width: 128px;
text-align: left;
height: 30px;
}
div.message
{
font-weight: bold;
font-size: 14px;
color: #c30;
text-align: center;
width: auto;
background-color: #f9f9f9;
border: solid 1px #d5d5d5;
margin: 3px 0px 10px;
padding: 3px 20px;
}
.banneritem img
{
display: block;
margin-left: auto;
margin-right: auto;
}
.banneritem_text
{
padding: 4px;
font-size: 11px;
}
.bannerfooter_text
{
padding: 4px;
font-size: 11px;
background-color: #f7f7f7;
text-align: right;
}
.pagination span
{
padding: 2px;
}
.pagination a
{
padding: 2px;
}
.pollstableborder
{
margin-top: 8px;
}
.pollstableborder td
{
text-align: left;
}
span.description
{
display: block;
padding-left: 30px;
}
fieldset
{
border: 1px solid #ccc;
margin-top: 15px;
padding: 15px;
}
legend
{
margin: 0;
padding: 0 10px;
}
td.key
{
border-bottom: 1px solid #eee;
color: #666;
}
.tool-tip
{
float: left;
background: #ffc;
border: 1px solid #d4d5aa;
padding: 5px;
max-width: 200px;
}
.tool-title
{
padding: 0;
margin: 0;
font-size: 100%;
font-weight: bold;
margin-top: -15px;
padding-top: 15px;
padding-bottom: 5px;
background: url(../../system/images/selector-arrow.png) no-repeat;
}
.tool-text
{
font-size: 100%;
margin: 0;
}
#system-message
{
margin-bottom: 20px;
}
#system-message dd.message ul
{
background: #c3d2e5 url(../../system/images/notice-info.png) 4px center no-repeat;
border-top: 3px solid #de7a7b;
border-bottom: 3px solid #de7a7b;
margin:0px;
padding-left: 40px;
text-indent:0px;
}
#system-message dd.error ul
{
color: #c00;
background: #e6c0c0 url(../../system/images/notice-alert.png) 4px center no-repeat;
border-top: 3px solid #DE7A7B;
border-bottom: 3px solid #DE7A7B;
margin: 0px;
padding-left: 40px;
text-indent: 0px;
}
#system-message dd.notice ul
{
color: #c00;
background: #efe7b8 url(../../system/images/notice-note.png) 4px center no-repeat;
border-top: 3px solid #f0dc7e;
border-bottom: 3px solid #f0dc7e;
margin: 0px;
padding-left: 40px;
text-indent: 0px;
}
#syndicate
{
float: left;
padding-left: 25px;
}
#component-contact table td
{
padding: 2px 0;
}
.breadcrumbs img
{
margin: 0px;
padding: 0px;
border: 0px;
}
.mceToolbarTop {
white-space: normal;
}
.mceEditor
{
background: none;
}
#archive-list
{
list-style-type: none;
margin: 0px;
padding: 0px;
}
#archive-list li
{
list-style-type: none;
background-image: none;
margin-left: 0px;
padding-left: 0px;
}
#navigation
{
text-align: center;
}
.article h3 img
{
border: none;
display: inline;
margin: 0;
padding: 0;
}
.art-Footer-text .moduletable
{
border: none;
margin: 0;
padding: 0;
}
.pollstableborder td {
vertical-align: middle;
}
.img_caption.left
{
float: left;
margin-right: 1em;
}
.img_caption.right
{
float: right;
margin-left: 1em;
}
.img_caption.left p
{
clear: left;
text-align: center;
}
.img_caption.right p
{
clear: right;
text-align: center;
}
.img_caption img
{
margin: 0em;
}
.contentheading
{
font-family: Georgia, "Times New Roman", Times, Serif;
font-size: 18px;
font-style: normal;
font-weight: bold;
text-align: left;
color: #1C1C1C;
}
.dm_taskbar ul
{
background-image: none;
margin: 0px;
padding: 0px;
}
.dm_taskbar ul li
{
background-image: none;
}