Вторник, 26.06.2012, 17:34
Проверенный
ToyFactory,
#wrapper {width: 100%;margin: 0 auto;min-height: 100%;height: auto !important;height: 100%;background-image: url(/images/bodybg.png);}
Можно и в боди прописать
Quote background-image: url(/images/bodybg.png); Отвечает конкретно за фон. |
Пост отредактировал 1PR1 - Вторник, 26.06.2012, 17:36 |
|
Вторник, 26.06.2012, 19:11
Пользователь
Вот css: (Название фона body.png)
/** * Theme Name:Liberation * Theme URI:www.web2feel.com * Adaptation for uCoz:http://uthemes.ru * Description:A News wordpress theme from jinsona designs. * Author:Jinsona Designs * Author URI:http://web2feel.com * * Copyright (c) 2008 - 2010 web2feel.com. All rights reserved. * http://web2feel.com * */ body{margin:0;padding:0;font-family:Arial,Tahoma,Georgia,Century gothic, sans-serif;background:#d9a363 url('/images/body.png') repeat-y;color:#161514;font-size:13px;} img {border:0;} .clear {clear:both;} h1,h2,h3,h4,h5,h6,ul {padding:0;margin:0;} ul,ul li {list-style:none;} a {color:#DE0505;text-decoration:none;outline:none;} a:visited {color:#DE0505;} a:hover,a:active {color:#d54e21;text-decoration:none;} h2 {font-size:18px;} h3 {font-size:17px;} h4 {font-size:16px;} h5 {font-size:15px;} h6 {font-size:13px;} #wrapper{width:1000px;margin:50px auto;padding-bottom:20px;background:#F5ECC1;border:1px solid #fff;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;} .today{float:left;margin:10px 0px 10px 20px;text-transform:uppercase;font-size:11px;height:18px;line-height:18px;padding-left:20px;background:url('/images/clock.png') no-repeat;} .feed{float:left;margin:10px 0px 10px 10px;text-transform:uppercase;font-size:11px;height:18px;line-height:18px;padding-left:20px;background:url('/images/feed.png') no-repeat;} .usrblock{float:right;font-size:11px;height:18px;line-height:18px;text-transform:uppercase;margin:10px 20px 10px 0;} #header{height:68px;width:1000px;background:url('/images/head.png');} h1#blog-title{float:left;font-size:32px;padding:20px 0px 0px 40px;width:500px;} h1#blog-title a:hover {text-decoration:none;} #menu{margin:0px;padding:0px;width:1000px;background:#b10202 url('/images/menu.png');height:33px;font-size:10px;text-transform:uppercase;} #menu ul {list-style:none;margin:0px auto;padding:0px 5px;width:910px;height:33px;overflow:hidden;} #menu li {float:left;list-style:none;margin:0px;padding:0px;} #menu li a,#menu li a:link,#menu li a:visited {color:#eee;display:block;margin:0px;padding:10px 10px 10px 10px;} #menu li a:hover,#menu li a:active,#menu li a.uMenuItemA {background:#db0505 url('/images/menua.png') repeat-x;color:#fff;margin:0px;padding:10px 10px 10px 10px;text-decoration:none;} #search {width:255px;padding:2px;background:#424242;border:1px solid #505050;float:right;margin-right:40px;height:22px;margin-top:20px;display:inline;} #search form {margin:0;padding:0;} #search .schQuery input {width:180px;margin:0;padding:3px 5px 3px 5px;border:none;font:normal 100% "Tahoma",Arial,Helvetica,sans-serif;color:#fff;float:left;background:#424242;display:inline;} #search .schBtn input{float:right;display:inline;margin:0;height:22px;background:#c0221a;color:#fff;border:1px solid #d03e10;} .eBlock,.cBlock1,.commTable,.gTable,.uTable{background:#fff url('/images/gradepng') repeat-x;padding:10px;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;border:1px solid #fff;color:#161514;margin:6px 0;} .cBlock1 {margin:0;} .cBlock2 {margin:0;padding:10px;background:#fefbec;color:#161514;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;border:1px solid #fff;} .cTop {border-bottom:1px solid #9d8e99;padding:0 0 4px 0;} .cBlock .cTop {border-bottom:1px solid #DFD5A7;} .eTitle{font-family:Georgia,tahoma,century gothic, sans-serif;font-size:20px;line-height:150%;color:#DE0505;font-weight:normal;padding:5px 0px;} .eTitle a:hover {text-decoration:none;} .eDetails,.eDetails1,.eDetails2{background:#F5ECC1;padding:3px 10px;border:1px solid #DFD5A7;font-size:10px;text-transform:uppercase;margin:2px 0 0 0;color:#161514;} .eMessage {margin:0;padding:5px 0;color:#4B3839;line-height:22px;} .eMessage a:link, .eMessage a:visited {color:#AC0604;background-color:transparent;} .eMessage a:hover {color:#455236;background-color:transparent;text-decoration:none;} .eMessage ul,.eMessage ol{margin:.4em 0 1em;line-height:150%;} .eMessage ul li,.eMessage ol li{list-style-position:outside;margin-left:1.6em;} #footer{width:958px;padding:0px 0px 10px 0px;background:#222;margin:20px 20px 0px 20px;border:1px solid #000;position:relative;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;font-size:10px;color:#DAA869;} #footer a:link,#footer a:visited{color:#DAA869;} .fleft{float:left;text-align:left;margin:10px 0px 0px 10px;line-height:16px;} .fright{float:right;text-align:right;margin:10px 10px 0px 0px;line-height:16px;} #content{width:678px;padding:10px 0px 0 20px;float:left;} #content-wide{width:938px;padding:10px 0px 0 20px;} .content{width:668px;padding:10px;background:#37282D;border:1px solid #0F0B0D;border-radius:5px;-moz-border-radius: 5px;-webkit-border-radius: 5px;color:#F5ECC1;} #content-wide .content{width:938px;} .left{padding:10px 0 0 0;width:262px;float:right;margin-right:20px;} /*sidebar */ .sidebar {} .sidebox{float:left;width:260px;padding-top:0;font-size:12px;font-family:Arial,Tahoma,Century gothic, sans-serif;margin:0 0 10px 0;background:#37282D;display:inline;overflow:hidden;color:#AF8E99;border:1px solid #0F0B0D;border-radius: 5px;-moz-border-radius: 5px;-webkit-border-radius: 5px;} .sidetitl{padding:6px 0 6px 8px;color:#fff;font-size:14px;width:240px;background:#c0221a;position:relative;font-weight:bold;margin:5px;border:1px solid #d03e10;} .sidebox .indent {padding:4px 10px 10px 10px;position:relative;height:100%;} .sidebox ul,.sidebox .catsTable {list-style:none;margin:0 -10px;padding:0;width:298px;} .sidebox .catsTable {border-collapse:collapse;} .sidebox ul li a,.sidebox .catsTable a {height:100%;line-height:28px;display:block;width:250px;list-style-type:none;overflow:hidden;color:#AF8E99;text-decoration:none;padding:0 0 0 10px;border-bottom:1px solid #4C393A;} .sidebox ul li a:hover,.sidebox .catsTable a:hover{background:#1F191B;color:#BC0000;} .calTable {width:100%;} .calTable td {height:24px;} .calWday,.calWday,.calWdaySe,.calWdaySu {font-weight:bold;border-bottom:1px solid #4C393A;border-top:1px solid #4C393A;} .calWdaySe,.calWdaySu {color:#c52323;} .calMdayIs {font-weight:bold;color:#3e5370;} .calMdayA,.calMdayIsA,.calMdayIsA a.calMdayLink {font-weight:bold;color:#fff;} .content .mpsite,.sidebar .utms,.sidebar .catNumData {display:none;} .outputPM {border:1px dashed #4C393A;margin:4px 0 4px 30px;} .inputPM {border:1px dashed #4C393A;margin:4px 0;} .uTable td {background:#fff;} .uTable {background:#dfd5a7;padding:0;} .commTable {margin:0 0 26px 0;} .eAttach {margin: 16px 0 0 0; padding: 0 0 0 15px; background: url('/images/attach.gif') no-repeat 0px 0px;font-size:8pt;color:#555;} .eAttach .entryAttachSize {padding-left:4px;} .manTable .manTd1 {font-size:12px;line-height:12px; width:200px;} .popuptitle {background:#c0221a;border:1px solid #d03e10;padding:6px 2px;color:#fff;} .popupbody {background:#fff;padding:6px 2px;} .popuptable {background:#dfd5a7;margin:0 auto;} /* 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:#fefbec;height:100px;width:300px;border:1px solid #4C393A;} .replaceBody {background:#fff;} .legendTd {font-size:7pt;} /* ------------ */
/* ===== forum Start ===== */
/* General forum Table View */ .gTable {background:#dfd5a7;width:100%;padding:0;margin:2px 0;} .gTableTop {padding:2px;background:#c0221a;border:1px solid #d03e10;text-align:center;color:#fff;font-weight:bold;height:40px;font-size:18px;} .gTableTop a {color:#fff;} .gTableSubTop {padding:2px;background:#37282d;color:#fff;height:20px;font-size:10px;} .gTableBody {padding:2px;background:#fff;} .gTableBody1 {padding:2px;background:#fefbec;} .gTableBottom {padding:2px;background:#dfd5a7;} .gTableLeft {padding:2px;background:#fefbec;font-weight:bold;color:#6E6E6E} .gTableRight {padding:2px;background:#fff} .gTableError {padding:2px;background:#fefbec;color:#FF0000;} /* ------------------------ */
/* Forums Styles */ .forumNameTd,.forumLastPostTd {padding:2px;background:#fefbec} .forumIcoTd,.forumThreadTd,.forumPostTd {padding:2px;background:#ffffff} .forumLastPostTd,.forumArchive {padding:2px;font-size:7pt;}
a.catLink {text-decoration:none;color:#fff;}
.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;} /* -------------------- */
/* forum Navigation Bar */ .forumNamesBar {font-weight:bold;font-size:7pt;} .forumBarKw {font-weight:normal;} a.forumBarA {text-decoration:none;color:#fff;} a.forumBarA:hover {text-decoration:underline;} /* -------------------- */
/* forum Fast Navigation Blocks */ .fastNav,.fastSearch,.fastLoginForm {font-size:7pt;} /* ---------------------------- */
/* forum Fast Navigation Menu */ .fastNavMain {background:#37282d;} .fastNavCat {background:#fefbec;} .fastNavCatA {background:#4C393A;} .fastNavForumA {color:#98c61d;} .fFastSearchTd {font-size:0;color:#fefbec;} .forumModerFuncs {text-align:left;} /* -------------------------- */
/* forum Page switches */ .switches {background:#4C393A;} .pagesInfo {background:#37282d;padding-right:10px;font-size:7pt;} .switch {background:#37282d;width:15px;font-size:7pt;} .switchActive {background:#4C393A;font-weight:bold;color:#6E6E6E;width:15px} a.switchDigit:link,a.switchBack:link,a.switchNext:link {text-decoration:none; color:#fff;} a.switchDigit:visited,a.switchBack:visited,a.switchNext:visited {text-decoration:none; color:#fff;} a.switchDigit:hover,a.switchBack:hover,a.switchNext:hover {text-decoration:underline; color:#fff;} a.switchDigit:active,a.switchBack:active,a.switchNext:active {text-decoration:underline; color:#fff;} /* ------------------- */
/* forum Threads Style */ .threadNametd,.threadAuthTd,.threadLastPostTd {padding:2px;padding:2px;background:#fefbec} .threadIcoTd,.threadPostTd,.threadViewTd {padding:2px;background:#fff} .threadLastPostTd {padding:2px;font-size:7pt;} .threadDescr {color:#858585;font-size:7pt;} .threadNoticeLink {font-weight:bold;} .threadsType {padding:2px;background:#fefbec;height:20px;font-weight:bold;font-size:7pt;color:#fff;padding-left:40px;} .threadsDetails {padding:2px;background:#fefbec;height:20px;color:#6E6E6E;} .forumOnlineBar {padding:2px;background:#fefbec;height:20px;color:#6E6E6E;}
a.threadPinnedLink:link {text-decoration:none; color:#3d4e6b;} a.threadPinnedLink:visited {text-decoration:none; color:#3d4e6b;} a.threadPinnedLink:hover {text-decoration:none; color:#FF0000;} a.threadPinnedLink:active {text-decoration:underline; color:#FF0000;}
a.threadLink:link {text-decoration:none; color:#6E6E6E;} a.threadLink:visited {text-decoration:none; color:#6E6E6E;} a.threadLink:hover {text-decoration:underline; color:#fff;} a.threadLink:active {text-decoration:underline; color:#fff;}
.postpSwithces {font-size:7pt;} .thDescr {font-weight:normal;} .threadFrmBlock {font-size:7pt;text-align:right;} /* ------------------- */
/* forum Posts View */ .postTable {} .postPoll {background:#fefbec;text-align:center;} .postFirst {background:#37282d;} .postRest1 {background:#37282d;} .postRest2 {background:#37282d;} .postSeparator {height:3px;background:#fefbec;}
.postTdTop {background:#F5ECC1;height:20px;font-size:10px;} .postBottom {background:#F5ECC1;height:20px} .postUser {font-weight:bold;} .postTdInfo {text-align:center;padding:5px;background:#4C393A;color:#fefbec;} .postRankName {margin-top:5px;} .postRankIco {margin-bottom:5px;margin-bottom:5px;} .reputation {margin-top:5px;} .signatureHr {margin-top:10px;color:#787878;} .posttdMessage {padding:5px;background:#fefbec;line-height:160%;} .postRest2 .posttdMessage {background:#fff;}
.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,.quoteMessage {background:#fefbec;font-size:9px;padding:0 10px;}
.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/805/28.gif') no-repeat 0 4px;} .newPollItem {padding: 0 0 0 8px; background: url('/.s/t/805/28.gif') no-repeat 0 4px;} /* ----------------------- */
/* forum Post Form */ .codeButtons,.codeCloseAll {padding-left:6px;padding-right:6px;margin:2px 0!important;} .codeCloseAll {font-weight:bold;} .postNameFl,.postDescrFl {background:#FCFCFC;border:1px solid #6E6E6E;width:400px} .postPollFl,.postQuestionFl {background:#FCFCFC;border:1px solid #6E6E6E;width:400px} .postResultFl {background:#FCFCFC;border:1px solid #6E6E6E;width:50px} .postAnswerFl {background:#FCFCFC;border:1px solid #6E6E6E;width:300px} .postTextFl {background:#FCFCFC;border:1px solid #6E6E6E;width:550px;height:150px} .postUserFl {background:#FCFCFC;border:1px solid #6E6E6E;width:300px}
.pollHelp {font-weight:normal;font-size:7pt;padding-top:3px;} .smilesPart {padding-top:5px;text-align:center} /* ----------------- */
/* ====== forum End ====== */ form.utTransformdone div.rowElem{clear:both;padding:4px 0;} /* ------------- * Buttons * ------------- */ button.utTransformButton,.fastLogBt {margin:2px;background:#c0221a;color:#fff;border:1px solid #d03e10;cursor:pointer;overflow:visible;white-space:nowrap;} /* ------------- * Inputs * ------------- */ .utTransformInputWrapper {background:#1a1315 url('/images/niceforms/input_text_left.gif') no-repeat left top;height: 20px;padding:0; margin:2px;float:left;} .sidebox .utTransformInputWrapper {width:98%!important;} .sidebox .utTransformInputWrapper input {width:98%!important;} .utTransformInputInner {background: transparent url('/images/niceforms/input_text_right.gif') no-repeat top right;padding:0 4px 0 0;margin:0;} .utTransformInputInner div {height: 20px;margin:0;} .utTransformInputInner div input {font-size:12px!important;line-height: 18px;vertical-align: middle;height: 17px;color:#898989;border:none;padding:3px 0 0 4px;margin:0;background:transparent;} .eBlock .utTransformInputWrapper,.gTable .utTransformInputWrapper,.commTable .utTransformInputWrapper {background-color:#f5ecc1;background-image: url('/images/niceforms/winput_text_left.gif');} .eBlock .utTransformInputInner,.gTable .utTransformInputInner,.commTable .utTransformInputInner {background-image: url('/images/niceforms/winput_text_right.gif');} /* IE6 */ * html .utTransformInputInner div input {padding:0;margin: 0 0 0 4px;height:14px;} /* IE7 */ *+ html .utTransformInputInner div input {padding:0;margin-left:4px;height:14px;} /*hover*/ .utTransformInputWrapper_hover{background-position: left -20px ;} .utTransformInputWrapper_hover div.utTransformInputInner{background-position: right -20px ;} /*focus*/ .utTransformInputWrapper_focus{background-position: left -40px ;} .utTransformInputWrapper_focus div.utTransformInputInner{background-position: right -40px ;} .utTransformSafari .utTransformInputInner div {position: relative;overflow: hidden;margin:0 4px;} .utTransformSafari .utTransformInputInner div input {background-color: none;position: absolute;height: 20px;padding-left: 4px;outline:none;} /* ------------- * Textarea * ------------- */ table.utTransformTextarea td#utTransformTextarea-mm textarea{font-size: 12px;line-height: 16px;} table.utTransformTextarea td{font-size: 1px;line-height: 1px;margin: 0;padding: 0;} table.utTransformTextarea{background:#1a1315;margin:2px;} .eBlock table.utTransformTextarea,.gTable table.utTransformTextarea,.commTable table.utTransformTextarea {background:#f8f1cf;} table.utTransformTextarea tr{/*border: 1px solid red;*/} table.utTransformTextarea textarea{margin: 0;padding: 0;border: 0;background: none;color:#898989;} table.utTransformTextarea td#utTransformTextarea-tl{background: url('/images/niceforms/textarea/textarea_tl.gif') no-repeat top left;} .eBlock table.utTransformTextarea td#utTransformTextarea-tl,.gTable table.utTransformTextarea td#utTransformTextarea-tl,.commTable table.utTransformTextarea td#utTransformTextarea-tl {background-image: url('/images/niceforms/textarea/wtextarea_tl.gif');} table.utTransformTextarea td#utTransformTextarea-tm{background: url('/images/niceforms/textarea/textarea_tm.gif') repeat-x top left;} .eBlock table.utTransformTextarea td#utTransformTextarea-tm,.gTable table.utTransformTextarea td#utTransformTextarea-tm,.commTable table.utTransformTextarea td#utTransformTextarea-tm {background-image:url('/images/niceforms/textarea/wtextarea_tm.gif');} table.utTransformTextarea td#utTransformTextarea-tr{background: url('/images/niceforms/textarea/textarea_tr.gif') no-repeat top left;} .eBlock table.utTransformTextarea td#utTransformTextarea-tr,.gTable table.utTransformTextarea td#utTransformTextarea-tr,.commTable table.utTransformTextarea td#utTransformTextarea-tr {background-image:url('/images/niceforms/textarea/wtextarea_tr.gif');} table.utTransformTextarea td#utTransformTextarea-ml{background: url('/images/niceforms/textarea/textarea_ml.gif') repeat-y top left;} .eBlock table.utTransformTextarea td#utTransformTextarea-ml,.gTable table.utTransformTextarea td#utTransformTextarea-ml,.commTable table.utTransformTextarea td#utTransformTextarea-ml {background-image:url('/images/niceforms/textarea/wtextarea_ml.gif');} table.utTransformTextarea td#utTransformTextarea-mm{background: url('/images/niceforms/textarea/textarea-mm.gif') repeat;} .eBlock table.utTransformTextarea td#utTransformTextarea-mm,.gTable table.utTransformTextarea td#utTransformTextarea-mm,.commTable table.utTransformTextarea td#utTransformTextarea-mm {background-image:url('/images/niceforms/textarea/wtextarea-mm.gif')} table.utTransformTextarea td#utTransformTextarea-mr{background: url('/images/niceforms/textarea/textarea_mr.gif') repeat-y top left;} .eBlock table.utTransformTextarea td#utTransformTextarea-mr,.gTable table.utTransformTextarea td#utTransformTextarea-mr,.commTable table.utTransformTextarea td#utTransformTextarea-mr {background-image:url('/images/niceforms/textarea/wtextarea_mr.gif');} table.utTransformTextarea td#utTransformTextarea-bl{background: url('/images/niceforms/textarea/textarea_bl.gif') no-repeat top left;} .eBlock table.utTransformTextarea td#utTransformTextarea-bl,.gTable table.utTransformTextarea td#utTransformTextarea-bl,.commTable table.utTransformTextarea td#utTransformTextarea-bl {background-image:url('/images/niceforms/textarea/wtextarea_bl.gif');} table.utTransformTextarea td#utTransformTextarea-bm{background: url('/images/niceforms/textarea/textarea_bm.gif') repeat-x top left;} .eBlock table.utTransformTextarea td#utTransformTextarea-bm,.gTable table.utTransformTextarea td#utTransformTextarea-bm,.commTable table.utTransformTextarea td#utTransformTextarea-bm {background-image: url('/images/niceforms/textarea/wtextarea_bm.gif');} table.utTransformTextarea td#utTransformTextarea-br{background: url('/images/niceforms/textarea/textarea_br.gif') no-repeat top left;} .eBlock table.utTransformTextarea td#utTransformTextarea-br,.gTable table.utTransformTextarea td#utTransformTextarea-br,.commTable table.utTransformTextarea td#utTransformTextarea-br {background-image: url('/images/niceforms/textarea/wtextarea_br.gif');}
/*hover*/ table.utTransformTextarea-hover td#utTransformTextarea-tl{background-position:0 -5px;} table.utTransformTextarea-hover td#utTransformTextarea-tm{background-position:0 -5px;} table.utTransformTextarea-hover td#utTransformTextarea-tr{background-position:0 -5px;} table.utTransformTextarea-hover td#utTransformTextarea-ml{background-position:-5px 0;} table.utTransformTextarea-hover td#utTransformTextarea-mm{background-image: url('/images/niceforms/textarea/textarea-mm-hover.gif');} .eBlock table.utTransformTextarea-hover td#utTransformTextarea-mm,.gTable table.utTransformTextarea-hover td#utTransformTextarea-mm,.commTable table.utTransformTextarea-hover td#utTransformTextarea-mm {background-image: url('/images/niceforms/textarea/wtextarea-mm-hover.gif');} table.utTransformTextarea-hover td#utTransformTextarea-mr{background-position:-5px 0;} table.utTransformTextarea-hover td#utTransformTextarea-bl{background-position:0 -5px;} table.utTransformTextarea-hover td#utTransformTextarea-bm{background-position:0 -5px;} table.utTransformTextarea-hover td#utTransformTextarea-br{background-position:0 -5px;} /*focus*/ table.utTransformTextarea-focus td#utTransformTextarea-tl{background-position:0 -10px;} table.utTransformTextarea-focus td#utTransformTextarea-tm{background-position:0 -10px;} table.utTransformTextarea-focus td#utTransformTextarea-tr{background-position:0 -10px;} table.utTransformTextarea-focus td#utTransformTextarea-ml{background-position:-10px 0;} table.utTransformTextarea-focus td#utTransformTextarea-mm{background-image: url('/images/niceforms/textarea/textarea-mm-focus.gif');} .eBlock table.utTransformTextarea-focus td#utTransformTextarea-mm,.gTable table.utTransformTextarea-focus td#utTransformTextarea-mm,.commTable table.utTransformTextarea-focus td#utTransformTextarea-mm {background-image: url('/images/niceforms/textarea/wtextarea-mm-focus.gif');} table.utTransformTextarea-focus td#utTransformTextarea-mr{background-position: -10px 0;} table.utTransformTextarea-focus td#utTransformTextarea-bl{background-position:0 -10px;} table.utTransformTextarea-focus td#utTransformTextarea-bm{background-position:0 -10px;} table.utTransformTextarea-focus td#utTransformTextarea-br{background-position:0 -10px;} table.utTransformTextarea .utTransformSafariTextarea div {position: relative;overflow: hidden;border:0 solid red;} table.utTransformTextarea .utTransformSafariTextarea textarea{background: none;position: absolute;top:-10px;left:-10px;padding:10px;resize: none;} /* ------------- * Selects * ------------- */ .utTransformSelectWrapper {width: 45px;position:relative;height: 20px;background:#1a1315 url('/images/niceforms/select_left.gif') no-repeat top left;float:left;margin:2px;text-align:left!important;} .eBlock .utTransformSelectWrapper,.gTable .utTransformSelectWrapper,.commTable .utTransformSelectWrapper{background-image:url('/images/niceforms/wselect_left.gif');background-color:#f8f1cf;} .utTransformSelectWrapper div span {font-size: 12px;float: none;position: absolute;white-space: nowrap; color:#898989;height: 20px;line-height: 15px;padding: 2px 0 0 7px;overflow: hidden;cursor:pointer;/*border: 1px solid #CCCCCC;*/ /*border-right: none;*/} .utTransformSelectWrapper a.utTransformSelectOpen {display: block;position: absolute;right:0;width: 31px;height: 20px;background: url('/images/niceforms/select_right.gif') no-repeat center 0;} .eBlock .utTransformSelectWrapper a.utTransformSelectOpen,.gTable .utTransformSelectWrapper a.utTransformSelectOpen,.commTable .utTransformSelectWrapper a.utTransformSelectOpen {background-image:url('/images/niceforms/wselect_right.gif');} .utTransformSelectWrapper a.utTransformSelectOpen:hover {background-position:0 -20px;} .utTransformSelectWrapper ul {position: absolute;width: 43px;top: 20px;left:0;list-style: none;background-color:#261c1f;border: solid 1px #9d8e99;display: none;margin:0;padding:0;height: 150px;overflow: auto;overflow-y: auto;z-index:10;} .eBlock .utTransformSelectWrapper ul,.gTable .utTransformSelectWrapper ul,.commTable .utTransformSelectWrapper ul {background-color:#F5ECC1;border:1px solid #DFD5A7;color:#161514;} .utTransformSelectWrapper ul a {display: block;padding:2px 5px;text-decoration: none;color:#898989;background-color: #261c1f;font-size: 12px;} .eBlock .utTransformSelectWrapper ul a,.gTable .utTransformSelectWrapper ul a,.commTable .utTransformSelectWrapper ul a {background-color:#F5ECC1;} .utTransformSelectWrapper ul a.selected {background: #9d8e99;color: #fff;} .eBlock .utTransformSelectWrapper ul a.selected,.gTable .utTransformSelectWrapper ul a.selected,.commTable .utTransformSelectWrapper ul a.selected {background:#fff;color:#c0221a;} .utTransformSelectWrapper ul a:hover, .utTransformSelectWrapper ul a.selected:hover {background:#9d8e99;color: #fff;} .eBlock .utTransformSelectWrapper ul a:hover,.gTable .utTransformSelectWrapper ul a:hover,.commTable .utTransformSelectWrapper ul a:hover {background:#fff;color:#c0221a;} /* ------------- * Hidden - used to hide the original form elements * ------------- */ .utTransformHidden {display: none;} .fileinput {position:relative;height:24px;overflow:hidden;width:220px;} .fileinput .filebtn {width:52px;height:19px;background:url('/images/niceforms/choose-file.gif') no-repeat 0 0;position:absolute;right:0;overflow:hidden;cursor:pointer;margin-top:2px;} .fileinput .filehover {background-position:0 -19px;} .fileinput .utTransformInputWrapper {width:160px!important;} .fileinput .utTransformInputWrapper input {width:93%!important;} /* ------------- * checkbox & radio * ------------- */ .checkbox {display:inline;font-size:12px;line-height:12px;cursor:pointer;} .checkbox .mark {display:inline;width:12px;height:12px;padding:0 4px 0 0;} .checkbox img {width:12px;height:12px;} .checkbox img{background:url('/images/niceforms/dcheckbox.gif') no-repeat;} .eBlock .checkbox img,.gTable .checkbox img,.eBlock .checkbox img{background-image:url('/images/niceforms/lcheckbox.gif');} .checkbox img{background-position: 0 0;} .checkbox-hover img{background-position:-12px 0;} .checkbox-checked img{background-position:0 -12px;} .checkbox-checked .checkbox-hover img {background-position:-12px -12px;} .checkbox-disabled img{background-position:0 -24px;} .checkbox-checked .checkbox-disabled img{background-position:0 -36px;} .radio {display:inline;font-size:12px;line-height:12px;cursor:pointer;} .radio .mark {display:inline;width:12px;height:12px;padding:0 4px 0 0;} .radio img {width:12px;height:12px;} .radio img{background:url('/images/niceforms/dradio.gif') no-repeat;} .eBlock .radio img,.gTable .radio img,.eBlock .radio img{background-image:url('/images/niceforms/lradio.gif');} .radio img{background-position: 0 0;} .radio-hover img{background-position:-12px 0;} .radio-checked img{background-position:0 -12px;} .radio-checked .radio-hover img {background-position:-12px -12px;} .radio-disabled img{background-position:0 -24px;} .radio-checked .radio-disabled img{background-position:0 -36px;} /* ------------- * Ucoz splinters * ------------- */ #doSmbBt,.u-combobut,#siM31,#siM32 {display: none;} .u-comboeditcell,.u-combo {border:0!important;background:none!important;} .u-combolist {background:#37282d!important;border:1px solid #9d8e99!important;color:#898989!important;} .answer {padding:4px 0 0 0;} input[type="text"],input[type="password"],input[type="file"],.searchForumsFl {background:#F5ECC1;border:1px solid #DFD5A7;color:#898989;} .commFl {width:540px!important;}Добавлено (26.06.2012, 19:11) --------------------------------------------- Куда конкретно вставлять код с фоном? И можно ли как нибудь сделать чтоб фон был именно за шапкой? или это уже слишком сложно7 |
|
Вторник, 26.06.2012, 19:12
Проверенный
Code body{margin:0;padding:0;font-family:Arial,Tahoma,Georgia,Century gothic, sans-serif;background: url(/images/body.png);color:#161514;font-size:13px;}
Вот если задавать фон картинкой через бади. |
|
Вторник, 26.06.2012, 20:15
Пользователь
Ну это я понял, а как теперь сделать чтоб можно было поставить одну большую обоину на задний план? Добавлено (26.06.2012, 20:15) --------------------------------------------- А понял,репит убрать. А как нибудь можно закрепить конкретно за шапкой сайта, или чтоб фон был именно по центру. А то он делается где то слева. |
|