Дата: Сб, 02.02.2013, 07:06:36 | Сообщение # 1
|
Поставил на сайт шаблон. Захожу на форум. Вместо заголовка раздела вот такая штука http://images.vfl.ru/ii/1359774252/546d3166/1670851.png
CSS форума Код /* ===== forum Start ===== */ .forumContent, .forumContent a {color:#000; text-shadow:none; text-decoration:none;}
.forum_banka {width:978px; height:60px; padding:0 0 0 10px; margin:0 auto; background:url(/designs_56/fBanka_bg.png) no-repeat 0 0;} .forum_banka .left {width:468px; height:60px; float:left; overflow:hidden;} .forum_banka .right {width:468px; height:60px; float:right; overflow:hidden; margin:0 30px 0 0;} .forum_banka img {vertical-align:top;}
.fBlock_title {background:#1f4250 url(/designs_56/forum_top_bg.png) repeat-x 0 -47px;} .fBlock_title b {background:url(/designs_56/forum_top_bg.png) no-repeat right -94px; height:47px; display:block;} .fBlock_title b b {background:url(/designs_56/forum_top_bg.png) no-repeat 0 0;} .fBlock_title b b b {background:url(/designs_56/forum_top_c.png) no-repeat center 0; padding:17px 0 0 35px; text-decoration:none; color:#ededed; text-shadow:0px 1px 0px #272a36; font-size:13px; font-style:italic; font-weight:normal;} .fBlock_title a {text-decoration:none; color:#ededed; text-shadow:0px 1px 0px #272a36;}
.fNav_m {margin:5px 0; height:28px; overflow:hidden;} .fNav_m li {min-width:80px; height:28px; float:left; text-align:center; margin:0 4px;} .fNav_m li a {background:#3b3b3b; height:28px; line-height:28px; display:block; color:#fdfdfd; text-shadow:1px 1px 0px #242424; text-decoration:none; text-align:center; padding:0 0 0 15px; overflow:hidden; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;} .fNav_m li a span {height:28px; display:block; padding:0 15px 0 0;} .fNav_m li:hover a {background:url(/designs_56/bNav_elem.png) no-repeat 0 0;} .fNav_m li:hover a span {background:url(/designs_56/bNav_elem.png) no-repeat right 0;}
/* General forum Table View */ .gTable {background:#f2f2f2; padding:0 6px 3px 6px; color:#000; border-collapse: separate; border-spacing: 0px;} .gTable input {max-width:99%;} .gTableTop {border-collapse: separate; border-spacing: 0px;} .gTableSubTop:first-child {background:url(/designs_56/forum_sub_top.png) no-repeat 0 0;} .gTableSubTop, .threadsType {background:#f2f2f2 url(/designs_56/forum_sub_top.png) no-repeat center 0; height:27px; color:#000; font-weight:bold; padding:0 10px;} .gTableSubTop:last-child {background:url(/designs_56/forum_sub_top.png) no-repeat right 0;} .gTableSubTop a, .postTdTop a {text-decoration:none; color:#000;} .gTableBody, .gTableBody1 {background:url(/designs_56/forum_body_bg.png) no-repeat 0 0; color:#000;} .gTableRight {padding:0 !important;} .gTableBody a, .gTableBody1 a {font-weight:bold; color:#1f1f1f; padding:0 8px 0 0;} .gTableBottom {padding:12px; background:#eee;} .gTableLeft {padding:2px; background:#eee; font-weight:bold; color:#6E6E6E;} .gTableError {padding:2px; background:#eee; border:1px solid #c9c9c9; border-left:none;} /* ------------------------ */
/* Forums Styles */ .threadsType {} .forumIcoTd, .gTableRight, .threadIcoTd:first-child {background:url(/designs_56/forum_post_bg.png) no-repeat 0 0; height:52px; overflow:hidden;} .forumNameTd, .threadIcoTd, .threadNametd, .threadAuthTd {background:url(/designs_56/forum_post_bg.png) no-repeat 0 -52px; padding:0 10px;} .forumThreadTd, .forumPostTd, .threadPostTd, .threadViewTd {background:url(/designs_56/forum_post_bg.png) no-repeat 0 -104px; font-weight:bold; color:#000;} .forumLastPostTd {background:url(/designs_56/forum_post_bg.png) no-repeat 0 -156px; padding:0 10px; color:#000;} .threadLastPostTd {background:url(/designs_56/forum_post_bg.png) no-repeat right -156px; padding:0 10px; color:#000;} .threadsDetails {padding:4px; color:#000;} .forumOnlineBar, .threadDescr {color:#000;} a.catLink {text-decoration:none; color:#fff; text-shadow:0px 1px 0px #272a36;} a.catLink:hover {text-decoration:underline;}
.lastPostGuest,.lastPostUser,.threadAuthor {} .archivedForum{font-size:11px;color:#FF0000;font-weight:bold;} /* ------------- */
/* forum Threads Style */
a.threadPinnedLink, a.threadLink {font-size:11px; font-weight:bold; color:#000;}
a.threadPinnedLink:link {text-decoration:none; color:#000; font-weight:bold !important;} a.threadPinnedLink:hover {text-decoration:underline;}
a.threadLink:link {text-decoration:none; color:#000;} a.threadLink:visited {text-decoration:none; color:#555;} a.threadLink:hover {text-decoration:underline; color:#000;} a.threadLink:active {text-decoration:underline; color:#000;}
.postpSwithces {font-size:11px;} .thDescr {font-weight:normal;} .threadFrmBlock {font-size:11px;text-align:right;}
/* ------------------- */
/* forum Titles & other */ .forum {font-weight:bold; font-size:12px; color:#000;} .forumDescr, .forumModer {font-size:11px; color:#000; } .forumModer a {font-weight:bold;} .forumViewed {font-size:11px;}
a.lastPostUserLink, a.forumLastPostLink, a.threadAuthorLink {text-decoration:none; font-weight:bold; color:#000; } a.lastPostUserLink:hover, a.forumLastPostLink:hover, a.threadAuthorLink:hover {text-decoration:underline; color:#000; }
a.forum {color:#000; font-size:12px; font-family:tahoma; text-decoration:none; font-weight:bold;} a.forum:hover {color:#05648b; text-decoration:underline;} .funcBlock, .funcBlock a {color:#ededed; text-shadow:0 1px 0 #000;} /* -------------------- */
/* forum Navigation Bar */ .forumNamesBar {font-weight:bold;font-size:11px; color:#ededed;} .forumBarKw {font-weight:normal; color:#ededed;} a.forumBarA {text-decoration:underline; color:#ededed;} a.forumBar {color:#ededed;} a.forumBar:first-child {padding:0 0 0 10px;} /* -------------------- */
/* forum Fast Navigation Blocks */ .fastNav,.fastSearch,.fastLoginForm {font-size:11px;} /* ---------------------------- */
/* forum Fast Navigation Menu */ .fastNavMain {background:#DADADA;} .fastNavCat, .fastNavForumA {color:#ededed;} .fastNavCatA {color:#ededed; font-weight:bold;} /* -------------------------- */
/* forum Page switches */ .switches {border:3px solid #1e4250; -moz-border-radius:5px;-webkit-border-radius:5px;-khtml-border-radius:5px;border-radius:5px; margin-left:10px; background:#212121;} .pagesInfo {background:#2c2c2c;padding-right:10px;font-size:11px;} .switch {background:#2c2c2c;width:15px;font-size:11px;} .switchActive {background:#2c2c2c;font-weight:bold;color:#ededed;width:15px} a.switchDigit:link,a.switchBack:link,a.switchNext:link {text-decoration:none; color:#ededed;} a.switchDigit:visited,a.switchBack:visited,a.switchNext:visited {text-decoration:none; color:#ededed;} a.switchDigit:hover,a.switchBack:hover,a.switchNext:hover {text-decoration:underline; color:#ededed;} a.switchDigit:active,a.switchBack:active,a.switchNext:active {text-decoration:underline; color:#ededed;} /* ------------------- */
select.searchForumsFl {width:300px; height:250px;}
.uTable{background:#fff;} .forumMemNum, .forumMemSwch, .uTable, .userSchFrm {padding:2px 5px; background:#eee url(/designs_36/forum_elements.png) repeat-x 0 -106px;}
/* forum Posts View */ .postTable {background:#dcdcdc; color:#000;} .postPoll {background:#F1F2F3;text-align:center;} .postFirst {background:#ededed;border-bottom:3px solid #ededed;} .postRest1 {background:#ededed;} .postRest2 {background:#ededed;} .postSeparator {}
.postUser {font-weight:bold;} .postRankName {margin-top:5px;} .postRankIco {margin-bottom:5px;margin-bottom:5px;} .reputation {margin-top:5px;} .signatureHr {margin-top:20px;color:#787878;} .postTdInfo {border-right:1px solid #ececec; background:#dcdcdc; border-bottom:1px solid #c2c2c2; width:200px !important;} .postTdTop a {color:#545454;} .posttdMessage {border-left:1px solid #c2c2c2; background:#dcdcdc; padding:2px 5px; color:#2b2f3b; border-bottom:1px solid #c2c2c2;} .postBottom {border-top: 1px solid #ececec; background:#dcdcdc;}
.pollQuestion {text-align:center;font-weight:bold;} .pollButtons,.pollTotal {text-align:center;} .pollSubmitBut,.pollreSultsBut {width:140px;font-size:11px;} .pollSubmit {font-weight:bold;} .pollEnd {text-align:center;height:30px;}
.bbCodeBlock, .bbQuoteBlock {border:1px solid #080808; margin:4px 0px; border-radius:3px; -moz-border-radius:3px; -webkit-border-radius:3px;} .bbCodeName, .bbQuoteName {display:none;} .codeMessage {color:#f8f8f8; font-family:arial; background:#8b332f; font-size:12px; border:1px solid #c54d47 !important; padding:5px; margin-top:1px; text-shadow:0px 1px 0px #222 !important; border-radius:3px; -moz-border-radius:3px; -webkit-border-radius:3px;}
.quoteMessage {color:#f8f8f8; font-size:11px; font-family:arial; background:#4d8633; border:1px solid #71bf4d !important; padding:5px; text-shadow:0px 1px 0px #222 !important; border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;}
.signatureView {font-size:11px;} .edited {padding-top:30px;font-size:11px;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/813/11.gif') no-repeat 0px 4px;} .newPollItem {padding: 0 0 0 8px; background: url('/.s/t/813/11.gif') no-repeat 0px 4px;} /* ----------------------- */
/* forum Post Form */ .myWinCont table[style="border:1px inset;"] {border:0 !important;}
.postNameFl,.postDescrFl {background:#f1f1f1;border:1px solid #6E6E6E;width:55% !important} .postPollFl,.postQuestionFl {background:#f1f1f1;border:1px solid #6E6E6E;width:55% !important} .postResultFl {background:#f1f1f1;border:1px solid #6E6E6E;width:50px} .postAnswerFl {background:#f1f1f1;border:1px solid #6E6E6E;width:300px} .postTextFl {width:99.9% !important; margin:2px; padding:2px; color:#000; background:#fff; border:1px solid #ddd; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;} .postUserFl {background:#fff; border:1px solid #ddd; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;} .forum_bb input {background:#fff; border:1px solid #ddd; padding:2px; margin:2px; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;} .forum_bb input:hover {background:#f1f1f1;}
.pollHelp {font-weight:normal;font-size:8pt;padding-top:3px;} .smilesPart {padding-top:5px;text-align:center} /* ----------------- */
/* Other Styles */ .replaceTable {height:100px !important; width:300px !important; border:4px solid #373737 !important;-moz-border-radius:5px;-webkit-border-radius:5px;-khtml-border-radius:5px;border-radius:5px; background:#1b1b1b;} .replaceTable td {border:1px solid #000 !important;} .legendTd {font-size:11px !important;} /* ------------ */
#_uwndWnd1 .myWinCont table td {text-align:left;} #_uwndWnd1 .myWinCont table td[align="right"] {text-align:right;}
input.postNameFl, input.postDescrFl, input.postQuestionFl, textarea.postPollFl, textarea.postTextFl {width:98% !important;}
/* Forum Vid materialov Styles */ .f_hr {background:url(/designs_56/f_hr.png) no-repeat 0 0; height:3px; display:block; margin:1px 0 0 0;} .fPost_loop {background:#f2f2f2; font-size:11px; margin:0 0 5px 0; color:#000; overflow:hidden;} .fPost_left {width:247px; float:left; padding:11px 0 0 0; margin:0 6px 0 0; overflow:hidden;} .fPost_right {overflow:hidden; padding:5px 0 0 0;}
.fPost_top {background:url(/designs_56/forum_sub_top.png) no-repeat 0 0; height:27px; line-height:26px; color:#000;} .fPost_top .fPost_left {padding:0; font-weight:bold; text-align:center; background:0;} .fPost_top .fPost_right {padding:0;} .fPost_top a {text-decoration:none; color:#000;}
.fPost_in {background:url(/designs_56/fPost_left_y_bg.png) repeat-y 0 0;} .fPost_in2 {background:url(/designs_56/fPost_left_bg.png) no-repeat 0 0; overflow:hidden;}
.fPost_infos {background:#1f1f1f url(/designs_56/fPost_info_bg.png) no-repeat 0 0; width:169px; margin:0 auto; padding:10px 0 0 0; overflow:hidden;} .fPost_info_b {background:url(/designs_56/fPost_info_bg.png) no-repeat -171px bottom; height:4px; display:block; padding:5px 0 0 0;} .fPost_infos dl {background:url(/designs_56/fPost_elem.png) no-repeat center bottom; height:28px; line-height:27px; padding:0 6px; color:#ededed; text-shadow:0px 1px 0px #1a1a1a;} .fPost_infos dt {height:27px;} .fPost_infos dt {float:left; color:#ededed; text-shadow:0px 1px 0px #1a1a1a;} .fPost_infos dt a, .f_rat_num a {color:#fff; text-shadow:0 1px 0 #1f1f1f;} .fPost_rat {height:19px; width:150px; margin:6px auto 0 auto;} a.f_rat_plus, a.f_rat_minus {width:27px; height:19px; float:left; background:url(/designs_56/fPost_elem.png) no-repeat right 0;} a.f_rat_plus {background-position:-107px 0;} a.f_rat_minus {background-position:-134px 0;} a.f_rat_plus:hover {background-position:-107px -19px;} a.f_rat_minus:hover {background-position:-134px -19px;} a.f_rat_plus.disabled {background-position:-107px -38px; cursor:default;} a.f_rat_minus.disabled {background-position:-134px -38px;; cursor:default;} .f_rat_num {background:url(/designs_56/fPost_elem.png) no-repeat 0 0; height:19px; line-height:19px; width:77px; float:left; overflow:hidden; font-weight:bold; color:#fff; text-shadow:0 1px 0 #1f1f1f; padding:0 5px;}
.fPost_message {overflow:hidden; padding:0 0 6px 0;} .fPost_message a {color:#000; text-decoration:none;} .fPost_message a:hover {text-decoration:underline;} .fPost_message hr {height:1px; border-top:1px dotted #000; background:#f2f2f2;}
.fPost_line {height:3px; overflow:hidden; margin:10px 0; background:url(/designs_56/signature_hr.png) no-repeat 0 0;} .fPost_loop .fPost_line {width:324px; margin:8px 0 6px 0;}
.fPost_bottom {background:url(/designs_56/f_hr.png) no-repeat 0 bottom; height:26px; padding:5px 10px; overflow:hidden;} /* -------------- */ /* ====== forum End ====== */
Общий вид стр. форума Код <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 4.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>форум</title>
<link type="text/css" rel="StyleSheet" href="/_st/my.css" /> <link type="text/css" rel="StyleSheet" href="http://s104.ucoz.net/src/layer1.css" /> <script type="text/javascript" src="http://s104.ucoz.net/src/jquery-1.7.2.js"></script> <link href="http://s104.ucoz.net/src/ulightbox/ulightbox.css" rel="stylesheet" type="text/css" /><script type="text/javascript" src="http://s104.ucoz.net/src/ulightbox/ulightbox.js"></script> <script type="text/javascript" src="http://s104.ucoz.net/src/uwnd.js?2"></script><style type="text/css">.UhideBlock {display:none}</style> </head> <body class="modules$MODULE_ID$ pages$PAGE_ID$ uri$URI_ID$"> <link rel="alternate" type="application/rss+xml" title="Sitemap XML" href="http://servodel.ru//sitemap.xml"> $GLOBAL_AHEADER$
<div class="forumContent">
<ul class="fNav_m"> <?if($USER_LOGGED_IN$)?> <li><a href="javascript://" rel="nofollow" id="upml" class="fNavLink" onclick="window.open('$PM_URL$','pmw','scrollbars=1,top=0,left=0,resizable=1,width=680,height=350');return false;"><!--<s3065>-->Личные сообщения<!--</s>-->($UNREAD_PM$)</a></li> <?if($IS_NEW_PM$)?><script type="text/javascript">function flashit(id,cl){var c=document.getElementById(id);if (c.style.color=='red'){c.style.color=cl;}else {c.style.color='red';}}setInterval("flashit('upml','')",500)</script><bgsound src="http://s67.ucoz.net/img/fr/pm.wav" loop="1" volume="0" balance="0"> <?endif?><?endif?> <li><a href="/forum/0-0-1-34" rel="nofollow"><span>Новые сообщения</span></a></li> <li><a href="/forum/0-0-1-35" rel="nofollow"><span>Участники</span></a></li> <li><a href="/forum/0-0-0-36" rel="nofollow"><span>Правила форума</span></a></li> <li><a href="/forum/0-0-0-6" rel="nofollow"><span>Поиск</span></a></li> <li><a href="/forum/0-0-0-37"><span>RSS</span></a></li> </ul> $BODY$</div><br />
$GLOBAL_BFOOTER$
</body> </html>
Подскажите, что к чему. Или найдите ошибку в коде.
Не ставится подпись... :(
|
|
Дата: Сб, 02.02.2013, 07:29:56 | Сообщение # 2
|
Вот в этом участке проблема:Цитата (f1naLy) .gTable {background:#f2f2f2; padding:0 6px 3px 6px; color:#000; border-collapse: separate; border-spacing: 0px;} .gTable input {max-width:99%;} .gTableTop {border-collapse: separate; border-spacing: 0px;} .gTableSubTop:first-child {background:url(/designs_56/forum_sub_top.png) no-repeat 0 0;} .gTableSubTop, .threadsType {background:#f2f2f2 url(/designs_56/forum_sub_top.png) no-repeat center 0; height:27px; color:#000; font-weight:bold; padding:0 10px;} .gTableSubTop:last-child {background:url(/designs_56/forum_sub_top.png) no-repeat right 0;} .gTableSubTop a, .postTdTop a {text-decoration:none; color:#000;} .gTableTop {border-collapse: separate; border-spacing: 0px;} ---> попробуй убрать
|
|
Дата: Сб, 02.02.2013, 07:33:54 | Сообщение # 3
|
Колом. То же самое. ---Ссылка на ваш секретный сайт нужна, кидаете тут всякие куски кодов и ожидаете помощи по ним. .gTableTop и .gTableSubTop ---> проблема в стилях этих классов © -SAM-
Не ставится подпись... :(
|
|
Дата: Сб, 02.02.2013, 07:55:33 | Сообщение # 4
|
Получив ссылку на сайт в ЛС, было установлено, что стилизация выше написанная подменяется другой скриптом /designs_56/Milk_Shake_script.js :Код //Forum $(".gDivLeft").before('<div class=\"fBlock_title\"><b><b><b class=\"fBlock_title_in\"></b></b></b></div>'); $("div.gDivRight").append('<div class=\"vBot\"><div class=\"vBot_in\"><div class=\"vBot_ins\"></div></div>'); $(".fBlock_title").next().each(function() { var linkText = $(this).find("td.gTableTop").html(); $(this).prev().show().find('.fBlock_title_in').html(linkText); }); $(".gTableTop").remove();
Сообщение отредактировал -SAM- - Сб, 02.02.2013, 23:47:53
|
|