23.01.2013
Inqu1sitor
Пользователи
Сообщений 42
Здравствуйте, тут появилась такая проблемка у меня раньше на сайте были контейнеры но потом я удалил их со страниц. Но тут они мне опять стали нужны как их вернуть обратно, точнее не как вернуть а как сделать чтобы они отображались нормально !!! Убирал их так заходил на нужную страницу и удалял : Код
<div class="sidebar"> <div class="sidebar-top"></div> <div class="sidebar-mid"> $GLOBAL_CLEFTER$ </div> <div class="sidebar-bot"></div> </div>
теперь я всеь контент на страницах заключил в Div'ы, и когда я их возвращаю то они у меня отображаются вот так: Но мне надо чтобы отображалось нормально с левого края ! Вот CSS:
/* General Style */ body {margin: 0px;font: 12px/16px 'Arial';color: #000; text-align: center;} td, input, select, textarea {font: 12px 'Arial';} #puzadpn {display:none} body a {color: #000; text-decoration: none ;} body a:hover {text-decoration: underline ;} * {} img {border: 0px;} a.noun img {margin: 2px;} ul, li {margin: 0px; padding: 0px;} .clear {clear: both;overflow: hidden;height: 1px;} :focus {outline: none;} textarea {resize: none;} hr {height: 1px; background: #aaa; border: 0px; overflow: hidden;} /* ------------- */ /*WRAP*/ #wrap {background: #090909 url(http://forum-sc.at.ua/design/background1.png) no-repeat center top;} #container {width: 962px; margin: auto;text-align: left;} /*----*/ /*HEADER*/ #header {} #cup {position: absolute;margin-left: 432px;width: 538px;height:177px;} #sitelogo {padding: 45px 0px 0px 40px;width: 460px;font: bold 42px 'Arial';color: #999999;text-shadow: 0px 1px 0px #fff;-moz-text-shadow: 0px 1px 0px #fff;} #date {margin: 0px 215px 0px 0px;padding-top: 92px;float: right;font: 11px 'Arial';color: #5c5c5c;text-align: right;position: relative;} #usermenu {margin-top: 0px;height: 540px;background: url() no-repeat top center; } #usermenu ul {list-style: none;padding-left: 2px;} #usermenu li {float: left;height: 35px;} #usermenu li a {display: block;font: 12px/32px 'Arial'; color: #fff;padding: 0px 10px 0px 8px;text-decoration: none;background: url(/.s/t/783/5.png) no-repeat top right;} #usermenu li a:hover {background: #444242;} span#whois {position: relative;color: #fff; font: 11px 'Arial';line-height: 32px;padding-left: 10px;} span#whois a {color: #fff;} #search {position: relative;float: right;margin: 5px 10px 0px 0px;width: 233px; height: 23px;background: url(/.s/t/783/6.png);} #search form {width: 233px; height: 23px;} #search div {height: 23px;} #search .schQuery {float: left;} #search .schQuery input.queryField {background: none;margin: 3px 0px 0px 7px;padding: 0px;width: 200px !important;border: 0px;font: italic 12px 'Arial'; color: #d5d5d5;} #search .schBtn {float: right;} #search .schBtn input {border: 0px;margin: 0px 1px 0px 0px;width: 24px;height: 22px;background: url(/.s/t/783/7.png);cursor: pointer;border-radius: 0px; -moz-border-radius: 0px;} #search .schBtn input:hover {background-position: bottom left;} /*------*/ /*CONTAINERS*/ #content {margin-top: 5px;} .sidebar {float: left; width: 254px;} .sidebar a {color: #333;} .sidebar-top {height: 5px; overflow: hidden; background: url(/.s/t/783/8.png);} .sidebar-mid {background: url(/.s/t/783/9.png);padding: 10px 0px;} .sidebar-bot {height: 5px; overflow: hidden; background: url(/.s/t/783/10.png);} #maincont {margin: auto;width: 800px;} /*----------*/ /* Menus */ ul.uz, ul.uMenuRoot {margin: 0; padding: 0;} li.menus {} /* ----- */ /* Site Menus */ .uMenuH li {float:left;padding:0 5px;list-style: none;} .uMenuV .uMenuItem {} .uMenuV {background: none;} .uMenuV li {list-style: none;margin: 0px !important;background: none;} .uMenuV li a {font-size: 14px;display: block;padding: 5px 10px 5px 5px;} .uMenuV li a:hover {background: #b8cfe6;} .uMenuV .uMenuItem {display: block;padding: 1px 0px ;} .uMenuV .uMenuItemA {background: #b8cfe6;text-decoration: none;} .uMenuV .uMenuArrow {position: absolute; right: 3px; top: 10px;width: 4px; height: 7px;overflow: hidden; background: url(/.s/t/783/11.gif);} .block .xw-tl,.block .xw-bl,.block .u-menuvsep {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: 0px; padding: 0px; line-height:28px; background:#f1f1f1; !important; border:1px solid #d6d3d3 !important;-moz-border-radius: 0px 5px 5px 0px ;border-radius: 0px 5px 5xp 0px; } .block .u-menubody {border: 0px !important; padding: 0px 0px;} .block .u-menuvitem {background:#f1f1f1 !important; padding: 0px 35px 0px 30px; line-height:28px;} .block .u-menuvitem:first-child {-moz-border-radius-topleft: 0px;-moz-border-radius-topright: 5px;border-top-left-radius: 0px;border-top-right-radius: 5px;} .block .u-menuvitem:last-child {-moz-border-radius-bottomleft: 0px;-moz-border-radius-bottomright: 5px;border-bottom-left-radius: 0px;border-bottom-right-radius: 5px;} .block a {} .block .u-menuvitem span {font-size:14px;color:#333;text-decoration: underline;} .block .u-menuitemhl {background:#d2dfeb !important; padding: 0px 35px 0px 30px; line-height:28px;} .block .u-menuitemhl span {text-decoration: none;} .block .u-menuarrow {position: absolute; right: 3px; top: 10px;width: 4px; height: 7px; overflow: hidden; background: url(/.s/t/783/11.gif);} .block .u-menu {margin-left: 0px;} .block .x-sh {display: none;} /* --------- */ /* Module Part Menu */ .catsTable {} .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 {} /* ----------------- */ /*Container blocks styles*/ .block {background: url(/.s/t/783/12.gif) no-repeat bottom center;padding-bottom: 10px;margin-bottom: 10px;} .blocktitle {font: bold 16px 'Arial';color: #333;padding: 0px 40px;} .blockcontent {margin: 7px 40px 0px 40px; width: 174px;} .blockcontent ul {} .blockcontent li {margin-left: 15px;} .blockcontent li a {} .blockcontent li a:hover {} .blockcontent a {} .blockcontent a:hover {} /*-----------------------*/ /* Entries Style */ .eBlock {} .eTitle {font: 15px 'Arial';color:#fff;margin: 5px 0px; background: #000; padding: 10px; border-radius: 5px; box-shadow: 0 0 12px #000 ;} .eTitle a {font: 15px 'Arial';color:#fff;text-decoration: none; } .eTitle a:hover {color:#fff;} .eMessage, .eText {text-align: justify !important;font: 12px/16px 'Arial'; color: #000;padding-bottom: 5px !important;} .eMessage li, .eText li {margin-left: 15px;} .eMessage {} .eText {} .eDetails, .eDetails1, .eDetails2 {font: 12px 'Arial';color: #000;margin: 5px 0px;font-weight: bold; padding: 5px; } .eDetails a, .eDetails1 a, .eDetails2 a {font: 12px 'Arial';color: #000;padding: 5px;font-weight: bold; } .eDetails a:hover, .eDetails1 a:hover, .eDetails2 a:hover {color: #000;} .eDetails {} .eDetails1 {} .eDetails2 {} .eRating {} .eAttach {} /* ------------- */ /* Entry Manage Table */ .manTable {} .manTdError {} .manTd1 {} .manTd2 {} .manTd3 {} .manTdSep {} .manHr {} .manTdBrief {} .manTdText {} .manTdFiles {} .manFlFile {} .manTdBut {} .manFlSbm {} .manFlRst {} .manFlCnt {} .manFlTitle {color: #000 !important;} /* ------------------ */ /* Comments Style */ .cAnswer, .cMessage {text-align: justify !important; } .cBlock1, .cBlock2 {padding: 5px; border-top: 1px solid #aaa; border-radius: 0 0 5px 5px; } .cBlock1 {background: #dfdfdf;} .cBlock2 {background: #dfdfdf; } /* -------------- */ /* Comments Form Style */ .commTable {} .commTd1 {} .commTd2 {} .commFl {color: #000 !important;} .smiles {} .commReg {} .commError {} .securityCode {color: #000 !important;} /* ------------------- */ /* 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 {width: 100%;} .calTable td {} .calMonth {} .calWday ,.calWdaySe, .calWdaySu {text-transform: uppercase;} .calWday {} .calWdaySe {font-weight: bold;} .calWdaySu {font-weight: bold;} .calMday {} .calMdayA {background: #333; color: #fff; border-radius: 5px;-moz-border-radius: 5px;} .calMdayA a {color: #fff !important;} .calMdayIs {} .calMdayIsA {background: #333; color: #fff; border-radius: 5px;-moz-border-radius: 5px;} .calMdayIsA a {color: #fff !important;} a.calMonthLink:link,a.calMdayLink:link {font-weight: bold;} a.calMonthLink:hover,a.calMdayLink:hover {} /* -------------- */ /*--------------------- Footer start ---------------------*/ #footer {margin-top: 15px; height: 95px; background: #000; background-size: 100%; border: 2px solid #aaa; border-radius: 5px 5px 0px 0px;} #footer-left {float: left; margin-left: 42px; width: 600px; height: 95px; color: #fff; text-align: left;} #footer-right {float: right;margin: 53px 20px 0px 0px;font: 12px 'Arial'; color: #fff;text-align: right;} #footer-right a {font: 12px 'Arial'; color: #fff;width:100%;} #copyright {color: #fff; font-size: 9pt;} #powered-by {} #powered-by a {} #powered-by img {vertical-align: middle !important;margin-top: 2px;} /*--------------------- Footer end ---------------------*/ /* Poll styles */ .pollBut {} .pollBody {} .textResults {} .textResultsTd {} .pollNow {} .pollNowTd {} .totalVotesTable {} .totalVotesTd {} /* ---------- */ /* User Group Marks */ a[class^="group"]:link,a[class^="group"]:visited,.userBirthdayLink:link,.userBirthdayLink:visited{font-size:13px;padding:3px 4px;line-height:22px;border-radius:4px;text-decoration:none!important;} a[class^="group"]:hover,.userBirthdayLink:hover{text-decoration:none!important;box-shadow:0 1px 3px rgba(0,0,0,.3);} .forumOnlineBar a[class^="group"]:link,.forumOnlineBar a[class^="group"]:visited{line-height:normal;} a.groupUser:link, a.groupUser:visited,.userBirthdayLink:link,.userBirthdayLink:visited{color:#000!important;} a.groupUser:hover,.userBirthdayLink:hover{color:#11567a!important;background:#ebf2f2;} a.groupModer:link,a.groupModer:visited,a.groupFriends:link,a.groupFriends:visited{color: #0000FF !important;}a.groupModer:hover,a.groupFriends:hover{color:#fff!important;background: #0000FF;}/*Модераторы*/ a.groupVerify:link,a.groupVerify:visited {color: purple!important;} a.groupVerify:hover {color:#fff!important;background: purple;}/*Дизайнеры*/ a.groupAdmin:link,a.groupAdmin:visited {color:#ff2400!important;} a.groupAdmin:hover {color:#fff!important;background: #ff2400; }/*Админ*/ a.groupBanned:link,a.groupBanned:visited {color:#303030!important;} a.groupBanned:hover {color:#fff!important;background:#303030;text-decoration: line-through;}/*Забаненные*/ a.groupOther1:link,a.groupOther1:visited {color: #FF8C00!important;} a.groupOther1:hover {color:#fff!important;background: #FF8C00;}/*Vip*/ a.groupOther2:link,a.groupOther2:visited {color: #00C5CD!important;} a.groupOther2:hover {color:#fff!important;background: #00C5CD;}/*Журналисты*/ /* ---------------- */ /* Other Styles */ .replaceTable {} .legendTd {color: #fff !important; padding: 1px;} .codeMessage, .quoteMessage {padding: 5px;} .bbcodeBlock, .bbquoteBlock {margin: 5px;} /* ------------ */ /*Pages switches*/ .catPages1, .catPages2 {margin: 5px 0px;} .swchItemA span, .swchItem span, .swchItemA1 span, .swchItem1 span {padding: 2px;} /*--------------*/ /* ===== forum Start ===== */ /* General forum Table View */ .forumContent {margin-top: 25px;position: relative;} .forumContent a {text-decoration: none;} .forumContent a:hover {text-decoration: underline;} .forumcontent td {font: 12px 'Arial'; color: #000;} a.fNavLink {font: 12px 'Arial';color: #000;text-decoration: none;padding: 3px 6px;} a.fNavLink:hover {color: #000; } .gTable {background: #aaa !important; border: 1px solid #aaa; border-radius: 5px 5px 0px 0px;} .gTable td {background: #f5f5f5 ; padding: 10px 10px 20px 10px; } td.gTableTop {font: bold 13px/30px 'Arial';color: #fff;padding: 0px 10px;background: #000; border-radius: 5px 5px 0px 0px;} td.gTableTop a {font: bold 13px/30px 'Arial'; color: #fff;} td.gTableSubTop {background: #cfcfcf;font: bold 11px 'Arial';color: #000;padding: 5px 10px;} td .postTdTop {} td.gTableSubTop a, td .postTdTop a {color: #000;} .gTableBody {} .gTableBody1 {} .gTableBottom {} .gTableLeft {} td.gTableRight {background: #fff;} .gTableError {} /* ------------------------ */ /* Forums Styles */ .forumNameTd,.forumLastPostTd {} td.forumIcoTd {} td.forumThreadTd,td.forumPostTd {background: #fff;} .forumLastPostTd,.forumArchive {} a.catLink:link {} a.catLink:visited {} a.catLink:hover {} a.catLink:active {} .lastPostGuest,.lastPostUser,.threadAuthor {} .archivedForum{} /* ------------- */ /* forum Titles & other */ .forum {font: 13px 'Arial'; color: #000 !important;} .forumDescr,.forumModer {font: 11px 'Arial'; color: #000;} .forumViewed {font-size: 11px;} a.forum:link, a.lastPostUserLink:link, a.forumLastPostLink:link, a.threadAuthorLink:link {color: #000;} a.forum:visited, a.lastPostUserLink:visited, a.forumLastPostLink:visited, a.threadAuthorLink:visited {color: #000;} a.forum:hover, a.lastPostUserLink:hover, a.forumLastPostLink:hover, a.threadAuthorLink:hover {color: #000;} a.forum:active, a.lastPostUserLink:active, a.forumLastPostLink:active, a.threadAuthorLink:active {color: #000;} /* -------------------- */ /* forum Navigation Bar */ .forumNamesBar {color: #fff !important;} .forumNamesBar a {color: #fff !important;} .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 {background: #efefef; padding: 4px; border-radius: 4px !important; font-weight: bold !important; margin-top:5px !important; } .pagesInfo {} .switch {} .switchActive {font-weight: bold !important; background: #cfcfcf; } 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 {padding: 10px !important;} .threadAuthTd,.threadLastPostTd {padding: 10px !important;} td.threadIcoTd,td.threadPostTd,td.threadViewTd {background: #fff; padding: 10px !important;} .threadLastPostTd {padding: 10px !important;} .threadDescr {font: 11px 'Arial'; color: #000;} .threadNoticeLink {} .threadsType {font-weight: bold !important; padding: 10px !important;} .threadsDetails {padding: 10px !important;} .forumOnlineBar {padding: 12px 0px 12px 10px !important;} a.threadPinnedLink:link {} a.threadPinnedLink:visited {} a.threadPinnedLink:hover {} a.threadPinnedLink:active {} a.threadLink:link {font: 12px 'Arial';color: #000;} a.threadLink:visited {font: 12px 'Arial';color: #000;} a.threadLink:hover {font: 12px 'Arial';color: #000;} a.threadLink:active {font: 12px 'Arial';color: #000;} .postpSwithces {} .thDescr {} .threadFrmBlock {} /* ------------------- */ /* forum Posts View */ .postTable {width: 100% !important; background: #aaa; } .postTable td {} .postPoll {} .postPoll td {border: 0px !important;} .postFirst {} .postRest1 {} .postRest2 {} .postSeparator {display: none;} .postTdTop {background: #e6e6e6 !important; padding: 10px 10px !important;} .postBottom {font-size: 10px !important;} .postBottom td {border: 0px;padding: 0px 5px !important;} .postBottom img, .postBottom input {vertical-align: middle;} .postUser {font-size: 12px; font-weight: bold;} .postTdInfo {text-align: center; background: #f5f5f5 !important; } .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 {color: #228B22;} .statusOffline {color: #cd0000;} /* ------------------ */ /* forum AllInOne Fast Add */ .newThreadBlock {} .newPollBlock {} .newThreadItem {} .newPollItem {} /* ----------------------- */ /* forum Post Form */ .pollBut, .loginButton, .searchSbmFl, .commSbmFl, .signButton {} .codeButtons {color: #000;} .codeCloseAll {} .postNameFl,.postDescrFl {color: #000 !important;} .postPollFl,.postQuestionFl {color: #000 !important;} .postResultFl {color: #000 !important;} .postAnswerFl {color: #000 !important;} .postTextFl {color: #000 !important;} .postUserFl {} .pollHelp {} .smilesPart td {border: 0px !important;} /* ----------------- */ .funcLink {font: bold 11px 'Arial';color: #fff;} /* ====== forum End ====== */ /*--------------------- INPUTS start ---------------------*/ input[type=submit], input[type=reset], input[type=button] {font-size: 11px;background: #DCDCDC; color: #131313; cursor: pointer; padding: 4px; font-weight: bold; border: 2px solid #aaa;} input[type=submit]:hover, input[type=reset]:hover, input[type=button]:hover {background: #B5B5B5; color: #000; padding: 4px; font-weight: bold;} input[type=submit]:active, input[type=reset]:active, input[type=button]:active {} input[type=text], input[type=password], textarea, select {background: #fff; border: 1px solid #abadb3;font: 12px 'Arial'; color: #000;padding: 5px;} #mchatBtn, input.codeButtons, input.button {padding-left: 0px;padding-right: 0px;} .queryField {width: auto !important;} .commFl {width: 100%; } /*--------------------- INPUTS end ---------------------*/ /*--------------------- POPUP start ---------------------*/ .popup {margin: 10px;padding: 1px;background: #F5F5F5; text-align: left; border: 1px solid #aaa; border-radius: 5px 5px 0px 0px;} .popup a {color: #000;} .popuptitle {font: bold 13px/30px 'Arial'; color: #fff; background: #000;padding: 0px 10px; border-radius: 5px 5px 0px 0px;} .popupbody {font-size: 12px;font-family: 'Arial';padding: 8px 10px;} /*--------------------- POPUP end ---------------------*/ /* -------- Выделение категории на форуме --------- */ td.forumLastPostTd, td.forumIcoTd, td.threadIcoTd, td.forumPostTd, td.forumNameTd, td.threadNametd, td.threadPostTd, td.threadViewTd, td.threadAuthTd, td.forumThreadTd, td.threadLastPostTd {background: #E8E8E8;} table.gTable tr:hover td.forumLastPostTd, table.gTable tr:hover td.forumIcoTd, table.gTable tr:hover td.threadIcoTd, table.gTable tr:hover td.forumNameTd, table.gTable tr:hover td.threadNametd, table.gTable tr:hover td.forumPostTd, table.gTable tr:hover td.threadPostTd, table.gTable tr:hover td.threadViewTd, table.gTable tr:hover td.threadAuthTd, table.gTable tr:hover td.forumThreadTd, table.gTable tr:hover td.threadLastPostTd, table.gTable tr:hover td.forumLastPostTd { background: #F5F5F5;} /* -------- \Выделение категории на форуме --------- */ /*Дополнительные стили на форуме*/ .forum_nav a:link,.forum_nav a:visited{color:#000;font-size:13px;padding:4px 10px;} .forum_nav a:hover{background:#000; color: #fff;} .userRights {color: #fff !important; padding: 1px;} .forumMemNum {color: #fff !important; padding: 8px !important;} .forumMemSwch {color: #fff !important; padding: 8px !important;} .uTable {background: #fff; border: 3px solid #aaa; padding: 5px;} .fFastSearchTd {color: #fff !important;} /*Конец.Дополнительные стили на форуме*/ /*Личные сообщения*/ .ls_new {padding:6px; background:#f5f5f5; border:1px solid #aaa; margin-bottom:2px;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px; overflow-y:auto;} .ls_new:hover {background:#fff; } .ls_new a {text-decoration:none;} .his_text {background:#fff; border:1px solid #aaa;border-bottom:none; padding:5px;min-height:49px;} .his_text img {float:left;margin-right: 8px; background: #f5f5f5; padding: 3px; border: 1px solid #aaa; border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;} /*Конец.Личные сообщения*/ .important {background:#F8F8FF;border:1px solid #aaa; font-weight: bold;font-size:10px;color:#000;width:50px;border-radius: 5px; padding: 0px 0px 1px 0px;} /* Полезный материал ------------------------------------------*/ #rating_os {float:right; font: 11px Arial; color:#fff; padding: 4px; } #rating_os a:link, #rating_os a:visited, #rating_os a:hover {text-decoration:none; color:#fff;} #rating_l, #rating_p {float:left; background: #090909; padding: 4px; margin: 0px 3px 0px 3px; border: 1px solid #000; border-radius: 4px; } #rating_p {font-weight: bold;} #rating_l:hover {background: #F8F8FF; color: #000; } /* ---------------------------------------*/ .pa{position:absolute;} .pr{position:relative;} .c{text-align:center;} .nav_bar{background: #1C1C1C;padding:0 20px;border-top:0;width:483px;left:-241px;border-radius: 0px 0px 5px 5px;} .nav_bar_link:link,.nav_bar_link:visited{display:block;padding:17px 10px;color:#eaeaea;font-size:12px;} .nav_bar_link:hover{background:#000!important;color:#fff!important;} #nav_menu td{font-size:12px;} #nav_menu a:link,#nav_menu a:visited{display:block;padding:4px 8px;color:#f0f0f0;} #nav_menu a:hover{color:#fff;background:#000;} .fastLink {display:none;} .postip {font-size: 8pt;}