Форум Diz-Cs.Ru
Преимущества регистрации:
Возможность создания тем
Общение с пользователями
Найдете множество полезной информации
Найдете своих единомышленников
DIZ-CS.RU - Мы с Вами НАВСЕГДА!
В данном разделе Вы сможете задать любой вопрос который касается uCoz. Если Вы ищите скрипт, то напишите в эту тему, также можете посетить наш раздел веб-мастеров.
Если у пользователя мало гарантий, то советуем провести сделку через гаранта.
  • Страница 1 из 1
  • 1
Модератор форума: -SAM-  
Активный форум » WEB-мастеру » Вопросы и ответы на FAQ по uCoz » Выравнивает материалы по центру
Выравнивает материалы по центру
Дата: Пт, 01.02.2013, 20:54:42 | Сообщение # 1
Аватар не установлен
OFF
Пользователь
20 Сообщения:
0 Отзывы:
У меня материалы по центру, а не сверху (как на скрине)

http://savepic.org/2749653.png

Вот код главной страницы каталога файлов:
Код
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">

<title> $SITE_NAME$ - $MODULE_NAME$</title>
<?$META_DESCRIPTION$?>
<link type="text/css" rel="StyleSheet" href="/_st/my.css" />
</head>

<body style="background:#FFFFFF; margin:0px; padding:0px;">

    $ADMIN_BAR$

    <div style="width:100%;text-align:center;">

    <table border="0" cellpadding="0" width="976" cellspacing="0" style="border-left:1px solid #DEDEDE;border-right:1px solid #DEDEDE;padding:0 1px 0 1px;margin-left:auto;margin-right:auto;">
    <tr><td colspan="2" align="center" height="32" style="background:url('/.s/t/997/2.gif');font-size:10px;color:#A1A1A1;font-weight:bold;"><a href="$HOME_PAGE_LINK$" title="Главная"><!--<s5176>-->Главная<!--</s>--></a> <?if($MODULE_URL$)?>| <a href="$MODULE_URL$"><font color="ff0000">$MODULE_NAME$</font></a><?endif?> <?if($USERS_ON$)?><?if($USER_LOGGED_IN$)?> | <a href="$PERSONAL_PAGE_LINK$" title="Мой профиль"><!--<s5214>-->Мой профиль<!--</s>--></a><?else?> | <a href="$REGISTER_LINK$" title="Регистрация"><!--<s3089>-->Регистрация<!--</s>--></a><?endif?><?endif?> <?if($USERS_ON$)?><?if($USER_LOGGED_IN$)?> | <a href="$LOGOUT_LINK$" title="Выход"><!--<s5164>-->Выход<!--</s>--></a><?else?> | <a href="$LOGIN_LINK$" title="Вход"><!--<s3087>-->Вход<!--</s>--></a><?endif?><?endif?></td></tr>    
<td valign="top" style="padding-left:1px;background:#FFFFFF;border-left:1px solid #DEDEDE;">
    <table cellpadding="0" cellspacing="0" border="0" height="139" width="100%">
    <tr><td height="128" style="background:url('http://s019.radikal.ru/i643/1205/13/9047ad501a3a.jpg') no-repeat #4491D7;padding-left:150px;"><span style="color:#FFFFFF;font:20pt bold Verdana,Tahoma;"></span></td></tr>
    <tr><td height="11" style="background:url('/.s/t/997/6.gif');"><img src="/.s/t/997/7.gif" border="0"></td></tr>
    </table><hr>
    <table cellpadding="2" cellspacing="0" border="0" width="100%">

       
    <div id="container2">    
    <div id="container1">    
    <div id="col1">    
    <script language="JavaScript" type="text/javascript">
(function() {var d=document; var s=d.createElement('script'); var id = Math.floor(Math.random()*999);d.write('<div id="x'+id+'"></div>');s.type = 'text/javascript';s.async = true;s.src = 'http://gameleads.ru/counter.php?ban_id=1382&size=468x60&cid=0463ecc05fb9a6e2030c50afe5ad4259&sa=&dv='+id; var x=d.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x); })();
    </script>
    </div>    
    <div id="col2">    
    <script language="JavaScript" type="text/javascript">
(function() {var d=document; var s=d.createElement('script'); var id = Math.floor(Math.random()*999);d.write('<div id="x'+id+'"></div>');s.type = 'text/javascript';s.async = true;s.src = 'http://gameleads.ru/counter.php?ban_id=4906&size=468x60&cid=7da7bf862ed376460ded0067ba116b1b&sa=&dv='+id; var x=d.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x); })();
    </script>
    </div>    
    </div>    
</div>    

       
       
<td valign="top" style="padding-left:1px;background:#FFFFFF;border-left:1px solid #DEDEDE;">
    <table cellpadding="0" cellspacing="0" border="0" height="139" width="100%">
    </table>
    <table cellpadding="2" cellspacing="0" border="0" width="100%">
    <tr><td style="border:1 px solid #D7D7D7;padding:5px;"><!-- <top> --><!-- <body> --><table border="0" cellpadding="0" cellspacing="0" width="100%">

</table>
<hr />
    <h4> <b>Listen-Music.my1.ru</b> - новый музыкальный портал. У нас вы можете <b>скачать музыку</b> любого жанра: <b>dub step, клубная музыка, популярная, шансон, песни под гитару, рэп, рок</b> и многие другие. У нас есть песни популярных исполнителей и групп. <b>Michel Teló</b> с его хитом <b>ai se eu te pego</b>. Так же у нас много музыки группы <b>Градусы, Пара нормальных</b> и другие. Есть и рэп от <b>АК-47, Bahtee, GUF, kasta</b> и другие. Можно послушать <b>музыку онлайн</b> и тут же её скачать. Скачивание идёт на прямую с сайта, поэтому вам не придётся преходить на другие файлообменники и ждать пока пройдёт время <b>Слушайте музыку вместе с нами! <b>Новинки Музыки</b></b></h><br><br>

<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="60%"><!--<s5218>-->Всего материалов в каталоге<!--</s>-->: <b>$NUM_ENTRIES$</b><?if($NUM_SHOWN$)?><br /><!--<s5220>-->Показано материалов<!--</s>-->: <b>$NUM_SHOWN$</b><?endif?></td>
<td align="right"><?if($PAGE_SELECTOR$)?><!--<s3015>-->Страницы<!--</s>-->: $PAGE_SELECTOR$<?endif?></td>
       

       
    <hr> </tr>
</table>
<hr />
$BODY$
    <td valign="top" width="175" style="padding-right:1px;">
$GLOBAL_CLEFTER$
</td>    

       
    </table>
</td>
</tr>

<tr><td colspan="2">
    <?if($PAGE_SELECTOR1$)?><div style="text-align:center;">$PAGE_SELECTOR1$</div><?endif?><!-- </body> --><!-- </top> --></td></tr>
$GLOBAL_BFOOTER$
       
</td></tr>

</table>

</div>

</body>

</html>


а вот код категорий:
Код
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">

<title>$CAT_NAME$ <?if($SECTION_NAME$)?>- $SECTION_NAME$<?endif?> - $SITE_NAME$ - $MODULE_NAME$</title>
<?$META_DESCRIPTION$?>
<link type="text/css" rel="StyleSheet" href="/_st/my.css" />
</head>

<body style="background:#FFFFFF; margin:0px; padding:0px;">
$ADMIN_BAR$

<div style="width:100%;text-align:center;">

<br>
<table border="0" cellpadding="0" width="976" cellspacing="0" style="border-left:1px solid #DEDEDE;border-right:1px solid #DEDEDE;padding:0 1px 0 1px;margin-left:auto;margin-right:auto;">
<tr><td colspan="2" align="center" height="32" style="background:url('/.s/t/997/2.gif');font-size:10px;color:#A1A1A1;font-weight:bold;"><a href="$HOME_PAGE_LINK$" title="Главная"><!--<s5176>-->Главная<!--</s>--></a> <?if($MODULE_URL$)?>| <a href="$MODULE_URL$">$MODULE_NAME$</a><?endif?> <?if($USERS_ON$)?><?if($USER_LOGGED_IN$)?> | <a href="$PERSONAL_PAGE_LINK$" title="Мой профиль"><!--<s5214>-->Мой профиль<!--</s>--></a><?else?> | <a href="$REGISTER_LINK$" title="Регистрация"><!--<s3089>-->Регистрация<!--</s>--></a><?endif?><?endif?> <?if($USERS_ON$)?><?if($USER_LOGGED_IN$)?> | <a href="$LOGOUT_LINK$" title="Выход"><!--<s5164>-->Выход<!--</s>--></a><?else?> | <a href="$LOGIN_LINK$" title="Вход"><!--<s3087>-->Вход<!--</s>--></a><?endif?><?endif?></td></tr>    
<td valign="top" style="padding-left:1px;background:#FFFFFF;border-left:1px solid #DEDEDE;">
    <table cellpadding="0" cellspacing="0" border="0" height="139" width="100%">
    <tr><td height="128" style="background:url('http://s019.radikal.ru/i643/1205/13/9047ad501a3a.jpg') no-repeat #4491D7;padding-left:150px;"><span style="color:#FFFFFF;font:20pt bold Verdana,Tahoma;"></span></td></tr>
    <tr><td height="11" style="background:url('/.s/t/997/6.gif');"><img src="/.s/t/997/7.gif" border="0"></td></tr>
    </table>
    <table cellpadding="2" cellspacing="0" border="0" width="100%">

       
<td valign="top" style="padding-left:1px;background:#FFFFFF;border-left:1px solid #DEDEDE;">
    <table cellpadding="0" cellspacing="0" border="0" height="139" width="100%">
    </table>
    <table cellpadding="2" cellspacing="0" border="0" width="100%">
    <tr><td style="border:1 px solid #D7D7D7;padding:5px;"><!-- <top> --><!-- <body> --><table border="0" cellpadding="0" cellspacing="0" width="100%">
<div align="top">
    Вы находитесь в категории: $CAT_NAME$</div>
    <td align="right" style="white-space: nowrap;"><?if($ADD_ENTRY_LINK$)?>[ <a href="$ADD_ENTRY_LINK$"><!--<s5186>-->Добавить материал<!--</s>--></a> ]<?endif?></td>

</table>
<hr />
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="60%"><!--<s5222>-->В категории материалов<!--</s>-->: <b>$NUM_ENTRIES$</b><?if($NUM_SHOWN$)?><br /><!--<s5220>-->Показано материалов<!--</s>-->: <b>$NUM_SHOWN$</b><?endif?></td>
<td align="right"><?if($PAGE_SELECTOR$)?><!--<s3015>-->Страницы<!--</s>-->: $PAGE_SELECTOR$<?endif?></td>
</tr>
</table>
<hr />
<?if($SORTING_MENU$)?><!--<s5221>-->Сортировать по<!--</s>-->: $SORTING_MENU$<hr /><?endif?>
    $BODY$
    <td valign="top" width="175" style="padding-right:1px;">
$GLOBAL_CLEFTER$
</td>    

    </table>
</td>
</tr>

<tr><td colspan="2">
    <?if($PAGE_SELECTOR1$)?><div style="text-align:center;">$PAGE_SELECTOR1$</div><?endif?><!-- </body> --><!-- </top> --></td></tr>
$GLOBAL_BFOOTER$
</td></tr>

</table>

</div>

</body>

</html>


Ну и ксс
Код
<style>
body {
    margin:0;
    padding:0;
}
#header h1,
#header h2,
#header p {
    margin-left:2%;
    padding-right:2%;
}
#active2 #tab2,
#active3 #tab3,
#active4 #tab4,
#active5 #tab5 {
    font-weight:bold;
    text-decoration:none;
    color:#000;
}
       
/* Начало описания дивов в CSS */
#container2 {
    clear:left;
    float:left;
    width:100%;
    overflow:hidden;
    background:#ffffff; /* Бекграунд второго дива */
}
#container1 {
    float:left;
    width:100%;
    position:relative;
    right:52%;
    background:#ffffff; /* Бекграунд второго дива */
}
#col1 {
    float:left;
    width:46%;
    position:relative;
    left:52%;
    overflow:hidden;
}
#col2 {
    float:left;
    width:46%;
    position:relative;
    left:60%;
    overflow:hidden;
}
    </style>    

/* General Style */
a:link {text-decoration:none; color:#518EAD;}
a:active {text-decoration:none; color:#518EAD;}
a:visited {text-decoration:none; color:#518EAD;}
a:hover {text-decoration:underline; color:#000000;}

td, body {font-family:verdana,arial,helvetica; font-size:8pt;}
form {padding:0px;margin:0px;}
input,textarea,select {vertical-align:middle; font-size:8pt; font-family:verdana,arial,helvetica;}
.copy {font-size:7pt;}

a.noun:link {text-decoration:none; color:#518EAD}
a.noun:active {text-decoration:none; color:#518EAD}
a.noun:visited {text-decoration:none; color:#518EAD}
a.noun:hover {text-decoration:none; color:#000000}

hr {color:#8EA8C4;height:1px;}
label {cursor:pointer;cursor:hand}

.blockTitle {padding-left:19px; font-weight:bold; color:#FFFFFF; font-size:12px; background: url('/.s/t/997/9.gif') no-repeat 7px 6px;text-transform:capitalize;}

a.menu1:link {text-decoration:underline; color:#DDEEF7}
a.menu1:visited {text-decoration:underline; color:#DDEEF7}
a.menu1:hover {text-decoration:underline; color:#FFFFFF}
a.menu1:active {text-decoration:underline; color:#FFFFFF}
.menuTd {font-family:Tahoma,Arial,Helvetica; padding-left:15px;padding-right:12px; background: url('/.s/t/997/10.gif') no-repeat 0px 3px;}

.mTd {padding-left:12px;padding-top:5px;padding-right:1px;}
.pageTitle {font-family:Tahoma,Arial,Helvetica; font-size:8pt; font-weight:bold; color:#FFFFFF; padding-left:10px; padding-right:10px;}
.mframe {padding-left:15px; padding-bottom:20px; padding-right:3px;}

.blockT1 {border-left:1px solid #5694B5;}
.blockT2 {padding:5px;}
/* ------------- */

/* Menus */
ul.uz, ul.uMenuRoot {list-style: none; margin: 0 0 0 0; padding-left: 0px;}
li.menus {margin: 0; padding: 0 0 0 13px; background: url('/.s/t/997/11.gif') no-repeat 3px 4px; margin-bottom: .6em;}
/* ----- */

/* Site Menus */
.uMenuH li {float:left;padding:0 5px;}

.uMenuV .uMenuItem {font-family:Tahoma,Arial,Helvetica;}
.uMenuV li a:link {text-decoration:none; color:#518EAD}
.uMenuV li a:visited {text-decoration:none; color:#518EAD}
.uMenuV li a:hover {text-decoration:none; color:#518EAD; font-weight:bold;}
.uMenuV li a:active {text-decoration:none; color:#518EAD; font-weight:bold;}

.uMenuV .uMenuItemA {font-weight:bold;}
.uMenuV a.uMenuItemA:link {text-decoration:none; color:#518EAD}
.uMenuV a.uMenuItemA:visited {text-decoration:none; color:#518EAD}
.uMenuV a.uMenuItemA:hover {text-decoration:none; color:#518EAD;}
.uMenuV .uMenuArrow {position:absolute;width:10px;height:10px;right:0;top:3px;background:url('/.s/img/wd/1/ar1.gif') no-repeat 0 0;}
.uMenuV li {border:1px solid #EDEDED; margin: 2px; padding: 2px 2px 2px 13px; background: #FFFFFF;}
/* --------- */

/* Module Part Menu */
.catsTd {padding: 0 0 3px 12px; background: url('/.s/t/997/11.gif') no-repeat 2px 4px;}
.catName {font-family:Tahoma,Arial,Sans-Serif;font-size:11px;}
.catNameActive {font-family:Tahoma,Arial,Sans-Serif;font-size:11px;}
.catNumData {font-size:7pt;color:#518EAD;}
.catDescr {font-size:7pt; padding-left:10px;}
a.catName:link {text-decoration:none; color:#518EAD;}
a.catName:visited {text-decoration:none; color:#518EAD;}
a.catName:hover {text-decoration:underline; color:#518EAD;}
a.catName:active {text-decoration:underline; color:#518EAD;}
a.catNameActive:link {text-decoration:underline; color:#518EAD;}
a.catNameActive:visited {text-decoration:underline; color:#518EAD;}
a.catNameActive:hover {text-decoration:underline; color:#518EAD;}
a.catNameActive:active {text-decoration:underline; color:#518EAD;}
/* ----------------- */

/* Entries Style */
.eBlock {background:url('/.s/t/997/8.gif') top repeat-x #FFFFFF; border:1px solid #DEDEDE;padding:10px 5px 5px 5px;}
.eTitle {font-family:Arial,Sans-Serif;font-size:12px;font-weight:bold;color:#518EAD; padding: 0 0 0 10px;border-left:5px solid #4491D7;}
.eMessage {text-align:justify;padding-bottom:5px;}
.eText {text-align:justify;padding-bottom:5px;padding-top:5px;border-top:1px solid #DDDDDD;}
.textHr {color:#DDDDDD;height:1px;border:1px solid #DDDDDD;}

.eDetails {border-top:1px solid #DDDDDD;border-bottom:1px solid #DDDDDD;font-family:Tahoma,Arial,Sans-Serif;color:#1A1A1A;padding-bottom:5px;padding-top:3px;text-align:left;font-size:7pt;}
.eDetails1 {border-top:1px solid #DDDDDD;border-bottom:1px solid #DDDDDD;font-family:Tahoma,Arial,Sans-Serif;color:#1A1A1A;padding-bottom:5px;padding-top:3px;text-align:left;font-size:8pt;}
.eDetails2 {border-bottom:1px solid #DDDDDD;font-family:Tahoma,Arial,Sans-Serif;color:#1A1A1A;padding-bottom:5px;padding-top:3px;text-align:left;font-size:8pt;}

.eRating {font-size:7pt;}

.eAttach {margin: 16px 0 0 0; padding: 0 0 0 15px; background: url('/.s/t/997/12.gif') no-repeat 0px 0px;}
/* ------------- */

/* Entry Manage Table */
.manTable {}
.manTdError {color:#FF0000;}
.manTd1 {}
.manTd2 {}
.manTd3 {}
.manTdSep {}
.manHr {}
.manTdBrief {}
.manTdText {}
.manTdFiles {}
.manFlFile {}
.manTdBut {}
.manFlSbm {}
.manFlRst {}
.manFlCnt {}
/* ------------------ */

/* Comments Style */
.cAnswer {padding-left:15px;padding-top:4px;font-style:italic;}

.cBlock1 {background:url('/.s/t/997/8.gif') top repeat-x #FFFFFF; border:1px solid #DEDEDE;padding:10px 5px 5px 5px;}
.cBlock2 {background:url('/.s/t/997/8.gif') top repeat-x #FFFFFF; border:1px solid #DEDEDE;padding:10px 5px 5px 5px;}
/* -------------- */

/* Comments Form Style */
.commTable {background:url('/.s/t/997/8.gif') top repeat-x #FFFFFF; border:1px solid #DEDEDE;padding:10px 5px 5px 5px;}
.commTd1 {color:#000000;}
.commTd2 {}
.commFl {width:100%;}
.smiles {border:1px inset;background:#FFFFFF; border:1px solid #E1E1E1;}
.commReg {padding: 10 0 10 0px; text-align:center;}
.commError {color:#FF0000;}
.securityCode {}
/* ------------------- */

/* News/Blog Archive Menu */
.archUl {list-style: none; margin:0; padding-left:0;}
.archLi {padding: 0 0 3px 10px; background: url('/.s/t/997/13.gif') no-repeat 0px 4px;}
.archActive {text-decoration:underline;}
.archLi {font-family:Tahoma,Arial,Sans-Serif;font-size:11px;}
a.archLink:link {text-decoration:none; color:#518EAD;}
a.archLink:visited {text-decoration:none; color:#518EAD;}
a.archLink:hover {text-decoration:underline; color:#518EAD;}
a.archLink:active {text-decoration:underline; color:#518EAD;}
/* ---------------------- */

/* News/Blog Archive Style */
.archiveCalendars {text-align:center;color:#0000FF;}
.archiveDateTitle {font-weight:bold;color:#518EAD;padding-top:15px;}
.archEntryHr {width:250px;color:#DDDDDD;}
.archiveeTitle li {margin-left: 15px; padding: 0 0 0 15px; background: url('/.s/t/997/14.gif') no-repeat 0px 3px; margin-bottom: .6em;}
.archiveEntryTime {width:65px;font-style:italic;}
.archiveEntryComms {font-size:9px;color:#C3C3C3;}
a.archiveDateTitleLink:link {text-decoration:none; color:#518EAD}
a.archiveDateTitleLink:visited {text-decoration:none; color:#518EAD}
a.archiveDateTitleLink:hover {text-decoration:underline; color:#518EAD}
a.archiveDateTitleLink:active {text-decoration:underline; color:#518EAD}
.archiveNoEntry {text-align:center;color:#0000FF;}
/* ------------------------ */

/* News/Blog Calendar Style */
.calMonth {text-align:right; }
.calWday {background:url('/.s/t/997/3.gif') #6EACCE; width:17px;}
.calWdaySe {background:url('/.s/t/997/3.gif') #6EACCE; width:17px; font-weight:bold;}
.calWdaySu {background:url('/.s/t/997/3.gif') #6EACCE; width:17px; font-weight:bold; color:#FF0000;}
.calMday {border:1px solid #E1E1E1; background:#FFFFFF;}
.calMdayA {border:1px inset #E1E1E1; background:#FFFFFF; font-weight:bold;}
.calMdayIs {border:1px outset #E1E1E1; background:#FFFFFF;}
.calMdayIsA {border:1px outset; background:#DEDEDE;font-weight:bold;}
a.calMonthLink:link {text-decoration:none; color:#518EAD;}
a.calMonthLink:visited {text-decoration:none; color:#518EAD;}
a.calMonthLink:hover {text-decoration:underline; color:#518EAD;}
a.calMonthLink:active {text-decoration:underline; color:#000000;}
a.calMdayLink:link {text-decoration:underline; color:#518EAD;}
a.calMdayLink:visited {text-decoration:underline; color:#518EAD;}
a.calMdayLink:hover {text-decoration:underline; color:#000000;}
a.calMdayLink:active {text-decoration:underline; color:#000000;}
/* ------------------------ */

/* Poll styles */
.pollBut {width:110px;}

.pollBody {padding:7px; margin:0px; background:#FFFFFF}
.textResults {background:#E2E6EA}
.textResultsTd {background:#FFFFFF}

.pollNow {border-bottom:1px solid #E2E6EA; border-left:1px solid #E2E6EA; border-right:1px solid #E2E6EA;}
.pollNowTd {}

.totalVotesTable {border-bottom:1px solid #E2E6EA; border-left:1px solid #E2E6EA; border-right:1px solid #E2E6EA;}
.totalVotesTd {background:#FFFFFF}
/* ---------- */

/* User Group Marks */
a.groupModer:link,a.groupModer:visited,a.groupModer:hover {color:blue;}
a.groupAdmin:link,a.groupAdmin:visited,a.groupAdmin:hover {color:red;}
a.groupVerify:link,a.groupVerify:visited,a.groupVerify:hover {color:green;}
/* ---------------- */

/* Other Styles */
.replaceTable {background:#FFFFFF; border:1px solid #E1E1E1;height:100px;width:300px;}

.legendTd {font-size:7pt;}
/* ------------ */

/* ===== forum Start ===== */

/* General forum Table View */
.gTable {background:#E1E1E1}
.gTableTop {padding:2px;background:url('/.s/t/997/3.gif') #6EACCE;color:#FFFFFF;font-weight:bold;height:21px;padding-left:10px;font-size:11px;}
.gTableSubTop {padding:2px;background:url('/.s/t/997/8.gif') #FFFFFF;color:#518EAD;height:20px;padding-top:8px;}
.gTableBody {padding:2px;background:url('/.s/t/997/4.gif') bottom repeat-x #FBFBFC;}
.gTableBody1 {padding:2px;background:#FFFFFF;}
.gTableBottom {padding:2px;background:url('/.s/t/997/4.gif') bottom repeat-x #FBFBFC;}
.gTableLeft {padding:2px;background:url('/.s/t/997/4.gif') bottom repeat-x #FBFBFC;font-weight:bold;color:#518EAD}
.gTableRight {padding:2px;background:url('/.s/t/997/4.gif') bottom repeat-x #FBFBFC}
.gTableError {padding:2px;background:url('/.s/t/997/4.gif') bottom repeat-x #FBFBFC;color:#FF0000;}
/* ------------------------ */

/* Forums Styles */
.forumNameTd,.forumLastPostTd {padding:2px;background:#FFFFFF}
.forumIcoTd,.forumThreadTd,.forumPostTd {padding:2px;background:url('/.s/t/997/4.gif') bottom repeat-x #FBFBFC}
.forumLastPostTd,.forumArchive {padding:2px;font-size:7pt;}

a.catLink:link {text-decoration:none; color:#FFFFFF;}
a.catLink:visited {text-decoration:none; color:#FFFFFF;}
a.catLink:hover {text-decoration:underline; color:#FFFFFF;}
a.catLink:active {text-decoration:underline; color:#FFFFFF;}

.lastPostGuest,.lastPostUser,.threadAuthor {font-weight:bold}
.archivedForum{font-size:7pt;color:#FF0000;font-weight:bold;}
/* ------------- */

/* forum Titles & other */
.forum {font-weight:bold;font-size:9pt;}
.forumDescr,.forumModer {color:#858585;font-size:7pt;}
.forumViewed {font-size:9px;}
a.forum:link, a.lastPostUserLink:link, a.forumLastPostLink:link, a.threadAuthorLink:link {text-decoration:none; color:#518EAD;}
a.forum:visited, a.lastPostUserLink:visited, a.forumLastPostLink:visited, a.threadAuthorLink:visited {text-decoration:none; color:#518EAD;}
a.forum:hover, a.lastPostUserLink:hover, a.forumLastPostLink:hover, a.threadAuthorLink:hover {text-decoration:underline; color:#6F8EB3;}
a.forum:active, a.lastPostUserLink:active, a.forumLastPostLink:active, a.threadAuthorLink:active {text-decoration:underline; color:#518EAD;}
/* -------------------- */

/* forum Navigation Bar */
.forumNamesBar {padding-bottom:7px;font-weight:bold;font-size:7pt;}
.forumBarKw {font-weight:normal;}
a.forumBarA:link {text-decoration:none; color:#000000;}
a.forumBarA:visited {text-decoration:none; color:#000000;}
a.forumBarA:hover {text-decoration:none; color:#518EAD;}
a.forumBarA:active {text-decoration:underline; color:#518EAD;}
/* -------------------- */

/* forum Fast Navigation Blocks */
.fastNav,.fastSearch,.fastLoginForm {font-size:7pt;}
/* ---------------------------- */

/* forum Fast Navigation Menu */
.fastNavMain {background:#C7D7EF;}
.fastNavCat {background:url('/.s/t/997/4.gif') bottom repeat-x #FBFBFC;}
.fastNavCatA {background:url('/.s/t/997/4.gif') bottom repeat-x #FBFBFC;color:#0000FF}
.fastNavForumA {color:#0000FF}
/* -------------------------- */

/* forum Page switches */
.switches {background:#E1E1E1;}
.pagesInfo {background:#FFFFFF;padding-right:10px;font-size:7pt;}
.switch {background:#FFFFFF;width:15px;font-size:7pt;}
.switchActive {background:#EEEEEE;font-weight:bold;color:#518EAD;width:15px}
a.switchDigit:link,a.switchBack:link,a.switchNext:link {text-decoration:none; color:#000000;}
a.switchDigit:visited,a.switchBack:visited,a.switchNext:visited {text-decoration:none; color:#000000;}
a.switchDigit:hover,a.switchBack:hover,a.switchNext:hover {text-decoration:underline; color:#FF0000;}
a.switchDigit:active,a.switchBack:active,a.switchNext:active {text-decoration:underline; color:#FF0000;}
/* ------------------- */

/* forum Threads Style */
.threadNametd,.threadAuthTd,.threadLastPostTd {padding:2px;padding:2px;background:#FFFFFF}
.threadIcoTd,.threadPostTd,.threadViewTd {padding:2px;background:url('/.s/t/997/4.gif') bottom repeat-x #FBFBFC}
.threadLastPostTd {padding:2px;font-size:7pt;}
.threadDescr {color:#858585;font-size:7pt;}
.threadNoticeLink {font-weight:bold;}
.threadsType {padding:2px;background:#EEEEEE;height:20px;font-weight:bold;font-size:7pt;color:#000000;padding-left:40px;}
.threadsDetails {padding:2px;background:#EEEEEE;height:20px;color:#000000;}
.forumOnlineBar {padding:2px;background:#EEEEEE;height:20px;color:#000000;}

a.threadPinnedLink:link {text-decoration:none; color:#0000FF;}
a.threadPinnedLink:visited {text-decoration:none; color:#0000FF;}
a.threadPinnedLink:hover {text-decoration:none; color:#FF0000;}
a.threadPinnedLink:active {text-decoration:underline; color:#FF0000;}

a.threadLink:link {text-decoration:none; color:#518EAD;}
a.threadLink:visited {text-decoration:none; color:#518EAD;}
a.threadLink:hover {text-decoration:underline; color:#000000;}
a.threadLink:active {text-decoration:underline; color:#000000;}

.postpSwithces {font-size:7pt;}
.thDescr {font-weight:normal;}
.threadFrmBlock {font-size:7pt;text-align:right;}
/* ------------------- */

/* Posts View */
.postTable {background:#E1E1E1}
.postPoll {background:url('/.s/t/997/4.gif') bottom repeat-x #FBFBFC;text-align:center;}
.postFirst {background:url('/.s/t/997/4.gif') bottom repeat-x #FBFBFC;border-bottom:3px solid #FFFFFF;}
.postRest1 {background:url('/.s/t/997/4.gif') bottom repeat-x #FBFBFC;}
.postRest2 {background:url('/.s/t/997/4.gif') bottom repeat-x #FBFBFC;}
.postSeparator {height:3px;background:#40A3CF;}

.postTdTop {background:url('/.s/t/997/8.gif') #FFFFFF;color:#518EAD;height:20px;padding-top:8px;}
.postBottom {background:#EEEEEE;height:20px}
.postUser {font-weight:bold;}
.postTdInfo {text-align:center;padding:5px;background:url('/.s/t/997/4.gif') bottom repeat-x #FBFBFC;}
.postRankName {margin-top:5px;}
.postRankIco {margin-bottom:5px;margin-bottom:5px;}
.reputation {margin-top:5px;}
.signatureHr {margin-top:20px;color:#597798;}
.posttdMessage {padding:5px;background:#FFFFFF;}

.postPoll {padding:5px;}
.pollQuestion {text-align:center;font-weight:bold;}    
.pollButtons,.pollTotal {text-align:center;}
.pollSubmitBut,.pollreSultsBut {width:140px;font-size:7pt;}
.pollSubmit {font-weight:bold;}
.pollEnd {text-align:center;height:30px;}

.codeMessage {background:#FFFFFF;font-size:9px;}
.quoteMessage {background:#FFFFFF;font-size:9px;}

.signatureView {font-size:7pt;}    
.edited {padding-top:30px;font-size:7pt;text-align:right;color:gray;}
.editedBy {font-weight:bold;font-size:8pt;}

.statusBlock {padding-top:3px;}
.statusOnline {color:#0000FF;}
.statusOffline {color:#FF0000;}
/* ---------- */

/* forum AllInOne Fast Add */
.newThreadBlock {background: #F9F9F9;border: 1px solid #B2B2B2;}
.newPollBlock {background: #F9F9F9;border: 1px solid #B2B2B2;}
.newThreadItem {padding: 0 0 0 8px; background: url('/.s/t/997/16.gif') no-repeat 0px 4px;}
.newPollItem {padding: 0 0 0 8px; background: url('/.s/t/997/16.gif') no-repeat 0px 4px;}
/* ----------------------- */

/* forum Post Form */
.loginButton {font-size:7pt;background:#FFFFFF;color:#575757;border:1px outset #636363;}
.pollBut, .searchSbmFl, .commSbmFl, .signButton {font-size:7pt;background:url('/.s/t/997/3.gif') #6EACCE;color:#FFFFFF;border:1px outset #615E58;}

.codeButtons {font-size:7pt;background:url('/.s/t/997/3.gif') #6EACCE;color:#FFFFFF;border:1px outset #615E58;}
.codeCloseAll {font-size:7pt; font-weight:bold;background:url('/.s/t/997/3.gif') #6EACCE;color:#FFFFFF;border:1px outset #615E58;}
.postNameFl,.postDescrFl {width:400px}
.postPollFl,.postQuestionFl {width:400px}
.postResultFl {width:50px}
.postAnswerFl {width:300px}
.postTextFl {width:550px;height:150px}
.postUserFl {width:300px}

.pollHelp {font-weight:normal;font-size:7pt;padding-top:3px;}
.smilesPart {padding-top:5px;text-align:center}
/* ----------------- */

/* ====== forum End ====== */
Сообщение отредактировал Pashok- - Пт, 01.02.2013, 20:55:33
Дата: Пт, 01.02.2013, 23:11:32 | Сообщение # 2
Аватарка -SAM-
⇚ Stand Alone Man ⇛
OFF
Гл. Администратор
5626 Сообщения:
88 Награды:
261 Отзывы:
Сайт пользователя:
Цитата (Pashok-)
<table cellpadding="2" cellspacing="0" border="0" width="100%">

<td valign="top" style="padding-left:1px;background:#FFFFFF;border-left:1px solid #DEDEDE;">
<table cellpadding="0" cellspacing="0" border="0" height="139" width="100%">
</table>

<table cellpadding="2" cellspacing="0" border="0" width="100%">
<tr><td style="border:1 px solid #D7D7D7;padding:5px;" valign="top"><!-- <top> --><!-- <body> --><table border="0" cellpadding="0" cellspacing="0" width="100%">
<div align="top">
Вы находитесь в категории: $CAT_NAME$</div>
Отмеченное белым - это лишнее вообще, можно и убрать ИМХО. Отмеченное красным - дописать нужно.
P.S.: только что открыл редактор через Opera и сайт - всё правильно указал, дописав выше написанное проблема решиться.


Активный форум » WEB-мастеру » Вопросы и ответы на FAQ по uCoz » Выравнивает материалы по центру
  • Страница 1 из 1
  • 1
Поиск: