xSHAMANx | Дата: Суббота, 03.12.2011, 13:43 | Сообщение # 1 |
Сержант
Группа: Пользователи
Пол:
|
В общем хочется оформление фонов так как у них (картинки не те будут естественно) Но я ЦСС я не шарю... в итоге при постановке фона у меня он пересекает и задний план и контент. сайт мой новый вот Хз что делать... Всё то что белое (даже фон блоков) заменяется на то что ставлю( а нужно чтоб сама страничка была белая, а задний фон - картинкой... любой если что... если можешь помоги) дальше бы я сам разобрался. если что вот мой ЦСС Code /* General Style */ a:link {text-decoration:underline; color:#4D6D91;} a:active {text-decoration:underline; color:#4D6D91;} a:visited {text-decoration:underline; color:#4D6D91;} 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:#4D6D91} a.noun:active {text-decoration:none; color:#4D6D91} a.noun:visited {text-decoration:none; color:#4D6D91} a.noun:hover {text-decoration:none; color:#000000}
hr {color:#ACC6E5;height:1px;border-top:0px;} label {cursor:pointer;cursor:hand}
.blocktitle {font-family:Arial,Sans-Serif;color:#4D6D91;font-size:13px;text-transform:capitalize;font-weight:bold;} /* ------------- */
/* 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/101/11.gif') no-repeat 0px 3px; margin-bottom: .6em;} /* ----- */
/* Site Menus */ .uMenuH li {float:left;padding:0 5px;}
.uMenuV .uMenuItem {font-weight:bold;} .uMenuV li a:link {text-decoration:none; color:#7BA5D7} .uMenuV li a:active {text-decoration:none; color:#7BA5D7} .uMenuV li a:visited {text-decoration:none; color:#7BA5D7} .uMenuV li a:hover {text-decoration:none; color:#4D6D91}
.uMenuV a.uMenuItemA:link {text-decoration:none; color:#4D6D91} .uMenuV a.uMenuItemA:visited {text-decoration:none; color:#4D6D91} .uMenuV a.uMenuItemA:hover {text-decoration:none; color:#4D6D91}
.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 {margin: 0; padding: 0 0 0 13px; background: url('/.s/t/101/12.gif') no-repeat 0px -2px; margin-bottom: .6em;} /* --------- */
/* Module Part Menu */ .catsTd {padding: 0 0 3px 13px; background: url('/.s/t/101/13.gif') no-repeat 0px 4px;} .catName {font-family:Tahoma,Arial,Sans-Serif;font-size:11px;font-weight:bold;} .catNameActive {font-family:Tahoma,Arial,Sans-Serif;font-size:11px;font-weight:bold;} .catNumData {font-size:7pt;color:#4D6D91;} .catDescr {font-size:7pt; padding-left:10px;} a.catName:link {text-decoration:none; color:#4D6D91;} a.catName:visited {text-decoration:none; color:#4D6D91;} a.catName:hover {text-decoration:underline; color:#000000;} a.catName:active {text-decoration:underline; color:#000000;} a.catNameActive:link {text-decoration:underline; color:#4D6D91;} a.catNameActive:visited {text-decoration:underline; color:#4D6D91;} a.catNameActive:hover {text-decoration:underline; color:#000000;} a.catNameActive:active {text-decoration:underline; color:#000000;} /* ----------------- */
/* Entries Style */ .eBlock {} .eTitle {font-family:Arial,Sans-Serif;font-size:14px;font-weight:bold;color:#4D6D91;padding: 0 0 0 20px; background: url('/.s/t/101/14.gif') no-repeat 1px 3px;} .eMessage {text-align:justify;padding-bottom:5px;} .eText {text-align:justify;padding-bottom:5px;padding-top:5px;border-top:1px solid #ACC6E5}
.eDetails {border-top:1px dashed #DDDDDD;border-bottom:1px dashed #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 dashed #DDDDDD;border-bottom:1px dashed #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 dashed #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/101/15.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 {border:1px solid #ACC6E5;background:#FFFFFF;} .cBlock2 {border:1px solid #ACC6E5;background:#F3F7FC;} /* -------------- */
/* Comments Form Style */ .commTable {} .commTd1 {color:#4D6D91;font-weight:bold;} .commTd2 {} .commFl {width:100%;background:#FAFCFE;border:1px solid #ACC6E5;} .smiles {border:1px inset;background:#FAFCFE;} .commReg {padding: 10 0 10 0px; text-align:center;} .commError {color:#FF0000;} .securityCode {background:#FAFCFE;border:1px solid #ACC6E5;color:#0000FF;} /* ------------------- */
/* Archive Menu */ .archUl {list-style: none; margin:0; padding-left:0;} .archLi {padding: 0 0 3px 10px; background: url('/.s/t/101/13.gif') no-repeat 0px 4px; font-family:Tahoma,Arial,Sans-Serif;} .archActive {font-weight:bold;} /* ------------ */
/* Archive Style */ .archiveCalendars {text-align:center;color:#0000FF;} .archiveDateTitle {font-weight:bold;color:#4D6D91;padding-top:15px;} .archEntryHr {width:250px;color:#DDDDDD;} .archiveeTitle li {margin-left: 15px; padding: 0 0 0 15px; background: url('/.s/t/101/11.gif') no-repeat 0px 4px; margin-bottom: .6em;} .archiveEntryTime {width:65px;font-style:italic;} .archiveEntryComms {font-size:9px;color:#C3C3C3;} a.archiveDateTitleLink:link {text-decoration:none; color:#4D6D91} a.archiveDateTitleLink:visited {text-decoration:none; color:#4D6D91} a.archiveDateTitleLink:hover {text-decoration:underline; color:#4D6D91} a.archiveDateTitleLink:active {text-decoration:underline; color:#4D6D91} .archiveNoEntry {text-align:center;color:#0000FF;} /* ------------- */
/* Calendar Style */ .calMonth {font-weight:bold;border:1px solid #ACC6E5; } .calWday {border:1px solid #ACC6E5; background:#E7EEF8; width:17px;} .calWdaySe {border:1px solid #ACC6E5; background:#E7EEF8; width:17px; font-weight:bold;} .calWdaySu {border:1px solid #ACC6E5; background:#E7EEF8; width:17px; font-weight:bold; color:#FF0000;} .calMday {border:1px solid #ACC6E5; background:#FFFFFF;} .calMdayA {border:1px solid #ACC6E5; background:#F8E6DF;font-weight:bold;} .calMdayIs {border:1px solid #4D6D91; background:#E7EEF8;font-weight:bold;} .calMdayIsA {border:1px solid #4D6D91; background:#F8E6DF;font-weight:bold;} a.calMonthLink:link,a.calMdayLink:link {text-decoration:none; color:#4D6D91;} a.calMonthLink:visited,a.calMdayLink:visited {text-decoration:none; color:#4D6D91;} a.calMonthLink:hover,a.calMdayLink:hover {text-decoration:underline; color:#4D6D91;} a.calMonthLink:active,a.calMdayLink:active {text-decoration:underline; color:#000000;} /* -------------- */
/* Poll styles */ .pollBut {width:110px;}
.pollBody {padding:7px; margin:0px; background:#FFFFFF} .textResults {background:#D0DFF0} .textResultsTd {background:#FFFFFF}
.pollNow {border-bottom:1px solid #D0DFF0; border-left:1px solid #D0DFF0; border-right:1px solid #D0DFF0;} .pollNowTd {}
.totalVotesTable {border-bottom:1px solid #D0DFF0; border-left:1px solid #D0DFF0; border-right:1px solid #D0DFF0;} .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:#F5F9FD;height:100px;width:300px;border:1px solid #597798;} .legendTd {font-size:7pt;} /* ------------ */
/* ===== forum Start ===== */
/* General forum Table View */ .gTable {background:#597798} .gTableTop {padding:2px;background:#597798;color:#E2EBF5;font-weight:bold;height:27px;padding-left:10px;font-size:10pt;background-image: url('/.s/t/101/25.gif');} .gTableSubTop {padding:2px;background:#ACC6E5;color:#000000;height:25px;font-size:10px;background-image: url('/.s/t/101/26.gif');} .gTableBody {padding:2px;background:#F5F9FD;} .gTableBody1 {padding:2px;background:#FFFFFF;} .gTableBottom {padding:2px;background:#F5F9FD;} .gTableLeft {padding:2px;background:#E7EEF8;font-weight:bold;color:#737373} .gTableRight {padding:2px;background:#F5F9FD} .gTableError {padding:2px;background:#F5F9FD;color:#FF0000;} /* ------------------------ */
/* Forums Styles */ .forumNameTd,.forumLastPostTd {padding:2px;background:#FFFFFF} .forumIcoTd,.forumThreadTd,.forumPostTd {padding:2px;background:#EFF3FE} .forumLastPostTd,.forumArchive {padding:2px;font-size:7pt;}
a.catLink:link {text-decoration:none; color:#E2EBF5;} a.catLink:visited {text-decoration:none; color:#E2EBF5;} a.catLink:hover {text-decoration:underline; color:#E2EBF5;} a.catLink:active {text-decoration:underline; color:#E2EBF5;}
.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:#4D6D91;} a.forum:visited, a.lastPostUserLink:visited, a.forumLastPostLink:visited, a.threadAuthorLink:visited {text-decoration:none; color:#4D6D91;} 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:#4D6D91;} /* -------------------- */
/* forum Navigation Bar */ .forumNamesBar {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:#4D6D91;} a.forumBarA:active {text-decoration:underline; color:#4D6D91;} /* -------------------- */
/* forum Fast Navigation Blocks */ .fastNav,.fastSearch,.fastLoginForm {font-size:7pt;} /* ---------------------------- */
/* forum Fast Navigation Menu */ .fastNavMain {background:#C7D7EF;} .fastNavCat {background:#E7EEF8;} .fastNavCatA {background:#E7EEF8;color:#0000FF} .fastNavForumA {color:#0000FF} /* -------------------------- */
/* forum Page switches */ .switches {background:#B4CBE7;} .pagesInfo {background:#FFFFFF;font-size:7pt;} .switch {background:#FFFFFF;width:15px;font-size:7pt;} .switchActive {background:#E7EEF8;font-weight:bold;color:#4D6D91;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:#EFF3FE} .threadLastPostTd {padding:2px;font-size:7pt;} .threadDescr {color:#858585;font-size:7pt;} .threadNoticeLink {font-weight:bold;} .threadsType {padding:2px;background:#EFF3FE;height:25px;font-weight:bold;font-size:7pt;color:#4D6D91;padding-left:40px;} .threadsDetails {padding:2px;background:#EFF3FE;height:25px;color:#4D6D91;} .forumOnlineBar {padding:2px;background:#EFF3FE;height:25px;color:#4D6D91;}
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:#4D6D91;} a.threadLink:visited {text-decoration:none; color:#4D6D91;} 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;} /* ------------------- */
/* forum Posts View */ .postTable {} .postPoll {background:#EEF2F7;text-align:center;} .postFirst {background:#F5F9FD;border-bottom:3px solid #597798;} .postRest1 {background:#EEF2F7;} .postRest2 {background:#F5F9FD;} .postSeparator {height:3px;background:#8394B2;}
.postTdTop,.postBottom {background:#D1DCEB;height:20px} .postUser {font-weight:bold;} .postTdInfo {text-align:center;padding:5px;} .postRankName {margin-top:5px;} .postRankIco {margin-bottom:5px;margin-bottom:5px;} .reputation {margin-top:5px;} .signatureHr {margin-top:20px;color:#597798;} .posttdMessage {padding:5px;}
.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/101/27.gif') no-repeat 0px 4px;} .newPollItem {padding: 0 0 0 8px; background: url('/.s/t/101/27.gif') no-repeat 0px 4px;} /* ----------------------- */
/* forum Post Form */ .codeButtons {font-size:7pt;background:#FAFCFE;border:1px solid #ACC6E5;} .codeCloseAll {font-size:7pt; color:#4D6D91;font-weight:bold;background:#FAFCFE;border:1px solid #ACC6E5;} .postNameFl,.postDescrFl {background:#FAFCFE;border:1px solid #ACC6E5;width:400px} .postPollFl,.postQuestionFl {background:#FAFCFE;border:1px solid #ACC6E5;width:400px} .postResultFl {background:#FAFCFE;border:1px solid #ACC6E5;width:50px} .postAnswerFl {background:#FAFCFE;border:1px solid #ACC6E5;width:300px} .postTextFl {background:#FAFCFE;border:1px solid #ACC6E5;width:550px;height:150px} .postUserFl {background:#FAFCFE;border:1px solid #ACC6E5;width:300px}
.pollHelp {font-weight:normal;font-size:7pt;padding-top:3px;} .smilesPart {padding-top:5px;text-align:center} /* ----------------- */
/* ====== forum End ====== */
|
|
| |
bandjuk | Дата: Суббота, 03.12.2011, 18:25 | Сообщение # 2 |
Генерал-лейтенант
Группа: Администраторы
Пол:
|
xSHAMANx, напиши код "Страницы сайта"
|
|
| |
xSHAMANx | Дата: Суббота, 03.12.2011, 18:37 | Сообщение # 3 |
Сержант
Группа: Пользователи
Пол:
|
Если можешь то напиши плиз какой-нить кусок кода который в быстрой замене участков шаблонов можно поменять на новый чтоб с фоном... а то все вручную редактировать нудно((
СТРАНИЦЫ САЙТА: Code <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="/.s/src/css/101.css"> </head><body bgcolor="#FFFFFF" topmargin="0" leftmargin="0" rightmargin="0" bottommargin="20" marginwidth="0" marginheight="0" style="padding:2px;"> $ADMIN_BAR$ $GLOBAL_AHEADER$ <br> <!-- <middle> --> <table border="0" cellspacing="0" width="760" cellpadding="4" align="center"> <tbody><tr> <td width="200" valign="top"> $GLOBAL_CLEFTER$ </td> <td valign="top"> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tbody><tr> <td width="100%"> <table border="0" width="100%" cellspacing="0" cellpadding="0" bgcolor="#E7EEF8"> <tbody><tr> <td valign="top"><img border="0" src="/.s/t/101/7.gif" width="6" height="6"></td> <td width="100%" style="border-top:2px solid #ACC6E5;"><img border="0" src="/.s/t/101/36.gif" width="1" height="1"></td> <td valign="top"><img border="0" src="/.s/t/101/8.gif" width="6" height="6"></td> </tr> <tr> <td style="border-left:2px solid #ACC6E5;"><img border="0" src="/.s/t/101/36.gif" width="1" height="1"></td> <td align="center" class="blocktitle">Описание Streets of rage</td> <td style="border-right:2px solid #ACC6E5;"><img border="0" src="/.s/t/101/36.gif" width="1" height="1"></td> </tr> <tr> <td valign="top"><img border="0" src="/.s/t/101/9.gif" width="6" height="6"></td> <td width="100%" style="border-bottom:2px solid #ACC6E5;"><img border="0" src="/.s/t/101/36.gif" width="1" height="1"></td> <td valign="top"><img border="0" src="/.s/t/101/10.gif" width="6" height="6"></td> </tr> </tbody></table> </td> </tr> <tr> <td width="100%"> <table border="0" width="97%" cellspacing="0" cellpadding="0" align="center"> <tbody><tr> <td style="border-left:2px solid #ACC6E5;"><img border="0" src="/.s/t/101/36.gif" width="1" height="1"></td> <td> <table border="0" width="100%" cellpadding="0" cellspacing="0"> <tbody><tr> <td> <!-- <body> -->$CONTENT$<!-- </body> --> </td> </tr> </tbody></table> </td> <td style="border-right:2px solid #ACC6E5;"><img border="0" src="/.s/t/101/36.gif" width="1" height="1"></td> </tr> <tr> <td valign="top"><img border="0" src="/.s/t/101/9.gif" width="6" height="6"></td> <td width="100%" style="border-bottom:2px solid #ACC6E5;"><img border="0" src="/.s/t/101/36.gif" width="1" height="1"></td> <td valign="top"><img border="0" src="/.s/t/101/10.gif" width="6" height="6"> </td> </tr> </tbody></table> </td> </tr> </tbody></table> </td> </tr> </tbody></table> <!-- </middle> --> $GLOBAL_BFOOTER$
</body></html>
Сообщение отредактировал xSHAMANx - Суббота, 03.12.2011, 18:38
|
|
| |
bandjuk | Дата: Суббота, 03.12.2011, 18:53 | Сообщение # 4 |
Генерал-лейтенант
Группа: Администраторы
Пол:
|
xSHAMANx, найди строчку:
Code <body style="background:url('Тут адрес твоей картинки')" topmargin="0" leftmargin="0" rightmargin="0" bottommargin="20" marginwidth="0" marginheight="0" style="padding:2px;">
Найди надпись 'Тут адрес твоей картинки' и вставь адрес твоего фона
|
|
| |