Если вам нравится SbUP Форум, вы можете поддержать его - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 и ещё....

 

Выравнивание описания новости

Автор tenzor, 13-02-2011, 11:26:33

« назад - далее »

tenzorTopic starter

Здраствуйте уважаемые форумчане, у меня возникла такая проблема, когда я пишу описание к своей новости, то оно у меня автоматически выравнивается по центру, хотя я никакие теги не ставлю, если описание взять в тег left то оно нормально выравнивается по левой стороне, а если не брать то всет текст по центру, как сделать чтобы автоматически текст выравнивался по центру? движок - dle
  •  


semester

Ну как бы поглядеть класс или идентификатор блока, куда вставляется описание. И добавить в этот класс
text-align:left или
float:left

В зависимости от ситуации.


zloberman

Немного объясню мысль armid  -

вам нужно в css файле вашего сайта исправить выравнивание текста данного блока \ функционала 

чтобы было проще понять, установите себе firefox + плагин к нему - firebug
далее по нажатию F12 у вас будет всплывать снизу рабочее окно плагина с расшифровкой html и css кода любого объекта , на который вы укажете на странице сайта.

Таким образом, вы сможете понять какой именно участок css вам необходимо менять.
Или сбросьте  сюда \ в личку адрес сайта, я кажу вам где что исправить
  •  

Rimmon

Интересный плагин, нужно попробовать поставить его:)

tenzorTopic starter

У меня в папке css содержаться такие файлы:  main.css, styles.css, engine.css, system.css

Я думаю что это не в engine.css, system.css,  а в main.css, или styles.css

Вот содержание main.css

[spoiler]/* Author: Rumin Sergey | Copyright: CENTROARTS.com | e-mail: sale@centroarts.com | URL: http://www.centroarts.com */



.logform, .lcol, .rcol {list-style-type: none;}
.related li {list-style-type: none;}


/*base*/
.base { margin-bottom: 20px; width: 100%; }
.fullstory { margin-bottom: 0; }
.hsep { clear: both; width: 100%; height: 20px; font-size: 1px; background: url("../images/hsep.png") repeat-x; }

.heading { margin: 0 0 0.2em 0; line-height: normal; font-size: 1.6em; color: #388abe; padding: 0 22px; position: relative; }
   .heading img { position: absolute; left: -1px; top: 0; }

.headinfo { height: 28px; }
.headinfo .headinfo { overflow: hidden; padding: 5px 15px; font-size: 0.9em; }
.headinfo .arg { line-height: 21px; }
.headinfo .isicons { margin-top: 4px; }
.datebox, .datebox span { float: left; height: 20px; }
   .datebox { margin-right: 6px; font-size: 0.9em; line-height: 19px; padding-left: 10px; background: #edf0f2 url("../images/datebox.png") no-repeat 0 0; }
   .datebox span { padding-right: 18px; background: url("../images/datebox.png") no-repeat 100% -20px; }

.maincont {
   margin: 0 15px 15px 15px;
   overflow: hidden;
}
.bmore,
.bmorein {
   height: 28px;
}
   .bmore {
      font-size: 1.0em;
      overflow: hidden;
      background: #f1f1eb url("../images/bmore.png") no-repeat 0 0;
      margin: 0 15px 8px 15px;
   }
   .bmorein {
      background: url("../images/bmore.png") no-repeat 100% -28px;
   }

   .bmore .arg {
      color: #575755;
      margin-right: 10px;
      line-height: 29px;
   }
   .bmore .arg span {
      margin-left: 10px;
   }
   .argmore a,
   .argcom a {
      text-align: center;
      float: right;
      width: 104px;
      line-height: 27px;
      height: 28px;
      color: #fff;
      background: #69a82f url("../images/argmore.png") no-repeat;
   }
   .argcom a {
      width: 151px;
      background: #8b9fb4 url("../images/comlink.png") no-repeat;
   }
    .argtwe {
         text-align: center;
         float: right;
         width: 90px;
         height: 20px;
         margin-top: 6px
      }
   .argmore a:hover,
   .argcom a:hover {
      background-position: 0 -28px;
      text-decoration: none;
   }
   .ratenum {
      color: #70ab3b;
      border-right: 1px solid #d5d5d1;
      float: left;
      font-size: 1.2em;
      line-height: 28px;
      height: 28px;
      padding: 6px 10px;
      margin-right: 10px;
      width: 85px;
   }


}
.isicons {
   float: right;
   width: 48px;
   text-align: right;
}
.isicons span {
   float: right;
   margin-left: 2px;
}

/*fullstory*/
.storenumber {
   padding: 0 15px;
   margin-bottom: 10px;
}
.brelated { overflow: hidden; background-color: #ffffff; border: 1px solid #fff; border-width: 0 1px; }
   .brelated h3 { padding: 0 10px; height: 25px; border-top: 1px solid #d7d7d7; font-size: 1.1em; color: #949494; }
   .brelated h3 b { background: #fff url("../images/relatehead.png") no-repeat 0 0; float: left; padding-left: 15px; width: 210px; height: 26px; line-height: 22px; margin-top: -1px; text-align: center; }
   .brelated ul { margin: 10px 13px; }
   .brelated a { text-decoration: none; color: #437b94; font-weight: bold; }
   .brelated a:hover { text-decoration: underline; }
   .brelated li {
      margin-left: 30px;
      padding-left: 11px;
   }
.tagstory {
   background: #f5f5f5 url("../images/tags.png") no-repeat 5px 7px ;
   padding: 5px 10px;
   padding-left: 35px;
   position: relative;
   height: 16px;
}

/*errors*/

.hinfo {
   padding: 0 16px 0 0;
   background: #f0f0f0 url("../images/hinfo_bg.png") repeat-x 0 0;
   font-size: 0.9em;
   overflow: hidden;
   margin-bottom: 15px;
}
   .hinfo div {
      background: url("../images/errors.png") no-repeat 8px 50%;
      padding: 10px 20px 10px 40px;
   }
   .hinfo div div {
      background: url("../images/info.png") no-repeat 100% 19px;
      padding: 10px;
   }

/*comments*/
.wmcomments {
   background-color: #f5f5f5;
   border-top: 2px solid #7ca900;
   border-bottom: 2px solid #7ca900;
   margin-bottom: 10px;
}
.commentar {
   padding: 0 7px 0 104px;
   overflow: hidden;
}
   .commentar .lcolomn {
      width: 98px;
      margin: 0 0 0 -104px;
      padding: 6px 0 0 6px;
   }

   .commentar .lcolomn img {
      width: 85px;
      margin: 0 0 6px 0;
   }
   .commentar .rcolomn {
      width: 100%;
      padding-top: 6px;
   }
   .comhead, .cominfo {
      font-size: 0.9em;
      color: #8f9294;
      display: block;
   }
   .fast {
      float: right;
      margin-top: 5px;
   }
   .comhead a {
      color: #8f9294;
   }
   .nickname {
      display: inline;
      font-size: 1.3em;
      padding-right: 7px;
   }
   .nickname a,
   .nickname {
      color: #7ca900;
   }
   .maincont {
      padding-top: 8px;
   }
   .cominfo {
      margin: 0 0 0.4em 0;
   }

/*pager*/
.midblock {
   margin: 15px 0;
}
.basenavi {
   padding: 0 0 0 13px;
   width: 625px;
   height: 25px;
}
   .navigation a,
   .navigation span {
      text-decoration: none;
      margin-right: 2px;
      color: #36393a;
      overflow: hidden;
      text-align: center;
      line-height: 25px;
      float: left;
      width: 25px;
      height: 25px;
      background: #d7d7d7 url("../images/navigation.png") no-repeat -25px 0;
   }
   .navigation span {
      color: #fff;
      background: #54a9cc url("../images/navigation.png") no-repeat 0 0;
   }
   .navigation a:hover {
      color: #44a3c8;
      background: #ffffff url("../images/navigation.png") no-repeat -50px 0;
   }
   .navigation {
      float: left;
      font-weight: bold;
   }

   .navibtn, .navibtn .nprev, .navibtn .nnext {
      float: right;
   }
   .nprev a img,
   .nnext a img,
   .nprev span img,
   .nnext span img {
      display: block;
      width: 25px;
      height: 25px;
      margin-left: 2px;
   }
   .nprev a img {
      background: #93979e url("../images/navigation.png") no-repeat -125px 0;
   }
   .nprev span img {
      background: #b5b9bf url("../images/navigation.png") no-repeat -75px 0;
   }
   .nnext a img {
      background: #93979e url("../images/navigation.png") no-repeat -150px 0;
   }
   .nnext span img {
      background: #b5b9bf url("../images/navigation.png") no-repeat -100px 0;
   }
   
/*forms*/
.tableform {
   width: 610px;
   margin: 10px 20px;
}
   .tableform td {
      padding: 8px 0;
      line-height: 1.35em;
   }
   .tableform td.label {
      width: 22%;
      font-size: 0.9em;
      vertical-align: top;
      font-weight: bold;
   }
   .tableform tr {
      background: url("../images/line.gif") repeat-x 0 0;
   }
   .tableform tr.flast td {
      padding-bottom: 0;
   }
   .tableform .nostylebb tr {
      background: none;
   }
   .tableform .nostylebb tr td {
      padding: 0;
   }
   .addnews {
      font-weight: bold;
   }
   .impot {
      color: #e5372f; font-weight: normal;
   }

.f_input {
   width: 300px;
}
.f_textarea {
   width: 458px;
   height: 156px;
}
.fbutton {
   border: 0 none;
   cursor: pointer;
   font-weight: bold;
   background: #4793c5 url("../images/fbutton.png") no-repeat 0 0;
   width: 111px;
   height: 29px;
   color: #fff;
   padding-bottom: 3px;
}
   .fbutton:hover {
      background-position: 0 -29px;
   }
   
/*userinfo*/
.usercolomn { overflow: hidden; padding: 0 0 0 115px; margin-bottom: 9px; }
   .usercolomn .lcolomn { width: 115px; margin: 0 0 0 -115px; }
   .usercolomn .rcolomn { width: 100%; }
   .usercolomn .lcolomn img { width: 100px; border: 1px solid #d6d6d6; }
   .userinfo h2 { font-size: 18px; color: #828282; font-weight: normal; }
   .userinfo .uirow, .userinfo .uirow2 { padding: 10px 0;  }
   .userinfo .uirow { padding-top: 0; }
   .userinfo .uirow2 { background: url("../images/line.gif") repeat-x 0 0; }
   .userinfo .colomn { float: left; }

   .boxlinks { font-size: 0.9em; padding: 10px; border: 1px solid #f5f5f5; background-color: #fefefe; margin-bottom: 3px; }
   
/*statistics*/
.statistics { margin: 0 auto; }
   .statinn { text-align: left; }
   .statistics ul { margin-bottom: 15px; }
   .statistics ul li { position: relative; background: url("../images/line.gif") repeat-x 0 100%; padding: 4px 0; }
   .statistics ul li b { position: absolute; right: 0; }
   
/*speedbar*/
.hss {
   height: 48px;
   background: #fff url("../images/hm_bg.png") repeat-x;
   margin: 4px 0 15px 0
}
.speedbar { height: 24px; padding-left: 28px; font-size: 0.9em; background: url("../images/spb.png") no-repeat 4px 4px; line-height: 23px;}
.sort { height: 24px; padding-left: 28px; font-size: 0.9em; background: url("../images/sort.png") no-repeat 4px 8px;; line-height: 23px; }[/spoiler]

Содержание styles.css

[spoiler]/* Author: Rumin Sergey | Copyright: CENTROARTS.com | e-mail: sale@centroarts.com | URL: http://www.centroarts.com */
html, body, div, ul, ol, li, dl, dt, dd, h1, h2, h3, h4, h5, h6, pre, form, p, blockquote, fieldset { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, pre, code, address, caption, cite, code, table, font { font-size: 1em; font-style: normal; font-weight: normal; }
h1, h2, h3, h4, h5, body { font-family: Arial, "Trebuchet MS", Helvetica, sans-serif; }
h1, h2, h3, h4, h5 { line-height: 1.2em; font-weight: bold; }
h1 { font-size: 1.8em; font-weight: normal; } h2 { font-size: 1.25em; } h3 { font-size: 1.5em; font-weight: normal; } h4 { font-size: 1.2em; } h5 { font-size: 1.0em; }
a { color: #4599af; text-decoration: none; outline: none; }
a:hover { text-decoration: underline; }
input, textarea, select { font-size: 1em; font-family: Arial, "Trebuchet MS", Helvetica, sans-serif; outline: none; }
body { color: #000; background-color: #FFFFFF; font-size: 0.70em; font-style: normal; font-weight: normal; line-height: 1.4em; }
.pagebg { text-align: center; background: #000 url("../images/crysisbg.jpg") no-repeat 50% 0; }
p { padding: 0; margin: 0; margin-bottom: 0.4em; }
.clr { clear: both; }
a img  { border: 0 none; }
.parag { text-indent: 30px; }
.small { font-size: 0.9em; color: #717170; }
hr { border: 0 none; border-top: 1px solid #cfcfcf; height: 1px; }
ul { margin: 0; padding-left: 16px; list-style-position:outside; list-style-image:none; }
ul li, #header h1 { margin: 0; padding: 0; }
ol { list-style-image: none; list-style-position: outside; list-style-type: decimal; margin-left: 2.2em; }
table { border-collapse: collapse; border-spacing: 0; }
.reset, .reset li, #pager ul, #pager ul li { margin: 0; padding: 0; list-style: none; }
.wrapper { width: 980px; text-align: left; margin: 17px auto; }

/*HEAD*/
.lcolomn { float: left; display: inline; }
.rcolomn { float: right; display: inline; }
.rcolomn2 { float: left; display: inline; }
.blue { color: #3291aa; }
.green { color: #509503; }

.toppanel { background-color: #efefef; height: 34px; border-bottom: 1px solid #cfd4ca; padding: 0 6px; }
   .toppanel .lcolomn { float: left; overflow: hidden; }
   .toppanel .lcolomn ul { margin: 6px 0 0 -2px; }
   .toppanel .lcolomn ul, .toppanel .lcolomn ul li, .toppanel .lcolomn ul a { float: left; height: 24px; line-height: 23px; }
   .toppanel .lcolomn ul li { background: url("../images/toppanel_menu.png") no-repeat 0 50%; }
   .toppanel .lcolomn ul a { text-decoration: none !important; padding: 0 8px 0 10px; color: #3f3b3c; }
   .toppanel .lcolomn ul a:hover { color: #85a727; }
   
   .loginform, .loginform ul { display: inline; }
   .loginform ul { float: right; padding-top: 7px; }
   .loginform ul li { float: left; margin-left: 6px; line-height: 20px; }
   .logintext a { color: #608300; }
   .loginbutton { position: relative; }
   a.lbn, a.lbn span { float: left; cursor: pointer; height: 21px; }
      a.lbn { text-decoration: none !important; color: #fff; background: #a6a6a6 url("../images/loginbutton.png") no-repeat 0 0; }
      a.lbn span { padding: 0 10px; background: url("../images/loginbutton.png") no-repeat 100% -21px; }
      a.lbn:hover { background-color: #81b000; background-position: 0 -42px; }
      a.lbn:hover span { background-position: 100% -63px; }
      .loginbutton a.active, .loginbutton a.active:hover { background-color: #a6a6a6; background-position: 0 -84px; }
      .loginbutton a.active span, .loginbutton a.active:hover span { background-position: 100% -105px; }
   .lginfo ul li {clear: both; float: none;}
   .subcontainer { line-height: normal; color: #fff; width: 120px; overflow: hidden; position: absolute; top: 21px; right: 0; background-color: #a6a6a6; z-index: 999; }
   .subcontainer a { color: #fff; }
   .subcontainer .pad { padding: 10px 0; margin: 0 10px; overflow: hidden; }
   .subcontainer .lfield { margin: 0 0 0.5em 0; }
   .subcontainer .lfield span { }
   .subcontainer .lfield input { border: 1px solid #898989; width: 174px; padding: 2px; }
   .subcontainer .submit { text-align: center; }
   .subcontainer .submit input { font-size: 1.2em; cursor: pointer; }
   .subcontainer .avatar img { width: 60px; height: auto; float: left; border: 1px solid #898989; }

.headicon { padding-top: 7px; float: right; width: 48px; height: 24px; overflow: hidden; }
   .headicon img { float: right; height: 24px; width: 21px; margin-left: 3px; background: #81b000 url("../images/headicon.png") no-repeat 0 0; }
   .headicon .feedicon img { background-position: -21px 0; }
   .headicon .feedicon:hover img { background-position: -63px 0; }
   .headicon .recicon:hover img { background-position: -42px 0; }


.gsheader { height: 80px; padding-right: 18px; background: #fff url("../images/gsheader.png") no-repeat 0 0; border-bottom: 4px solid #509503; overflow: hidden; }
   .gsheader .lcolomn h1 { display: inline; }
   .gsheader .lcolomn h1 a { display: block; margin: 26px auto 0 auto; width: 200px; height: 34px; background-image: url("../images/gameshop.png"); overflow: hidden; line-height: 180px; white-space: nowrap; }
   .gsheader .lcolomn { width: 254px; }
   .gsheader .rcolomn { width: 670px; }

   .infoshop { margin-top: 8px; float: left; width: 317px; overflow: hidden; color: #6f6f6f; }
   .infoshop p, .infoshop span { height: 16px; line-height: 16px; }
   .infoshop p { margin: 0; }
   .infoshop span { float: left; width: 86px; padding-right: 6px; text-align: right; color: #81b000; }

   .searchform { float: right; width: 276px; height: 19px; border: 1px solid #c0c0c0; overflow: hidden; margin-top: 31px; background-color: #fff; }
      .searchform .lfield { float: left; width: 248px; height: 15px; padding: 0 0 0 3px; }
      .searchform .lfield input, .searchform .submit input { background: none; border: 0 none; }
      .searchform .lfield input { width: 248px; padding: 3px 0 0; }
      .searchform .submit { float: right; border: 1px solid #fff; }
      .searchform .submit input, .searchform .submit { width: 20px; height: 17px; }
      .searchform .submit input { cursor: pointer; background: #f9f9f9 url("../images/search.png") no-repeat 0 0; }
      .searchform .submit input:hover { background-position: -20px 0; }

.gshead { height: 10px; font-size: 0.01em; overflow: hidden; }
.menutabs { margin: 7px 0 0; padding-right: 6px; font-size: 1.1em; height: 37px; overflow: hidden; background: url("../images/menutabs_bg.png"); }
   .downloadprice a { margin-top: 7px; text-decoration: none !important; float: right; text-align: center; color: #fff; background: url("../images/downloadprice.png"); height: 26px; width: 120px; line-height: 25px; }
   .basictab { float: left; overflow: hidden; }
   .basictab ul, .basictab ul li { display: inline; }
   .basictab li a, .basictab li a span b, .basictab li a span { float: left; cursor: pointer; height: 29px; }
   .basictab li a { line-height: 29px; margin: 8px 1px 0 0; color: #5a9c0b; text-decoration: none !important; background: url("../images/basictab.png") no-repeat 100% -90px; padding-right: 4px; }
   .basictab li a span { background: url("../images/basictab.png") no-repeat 0 -119px; padding-left: 4px; }
   .basictab li a span b { padding: 0 5px; background-color: #fff; }

   .basictab li a.current, .basictab li a:hover { margin-top: 7px; height: 30px; color: #fff; background: url("../images/basictab.png") no-repeat 100% 0; padding-right: 4px; }
   .basictab li a.current span, .basictab li a:hover span { height: 30px; background: url("../images/basictab.png") no-repeat 0 -30px; padding-left: 4px; }
   .basictab li a.current span b, .basictab li a:hover span b { height: 30px; background: #72ad1d url("../images/basictab.png") repeat-x 0 -60px; padding-left: 4px; }

   .submenuline { padding: 0 11px; height: 37px; background: #559907 url("../images/submenu_bg.png") repeat-x 100% 0; }
   .tabcontent { display: none; overflow: hidden; }
   .submenuline ul { margin: 8px 0 0 -1px; }
   .submenuline ul, .submenuline ul li, .submenuline ul li a { float: left; height: 21px; }
   .submenuline ul li { background: url("../images/submenu_link.png") no-repeat 0 0; }
   .submenuline ul li a { line-height: 20px; padding: 0 8px 0 9px; color: #fff; }

.phead { height: 221px; background-color: #121212; }
   .phead .lcolomn { overflow: hidden; width: 553px; height: 221px; }
   .phead .rcolomn { overflow: hidden; width: 427px; height: 221px; }
   .phead .rcolomn .brhead { margin: 0 0 16px 0; overflow: hidden; height: 48px; padding-left: 98px; background: url("../images/brhead.png") no-repeat 0 0; color: #d4d4d4; }
   .phead .rcolomn .brhead h2 { margin: 7px 0 0; }
   .phead .rcolomn .brmid { height: 111px; margin: 0 0 17px 0; position: relative; }
   .phead .rcolomn .brfoot { height: 29px; line-height: 28px; padding-left: 14px; background-color: #212121; }
   .phead .rcolomn .brfoot a { color: #60a10f; }

   .brmid .pad { padding: 0 0 0 0; }
   .brmid .prev img, .brmid .next img { position: absolute; width: 22px; height: 30px; background: url("../images/scroller_arrow.png") no-repeat 0 0; }
   .brmid .prev img { top: 42px; left: 8px; background-position: 0 0; }
   .brmid .prev:hover img { background-position: 0 -30px; }
   .brmid .next img { top: 42px; right: 8px; background-position: 0 -60px; }
   .brmid .next:hover img { background-position: 0 -90px; }

   .thumb { width: 81px; overflow: hidden; height: 111px; margin-right: 8px; }
   .thumb img { width: 81px; }

.container, .leftside, .rightside, .mainside, .blockside { overflow: hidden; }
   .container { padding: 0 327px 0 0; background: #ffffff url("../images/containerbg.png") repeat-y 100% 0; }
   .leftside, .rightside, .blockside { display: inline; }
   .leftside { float: left; width: 150px; }
   .rightside { float: right; width: 150px; }
   .blockside { float: right; width: 327px; margin: 0 -327px 0 0; }
   .mainside { float: left; width: 652px; padding-top: 7px; }
   table.conts { border: 0 none; width: 100%; }

.norightside { padding: 0 0 0 0; background: #fff none; }
.norightside .mainside { width: 972px; }
.norightside .base { width: 963px; }

.bcolomn { overflow: hidden; background: #f4f4f4 url("../images/bcolomn.png") repeat-y 0 0; margin: 0 0 8px 0; }

.leftside .block, .rightside .block { margin: 0 0 20px 15px; width: 135px; }
   .rightside .block { margin-left: 0; }
   .block .dtitle { letter-spacing: -0.01em; overflow: hidden;  color: #212121; padding: 0.4em 0 0 0; margin: 0 0 0.6em 0; font-size: 1.6em; }

/*blocktab*/
.blocktab { background-color: #f9f9f9; border-bottom: 1px solid #d4d4d4; margin: 0 0 7px 0; overflow: hidden; }
.blocktab .dcont { overflow: hidden; padding: 10px 0; margin: 0 15px; }
.shadetabs { padding: 0 9px; height: 33px; overflow: hidden; border-bottom: 2px solid #60a00f; background-color: #d9d9d9; }
   .shadetabs li, .shadetabs li a, .shadetabs li a b { float: left; height: 24px; }
   .shadetabs li a { background: url("../images/blocktab.png") no-repeat 0 -48px; margin-top: 9px; font-size: 1.1em; line-height: 25px; color: #484848; overflow: hidden; }
   .shadetabs li a b { cursor: pointer; padding: 0 10px 0 25px; }
   .shadetabs li a.selected { background: #60a00f url("../images/blocktab.png") no-repeat 0 0; color: #fff; }
   .shadetabs li a.selected b { background: url("../images/blocktab.png") no-repeat 100% -24px; }

@media print {
.tabcontent {
display:block !important;
}
}

/*Голосование*/
.vote form b { cursor: pointer;}
.vinfo { padding: 0 0 5px 0; margin: 0 0 5px 0; background: url("../images/vtitle.png") no-repeat 12px 100%; color: #fff; }
   .vinfo b { display: block; line-height: normal; padding: 5px 8px; background-color: #70ac1b; }
   .votebtn { background: url("../images/submitbg.png") no-repeat 0 0; width: 101px; height: 24px; margin: 0 0 0.4em 0; color: #fff; padding: 2px 2px 4px 4px; border: 0 none; cursor: pointer; font-weight: bold; }

/*Статьи*/
.newsblock { background: url("../images/dotted.png") repeat-x 0 0; padding-top: 1px; }
   .newsblock li { background: url("../images/dotted.png") repeat-x 0 100%; }
   .newsblock li a { width: 100%; padding: 4px 0; display: block; }
   .newsblock li a span { padding-left: 14px; cursor: pointer; display: block; background: url("../images/greenarrow.png") no-repeat 4px 50%; }

/*Новости*/
.newsblock2 { }
   .newsblock2 li a { color: #212121; padding: 4px 0; display: block; }
   .newsblock2 li a b { color: #509503; }

.blockdown { overflow: hidden; background-color: #f9f9f9; border-top: 2px solid #7dae44; border-bottom: 1px solid #d5d5d5; }
   .blockdown .dcont { margin: 0 15px; overflow: hidden; padding: 0 0 10px 0; }
   .blockdown h3 { margin: 8px 0 12px 15px; font-size: 1.6em; color: #70ac1b; }
   .blockdown .anonce { background: url("../images/dotted2.png") repeat-x 0 0; padding-top: 11px; margin-bottom: 10px; }
   .blockdown .anonce h2 { font-size: 1em; }
   .blockdown .anonce .thumbimg { float: left; width: 95px; height: 95px; overflow: hidden; margin-right: 13px; }
   .blockdown .anonce .thumbimg img { width: 95px; }

.footer { margin: 0 0 10px 0; position: relative; height: 74px; overflow: hidden; background: #282828 url("../images/footerbg.png") repeat-x 0 0; color: #d7d7d7; }
.count { position: absolute; top: 21px; right: 21px; }
.footlogo img { float: left; margin-right: 20px; width: 10px; height: 74px;  }
.copyright { float: left; margin-top: 22px; }
.copyright span, .copyright span a { color: #787878; }
.copyright span a { color: #787878; text-decoration: underline; }
.copyright span a:hover { text-decoration: none; }

.footpanel { position: relative; overflow: hidden; height: 22px; }
   .footpanel ul { margin: 2px 0 0 -2px; }
   .footpanel ul, .footpanel ul li, .footpanel ul a { float: left; }
   .footpanel ul a { border-left: 1px solid #262626; text-decoration: none !important; padding: 0 8px 0 10px; color: #7c7c7c; }
   .footpanel ul a:hover { color: #85a727; }
.centroarts { position: absolute; display: block; top: 0; right: 10px; width: 100px; height: 22px; background: url("../images/centroartsdark.png"); overflow: hidden; line-height: 100px; white-space: nowrap; }

/*XBOX*/
.catstyle77, .catstyle85, .catstyle90 { background-image: url("../images/xboxbg.jpg"); }

/*WII*/
.catstyle82, .catstyle89, .catstyle94 { background-image: url("../images/wiibg.jpg"); }
.catstyle82 .basictab li a,
.catstyle89 .basictab li a,
.catstyle94 .basictab li a { color: #418b9a; }

.catstyle82 .basictab li a.current, .catstyle82 .basictab li a:hover,
.catstyle89 .basictab li a.current, .catstyle89 .basictab li a:hover,
.catstyle94 .basictab li a.current, .catstyle94 .basictab li a:hover { color: #fff; background: url("../images/wii_basictab.png") no-repeat 100% 0; }

.catstyle82 .basictab li a.current span, .catstyle82 .basictab li a:hover span,
.catstyle89 .basictab li a.current span, .catstyle89 .basictab li a:hover span,
.catstyle94 .basictab li a.current span, .catstyle94 .basictab li a:hover span { background: url("../images/wii_basictab.png") no-repeat 0 -30px; }

.catstyle82 .basictab li a.current span b, .catstyle82 .basictab li a:hover span b,
.catstyle89 .basictab li a.current span b, .catstyle89 .basictab li a:hover span b,
.catstyle94 .basictab li a.current span b, .catstyle94 .basictab li a:hover span b { background: #6ba7b3 url("../images/wii_basictab.png") repeat-x 0 -60px; }

.catstyle82 .submenuline,
.catstyle89 .submenuline,
.catstyle94 .submenuline { background: #6ba7b3 url("../images/wii_submenu_bg.png") repeat-x 100% 0; }

.catstyle82 .submenuline ul li,
.catstyle89 .submenuline ul li,
.catstyle94 .submenuline ul li { background: url("../images/wii_submenu_link.png") no-repeat 0 0; }

/*PS3*/
.catstyle74, .catstyle86, .catstyle91 { background-image: url("../images/ps3bg.jpg"); }
.catstyle74 .basictab li a,
.catstyle86 .basictab li a,
.catstyle91 .basictab li a { color: #4e4e4e; }

.catstyle74 .basictab li a.current, .catstyle74 .basictab li a:hover,
.catstyle86 .basictab li a.current, .catstyle86 .basictab li a:hover,
.catstyle91 .basictab li a.current, .catstyle91 .basictab li a:hover { color: #fff; background: url("../images/ps3_basictab.png") no-repeat 100% 0; }

.catstyle74 .basictab li a.current span, .catstyle74 .basictab li a:hover span,
.catstyle86 .basictab li a.current span, .catstyle86 .basictab li a:hover span,
.catstyle94 .basictab li a.current span, .catstyle91 .basictab li a:hover span { background: url("../images/ps3_basictab.png") no-repeat 0 -30px; }

.catstyle74 .basictab li a.current span b, .catstyle74 .basictab li a:hover span b,
.catstyle86 .basictab li a.current span b, .catstyle86 .basictab li a:hover span b,
.catstyle91 .basictab li a.current span b, .catstyle91 .basictab li a:hover span b { background: #464646 url("../images/ps3_basictab.png") repeat-x 0 -60px; }

.catstyle74 .submenuline,
.catstyle86 .submenuline,
.catstyle91 .submenuline { background: #464646 url("../images/ps3_submenu_bg.png") repeat-x 100% 0; }

.catstyle74 .submenuline ul li,
.catstyle86 .submenuline ul li,
.catstyle91 .submenuline ul li { background: url("../images/ps3_submenu_link.png") no-repeat 0 0; }

/*PS2*/
.catstyle73, .catstyle87 { background-image: url("../images/ps2bg.jpg"); }
.catstyle73 .basictab li a,
.catstyle87 .basictab li a { color: #0672ab; }

.catstyle73 .basictab li a.current, .catstyle73 .basictab li a:hover,
.catstyle87 .basictab li a.current, .catstyle87 .basictab li a:hover { color: #fff; background: url("../images/ps2_basictab.png") no-repeat 100% 0; }

.catstyle73 .basictab li a.current span, .catstyle73 .basictab li a:hover span,
.catstyle87 .basictab li a.current span, .catstyle87 .basictab li a:hover span { background: url("../images/ps2_basictab.png") no-repeat 0 -30px; }

.catstyle73 .basictab li a.current span b, .catstyle73 .basictab li a:hover span b,
.catstyle87 .basictab li a.current span b, .catstyle87 .basictab li a:hover span b { background: #0196d5 url("../images/ps2_basictab.png") repeat-x 0 -60px; }

.catstyle73 .submenuline,
.catstyle87 .submenuline { background: #0196d5 url("../images/ps2_submenu_bg.png") repeat-x 100% 0; }

.catstyle73 .submenuline ul li,
.catstyle87 .submenuline ul li { background: url("../images/ps2_submenu_link.png") no-repeat 0 0; }

/*PSP*/
.catstyle75, .catstyle88, .catstyle93 { background-image: url("../images/pspbg.jpg"); }
.catstyle75 .basictab li a,
.catstyle88 .basictab li a,
.catstyle93 .basictab li a { color: #b3295c; }

.catstyle75 .basictab li a.current, .catstyle75 .basictab li a:hover,
.catstyle88 .basictab li a.current, .catstyle88 .basictab li a:hover,
.catstyle93 .basictab li a.current, .catstyle93 .basictab li a:hover { color: #fff; background: url("../images/psp_basictab.png") no-repeat 100% 0; }

.catstyle75 .basictab li a.current span, .catstyle75 .basictab li a:hover span,
.catstyle88 .basictab li a.current span, .catstyle88 .basictab li a:hover span,
.catstyle93 .basictab li a.current span, .catstyle93 .basictab li a:hover span { background: url("../images/psp_basictab.png") no-repeat 0 -30px; }

.catstyle75 .basictab li a.current span b, .catstyle75 .basictab li a:hover span b,
.catstyle88 .basictab li a.current span b, .catstyle88 .basictab li a:hover span b,
.catstyle93 .basictab li a.current span b, .catstyle93 .basictab li a:hover span b { background: #c64675 url("../images/psp_basictab.png") repeat-x 0 -60px; }

.catstyle75 .submenuline,
.catstyle88 .submenuline,
.catstyle93 .submenuline { background: #c64675 url("../images/psp_submenu_bg.png") repeat-x 100% 0; }

.catstyle75 .submenuline ul li,
.catstyle88 .submenuline ul li,
.catstyle93 .submenuline ul li { background: url("../images/psp_submenu_link.png") no-repeat 0 0; }[/spoiler]

Извините, не сильно разбираюсь в верстке  :(


Добавлено: 13-02-2011, 12:15:06


zloberman

Сайт отправил в лс
  •  


zloberman

  •  

semester

Цитата: tenzor от 13-02-2011, 12:14:10Я думаю что это не в engine.css, system.css,  а в main.css, или styles.css
Честно говоря, єто совсем не поможет. Мы же не знаем какой элемент за что отвечает

Цитата: tenzor от 13-02-2011, 12:14:10Сайт отправил в лс
Думаю на этом проблема решится :)

tenzorTopic starter

Все получилось, спасибо за помощь, спасибо zloberman
  •  



Если вам нравится SbUP Форум, вы можете поддержать его - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 и ещё....