• Страница 2 из 2
  • «
  • 1
  • 2
Модератор форума: likbezz  
Скрипты и коды для юкоз - Форум аццкого кодера » Вопросы по верстке, дизайну, управлению и настройки модулей СMS от uCoz » Форум » При добавлении кода или цитаты диз уходит за края форума (Косяк - блоки кода или цитаты уходит за края форума)
При добавлении кода или цитаты диз уходит за края форума
Дата: Воскресенье, 08.12.2013, 08:34 |
Augenius
Рядовой
Группа: Проверенные
Сообщений: 11
Награды: 0
Репутация: 0
Статус: Offline


Цитата likbezz, Вс, 08.12.2013, 08:10:38
Доброе утро.
По центру что ли?
Пропишите в стили:

Доброе утро!

непомогло, вот мой ксс без ваших дополнений.

Код

/*--------------------- General styles start ---------------------*/
body {margin: 0px;font: 12px 'Tahoma', 'Arial';color: #676767;text-align: center; background: #efefef;}
td, input {font: 12px 'Tahoma', 'Arial';}
body a {color: #676767;text-decoration: underline;}
body a:hover {text-decoration: none;}
* {padding: 0; margin: 0;}
img {border: 0px;}
a.noun img {margin: 2px;}
.clear {clear: both;}
h1, h2, h3, h4, h5, h6 {}
hr {border: 0px; height: 1px; background: #d6d6d6;}
*:focus {outline: none;}
#uidLogButton {display:none;}  
#baseLogForm {display: block !important;}
/*--------------------- General styles end ---------------------*/

#wrap {background: #000;}
#container {width: 976px; margin: auto; text-align: left;}
/*--------------------- TOP start ---------------------*/
#top {height: 35px; background: #323232; padding: 5px; border-radius: 0 0 9px 9px; -moz-border-radius: 0 0 9px 9px;}

/* Форма поиска синяя кнопка  
------------------------------------------*/  
.poick_os { float:right; padding:4px; margin-top: 2px;}  
.poick_os input { float:left; vertical-align:middle; font:11px Verdana,Arial,Helvetica,sans-serif; margin: 2px;}  
.poick_pole { color:#555; width:180px; height:24px; border:none; padding:6px 4px; }  

/* Топ пользователей
------------------------------------------*/  
.topbg {background: #cbcbcb; border: 1px solid #b6b6b6; margin-bottom: 3px; padding: 2px; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px;}
.topbg a {color: #000000;}
.topava { width: 60px; height: 60px; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px;}
.toptext {font-size: 11px; padding-left: 3px; color: #000000;}

.gormenu {text-align: center;}
.gormenu ul {padding: 0px; margin-top: 11px;}
.gormenu ul li {display: inline;}
.gormenu ul li a {text-decoration:none; margin-right: 25px; padding: 8px; text-shadow: 0 2px 0 #000000; font-weight: bold; text-transform:uppercase; font-size: 12px;}
.gormenu ul li a:link {color:#29c4fe;}
.gormenu li a:visited {color:#29c4fe;}
.gormenu li a:hover {color:#FFFFFF; text-shadow: 1px 1px 0 #111111; background:#2aa0cc; padding: 8px; -moz-border-radius: 9px; -webkit-border-radius: 9px; border-radius: 9px;}
.gormenu ul li a#nowopen {color:#FFFFFF; text-shadow: 1px 1px 0 #111111; background:#2aa0cc; padding: 8px; -moz-border-radius: 9px; -webkit-border-radius: 9px; border-radius: 9px;}
#header {background: url('/images/head.jpg') no-repeat; width: 976px; height: 270px; margin: 10px auto;}
#profil {float: right; width: 185px; background: #d7d7d7; padding: 8px; -moz-border-radius: 9px; -webkit-border-radius: 9px; border-radius: 9px;}
.textpr {text-align: center; color: #000; }
.linkprof li {background: #cbcbcb; padding: 6px 0 9px 7px; list-style-type:none; border: 1px solid #b6b6b6; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px;}
.linkprof ul li a {color: #000000; text-decoration: none;}
.linkprof li:hover {background: #c0c0c0;}
.linkprof li {margin: 2px 0; }
/*--------------------- TOP end ---------------------*/

/*---------CONTENT-start-----------*/
#content {background: #d7d7d7;padding: 5px; border-radius: 9px; -moz-border-radius: 9px;}
#content-inside {width: 966px;}
#maincol {float: left; width: 530px; padding: 6px 0;}
#sideleft {float: left;width: 217px;}
#sideright {float: right;width: 217px;}
.menu li {background: url('/images/menu.jpg'); padding: 6px 0 9px 7px; list-style-type:none;}
.menu ul li a {color: #e5ffb9; text-decoration: none;}
.menu li:hover {background: url('/images/menuhover.jpg');}
.menu li {margin: 1px 0; }

.menu1 li {background: url('/images/menu1.jpg'); padding: 6px 0 9px 7px; list-style-type:none;}
.menu1 ul li a {color: #d1f2fe; text-decoration: none;}
.menu1 li:hover {background: url('/images/menu1hover.jpg');}
.menu1 li {margin: 1px 0; }
/*---------CONTENT-end---------*/

.block {border: 1px solid #7cceec; border-radius: 9px; -moz-border-radius: 9px; background: #d1f2fe; margin: 5px; padding: 3px;}
.block-title {background: url('/images/ttbl.png'); text-align: center; color: #d1f2fe; text-transform:uppercase; padding: 9px 0 10px 0;}

.block1 {border: 1px solid #aad563; border-radius: 9px; -moz-border-radius: 9px; background: #e5ffb9; margin: 5px; padding: 3px;}
.block-title1 {background: url('/images/ttbl1.png'); text-align: center; color: #e5ffb9; text-transform:uppercase; padding: 9px 0 10px 0;}
.block-content {padding: 6px;}

.infiniteCarousel {position:relative ; height: 145px; width: 960px;}  
  .infiniteCarousel .wrapper {overflow:auto; min-height:10em; margin: 0 35px; top:0 ; }  
  .infiniteCarousel .wrapper ul {width:9999px; list-style-image:none; list-style-position:outside; list-style-type:none; margin:0; padding:0; top:0 ; }  
  .infiniteCarousel ul li {display:block; float:left;}  
  .infiniteCarousel ul li img {display:block; width: 110px; height: 145px; margin: 8px;}  
  .infiniteCarousel .arrow {display:block; height:36px; width:37px; background:url('/images/arrow.jpg') no-repeat 0 0; text-indent:-999px; cursor:pointer; top:60px; position:absolute ; }  
  .infiniteCarousel .forward {background-position:0 0; right:3px ; }  
  .infiniteCarousel .back {background-position:0 -72px; left:3px ; }  
  .infiniteCarousel .forward:hover {background-position:0 -36px ; }  
  .infiniteCarousel .back:hover {background-position:0 -108px ; }

/*--------------------- Footer start ---------------------*/
#footer {background: #323232; color: #FFFFFF; height:38px; padding: 8px; border-radius: 9px; -moz-border-radius: 9px; margin-top: 5px;}
#copyright {float: left; margin-left: 2px;}
#powered-by {float: right; margin-right: 2px;}
#powered-by img {margin-top: 4px;}
/*--------------------- Footer end ---------------------*/

/* Entries Style */
.eBlock {background: #FFFFFF; margin-bottom: 4px; border-radius: 9px; -moz-border-radius: 9px; border: 1px solid #b179bf;}
.eTitle {box-shadow: 0px -1px 0px #7e2993;background: #dc143c; color: #f0b3ff;padding: 8px 0 8px 15px; text-transform: uppercase; border-radius: 9px; -moz-border-radius: 9px; border: 1px solid #a8a8a8;}
.eTitle a {color: #f0b3ff}
.eTitle a:hover {text-decoration: none;}
.eMessage, .eText {padding: 10px; text-align: left;color: #646464;font: 12px/17px 'Tahoma';}
.eDetails, .eDetails1, .eDetails2 {border-bottom: 1px dashed #dddddd; color: #9d9d9d; padding: 5px 0 5px 10px; font-size: 11px;}
.eDetails a, .eDetails1 a, .eDetails2 a {color: #9d9d9d; text-decoration: underline;}
.eDetails a:hover, .eDetails1 a:hover, .eDetails2 a:hover {color: #9d9d9d; text-decoration: none;}
/* ------------- */

/* Comments Style */
.cMessage, .cAnswer {text-align: left;}
.cBlock1, .cBlock2 { margin: 10px !important;padding: 5px !important;border-radius: 5px; -moz-border-radius: 5px;-moz-box-shadow: 0 1px 2px #5D5D5D;box-shadow: 0 1px 2px #5D5D5D;
background: #f6f6f6;/*border-width: 1px; border-style: solid; border-color: #f6f6f6 #cacaca #838383 #cacaca;*/}
#maincol .cBlock1, #maincol .cBlock2 {border-top-color: #cacaca; margin: 0px !important;}
/* -------------- */

/* 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;}
/* ---------------- */

/*-------page-switches-------*/
.swchItemA, .swchItem, .swchItemA1, .swchItem1 {display: inline-block;color: #908b8b; background: url(/.s/t/785/31.gif) repeat-x;padding: 5px 7px;text-decoration: none;
border-width: 1px; border-style: solid; border-color: #dddddd #c6c6c6 #c6c6c6 #c6c6c6;
border-radius: 6px; -moz-border-radius: 6px;
}
.swchItem:hover, .swchItem1:hover {background-position: 0px -29px;text-decoration: none;}
.catPages1, .catPages2 {padding: 10px 0;}
/*---------------------------*/

/* Other Styles */
.codeMessage, .quoteMessage {padding: 5px !important;}
.codeMessage {font-family: monospace;}
/* ------------ */

/*--------------------- INPUTS start ---------------------*/
input[type=submit],input[type=reset], input[type=button] {background: url(/.s/t/785/31.gif) repeat-x;
font: 12px 'Tahoma';color: #686868;border-width: 1px; border-style: solid; border-color: #dddddd #c6c6c6 #c6c6c6 #c6c6c6;
border-radius: 5px; -moz-border-radius: 5px;cursor: pointer; padding: 4px 5px;
}
input[type=submit]:hover, input[type=reset]:hover, input[type=button]:hover {background-position: 0px -29px;}
input[type=submit]:active, input[type=reset]:active, input[type=button]:active {}
input[type=text], input[type=password], textarea, iframe#mchatIfm2 {
background: #f4f4f4 url(/.s/t/785/33.gif) repeat-x;font: 12px 'Tahoma'; color:#686868;padding: 5px 8px;
border-width: 1px; border-style: solid; border-color: #acacac #d0d0d0 #e9e9e9 #d0d0d0;border-radius: 8px;-moz-border-radius: 8px;
-moz-box-shadow: inset 0px 1px 0px #cdcdcd; box-shadow: inset 0px 1px 0px #cdcdcd;
}
select {background: #f5f5f5;color: #686868;padding: 3px 0px;border: 1px solid #ccc;font: 12px 'Tahoma';}
iframe#mchatIfm2 {padding: 0px;}
#mchatBtn, input.codeButtons, input.button {padding-left: 0px;padding-right: 0px;}
input, select {vertical-align: middle;}
.queryField {width: auto !important;}
.commFl {width: 100%;}
input[type=radio] {vertical-align: middle;}
/*--------------------- INPUTS end ---------------------*/

/*--------------------- POPUP start ---------------------*/
.popup {margin: 8px;}
.popuptitle {background: url(/.s/t/785/32.gif);border: 1px solid #5e5b59;font: 14px/30px 'Tahoma';color: #ffffff;text-shadow: 0px 1px 0px #2b2b2b;text-transform: uppercase;}
.popupbody {padding: 8px;border: 1px solid #ccc;}
/*--------------------- POPUP end ---------------------*/

/* ===== forum Start ===== */

/* General forum Table View */
.gTable {background:#CCCCCC;}
.gTableTop {padding:2px;background:#000;padding-left:20px;padding-bottom:1px;color:#FFFFFF;font-weight:bold; height:28px;font-size:10pt; }
.gTableSubTop {padding:2px;background:#d4d4d4;color:#000000;height:20px;font-size:10px;}
.gTableBody {padding:2px;background:#FAFAFA;}
.gTableBody1 {padding:2px;background:#FFFFFF;}
.gTableBottom {padding:2px;background:#FAFAFA;}
.gTableLeft {padding:2px;background:#F2F2F2;font-weight:bold;color:#6E6E6E}
.gTableRight {padding:2px;background:#F8F9FA}
.gTableError {padding:2px;background:#FAFAFA;color:#FF0000;}
/* ------------------------ */

/* Forums Styles */
.forumNameTd,.forumLastPostTd {padding:2px;background:#FFFFFF}
.forumIcoTd,.forumThreadTd,.forumPostTd {padding:2px;background:#F2F2F2}
.forumLastPostTd,.forumArchive {padding:2px;font-size:7pt;}

a.catLink:link {text-decoration:none; color:#FFFFFF;}
a.catLink:visited {text-decoration:none; color:#FFFFFF;}
a.catLink:hover {text-decoration:underline; color:#000000;}
a.catLink:active {text-decoration:underline; color:#FFFFFF;}

.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:#6E6E6E;}
a.forum:visited, a.lastPostUserLink:visited, a.forumLastPostLink:visited, a.threadAuthorLink:visited {text-decoration:none; color:#6E6E6E;}
a.forum:hover, a.lastPostUserLink:hover, a.forumLastPostLink:hover, a.threadAuthorLink:hover {text-decoration:underline; color:#909090;}
a.forum:active, a.lastPostUserLink:active, a.forumLastPostLink:active, a.threadAuthorLink:active {text-decoration:underline; color:#6E6E6E;}
/* -------------------- */

/* 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:#6E6E6E;}
a.forumBarA:active {text-decoration:underline; color:#6E6E6E;}
/* -------------------- */

/* forum Fast Navigation Blocks */
.fastNav,.fastSearch,.fastLoginForm {font-size:7pt;}
/* ---------------------------- */

/* forum Fast Navigation Menu */
.fastNavMain {background:#DADADA;}
.fastNavCat {background:#EFEFEF;}
.fastNavCatA {background:#EFEFEF;color:#0000FF}
.fastNavForumA {color:#0000FF}
/* -------------------------- */

/* forum Page switches */
.switches {background:#CCCCCC;}
.pagesInfo {background:#FFFFFF;padding-right:10px;font-size:7pt;}
.switch {background:#FFFFFF;width:15px;font-size:7pt;}
.switchActive {background:#E0E0E0;font-weight:bold;color:#6E6E6E;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:#F2F2F2}
.threadLastPostTd {padding:2px;font-size:7pt;}
.threadDescr {color:#858585;font-size:7pt;}
.threadNoticeLink {font-weight:bold;}
.threadsType {padding:2px;background:#AAAAAAheight:20px;font-weight:bold;font-size:7pt;color:#FFFFFF;padding-left:40px; }
.threadsDetails {padding:2px;background:#AAAAAAheight:20px;color:#6E6E6E;}
.forumOnlineBar {padding:2px;background:#AAAAAAheight:20px;color:#6E6E6E;}

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:#6E6E6E;}
a.threadLink:visited {text-decoration:none; color:#6E6E6E;}
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:#F1F2F3;text-align:center;}
.postFirst {background:#F8F9FA;border-bottom:3px solid #787878;}
.postRest1 {background:#F1F2F3;}
.postRest2 {background:#F8F9FA;}
.postSeparator {height:3px;background:#000000;}

.postTdTop {background:#d4d4d4;}
.postBottom {background:#E0E0E0;height:20px}
.postUser {font-weight:bold;}
.postTdInfo {text-align:center;padding:5px;background:#F2F2F2;}
.postRankName {margin-top:5px;}
.postRankIco {margin-bottom:5px;margin-bottom:5px;}
.reputation {margin-top:5px;}
.signatureHr {margin-top:20px;color:#787878;}
.posttdMessage {padding:5px;background:#FFFFFF;}

.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/813/11.gif') no-repeat 0px 4px;}
.newPollItem {padding: 0 0 0 8px; background: url('/.s/t/813/11.gif') no-repeat 0px 4px;}
/* ----------------------- */

/* forum Post Form */
input {background: #fff; border: 1px solid #bcbcbc;}
.codeButtons, .loginButton, .searchSbmFl, .pollBut, .commSbmFl {font-size:8pt;background:#000;color: #fff; border: none;}
.codeCloseAll {font-size:8pt; background:#000;color: #fff; border: none;}
.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 ====== */

@font-face {font-family:'EuropeExt-Bold-Italic';src: url('http://game-netbook.ru/zalivalka/Shrift/EuropeExt-Bold-Italic.otf');}
@font-face {font-family:'m_Ben_Krush';src: url('http://game-netbook.ru/zalivalka/Shrift/m_Ben_Krush.ttf');}


 
Дата: Воскресенье, 08.12.2013, 09:48 |
likbezz
Аццкий кодер
Группа: Администраторы
Сообщений: 9093
Награды: 23
Репутация: 459
Статус: Unknown


Augenius,
Цитата Augenius, Вс, 08.12.2013, 08:34:03
непомогло, вот мой ксс без ваших дополнений.

Тогда вот так:
Код
body.replaceBody,
body.replaceBody table,
body.replaceBody table td{text-align:center;vertical-align:middle;width:100%;}

--


 
Дата: Воскресенье, 08.12.2013, 13:10 |
Augenius
Рядовой
Группа: Проверенные
Сообщений: 11
Награды: 0
Репутация: 0
Статус: Offline


likbezz, Спасибо вам большое, помогло.

Сообщение отредактировал Augenius - Воскресенье, 08.12.2013, 13:11
 
Скрипты и коды для юкоз - Форум аццкого кодера » Вопросы по верстке, дизайну, управлению и настройки модулей СMS от uCoz » Форум » При добавлении кода или цитаты диз уходит за края форума (Косяк - блоки кода или цитаты уходит за края форума)
  • Страница 2 из 2
  • «
  • 1
  • 2
Поиск:


Мобильная версия