Растянуть фон на форуме
GaV
Дата: Четверг, 20.09.2012, 16:32 | Сообщение # 1
Президент
Министр
Академик
Доктор
Кандидат
Аспирант
Магистр
Бакалавр
Абитуриент
Школьник
Звание: Доктор
Группа: Гл. модератор
Сообщений: 1262
Всем привет! У меня возникла кое какая проблема и хотел спросить у знатоков html, как мне можно воплотить в жизнь вот такую задумку на данном: Убрать белую полосу снизу на главной странице форума (растянуть фоновую картинку): Убрать белую полосу снизу в разделах форума (растянуть фоновую картинку так, чтоб белый фон пропал): Убрать повтор фона снизу и сверху на странице с обсуждением темы (растянуть фоновую картинку): Вот код из js, который отвечает за это все дело:
Code
/*--------------------- General styles start ---------------------*/ body {margin: 0;font: 12px/16px 'Arial';color: #333;text-align: center;background: #fff;} td, input {font: 12px 'Arial';} body a {color: #000;text-decoration: underline;} body a:hover {text-decoration: none;} * {} img {border: 0;} a.noun img {margin: 2px;} .clear {clear: both;} h1, h2, h3, h4, h5, h6 {} hr {border: 0; height: 1px; background: #ccc;} *:focus {outline: none;} /*--------------------- General styles end ---------------------*/ /*All content, common styles*/ #wrap0 {background: url(http://www.kyb-mira.ru/images/fon_foruma.jpg) center;width: 100%;} #wrap {background: url() no-repeat top center;min-width: 916px;} #container {width: 700px;margin: auto;text-align: left;background: url() repeat-y top right;padding-bottom: 5px;} #leftcol {float: left;width: 0px;} #rightcol {float: left;width: 0px;padding-top: 5px;} /*-----------*/ /*Header*/ #header {height: 232px;} .date {float: left;margin: 3px 0 0 250px;height: 20px;font: 11px 'Arial';color: #010101;} .whois {float: right;margin: 3px 3px 0 0;font: 11px 'Arial';color: #000;} .whois a {color: #000;} #site-logo {height: 186px;} #site-logo h1 {margin: 0;padding: 0;font: 36px/186px 'Arial';color: #1a4e89;} .usermenu {float: left;background: #fff;border: 1px solid #6bc1e3;border-radius: 5px 5px 0 0;border-bottom: none;padding: 5px 5px 2px 5px;} .usermenu ul {margin: 0;padding: 0;list-style: none;} .usermenu li {float: left;font: 11px/15px 'Arial';color: #000;margin: 0 5px;} .usermenu li a {} .usermenu li a:hover {} /*------*/ /*Sidebar*/ .block {margin: 0 2px 10px 2px;width: 219px;} .blocktitle {background: #d5e1e2;border-top: 1px solid #c6cdcd;border-bottom: 1px solid #f2f8f8;padding: 0 15px 0 20px;font: bold 14px/18px 'Trebuchet MS';color: #333333;} .blockcontent {margin: 5px 15px;width: 189px;} .blockcontent ul {margin: 0; padding: 0;} .blockcontent li {margin-left: 15px;} .uMenuH li {float:left;padding: 0 5px;} .uMenuV, .uMenuV .uMenuRoot {margin: 0;padding: 0;} .uMenuV li {margin: 0;list-style: none;} .uMenuV .uMenuItem {} .uMenuV li a {display: block;padding: 2px 5px;margin: 0;font: 14px 'Trebuchet MS'; color: #333;text-decoration: none;border-top: 1px solid transparent;border-bottom: 1px solid transparent;} .uMenuV li a:hover, .uMenuV .uMenuItemA {color: #1a4e89;background: #d2e3eb;border-top: 1px solid #cad0d1;border-bottom: 1px solid #f5fafa;} .uMenuV .uMenuItemA {} .uMenuV a.uMenuItemA:link {} .uMenuV a.uMenuItemA:visited {} .uMenuV a.uMenuItemA:hover {} .uMenuV .uMenuArrow {} .block .xw-tl,.block .xw-bl,.block .u-menuvsep, .x-sh {display:none;} .block .xw-ml,.block .xw-mr {margin:0;padding:0;background:none !important;} .block .xw-mc {color:#333; font-weight: normal; float: none; margin: 0; padding: 0; line-height:28px; background:#e3f0f1 !important; border: 1px solid #dddddd !important; } .block .u-menubody {border: 0 !important; padding: 0;} .block .u-menuvitem {background:#e3f0f1 !important; padding: 2px 35px 2px 15px; line-height:28px;text-decoration: none;border-top: 1px solid transparent;border-bottom: 1px solid transparent;} .block .u-menuvitem span {font: 14px 'Trebuchet MS';color:#000;text-decoration: none;} .block .u-menuitemhl {background: #d2e3eb !important; padding: 2px 35px 2px 15px; line-height:28px;border-top: 1px solid #cad0d1;border-bottom: 1px solid #f5fafa;} .block .u-menuitemhl span {text-decoration: none;color: #1a4e89;} .block .u-menuarrow {position: absolute; right: 5px; top: 8px;width: 4px; height: 7px; overflow: hidden; background: url(/.s/t/788/4.gif);} .block .u-menuitemhl .u-menuarrow {background-position: bottom left;} .block .u-menu {margin-left: 0;} .search-block {text-align: center;} .searchForm {overflow: hidden;width: 176px;height: 19px;margin: 5px auto 5px auto;text-align: left;background: url(/.s/t/788/5.gif);} .schQuery {float: left;position: relative;} .schQuery input {background: none !important; border: none !important; font: 10px 'Trebuchet MS' !important; color: #333;padding: 0 !important;margin: 2px 0 0 3px;width: 145px !important;} .schBtn {float: right;position: relative;} .schBtn input {margin: 0;display: inline;background: none !important; border: none !important; font-size: 0 !important; color: transparent;cursor: pointer;text-indent: -9999px;height: 19px;width: 25px;position: absolute;top:0;right:0;} /*-------*/ /*Content*/ #content {margin: 0 8px 0 5px;padding: 10px 0;width: 680px;} /*--------*/ /*Footer*/ #footer {font: 10px 'Arial';color: #000;text-align: right;margin: 5px 230px 0 15px;} #footer a {color: #000;} #copyright {} #powered-by {} #powered-by img {vertical-align: middle;} /*------*/ /* Module Part Menu */ .catsTable {} .catsTable td {} .catsTd {} .catName {} .catNameActive {} .catNumData {} .catDescr {} a.catName:link {} a.catName:visited {} a.catName:hover {} a.catName:active {} a.catNameActive:link {} a.catNameActive:visited {} a.catNameActive:hover {} a.catNameActive:active {} /* ----------------- */ /* Entries Style */ .eBlock {} .eTitle {font: 18px 'Arial';color: #6699cc;} .eTitle a {color: #6699cc;text-decoration: none;} .eTitle a:hover {color: #4da301;} .eMessage, .eText {text-align: justify !important;font: 12px/14px 'Arial';color: #333;} .eMessage a, .eText a {} .eMessage img, .eText img {} .eDetails, .eDetails1, .eDetails2 {padding: 5px 0;font: 11px 'Arial';color: #666;font-style: italic;} .eDetails a, .eDetails1 a, .eDetails2 a {color: #666;} .eDetails a:hover, .eDetails1 a:hover, .eDetails2 a:hover {} .eDetails {} .eDetails1 {} .eDetails2 {} .eRating {} .eAttach {} /* ------------- */ /* Entry Manage Table */ .manTable {} .manTdError {} .manTd1 {} .manTd2 {} .manTd3 {} .manTdSep {} .manHr {} .manTdBrief {} .manTdText {} .manTdFiles {} .manFlFile {} .manTdBut {} .manFlSbm {} .manFlRst {} .manFlCnt {} /* ------------------ */ /* Comments Style */ .cAnswer {} .cBlock1, .cBlock2 {} .cBlock1 {} .cBlock2 {} /* -------------- */ /* Comments Form Style */ .commTable {} .commTd1 {} .commTd2 {} .commFl {} .smiles {} .commReg {} .commError {} .securityCode {} /* ------------------- */ /* Archive Menu */ .archUl {} .archLi {} a.archLink:link {} a.archLink:visited {} a.archLink:hover {} a.archLink:active {} /* ------------ */ /* Archive Style */ .archiveCalendars {} .archiveDateTitle {} .archEntryHr {} .archiveeTitle li {} .archiveEntryTime {} .archiveEntryComms {} a.archiveDateTitleLink:link {} a.archiveDateTitleLink:visited {} a.archiveDateTitleLink:hover {} a.archiveDateTitleLink:active {} .archiveNoEntry {} /* ------------- */ /* Calendar Style */ .calTable {} .calTable td {padding: 3px 4px;} .calMonth {color: #34aede;} .calWday {color: #34aede;background: #fff;border: 1px solid #c6cdcd;} .calWdaySe, .calWdaySu {background: #6bc1e3;border: 1px solid #34aede;color: #fff;} .calMday {} .calMdayA, .calMdayIsA {border: 1px solid #dcdbe0;background: #efefef;} .calMdayIs {} a.calMonthLink:link,a.calMdayLink:link {} a.calMonthLink:visited,a.calMdayLink:visited {} a.calMonthLink:hover,a.calMdayLink:hover {} a.calMonthLink:active,a.calMdayLink:active {} /* -------------- */ /* Poll styles */ .pollBut {} .pollBody {} .textResults {} .textResultsTd {} .pollNow {} .pollNowTd {} .totalVotesTable {} .totalVotesTd {} /* ---------- */ /* 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 {} .legendTd {} .bbCodeBlock, .bbQuoteBlock {margin: 8px 0;} .codeMessage {padding: 5px;font: 11px 'Consolas', 'Courier New', 'sans-serif';background-color: #ebebeb;color: #000;} .quoteMessage { margin: 0 0 20px 0;padding: 3px 0 3px 10px;color: #666;font-style: italic; border-left: 3px solid #cbcbcb !important; border-right: none !important; border-bottom: none !important; border-top: none !important; } /* ------------ */ /* ===== forum Start ===== */ /* General forum Table View */ .forumContent {position: relative;} .forumContent a {text-decoration: none;} .forumContent a:hover {text-decoration: underline;} .forumcontent td {font: 11px 'Arial'; color: #555555;} a.fNavLink {font: italic 12px 'Trebuchet MS';color: #51a3e2;text-decoration: underline;padding: 3px 6px;} a.fNavLink:hover {color: #1a4e89;} .gTable {background: #6bc1e3;border-radius: 5px 5px 0 0;-moz-border-radius: 5px 5px 0 0;} .gTable td {background: #fff; padding: 5px 7px;} td.gTableTop {font: 14px/21px 'Tahoma';color: #feffff;padding: 0 10px;background: #44b6eb url(/.s/t/788/6.gif) repeat-x;border: none;border-radius: 5px 5px 0 0;-moz-border-radius: 5px 5px 0 0;} td.gTableTop a {font: 14px/21px 'Tahoma'; color: #feffff;} td.gTableSubTop, td .postTdTop {background: #f5f5f5;font: 10px/16px 'Tahoma';color: #1a4e89;padding: 0 10px;} td.gTableSubTop a, td .postTdTop a {color: #1a4e89;} .gTableBody {} .gTableBody1 {} .gTableBottom {} .gTableLeft {} td.gTableRight {background: #fff;} .gTableError {} /* ------------------------ */ /* Forums Styles */ .forumNameTd,.forumLastPostTd {} td.forumIcoTd,td.forumThreadTd,td.forumPostTd {background: #f5f5f5;} .forumLastPostTd,.forumArchive {} a.catLink:link {} a.catLink:visited {} a.catLink:hover {} a.catLink:active {} .lastPostGuest,.lastPostUser,.threadAuthor {} .archivedForum{} /* ------------- */ /* forum Titles & other */ .forum {font: 12px 'Arial'; } .forumDescr,.forumModer {font: 10px 'Arial'; color: #a1a1a1;} .forumViewed {} a.forum:link, a.lastPostUserLink:link, a.forumLastPostLink:link, a.threadAuthorLink:link {color: #1282d8;} a.forum:visited, a.lastPostUserLink:visited, a.forumLastPostLink:visited, a.threadAuthorLink:visited {color: #1282d8;} a.forum:hover, a.lastPostUserLink:hover, a.forumLastPostLink:hover, a.threadAuthorLink:hover {color: #1282d8;} a.forum:active, a.lastPostUserLink:active, a.forumLastPostLink:active, a.threadAuthorLink:active {color: #1282d8;} /* -------------------- */ /* forum Navigation Bar */ .forumNamesBar {} .forumBarKw {} a.forumBarA:link {} a.forumBarA:visited {} a.forumBarA:hover {} a.forumBarA:active {} /* -------------------- */ /* forum Fast Navigation Blocks */ .fastNav,.fastSearch,.fastLoginForm {} /* ---------------------------- */ /* forum Fast Navigation Menu */ .fastNavMain {} .fastNavCat {} .fastNavCatA {} .fastNavForumA {} /* -------------------------- */ /* forum Page switches */ .switches {} td.pagesInfo, td.switch, td.switchActive {background: #ffffff; border: 1px solid #dcdbe0; padding-left: 5px; padding-right: 5px;} td.switch, td.switchActive { background: #ccedff; color: #555;} td.switch a {color: #555;} .switch {} .switchActive {} a.switchDigit:link,a.switchBack:link,a.switchNext:link {} a.switchDigit:visited,a.switchBack:visited,a.switchNext:visited {} a.switchDigit:hover,a.switchBack:hover,a.switchNext:hover {} a.switchDigit:active,a.switchBack:active,a.switchNext:active {} /* ------------------- */ /* forum Threads Style */ .threadNametd,.threadAuthTd,.threadLastPostTd {} td.threadIcoTd,td.threadPostTd,td.threadViewTd {background: #f5f5f5;} .threadLastPostTd {} .threadDescr {font: 10px 'Arial'; color: #a1a1a1;} .threadNoticeLink {} .threadsType {} .threadsDetails {} .forumOnlineBar {} a.threadPinnedLink:link {} a.threadPinnedLink:visited {} a.threadPinnedLink:hover {} a.threadPinnedLink:active {} a.threadLink:link {font: 12px 'Arial';color: #1282d8;} a.threadLink:visited {font: 12px 'Arial';color: #1282d8;} a.threadLink:hover {font: 12px 'Arial';color: #1282d8;} a.threadLink:active {font: 12px 'Arial';color: #1282d8;} .postpSwithces {} .thDescr {} .threadFrmBlock {} /* ------------------- */ /* forum Posts View */ .postTable {background:#dcdbe0;} .postTable td {} .postPoll {} .postPoll td {border: 0 !important;} .postFirst {} .postRest1 {} .postRest2 {} .postSeparator {display: none;} .postTdTop {} .postTdTop a {text-decoration: underline;} .postTdTop a:hover {text-decoration: none;} .postBottom {font-size: 10px !important;} .postBottom td {border: 0;padding: 0 5px !important;} .postBottom img, .postBottom input {vertical-align: middle;} .postUser {font-size: 12px; font-weight: bold;} .postTdInfo {text-align: center;} .postRankName {} .postRankIco {} .reputation {} .signatureHr {} .posttdMessage {text-align: justify;padding: 8px !important;line-height: 18px;} .pollQuestion {} .pollButtons,.pollTotal {} .pollSubmitBut,.pollreSultsBut {} .pollSubmit {} .pollEnd {} .codeMessage {font-family: monospace;} .quoteMessage {font-style: italic;} .signatureView {} .edited {} .editedBy {} .statusBlock {} .statusOnline {} .statusOffline {} /* ------------------ */ /* forum AllInOne Fast Add */ .newThreadBlock {} .newPollBlock {} .newThreadItem {} .newPollItem {} /* ----------------------- */ /* forum Post Form */ .pollBut, .loginButton, .searchSbmFl, .commSbmFl, .signButton {} .codeButtons {} .codeCloseAll {} .postNameFl,.postDescrFl {} .postPollFl,.postQuestionFl {} .postResultFl {} .postAnswerFl {} .postTextFl {} .postUserFl {} .pollHelp {} .smilesPart td {border: 0 !important;} /* ----------------- */ .funcLink {font: 11px 'Tahoma';color: #1282d8;} /* ====== forum End ====== */ /*--------------------- INPUTS start ---------------------*/ input[type=submit], input[type=reset], input[type=button] { padding: 0 6px;background: #74c3e9 url(/.s/t/788/7.gif) repeat-x bottom left;color: #fff;border: 1px solid #45afe1;border-radius: 5px;cursor: pointer;font: 11px 'Arial'; } input[type=submit]:hover, input[type=reset]:hover, input[type=button]:hover { background: #eaf4f5 url(/.s/t/788/7.gif) repeat-x top left;color: #1a4e89;border: 1px solid #d2e3eb; } input[type=submit]:active, input[type=reset]:active, input[type=button]:active {} input[type=text], input[type=password], textarea, select { padding: 1px 3px;background: #fff;border: 1px solid #abadb3;color: #848484;font: 11px 'Arial'; } textarea {} #mchatBtn, input.codeButtons, input.button {padding-left: 0;padding-right: 0;} .queryField {width: auto !important;} .commFl {width: 100%;} #frM58 span {display: inline-block;} /*--------------------- INPUTS end ---------------------*/ /*--------------------- POPUP start ---------------------*/ .popup-bg {background: #b3dff0;padding: 10px 0;} .popup {margin: 0 8px;border-radius: 5px;background: #fff;padding: 1px;text-align: left;} .popup, .popup td {color: #6b6b6b;font: 11px 'Tahoma';} .popup a, .popup td a {color: #1a4e89;} .popuptitle {font: bold 12px/30px 'Arial';color: #bee3f5;background: #45afe1;border: 1px solid #3298c9;border-radius: 5px;} .pt-inside {background: url(/.s/t/788/8.jpg) no-repeat top right;padding: 0 20px;} .popupbody {padding: 5px 15px; _width: 100% /*FOR IE*/ ;} /*--------------------- POPUP end ---------------------*/
Народ, кого не затрудни прошу помочь, в долгу не останусь! Просто сроки горят очень... а сам не успевая, а на покрытие дополнительных знаний html нет времени
Подпись пользователя GaV
Melkiy
Дата: Четверг, 20.09.2012, 16:51 | Сообщение # 2
Президент
Министр
Академик
Доктор
Кандидат
Аспирант
Магистр
Бакалавр
Абитуриент
Школьник
Звание: Аспирант
Группа: Фотошоперы
Сообщений: 632
Можно код html?
Подпись пользователя Melkiy
GaV
Дата: Четверг, 20.09.2012, 17:09 | Сообщение # 3
Президент
Министр
Академик
Доктор
Кандидат
Аспирант
Магистр
Бакалавр
Абитуриент
Школьник
Звание: Доктор
Группа: Гл. модератор
Сообщений: 1262
Вид форума используется со стандартного шаблона 788 Общий вид страниц форума:
Code
<html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>$MODULE_NAME$</title> <?$META_DESCRIPTION$?> <link href="http://www.kyb-mira.ru/js/forum.js" rel="stylesheet" type="text/css"/> </head> <body> $ADMIN_BAR$ <div id="wrap0"> <div id="wrap"> <div id="container"> <div id="leftcol"> $GLOBAL_AHEADER$ <div id="content"> <div class="forumContent"><table border="0" cellpadding="0" height="30" cellspacing="0" width="100%"> <tr> <td align="center"><?if($USER_LOGGED_IN$)?> <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> · <?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://s70.ucoz.net/img/fr/pm.wav" loop="1" volume="0" balance="0"> <?endif?><?endif?> <a class="fNavLink" href="$RECENT_POSTS_LINK$" rel="nofollow"><!--<s5209>-->Новые сообщения<!--</s>--></a> · <a class="fNavLink" href="$MEMBERS_LIST_LINK$" rel="nofollow"><!--<s5216>-->Участники<!--</s>--></a> · <a class="fNavLink" href="$BOARD_RULES_LINK$" rel="nofollow"><!--<s5166>-->Правила форума<!--</s>--></a> · <a class="fNavLink" href="$SEARCH_PAGE_LINK$" rel="nofollow"><!--<s3163>-->Поиск<!--</s>--></a> · <a class="fNavLink" href="$RSS_LINK$" rel="nofollow">RSS</a> </td> </tr> </table> $BODY$</div> </div> </div> <div id="rightcol"> <div class="block search-block"> <?if($SEARCH_FORM$)?> $SEARCH_FORM$ <?endif?> </div> $GLOBAL_CLEFTER$ </div> <div class="clear"></div> $GLOBAL_BFOOTER$ </div> </div> </div> <div align="center">$POWERED_BY$</div> </body> </html>
Вид материалов форума:
Code
<table border="0" width="100%" cellspacing="1" cellpadding="2" class="postTable"> <tr><td width="23%" class="postTdTop" align="center"><a class="postUser" href="javascript://" rel="nofollow" onClick="emoticon('[b]$USERNAME$[/b],');return false;">$USERNAME$</a></td><td class="postTdTop"><?if($AWARDS_DO_URL$ && $USER_LOGGED_IN$ && $CUR_USER_ID$!=$UID$)?><div style="float:right"><a href="javascript://" rel="nofollow" onclick="new _uWnd('AwD','Вручить награду',380,200,{autosize:1,maxh:300},{url:'/index/55-$UID$-28-forum-$FID$_$TID$_$ID$_16_$TIMESTAMP$'});return false;"><img alt="" src="http://s70.ucoz.net/img/icon/thumbu.png" width="13" border="0" title="Хороший пост"></a> <a href="javascript://" rel="nofollow" onclick="new _uWnd('AwD','Вручить награду',380,200,{autosize:1,maxh:300},{url:'/index/55-$UID$-47-forum-$FID$_$TID$_$ID$_16_$TIMESTAMP$'});return false;"><img alt="" src="http://s70.ucoz.net/img/icon/thumbd.png" width="13" border="0" title="Плохой пост"></a></div><?endif?>Дата: $WDAY$, $DATE$, $TIME$ | Сообщение # $NUMBER$</td></tr> <tr><td class="postTdInfo" valign="top"> <?if($AVATAR_URL$)?><img alt="" title="$USERNAME$" class="userAvatar" border="0" src="$AVATAR_URL$"><?endif?><?if($USER_TITLE$)?><div class="postRankName">$USER_TITLE$</div><?else?><div class="postRankName">$USER_RANK_NAME$</div><?endif?> <?if($GROUP_ICON$)?><div class="postRankIco">$GROUP_ICON$</div><?else?><div class="postRankIco">$USER_RANK_ICON$</div><?endif?> <?if($GROUP_NAME$)?><div class="postUserGroup">Группа: $GROUP_NAME$</div><?endif?> <?if($POSTS$)?><div class="numposts">Сообщений: <span="unp">$POSTS$</span></div><?endif?> <?if($AWARDS_READ_URL$)?><div class="reputation">Награды: <a href="$AWARDS_READ_URL$" title="Список наград"><span class="repNums"><b>$AWARDS$</b></span></a> <?if($AWARDS_DO_URL$)?> <a href="$AWARDS_DO_URL$"><span style="font-size:10pt" title="Вручить награду"><b>+</b></span></a><?endif?><?endif?> <?if($READ_REP_URL$)?><div class="reputation">Репутация: <a title="Смотреть историю репутации" class="repHistory" href="$READ_REP_URL$"><b>$REP_RATING$</b></a> <?if($DO_REP_URL$)?> <a class="reputationDo" title="Изменить репутацию" href="$DO_REP_URL$"><span style="font-size:10pt"><b>±</b></span></a></div><?endif?><?endif?> <?if($READ_BAN_URL$)?><div class="userBan">Замечания: <a class="banPercent" title="Смотреть историю замечаний" href="$READ_BAN_URL$">$BAN_RATING$</a> <?if($DO_BAN_URL$)?> <a title="Изменить уровень замечаний" class="banDo" href="$DO_BAN_URL$">±</a></div><?endif?><?endif?> <?if($USER_STATUS$)?><div class="statusBlock">Статус: $USER_STATUS$</div><?endif?> <?if($GROUP_ID$)?> <?else?><br><br><br><br><br><?endif?> </td><td class="posttdMessage" valign="top">$MESSAGE$ <?if($ATTACHMENT$)?> <div align="left" class="eAttach">Прикрепления: $ATTACHMENT$</div><?endif?> <?if($SIGNATURE$)?><br><hr size="1" width="150" align="left" class="signatureHr"><span class="signatureView">$SIGNATURE$</span><?endif?> <?if($EDITEDBY$)?><br><br><div class="edited">Сообщение отредактировал $EDITEDBY$</div><?endif?></td></tr> <tr><td class="postBottom" align="center"><?if($USER_IP$)?><div class="postip">[ <a class="postIpLink" href="http://www.ripe.net/perl/whois?$USER_IP$" target="_blank">$USER_IP$</a><?if($POST_COUNTRY_ID$)?> (<a href="javascript://" rel="nofollow" onclick='prompt("","$POST_COUNTRY$");return false;'>$POST_COUNTRY_ID$</a>)<?endif?> ]</div><?else?> <?endif?></td><td class="postBottom"> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr><td>$USER_DETAILS_ICON_BAR$</td><td align="right" style="padding-right:15px;">$ENTRY_MANAGE_ICON_BAR$</td><td width="2%" nowrap align="right">$ON_TOP_ICON$$DEL_ENTRY_FIELD$</td></tr> </table></td></tr></table>
Подпись пользователя GaV
Melkiy
Дата: Четверг, 20.09.2012, 17:19 | Сообщение # 4
Президент
Министр
Академик
Доктор
Кандидат
Аспирант
Магистр
Бакалавр
Абитуриент
Школьник
Звание: Аспирант
Группа: Фотошоперы
Сообщений: 632
Стили
Code
/*--------------------- General styles start ---------------------*/ body {margin: 0;font: 12px/16px 'Arial';color: #333;text-align: center;background: #fff;} td, input {font: 12px 'Arial';} body a {color: #000;text-decoration: underline;} body a:hover {text-decoration: none;} * {} img {border: 0;} a.noun img {margin: 2px;} .clear {clear: both;} h1, h2, h3, h4, h5, h6 {} hr {border: 0; height: 1px; background: #ccc;} *:focus {outline: none;} /*--------------------- General styles end ---------------------*/ /*All content, common styles*/ #wrap0 {background: url(http://www.kyb-mira.ru/images/fon_foruma.jpg) center no-repeat;width: 100%;height:100%;} #wrap {background: url() no-repeat top center;min-width: 916px;} #container {width: 700px;margin: auto;text-align: left;background: url() repeat-y top right;padding-bottom: 5px;} #leftcol {float: left;width: 0px;} #rightcol {float: left;width: 0px;padding-top: 5px;} /*-----------*/ /*Header*/ #header {height: 232px;} .date {float: left;margin: 3px 0 0 250px;height: 20px;font: 11px 'Arial';color: #010101;} .whois {float: right;margin: 3px 3px 0 0;font: 11px 'Arial';color: #000;} .whois a {color: #000;} #site-logo {height: 186px;} #site-logo h1 {margin: 0;padding: 0;font: 36px/186px 'Arial';color: #1a4e89;} .usermenu {float: left;background: #fff;border: 1px solid #6bc1e3;border-radius: 5px 5px 0 0;border-bottom: none;padding: 5px 5px 2px 5px;} .usermenu ul {margin: 0;padding: 0;list-style: none;} .usermenu li {float: left;font: 11px/15px 'Arial';color: #000;margin: 0 5px;} .usermenu li a {} .usermenu li a:hover {} /*------*/ /*Sidebar*/ .block {margin: 0 2px 10px 2px;width: 219px;} .blocktitle {background: #d5e1e2;border-top: 1px solid #c6cdcd;border-bottom: 1px solid #f2f8f8;padding: 0 15px 0 20px;font: bold 14px/18px 'Trebuchet MS';color: #333333;} .blockcontent {margin: 5px 15px;width: 189px;} .blockcontent ul {margin: 0; padding: 0;} .blockcontent li {margin-left: 15px;} .uMenuH li {float:left;padding: 0 5px;} .uMenuV, .uMenuV .uMenuRoot {margin: 0;padding: 0;} .uMenuV li {margin: 0;list-style: none;} .uMenuV .uMenuItem {} .uMenuV li a {display: block;padding: 2px 5px;margin: 0;font: 14px 'Trebuchet MS'; color: #333;text-decoration: none;border-top: 1px solid transparent;border-bottom: 1px solid transparent;} .uMenuV li a:hover, .uMenuV .uMenuItemA {color: #1a4e89;background: #d2e3eb;border-top: 1px solid #cad0d1;border-bottom: 1px solid #f5fafa;} .uMenuV .uMenuItemA {} .uMenuV a.uMenuItemA:link {} .uMenuV a.uMenuItemA:visited {} .uMenuV a.uMenuItemA:hover {} .uMenuV .uMenuArrow {} .block .xw-tl,.block .xw-bl,.block .u-menuvsep, .x-sh {display:none;} .block .xw-ml,.block .xw-mr {margin:0;padding:0;background:none !important;} .block .xw-mc {color:#333; font-weight: normal; float: none; margin: 0; padding: 0; line-height:28px; background:#e3f0f1 !important; border: 1px solid #dddddd !important; } .block .u-menubody {border: 0 !important; padding: 0;} .block .u-menuvitem {background:#e3f0f1 !important; padding: 2px 35px 2px 15px; line-height:28px;text-decoration: none;border-top: 1px solid transparent;border-bottom: 1px solid transparent;} .block .u-menuvitem span {font: 14px 'Trebuchet MS';color:#000;text-decoration: none;} .block .u-menuitemhl {background: #d2e3eb !important; padding: 2px 35px 2px 15px; line-height:28px;border-top: 1px solid #cad0d1;border-bottom: 1px solid #f5fafa;} .block .u-menuitemhl span {text-decoration: none;color: #1a4e89;} .block .u-menuarrow {position: absolute; right: 5px; top: 8px;width: 4px; height: 7px; overflow: hidden; background: url(/.s/t/788/4.gif);} .block .u-menuitemhl .u-menuarrow {background-position: bottom left;} .block .u-menu {margin-left: 0;} .search-block {text-align: center;} .searchForm {overflow: hidden;width: 176px;height: 19px;margin: 5px auto 5px auto;text-align: left;background: url(/.s/t/788/5.gif);} .schQuery {float: left;position: relative;} .schQuery input {background: none !important; border: none !important; font: 10px 'Trebuchet MS' !important; color: #333;padding: 0 !important;margin: 2px 0 0 3px;width: 145px !important;} .schBtn {float: right;position: relative;} .schBtn input {margin: 0;display: inline;background: none !important; border: none !important; font-size: 0 !important; color: transparent;cursor: pointer;text-indent: -9999px;height: 19px;width: 25px;position: absolute;top:0;right:0;} /*-------*/ /*Content*/ #content {margin: 0 8px 0 5px;padding: 10px 0;width: 680px;} /*--------*/ /*Footer*/ #footer {font: 10px 'Arial';color: #000;text-align: right;margin: 5px 230px 0 15px;} #footer a {color: #000;} #copyright {} #powered-by {} #powered-by img {vertical-align: middle;} /*------*/ /* Module Part Menu */ .catsTable {} .catsTable td {} .catsTd {} .catName {} .catNameActive {} .catNumData {} .catDescr {} a.catName:link {} a.catName:visited {} a.catName:hover {} a.catName:active {} a.catNameActive:link {} a.catNameActive:visited {} a.catNameActive:hover {} a.catNameActive:active {} /* ----------------- */ /* Entries Style */ .eBlock {} .eTitle {font: 18px 'Arial';color: #6699cc;} .eTitle a {color: #6699cc;text-decoration: none;} .eTitle a:hover {color: #4da301;} .eMessage, .eText {text-align: justify !important;font: 12px/14px 'Arial';color: #333;} .eMessage a, .eText a {} .eMessage img, .eText img {} .eDetails, .eDetails1, .eDetails2 {padding: 5px 0;font: 11px 'Arial';color: #666;font-style: italic;} .eDetails a, .eDetails1 a, .eDetails2 a {color: #666;} .eDetails a:hover, .eDetails1 a:hover, .eDetails2 a:hover {} .eDetails {} .eDetails1 {} .eDetails2 {} .eRating {} .eAttach {} /* ------------- */ /* Entry Manage Table */ .manTable {} .manTdError {} .manTd1 {} .manTd2 {} .manTd3 {} .manTdSep {} .manHr {} .manTdBrief {} .manTdText {} .manTdFiles {} .manFlFile {} .manTdBut {} .manFlSbm {} .manFlRst {} .manFlCnt {} /* ------------------ */ /* Comments Style */ .cAnswer {} .cBlock1, .cBlock2 {} .cBlock1 {} .cBlock2 {} /* -------------- */ /* Comments Form Style */ .commTable {} .commTd1 {} .commTd2 {} .commFl {} .smiles {} .commReg {} .commError {} .securityCode {} /* ------------------- */ /* Archive Menu */ .archUl {} .archLi {} a.archLink:link {} a.archLink:visited {} a.archLink:hover {} a.archLink:active {} /* ------------ */ /* Archive Style */ .archiveCalendars {} .archiveDateTitle {} .archEntryHr {} .archiveeTitle li {} .archiveEntryTime {} .archiveEntryComms {} a.archiveDateTitleLink:link {} a.archiveDateTitleLink:visited {} a.archiveDateTitleLink:hover {} a.archiveDateTitleLink:active {} .archiveNoEntry {} /* ------------- */ /* Calendar Style */ .calTable {} .calTable td {padding: 3px 4px;} .calMonth {color: #34aede;} .calWday {color: #34aede;background: #fff;border: 1px solid #c6cdcd;} .calWdaySe, .calWdaySu {background: #6bc1e3;border: 1px solid #34aede;color: #fff;} .calMday {} .calMdayA, .calMdayIsA {border: 1px solid #dcdbe0;background: #efefef;} .calMdayIs {} a.calMonthLink:link,a.calMdayLink:link {} a.calMonthLink:visited,a.calMdayLink:visited {} a.calMonthLink:hover,a.calMdayLink:hover {} a.calMonthLink:active,a.calMdayLink:active {} /* -------------- */ /* Poll styles */ .pollBut {} .pollBody {} .textResults {} .textResultsTd {} .pollNow {} .pollNowTd {} .totalVotesTable {} .totalVotesTd {} /* ---------- */ /* 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 {} .legendTd {} .bbCodeBlock, .bbQuoteBlock {margin: 8px 0;} .codeMessage {padding: 5px;font: 11px 'Consolas', 'Courier New', 'sans-serif';background-color: #ebebeb;color: #000;} .quoteMessage { margin: 0 0 20px 0;padding: 3px 0 3px 10px;color: #666;font-style: italic; border-left: 3px solid #cbcbcb !important; border-right: none !important; border-bottom: none !important; border-top: none !important; } /* ------------ */ /* ===== forum Start ===== */ /* General forum Table View */ .forumContent {position: relative;} .forumContent a {text-decoration: none;} .forumContent a:hover {text-decoration: underline;} .forumcontent td {font: 11px 'Arial'; color: #555555;} a.fNavLink {font: italic 12px 'Trebuchet MS';color: #51a3e2;text-decoration: underline;padding: 3px 6px;} a.fNavLink:hover {color: #1a4e89;} .gTable {background: #6bc1e3;border-radius: 5px 5px 0 0;-moz-border-radius: 5px 5px 0 0;} .gTable td {background: #fff; padding: 5px 7px;} td.gTableTop {font: 14px/21px 'Tahoma';color: #feffff;padding: 0 10px;background: #44b6eb url(/.s/t/788/6.gif) repeat-x;border: none;border-radius: 5px 5px 0 0;-moz-border-radius: 5px 5px 0 0;} td.gTableTop a {font: 14px/21px 'Tahoma'; color: #feffff;} td.gTableSubTop, td .postTdTop {background: #f5f5f5;font: 10px/16px 'Tahoma';color: #1a4e89;padding: 0 10px;} td.gTableSubTop a, td .postTdTop a {color: #1a4e89;} .gTableBody {} .gTableBody1 {} .gTableBottom {} .gTableLeft {} td.gTableRight {background: #fff;} .gTableError {} /* ------------------------ */ /* Forums Styles */ .forumNameTd,.forumLastPostTd {} td.forumIcoTd,td.forumThreadTd,td.forumPostTd {background: #f5f5f5;} .forumLastPostTd,.forumArchive {} a.catLink:link {} a.catLink:visited {} a.catLink:hover {} a.catLink:active {} .lastPostGuest,.lastPostUser,.threadAuthor {} .archivedForum{} /* ------------- */ /* forum Titles & other */ .forum {font: 12px 'Arial'; } .forumDescr,.forumModer {font: 10px 'Arial'; color: #a1a1a1;} .forumViewed {} a.forum:link, a.lastPostUserLink:link, a.forumLastPostLink:link, a.threadAuthorLink:link {color: #1282d8;} a.forum:visited, a.lastPostUserLink:visited, a.forumLastPostLink:visited, a.threadAuthorLink:visited {color: #1282d8;} a.forum:hover, a.lastPostUserLink:hover, a.forumLastPostLink:hover, a.threadAuthorLink:hover {color: #1282d8;} a.forum:active, a.lastPostUserLink:active, a.forumLastPostLink:active, a.threadAuthorLink:active {color: #1282d8;} /* -------------------- */ /* forum Navigation Bar */ .forumNamesBar {} .forumBarKw {} a.forumBarA:link {} a.forumBarA:visited {} a.forumBarA:hover {} a.forumBarA:active {} /* -------------------- */ /* forum Fast Navigation Blocks */ .fastNav,.fastSearch,.fastLoginForm {} /* ---------------------------- */ /* forum Fast Navigation Menu */ .fastNavMain {} .fastNavCat {} .fastNavCatA {} .fastNavForumA {} /* -------------------------- */ /* forum Page switches */ .switches {} td.pagesInfo, td.switch, td.switchActive {background: #ffffff; border: 1px solid #dcdbe0; padding-left: 5px; padding-right: 5px;} td.switch, td.switchActive { background: #ccedff; color: #555;} td.switch a {color: #555;} .switch {} .switchActive {} a.switchDigit:link,a.switchBack:link,a.switchNext:link {} a.switchDigit:visited,a.switchBack:visited,a.switchNext:visited {} a.switchDigit:hover,a.switchBack:hover,a.switchNext:hover {} a.switchDigit:active,a.switchBack:active,a.switchNext:active {} /* ------------------- */ /* forum Threads Style */ .threadNametd,.threadAuthTd,.threadLastPostTd {} td.threadIcoTd,td.threadPostTd,td.threadViewTd {background: #f5f5f5;} .threadLastPostTd {} .threadDescr {font: 10px 'Arial'; color: #a1a1a1;} .threadNoticeLink {} .threadsType {} .threadsDetails {} .forumOnlineBar {} a.threadPinnedLink:link {} a.threadPinnedLink:visited {} a.threadPinnedLink:hover {} a.threadPinnedLink:active {} a.threadLink:link {font: 12px 'Arial';color: #1282d8;} a.threadLink:visited {font: 12px 'Arial';color: #1282d8;} a.threadLink:hover {font: 12px 'Arial';color: #1282d8;} a.threadLink:active {font: 12px 'Arial';color: #1282d8;} .postpSwithces {} .thDescr {} .threadFrmBlock {} /* ------------------- */ /* forum Posts View */ .postTable {background:#dcdbe0;} .postTable td {} .postPoll {} .postPoll td {border: 0 !important;} .postFirst {} .postRest1 {} .postRest2 {} .postSeparator {display: none;} .postTdTop {} .postTdTop a {text-decoration: underline;} .postTdTop a:hover {text-decoration: none;} .postBottom {font-size: 10px !important;} .postBottom td {border: 0;padding: 0 5px !important;} .postBottom img, .postBottom input {vertical-align: middle;} .postUser {font-size: 12px; font-weight: bold;} .postTdInfo {text-align: center;} .postRankName {} .postRankIco {} .reputation {} .signatureHr {} .posttdMessage {text-align: justify;padding: 8px !important;line-height: 18px;} .pollQuestion {} .pollButtons,.pollTotal {} .pollSubmitBut,.pollreSultsBut {} .pollSubmit {} .pollEnd {} .codeMessage {font-family: monospace;} .quoteMessage {font-style: italic;} .signatureView {} .edited {} .editedBy {} .statusBlock {} .statusOnline {} .statusOffline {} /* ------------------ */ /* forum AllInOne Fast Add */ .newThreadBlock {} .newPollBlock {} .newThreadItem {} .newPollItem {} /* ----------------------- */ /* forum Post Form */ .pollBut, .loginButton, .searchSbmFl, .commSbmFl, .signButton {} .codeButtons {} .codeCloseAll {} .postNameFl,.postDescrFl {} .postPollFl,.postQuestionFl {} .postResultFl {} .postAnswerFl {} .postTextFl {} .postUserFl {} .pollHelp {} .smilesPart td {border: 0 !important;} /* ----------------- */ .funcLink {font: 11px 'Tahoma';color: #1282d8;} /* ====== forum End ====== */ /*--------------------- INPUTS start ---------------------*/ input[type=submit], input[type=reset], input[type=button] { padding: 0 6px;background: #74c3e9 url(/.s/t/788/7.gif) repeat-x bottom left;color: #fff;border: 1px solid #45afe1;border-radius: 5px;cursor: pointer;font: 11px 'Arial'; } input[type=submit]:hover, input[type=reset]:hover, input[type=button]:hover { background: #eaf4f5 url(/.s/t/788/7.gif) repeat-x top left;color: #1a4e89;border: 1px solid #d2e3eb; } input[type=submit]:active, input[type=reset]:active, input[type=button]:active {} input[type=text], input[type=password], textarea, select { padding: 1px 3px;background: #fff;border: 1px solid #abadb3;color: #848484;font: 11px 'Arial'; } textarea {} #mchatBtn, input.codeButtons, input.button {padding-left: 0;padding-right: 0;} .queryField {width: auto !important;} .commFl {width: 100%;} #frM58 span {display: inline-block;} /*--------------------- INPUTS end ---------------------*/ /*--------------------- POPUP start ---------------------*/ .popup-bg {background: #b3dff0;padding: 10px 0;} .popup {margin: 0 8px;border-radius: 5px;background: #fff;padding: 1px;text-align: left;} .popup, .popup td {color: #6b6b6b;font: 11px 'Tahoma';} .popup a, .popup td a {color: #1a4e89;} .popuptitle {font: bold 12px/30px 'Arial';color: #bee3f5;background: #45afe1;border: 1px solid #3298c9;border-radius: 5px;} .pt-inside {background: url(/.s/t/788/8.jpg) no-repeat top right;padding: 0 20px;} .popupbody {padding: 5px 15px; _width: 100% /*FOR IE*/ ;} /*--------------------- POPUP end ---------------------*/
Вид страниц форума
Code
<html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>$MODULE_NAME$</title> <?$META_DESCRIPTION$?> <link href="http://www.kyb-mira.ru/js/forum.js" rel="stylesheet" type="text/css"/> </head> <body> $ADMIN_BAR$ <div id="wrap0"> <div id="wrap"> <div id="container"> <div id="leftcol"> $GLOBAL_AHEADER$ <div id="content"> <div class="forumContent"><table border="0" cellpadding="0" height="30" cellspacing="0" width="100%"> <tr> <td align="center"><?if($USER_LOGGED_IN$)?> <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> · <?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://s70.ucoz.net/img/fr/pm.wav" loop="1" volume="0" balance="0"> <?endif?><?endif?> <a class="fNavLink" href="$RECENT_POSTS_LINK$" rel="nofollow"><!--<s5209>-->Новые сообщения<!--</s>--></a> · <a class="fNavLink" href="$MEMBERS_LIST_LINK$" rel="nofollow"><!--<s5216>-->Участники<!--</s>--></a> · <a class="fNavLink" href="$BOARD_RULES_LINK$" rel="nofollow"><!--<s5166>-->Правила форума<!--</s>--></a> · <a class="fNavLink" href="$SEARCH_PAGE_LINK$" rel="nofollow"><!--<s3163>-->Поиск<!--</s>--></a> · <a class="fNavLink" href="$RSS_LINK$" rel="nofollow">RSS</a> </td> </tr> </table> $BODY$</div> </div> </div> <div id="rightcol"> <div class="block search-block"> <?if($SEARCH_FORM$)?> $SEARCH_FORM$ <?endif?> </div> $GLOBAL_CLEFTER$ </div> <div class="clear"></div> $GLOBAL_BFOOTER$ </div> <div align="center">$POWERED_BY$</div> </div> </div> </body> </html>
Подпись пользователя Melkiy
GaV
Дата: Четверг, 20.09.2012, 17:24 | Сообщение # 5
Президент
Министр
Академик
Доктор
Кандидат
Аспирант
Магистр
Бакалавр
Абитуриент
Школьник
Звание: Доктор
Группа: Гл. модератор
Сообщений: 1262
Melkiy , первая проблема отпала, благодарю! Quote (GaV )
Убрать белую полосу снизу в разделах форума (растянуть фоновую картинку так, чтоб белый фон пропал): Убрать повтор фона снизу и сверху на странице с обсуждением темы (растянуть фоновую картинку):
Еще требует исправления...
Подпись пользователя GaV
GaV
Дата: Четверг, 20.09.2012, 17:25 | Сообщение # 6
Президент
Министр
Академик
Доктор
Кандидат
Аспирант
Магистр
Бакалавр
Абитуриент
Школьник
Звание: Доктор
Группа: Гл. модератор
Сообщений: 1262
Прощу прощения, обновил куки и оказалось, что и вторая проблема решена, а вот третья пока нет... фон не полностью растягивается... П.С. Меня даже устроит вариант когда фон будет на месте, а сами сообщения будут "прокручиваться"
Подпись пользователя GaV
Melkiy
Дата: Четверг, 20.09.2012, 17:34 | Сообщение # 7
Президент
Министр
Академик
Доктор
Кандидат
Аспирант
Магистр
Бакалавр
Абитуриент
Школьник
Звание: Аспирант
Группа: Фотошоперы
Сообщений: 632
Может так?
Code
/*--------------------- General styles start ---------------------*/ body {margin: 0;font: 12px/16px 'Arial';color: #333;text-align: center;background: #fff;} td, input {font: 12px 'Arial';} body a {color: #000;text-decoration: underline;} body a:hover {text-decoration: none;} * {} img {border: 0;} a.noun img {margin: 2px;} .clear {clear: both;} h1, h2, h3, h4, h5, h6 {} hr {border: 0; height: 1px; background: #ccc;} *:focus {outline: none;} /*--------------------- General styles end ---------------------*/ /*All content, common styles*/ #wrap0 {background: url(http://www.kyb-mira.ru/images/fon_foruma.jpg) top center no-repeat;width: 100%;height:100%;background-attachment:fixed;} #wrap {background: url() no-repeat top center;min-width: 916px;} #container {width: 700px;margin: auto;text-align: left;background: url() repeat-y top right;padding-bottom: 5px;} #leftcol {float: left;width: 0px;} #rightcol {float: left;width: 0px;padding-top: 5px;} /*-----------*/ /*Header*/ #header {height: 232px;} .date {float: left;margin: 3px 0 0 250px;height: 20px;font: 11px 'Arial';color: #010101;} .whois {float: right;margin: 3px 3px 0 0;font: 11px 'Arial';color: #000;} .whois a {color: #000;} #site-logo {height: 186px;} #site-logo h1 {margin: 0;padding: 0;font: 36px/186px 'Arial';color: #1a4e89;} .usermenu {float: left;background: #fff;border: 1px solid #6bc1e3;border-radius: 5px 5px 0 0;border-bottom: none;padding: 5px 5px 2px 5px;} .usermenu ul {margin: 0;padding: 0;list-style: none;} .usermenu li {float: left;font: 11px/15px 'Arial';color: #000;margin: 0 5px;} .usermenu li a {} .usermenu li a:hover {} /*------*/ /*Sidebar*/ .block {margin: 0 2px 10px 2px;width: 219px;} .blocktitle {background: #d5e1e2;border-top: 1px solid #c6cdcd;border-bottom: 1px solid #f2f8f8;padding: 0 15px 0 20px;font: bold 14px/18px 'Trebuchet MS';color: #333333;} .blockcontent {margin: 5px 15px;width: 189px;} .blockcontent ul {margin: 0; padding: 0;} .blockcontent li {margin-left: 15px;} .uMenuH li {float:left;padding: 0 5px;} .uMenuV, .uMenuV .uMenuRoot {margin: 0;padding: 0;} .uMenuV li {margin: 0;list-style: none;} .uMenuV .uMenuItem {} .uMenuV li a {display: block;padding: 2px 5px;margin: 0;font: 14px 'Trebuchet MS'; color: #333;text-decoration: none;border-top: 1px solid transparent;border-bottom: 1px solid transparent;} .uMenuV li a:hover, .uMenuV .uMenuItemA {color: #1a4e89;background: #d2e3eb;border-top: 1px solid #cad0d1;border-bottom: 1px solid #f5fafa;} .uMenuV .uMenuItemA {} .uMenuV a.uMenuItemA:link {} .uMenuV a.uMenuItemA:visited {} .uMenuV a.uMenuItemA:hover {} .uMenuV .uMenuArrow {} .block .xw-tl,.block .xw-bl,.block .u-menuvsep, .x-sh {display:none;} .block .xw-ml,.block .xw-mr {margin:0;padding:0;background:none !important;} .block .xw-mc {color:#333; font-weight: normal; float: none; margin: 0; padding: 0; line-height:28px; background:#e3f0f1 !important; border: 1px solid #dddddd !important; } .block .u-menubody {border: 0 !important; padding: 0;} .block .u-menuvitem {background:#e3f0f1 !important; padding: 2px 35px 2px 15px; line-height:28px;text-decoration: none;border-top: 1px solid transparent;border-bottom: 1px solid transparent;} .block .u-menuvitem span {font: 14px 'Trebuchet MS';color:#000;text-decoration: none;} .block .u-menuitemhl {background: #d2e3eb !important; padding: 2px 35px 2px 15px; line-height:28px;border-top: 1px solid #cad0d1;border-bottom: 1px solid #f5fafa;} .block .u-menuitemhl span {text-decoration: none;color: #1a4e89;} .block .u-menuarrow {position: absolute; right: 5px; top: 8px;width: 4px; height: 7px; overflow: hidden; background: url(/.s/t/788/4.gif);} .block .u-menuitemhl .u-menuarrow {background-position: bottom left;} .block .u-menu {margin-left: 0;} .search-block {text-align: center;} .searchForm {overflow: hidden;width: 176px;height: 19px;margin: 5px auto 5px auto;text-align: left;background: url(/.s/t/788/5.gif);} .schQuery {float: left;position: relative;} .schQuery input {background: none !important; border: none !important; font: 10px 'Trebuchet MS' !important; color: #333;padding: 0 !important;margin: 2px 0 0 3px;width: 145px !important;} .schBtn {float: right;position: relative;} .schBtn input {margin: 0;display: inline;background: none !important; border: none !important; font-size: 0 !important; color: transparent;cursor: pointer;text-indent: -9999px;height: 19px;width: 25px;position: absolute;top:0;right:0;} /*-------*/ /*Content*/ #content {margin: 0 8px 0 5px;padding: 10px 0;width: 680px;} /*--------*/ /*Footer*/ #footer {font: 10px 'Arial';color: #000;text-align: right;margin: 5px 230px 0 15px;} #footer a {color: #000;} #copyright {} #powered-by {} #powered-by img {vertical-align: middle;} /*------*/ /* Module Part Menu */ .catsTable {} .catsTable td {} .catsTd {} .catName {} .catNameActive {} .catNumData {} .catDescr {} a.catName:link {} a.catName:visited {} a.catName:hover {} a.catName:active {} a.catNameActive:link {} a.catNameActive:visited {} a.catNameActive:hover {} a.catNameActive:active {} /* ----------------- */ /* Entries Style */ .eBlock {} .eTitle {font: 18px 'Arial';color: #6699cc;} .eTitle a {color: #6699cc;text-decoration: none;} .eTitle a:hover {color: #4da301;} .eMessage, .eText {text-align: justify !important;font: 12px/14px 'Arial';color: #333;} .eMessage a, .eText a {} .eMessage img, .eText img {} .eDetails, .eDetails1, .eDetails2 {padding: 5px 0;font: 11px 'Arial';color: #666;font-style: italic;} .eDetails a, .eDetails1 a, .eDetails2 a {color: #666;} .eDetails a:hover, .eDetails1 a:hover, .eDetails2 a:hover {} .eDetails {} .eDetails1 {} .eDetails2 {} .eRating {} .eAttach {} /* ------------- */ /* Entry Manage Table */ .manTable {} .manTdError {} .manTd1 {} .manTd2 {} .manTd3 {} .manTdSep {} .manHr {} .manTdBrief {} .manTdText {} .manTdFiles {} .manFlFile {} .manTdBut {} .manFlSbm {} .manFlRst {} .manFlCnt {} /* ------------------ */ /* Comments Style */ .cAnswer {} .cBlock1, .cBlock2 {} .cBlock1 {} .cBlock2 {} /* -------------- */ /* Comments Form Style */ .commTable {} .commTd1 {} .commTd2 {} .commFl {} .smiles {} .commReg {} .commError {} .securityCode {} /* ------------------- */ /* Archive Menu */ .archUl {} .archLi {} a.archLink:link {} a.archLink:visited {} a.archLink:hover {} a.archLink:active {} /* ------------ */ /* Archive Style */ .archiveCalendars {} .archiveDateTitle {} .archEntryHr {} .archiveeTitle li {} .archiveEntryTime {} .archiveEntryComms {} a.archiveDateTitleLink:link {} a.archiveDateTitleLink:visited {} a.archiveDateTitleLink:hover {} a.archiveDateTitleLink:active {} .archiveNoEntry {} /* ------------- */ /* Calendar Style */ .calTable {} .calTable td {padding: 3px 4px;} .calMonth {color: #34aede;} .calWday {color: #34aede;background: #fff;border: 1px solid #c6cdcd;} .calWdaySe, .calWdaySu {background: #6bc1e3;border: 1px solid #34aede;color: #fff;} .calMday {} .calMdayA, .calMdayIsA {border: 1px solid #dcdbe0;background: #efefef;} .calMdayIs {} a.calMonthLink:link,a.calMdayLink:link {} a.calMonthLink:visited,a.calMdayLink:visited {} a.calMonthLink:hover,a.calMdayLink:hover {} a.calMonthLink:active,a.calMdayLink:active {} /* -------------- */ /* Poll styles */ .pollBut {} .pollBody {} .textResults {} .textResultsTd {} .pollNow {} .pollNowTd {} .totalVotesTable {} .totalVotesTd {} /* ---------- */ /* 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 {} .legendTd {} .bbCodeBlock, .bbQuoteBlock {margin: 8px 0;} .codeMessage {padding: 5px;font: 11px 'Consolas', 'Courier New', 'sans-serif';background-color: #ebebeb;color: #000;} .quoteMessage { margin: 0 0 20px 0;padding: 3px 0 3px 10px;color: #666;font-style: italic; border-left: 3px solid #cbcbcb !important; border-right: none !important; border-bottom: none !important; border-top: none !important; } /* ------------ */ /* ===== forum Start ===== */ /* General forum Table View */ .forumContent {position: relative;} .forumContent a {text-decoration: none;} .forumContent a:hover {text-decoration: underline;} .forumcontent td {font: 11px 'Arial'; color: #555555;} a.fNavLink {font: italic 12px 'Trebuchet MS';color: #51a3e2;text-decoration: underline;padding: 3px 6px;} a.fNavLink:hover {color: #1a4e89;} .gTable {background: #6bc1e3;border-radius: 5px 5px 0 0;-moz-border-radius: 5px 5px 0 0;} .gTable td {background: #fff; padding: 5px 7px;} td.gTableTop {font: 14px/21px 'Tahoma';color: #feffff;padding: 0 10px;background: #44b6eb url(/.s/t/788/6.gif) repeat-x;border: none;border-radius: 5px 5px 0 0;-moz-border-radius: 5px 5px 0 0;} td.gTableTop a {font: 14px/21px 'Tahoma'; color: #feffff;} td.gTableSubTop, td .postTdTop {background: #f5f5f5;font: 10px/16px 'Tahoma';color: #1a4e89;padding: 0 10px;} td.gTableSubTop a, td .postTdTop a {color: #1a4e89;} .gTableBody {} .gTableBody1 {} .gTableBottom {} .gTableLeft {} td.gTableRight {background: #fff;} .gTableError {} /* ------------------------ */ /* Forums Styles */ .forumNameTd,.forumLastPostTd {} td.forumIcoTd,td.forumThreadTd,td.forumPostTd {background: #f5f5f5;} .forumLastPostTd,.forumArchive {} a.catLink:link {} a.catLink:visited {} a.catLink:hover {} a.catLink:active {} .lastPostGuest,.lastPostUser,.threadAuthor {} .archivedForum{} /* ------------- */ /* forum Titles & other */ .forum {font: 12px 'Arial'; } .forumDescr,.forumModer {font: 10px 'Arial'; color: #a1a1a1;} .forumViewed {} a.forum:link, a.lastPostUserLink:link, a.forumLastPostLink:link, a.threadAuthorLink:link {color: #1282d8;} a.forum:visited, a.lastPostUserLink:visited, a.forumLastPostLink:visited, a.threadAuthorLink:visited {color: #1282d8;} a.forum:hover, a.lastPostUserLink:hover, a.forumLastPostLink:hover, a.threadAuthorLink:hover {color: #1282d8;} a.forum:active, a.lastPostUserLink:active, a.forumLastPostLink:active, a.threadAuthorLink:active {color: #1282d8;} /* -------------------- */ /* forum Navigation Bar */ .forumNamesBar {} .forumBarKw {} a.forumBarA:link {} a.forumBarA:visited {} a.forumBarA:hover {} a.forumBarA:active {} /* -------------------- */ /* forum Fast Navigation Blocks */ .fastNav,.fastSearch,.fastLoginForm {} /* ---------------------------- */ /* forum Fast Navigation Menu */ .fastNavMain {} .fastNavCat {} .fastNavCatA {} .fastNavForumA {} /* -------------------------- */ /* forum Page switches */ .switches {} td.pagesInfo, td.switch, td.switchActive {background: #ffffff; border: 1px solid #dcdbe0; padding-left: 5px; padding-right: 5px;} td.switch, td.switchActive { background: #ccedff; color: #555;} td.switch a {color: #555;} .switch {} .switchActive {} a.switchDigit:link,a.switchBack:link,a.switchNext:link {} a.switchDigit:visited,a.switchBack:visited,a.switchNext:visited {} a.switchDigit:hover,a.switchBack:hover,a.switchNext:hover {} a.switchDigit:active,a.switchBack:active,a.switchNext:active {} /* ------------------- */ /* forum Threads Style */ .threadNametd,.threadAuthTd,.threadLastPostTd {} td.threadIcoTd,td.threadPostTd,td.threadViewTd {background: #f5f5f5;} .threadLastPostTd {} .threadDescr {font: 10px 'Arial'; color: #a1a1a1;} .threadNoticeLink {} .threadsType {} .threadsDetails {} .forumOnlineBar {} a.threadPinnedLink:link {} a.threadPinnedLink:visited {} a.threadPinnedLink:hover {} a.threadPinnedLink:active {} a.threadLink:link {font: 12px 'Arial';color: #1282d8;} a.threadLink:visited {font: 12px 'Arial';color: #1282d8;} a.threadLink:hover {font: 12px 'Arial';color: #1282d8;} a.threadLink:active {font: 12px 'Arial';color: #1282d8;} .postpSwithces {} .thDescr {} .threadFrmBlock {} /* ------------------- */ /* forum Posts View */ .postTable {background:#dcdbe0;} .postTable td {} .postPoll {} .postPoll td {border: 0 !important;} .postFirst {} .postRest1 {} .postRest2 {} .postSeparator {display: none;} .postTdTop {} .postTdTop a {text-decoration: underline;} .postTdTop a:hover {text-decoration: none;} .postBottom {font-size: 10px !important;} .postBottom td {border: 0;padding: 0 5px !important;} .postBottom img, .postBottom input {vertical-align: middle;} .postUser {font-size: 12px; font-weight: bold;} .postTdInfo {text-align: center;} .postRankName {} .postRankIco {} .reputation {} .signatureHr {} .posttdMessage {text-align: justify;padding: 8px !important;line-height: 18px;} .pollQuestion {} .pollButtons,.pollTotal {} .pollSubmitBut,.pollreSultsBut {} .pollSubmit {} .pollEnd {} .codeMessage {font-family: monospace;} .quoteMessage {font-style: italic;} .signatureView {} .edited {} .editedBy {} .statusBlock {} .statusOnline {} .statusOffline {} /* ------------------ */ /* forum AllInOne Fast Add */ .newThreadBlock {} .newPollBlock {} .newThreadItem {} .newPollItem {} /* ----------------------- */ /* forum Post Form */ .pollBut, .loginButton, .searchSbmFl, .commSbmFl, .signButton {} .codeButtons {} .codeCloseAll {} .postNameFl,.postDescrFl {} .postPollFl,.postQuestionFl {} .postResultFl {} .postAnswerFl {} .postTextFl {} .postUserFl {} .pollHelp {} .smilesPart td {border: 0 !important;} /* ----------------- */ .funcLink {font: 11px 'Tahoma';color: #1282d8;} /* ====== forum End ====== */ /*--------------------- INPUTS start ---------------------*/ input[type=submit], input[type=reset], input[type=button] { padding: 0 6px;background: #74c3e9 url(/.s/t/788/7.gif) repeat-x bottom left;color: #fff;border: 1px solid #45afe1;border-radius: 5px;cursor: pointer;font: 11px 'Arial'; } input[type=submit]:hover, input[type=reset]:hover, input[type=button]:hover { background: #eaf4f5 url(/.s/t/788/7.gif) repeat-x top left;color: #1a4e89;border: 1px solid #d2e3eb; } input[type=submit]:active, input[type=reset]:active, input[type=button]:active {} input[type=text], input[type=password], textarea, select { padding: 1px 3px;background: #fff;border: 1px solid #abadb3;color: #848484;font: 11px 'Arial'; } textarea {} #mchatBtn, input.codeButtons, input.button {padding-left: 0;padding-right: 0;} .queryField {width: auto !important;} .commFl {width: 100%;} #frM58 span {display: inline-block;} /*--------------------- INPUTS end ---------------------*/ /*--------------------- POPUP start ---------------------*/ .popup-bg {background: #b3dff0;padding: 10px 0;} .popup {margin: 0 8px;border-radius: 5px;background: #fff;padding: 1px;text-align: left;} .popup, .popup td {color: #6b6b6b;font: 11px 'Tahoma';} .popup a, .popup td a {color: #1a4e89;} .popuptitle {font: bold 12px/30px 'Arial';color: #bee3f5;background: #45afe1;border: 1px solid #3298c9;border-radius: 5px;} .pt-inside {background: url(/.s/t/788/8.jpg) no-repeat top right;padding: 0 20px;} .popupbody {padding: 5px 15px; _width: 100% /*FOR IE*/ ;} /*--------------------- POPUP end ---------------------*/
Подпись пользователя Melkiy
GaV
Дата: Четверг, 20.09.2012, 18:15 | Сообщение # 8
Президент
Министр
Академик
Доктор
Кандидат
Аспирант
Магистр
Бакалавр
Абитуриент
Школьник
Звание: Доктор
Группа: Гл. модератор
Сообщений: 1262
Melkiy , не получается + на первой странице форума снова в футере белая полоска
Подпись пользователя GaV
frolov1028
Дата: Пятница, 21.09.2012, 08:58 | Сообщение # 9
Президент
Министр
Академик
Доктор
Кандидат
Аспирант
Магистр
Бакалавр
Абитуриент
Школьник
Звание: Доктор
Группа: Фотошоперы
Сообщений: 1317
GaV , Лех я делал так. Может поможет. Code
body { background: url('ссылка на картинку')no-repeat #ffffff; margin: 0; padding:0; background-attachment:fixed; background-position:center; color:#4f4f4f; }
Подпись пользователя frolov1028 Пью, курю, ругаюсь матом.
GaV
Дата: Пятница, 21.09.2012, 10:33 | Сообщение # 10
Президент
Министр
Академик
Доктор
Кандидат
Аспирант
Магистр
Бакалавр
Абитуриент
Школьник
Звание: Доктор
Группа: Гл. модератор
Сообщений: 1262
frolov1028 , благодарю, но решение уже нашлось! Проблема решена очень просто, пользователь под ником DUDIDAM предложил ее простейшее решение, просто нужно в коде в который поправил Melkiy
Code
/*All content, common styles*/ #wrap0 {background: url(http://www.kyb-mira.ru/images/fon_foruma.jpg) top center no-repeat;width: 100%;[color=red]height: 2000px[/color];background-attachment:fixed;} #wrap {background: url() no-repeat top center;min-width: 916px;} #container {width: 700px;margin: auto;text-align: left;background: url() repeat-y top right;padding-bottom: 5px;} #leftcol {float: left;width: 0px;} #rightcol {float: left;width: 0px;padding-top: 5px;} /*-----------*/
вот так (или же меньше) height: 2000px задать размеры фону в px. Всем огромное человеческое спасибо! Отпишу каждому в ЛС! Тема закрыта!!!
Подпись пользователя GaV