X   Сообщение сайта
(Сообщение закроется через 3 секунды)



 

Здравствуйте, гость (

| Вход | Регистрация )

2 страниц V   1 2 >
Открыть тему
Тема закрыта
> Уменьшение расстояния в CSS, Помогите
Armast
Armast
Topic Starter сообщение 2.12.2012, 19:59; Ответить: Armast
Сообщение #1


Красным выделено расстояние, которое надо уменьшить в 3-4 раза

Помогите пожалуйста уменьшить расстояние в CSS:
html {font-size: 100.01%; background: #fff;}
body {font: 62.5% Tahoma, Helvetica, Sans-serif; color: #1e1e1e;}
html, body {margin: 0px; padding: 0px; height: 100%; width: 100%;}
a, a img {border: none; outline: none;}
*:focus, * {-moz-outline: none; outline: none; ie-dummy: expression(this.hideFocus=true);}
table, td, th {padding: 0px; border-collapse: collapse;}
ul, li, form, fieldset, dl, dt, dd, h1, h2, h3, h4, h5, h6, del {margin: 0px; padding: 0px; list-style: none; text-decoration: none; font-style: normal; border: none;}
/*a {color: inherit; text-decoration: underline;}
a:hover {text-decoration: none;}*/

/* * {outline: 2px dotted red;}
* * {outline: 2px dotted green;}
* * * {outline: 2px dotted orange;}
* * * * {outline: 2px dotted blue;}
* * * * * {outline: 1px solid red;}
* * * * * * {outline: 1px solid green;}
* * * * * * * {outline: 1px solid orange;}
* * * * * * * * {outline: 1px solid blue;} */

/* * {border: 2px dotted red;}
* * {border: 2px dotted green;}
* * * {border: 2px dotted orange;}
* * * * {border: 2px dotted blue;}
* * * * * {border: 1px solid red;}
* * * * * * {border: 1px solid green;}
* * * * * * * {border: 1px solid orange;}
* * * * * * * * {border: 1px solid blue;} */

.block-nav ul ul {padding-left: 15px;}
.block-nav sup {line-height: 1em;}

/* Тело страницы */
.page {width: 94%; margin: 0px auto; overflow: hidden; zoom: 1;}

/* Шапка */
.toppanel {border-bottom: 1px solid #c9c9c9; font: 1.1em Tahoma, Geneva, Sans-serif; color: #7b7b7b; overflow: hidden; zoom: 1; padding: 7px 0px 8px 0px;}
.toppanel a {color: #7b7b7b; text-decoration: none; border-bottom: 1px solid #7b7b7b;}
.toppanel a:hover {text-decoration: none; border-bottom: 1px solid #f5c242;}
.toppanel .userpanel {float: left; width: 80%;}
.toppanel .userpanel li {display: inline; padding-right: 1.5%;}
.toppanel .userpanel li del {padding-left: 1.5%;}
.toppanel .clock {float: right;}

.header {overflow: hidden; zoom: 1; padding-bottom: 23px;}
.header .logo {float: left; width: 350px; padding: 23px 0px 0px 0px;}
.header .logo a {display: block; background: url(../images/logo.png) no-repeat 0px 0px; text-decoration: none; color: #1e1e1e; height: 60px;}
.header .logo b {color: #1e1e1e; font: bold 2.5em/1em "Georgia", Serif; display: block; padding: 12px 0px 0px 90px;}
.header .logo span {color: #1e1e1e; font: 1.1em/1em "Georgia", Serif; display: block; padding: 3px 0px 0px 91px;}
.header .banner-header {position: absolute; left: 50%; margin-left: -155px; padding-top: 26px;}
.header ul {float: right; font: 1.1em/19px Tahoma, Geneva, Sans-serif; color: #f5c242; padding-top: 14px;}
.header ul a {color: #1e1e1e; text-decoration: underline;}
.header ul a:hover {text-decoration: none;}

.signup {float: left;}
.signup * {display: inline; margin-right: 10px;}
.signup input {font: 11px Tahoma, Geneva, Sans-serif; color: #333232;}

.nav {border-bottom: 1px solid #c9c9c9; border-top: 1px solid #c9c9c9; font: bold 1.1em Tahoma, Geneva, Sans-serif; text-transform: uppercase; white-space: nowrap; padding: 18px 0px 17px 0px; position: relative; overflow: hidden; zoom: 1; _position: inherit;}
.nav li {display: inline;}
.nav li del {color: #f5c242; padding: 0px 1.4%;}
.nav li a {text-decoration: none; color: #1e1e1e;}
.nav li a:hover {color: #f5c242; text-decoration: none;}
.nav li.fader {display: block; background: url(../images/fader.png) no-repeat 0px 0px; _background: none; width: 53px; height: 48px; position: absolute; right: 0px; top: 0px;}

/* Контент */
.main {padding-top: 30px;}
.centercol {position: relative; zoom: 1;}

/* Блок */
.block {border-bottom: 1px solid #c9c9c9; padding-bottom: 20px; margin-bottom: 20px; overflow: hidden; zoom: 1;}
.block a {color: #1e1e1e; text-decoration: underline;}
.block a:hover {color: #1e1e1e; text-decoration: none;}
h6 {border-left: 5px solid #f5c242; color: #1e1e1e; font: bold 1em/23px Tahoma, Geneva, Sans-serif; text-transform: uppercase; padding-left: 12px; height: 23px;}
.block-wrap {font: normal 1.1em Tahoma, Geneva, Sans-serif;}
.block-wrap.with-header {padding: 14px 0px 0px 18px;}
.block-archives {font: 1.2em/22px Tahoma, Geneva, Sans-serif;}
.block-archives * {font-weight: normal !important;}
.block-search {padding-bottom: 20px;}
.block-search .input {color: #333232; font: 11px Tahoma, Geneva, Sans-serif; background: url(../images/icon-search.png) no-repeat 3px 2px; width: 154px; border: 1px solid #c9c9c9; padding: 2px 0px 2px 25px;}
.block-search .submit {color: #333232; font: 11px Tahoma, Geneva, Sans-serif; cursor: pointer;}
.block-nav {font: 1.2em/22px Tahoma, Geneva, Sans-serif;}
.block-tags {color: #fff;}
.block-tags a {color: #686868; text-decoration: none;}
.block-tags a:hover {color: #f5c242; text-decoration: none;}
.block-informer {color: #555;}
.block-informer dl {padding-bottom: 15px;}
.block-informer a {color: #f5c242; text-decoration: underline;}
.block-informer a:hover {color: #f5c242; text-decoration: none;}

.one-lastnews {overflow: hidden; zoom: 1; height: 640px; position: relative; margin-bottom: 25px;}
.one-lastnews .fader {background: url(../images/lastnews-fader.png) repeat-x 0px 9px; height: 39px; position: absolute; width: 100%; bottom: 0px; margin-left: 184px; _display: none;}
.one-lastnews img {display: block; float: left; position: absolute; top: 0px; left: 0px; width: 640px; zoom: 1;}
.one-lastnews .lastnews-title {font: 2.2em/26px Tahoma, Geneva, Sans-serif; color: #000; padding-left: 184px;}
.one-lastnews .lastnews-title a {color: #000; text-decoration: none;}
.one-lastnews .lastnews-title a:hover {text-decoration: underline;}
.one-lastnews .lastnews-info {font: 1.1em Tahoma, Geneva, Sans-serif; color: #5d5d5d; padding: 8px 0px 0px 184px;}
.one-lastnews .lastnews-info li {display: inline;}
.one-lastnews .lastnews-info del {color: #c9c9c9; padding: 0px 5px;}
.one-lastnews .lastnews-info a {color: #5d5d5d; text-decoration: underline;}
.one-lastnews .lastnews-info a:hover {text-decoration: none;}
.one-lastnews .lastnews-info .catlink a {color: #f5c242;}
.one-lastnews .lastnews-body {color: #000; font: 1.2em/14px Tahoma, Geneva, Sans-serif; padding: 9px 0px 0px 184px;}
.one-lastnews br+br {display: none;}

.news-preview {overflow: hidden; zoom: 1; height: 70px; position: relative; margin-bottom: 25px;}
.news-preview img {display: block; float: left; position: absolute; top: 0px; left: 0px; width: 70px; zoom: 1;}
.news-preview .news-preview-title {font: bold 1.4em Tahoma, Geneva, Sans-serif; color: #1e1e1e; padding-left: 79px; white-space: nowrap;}
.news-preview .news-preview-title a {color: #1e1e1e; text-decoration: underline;}
.news-preview .news-preview-title a:hover {text-decoration: none;}
.news-preview .news-preview-info {font: 1em Tahoma, Geneva, Sans-serif; color: #5d5d5d; padding: 0px 0px 0px 79px;}
.news-preview .news-preview-info li {display: inline;}
.news-preview .news-preview-info del {color: #c9c9c9; padding: 0px 5px;}
.news-preview .news-preview-info a {color: #5d5d5d; text-decoration: underline;}
.news-preview .news-preview-info a:hover {text-decoration: none;}
.news-preview .news-preview-info .catlink a {color: #f5c242;}
.news-preview .news-preview-body {color: #1e1e1e; font: 1.1em/14px Tahoma, Geneva, Sans-serif; padding: 0px 0px 0px 79px;}
.news-preview .news-preview-body a {text-decoration: none; color: #1e1e1e;}
.news-preview .news-preview-body a:hover {text-decoration: underline;}
.news-preview br {display: none;}

.main-category-name {border-top: 1px solid #c9c9c9; border-bottom: 1px solid #c9c9c9; padding: 23px 0px; margin-bottom: 25px; font: 1.8em Tahoma, Geneva, Sans-serif; color: #1e1e1e;}
.main-category-name span {border-left: 5px solid #f5c242; padding-left: 11px;}

/* Новость и формы */
.news {border-bottom: 1px solid #c9c9c9; padding-bottom: 25px; margin-bottom: 25px; position: relative;}

.news.shortnews .text {height: 170px;}
.news.shortnews .text img {display: block; float: left; width: 170px; zoom: 1; padding-right: 14px;}
.news.shortnews .text form img {display: inline; float: none; width: auto; padding-right: 0px;}

.news.shortnews .text form textarea {height: 50px !important; font: 11px Tahoma, Geneva, Sans-serif !important;}

.news-header, .page-title {font: 2.2em/26px Tahoma, Helvetica, Sans-serif; color: #1e1e1e;}
.news-header img {vertical-align: middle; padding-left: 5px;}
.news-header a, .page-title a {color: #1e1e1e; text-decoration: underline; margin: 0px 3px 0px 0px;}
.news-header a:hover, .page-title a:hover {text-decoration: none;}
.news-info-wrap {overflow: hidden; zoom: 1;}
.news-info-wrap .news-info {float: left;}
.news-info-wrap .rate {float: right; padding-top: 7px;}
.news-info {font: 1.1em Tahoma, Geneva, Sans-serif; color: #5d5d5d; padding: 8px 0px 9px 0px;}
.news-info li {display: inline;}
.news-info del {color: #c9c9c9; padding: 0px 5px;}
.news-info a {color: #5d5d5d; text-decoration: underline;}
.news-info a:hover {text-decoration: none;}
.news-info .catlink a {color: #f5c242;}
.news .text {color: #1e1e1e; font: 1.2em/14px Tahoma, Helvetica, Sans-serif; overflow: hidden; zoom: 1; padding: 4px 0px 0px 3px;}
.news .text a {color: #f5c242; text-decoration: underline;}
.news .text a:hover {text-decoration: none;}
.news .news-comments {font: 1.1em Tahoma, Helvetica, Sans-serif;}
.news .news-comments a {color: #999; text-decoration: underline; margin-right: 20px;}
.news .news-comments a:hover {text-decoration: none;}
.news-info .rate {margin-left: -90px; margin-top: -1px; position: absolute; width: 90px;}
.error .text {padding-bottom: 0px;}
.news-views {overflow: hidden; zoom: 1; font: 1.1em Tahoma, Helvetica, Sans-serif; color: #1e1e1e; padding-top: 14px;}
.news-views a {color: #f5c242; text-decoration: underline;}
.news-views a:hover {text-decoration: none;}
.news-views-left {float: left;}
.news-views-right {float: left; padding: 2px 0px 0px 16px;}
.news-views del {padding: 0px 10px 0px 10px; color: #aeaeae;}
h5 {color: #1e1e1e; font: bold 1.4em/42px Tahoma, Helvetica, Sans-serif; height: 43px; background: url(../images/bg-header.png) repeat-x 0px 0px; padding-left: 8px; margin-bottom: 11px;}
.fullstory .rating+.rating {display: none;}

.full-editor .editor {width: 100% !important; height: 146px;}
.full-editor .editor textarea {width: 100% !important; position: absolute;}
.comment-block-search-submit .block-search-submit {font: 11px Tahoma, Helvetica, Sans-serif; color: #1e1e1e; cursor: pointer; cursor: pointer; margin-right: 20px;}

/* Кнопки опроса */
.poll-buttons {padding: 10px 0px 10px 0px; text-align: center;}
.poll-buttons input .block-search-submit {font: 11px Tahoma, Helvetica, Sans-serif; color: #1e1e1e; cursor: pointer;}
.poll-list {color: #434342; font: 1.2em/20px Tahoma, Helvetica, Sans-serif; padding: 4px 0px 0px 30px; width: 95%;}
/* Навигация */
.navigation {overflow: hidden; zoom: 1; font: 1.2em Tahoma, Helvetica, Sans-serif; color: #1e1e1e; padding: 0px 0px 15px 0px; text-align: center;}
.navigation .nav-center {padding: 0px 3px;}
.navigation .nav-center * {margin: 0px 2px;}
.navigation .nav-center span {color: #f5c242; font-size: 16px; font-weight: bold; position: relative; top: 2px;}
.navigation a {color: #1e1e1e; text-decoration: underline;}
.navigation a:hover {text-decoration: none;}
.navigation span .nav-prev, .navigation span .nav-next {display: none;}

.vote-title {padding-bottom: 10px; line-height: 14px;}
.vote-list {color: #1e1e1e; line-height: 20px; padding-bottom: 10px; margin-right: 15px;}
.vote-list img, #dle-poll-list img {border: 1px solid #f5c242 !important;}
#dle-poll-list {padding-bottom: 10px;}
.vote-total {padding-top: 10px; display: block;}
.vote-submit, .vote-result {font: 11px Tahoma, Helvetica, Sans-serif; color: #1e1e1e; cursor: pointer; float: left; display: block; cursor: pointer; _display: inline; margin-right: 20px;}
.nopadd {padding-bottom: 0px !important;}

/* Формы */
.any-form {font: 1.1em Tahoma, Helvetica, Sans-serif; margin: 20px 0px 20px 0px; color: #1e1e1e; background: #fff;}
.any-form a {color: #f5c242; text-decoration: underline;}
.any-form a:hover {text-decoration: none;}
.any-form h2 {padding-bottom: 10px;}
.any-form .admintag {padding-bottom: 10px;}
.any-form .form-bbcodes {width: 100%;}
.any-form .form-bbcodes > div {height: auto !important; overflow: hidden; zoom: 1;}
.any-form label {display: block; margin-bottom: 10px;}
.any-form label label {display: block; margin-bottom: -10px;}
.any-form label span {display: block;}
.any-form label .input, #searchinput, .xfields input, .xprofile input {border: 1px solid #ccc; font: 11px Tahoma, Helvetica, Sans-serif; color: #1e1e1e; padding: 2px 5px 4px 5px; margin-right: 17px; width: 251px !important; margin-top: 2px;}
.any-form label select, .xfields select, .xprofile select {width: 262px !important; height: 22px; font: 11px Tahoma, Helvetica, Sans-serif; color: #1e1e1e;}
.any-form label textarea, .xfields textarea, .xprofile textarea {background: #fff; color: #1e1e1e; font: 11px Tahoma, Helvetica, Sans-serif; height: 120px !important; width: 98% !important;}
.notoppadd {margin-top: 4px;}
.addcom-header {font: bold 1.4em/16px Tahoma, Helvetica, Sans-serif; color: #1e1e1e; padding-top: 15px;}
.addcom-form {margin-top: 15px;}

select, input {font: 11px Tahoma, Geneva, Sans-serif; color: #1e1e1e;}

.news.addnews {padding-bottom: 0px; margin-bottom: 20px;}
.news.addnews .send-form {padding: 20px 0px;}

table td.search {text-align: left;}
table td.search select.rating {text-indent: 0px !important; color: #1e1e1e !important;}
table td.search select {width: 256px !important; height: 20px; font: 11px Tahoma, Helvetica, Sans-serif; color: #1e1e1e;}
.big-textarea {height: 200px; width: 503px; background: #fff; color: #1e1e1e; font: 12px Tahoma, Helvetica, Sans-serif; border: 1px solid #dbdbdb;}
.padd {padding-top: 10px;}
.nopadding {padding-top: 0px;}
.noborder {border: 0px !important;}
.block-search-submit {font: 11px Tahoma, Helvetica, Sans-serif; color: #1e1e1e; cursor: pointer; cursor: pointer; margin-right: 20px;}
#allow_subscribe {float: left; margin: -1px 5px 0px 0px;}
.admintag label {display: block; float: left; position: relative; margin: -14px 0px 0px 30px;}
.admintag input {display: block; clear: both;}
/* Комментарий */
.comment {color: #1e1e1e; font: 1.1em/16px Tahoma, Helvetica, Sans-serif; overflow: hidden; zoom: 1; margin-bottom: 25px; padding-bottom: 25px; border-bottom: 1px solid #c9c9c9;}
.comment-header {font: 1em Tahoma, Helvetica, Sans-serif; padding-bottom: 10px; color: #808080;}
.comment-header del {padding: 0px 6px; color: #ccc;}
.comment-body {overflow: hidden; zoom: 1;}
.comment-footer {font: 1em Tahoma, Helvetica, Sans-serif; color: #b6b6b6; margin-left: 89px;}
.comment-footer del {padding: 0px 10px; color: #aeaeae;}
.comment-options {position: absolute; right: 17px; margin-top: -26px;}
.comment a {color: #f5c242; text-decoration: underline;}
.comment a:hover {text-decoration: none;}
.comment-options del {padding: 0px 4px;}
.comment-text {margin: 2px 0px 10px 89px;}
.comment-left {float: left; width: 69px; padding: 5px 0px 0px 0px;}
.comment-avatar {padding-bottom: 6px;}
.editinfo {font: italic 0.8em Tahoma, Helvetica, Sans-serif; color: #999; padding-top: 14px;}
.pm-footer {margin-left: 0px;}
/* Кнопки */
table.pm input.bbcodes, .bbcodes#dosearch, .bbcodes#dofullsearch, #doclear, #doreset, .bbcodes .block-search-submit {font: 11px Tahoma, Helvetica, Sans-serif; color: #1e1e1e; cursor: pointer; cursor: pointer; margin-right: 20px;}
#fullsearch {font: 1.2em Tahoma, Helvetica, Sans-serif; color: #1e1e1e;}
/* Статистика сайта */
.stat {line-height: 20px; padding-left: 140px; background: url(../images/icon-stats.png) no-repeat 0px 0px;}
.stat dt {overflow: hidden; zoom: 1;}
.stat dt span {display: block; float: left; width: 220px;}
.stat dd {display: block; font-weight: bold;}
.bigpadd {padding-bottom: 14px;}
.userstop {font: 1.1em Tahoma, Helvetica, Sans-serif; width: 96%; border: 0px; padding: 0px;}
.userstop td {border-collapse: collapse; padding: 0px;}
.userstop a {color: #f5c242; text-decoration: underline;}
.userstop a:hover {text-decoration: none;}
/* Профиль */
.userinfo {line-height: 20px;}
.userinfo li {margin-left: 120px;}
.userinfo li.photo {position: absolute; margin-left: 0px; *margin-left: -120px;}
.userinfo .rating ul {margin: 6px 0px 0px 8px;}
.userinfo .group {padding: 6px 0px 0px 0px; text-align: center;}

/* Дополнительные поля */
.xf {width: 100%;}
.xf td.addnews {padding-bottom: 2px;}
.xf td {display: block !important;}
.xf font {top: -13px; position: relative; left: -10px;}

/* Подвал */
.footer {overflow: hidden; zoom: 1; width: 94%; margin: 20px auto 0px auto; border-top: 1px solid #c9c9c9; padding: 20px 0px;}
.footer .footer-text {float: left; width: 75%; font: 1.1em/18px Tahoma, Helvetica, Sans-serif; color: #a0a0a0;}
.footer .footer-text p {margin: 0px; padding: 0px; color: #4e4e4e;}
.footer .footer-text a {color: #1e1e1e; text-decoration: none;}
.footer .footer-text a:hover {text-decoration: none;}
.footer .footer-text strong {color: #1e1e1e;}
.footer .footer-right {float: right; width: 200px;}
.footer .footer-copy {background: url(../images/icon-footer.png) no-repeat 0px 0px; font: 1.1em Tahoma, Geneva, Sans-serif; color: #555; padding: 4px 0px 18px 50px; margin-top: 10px;}
.footer .footer-copy a {color: #555; text-decoration: underline;}
.footer .footer-copy a:hover {text-decoration: none;}
.footer .footer-banner li {display: block; float: left; margin-right: 12px;}

/* DLE default styles */
#busy_layer {display: none !important; width: 0px !important; height: 0px !important; z-index: -9999px !important; position: absolute !important; left: -9999px !important; top: -9999px !important;}
/* Цитата и скрытый текст */
.title_quote {color: #545454; background: #fff; border: 1px dotted #d7d7d7; border-bottom: 0; font-weight: bold; padding: 5px; margin-top: 6px;}
.quote {color: #545454; background: #fff; border: 1px dotted #d7d7d7; text-align: justify; padding: 5px;}
/* Тег SPOILER */
.title_spoiler {color: #555; background: #fff; border: 1px dotted #d7d7d7; font-weight: bold; padding: 5px; margin-top: 6px;}
.title_spoiler img {margin: 0; padding: 0;}
.text_spoiler {color: #555555; background: #fff; border: 1px dotted #d7d7d7; border-top: 0; text-align: justify; padding: 5px;}
/* Tэг CODE */
.scriptcode {color: #545454; background: #fff; border: 1px dotted #d7d7d7; text-align: left; padding: 5px; margin-top: 6px;}
/* Календарь */
.weekday-active-v, .day-active-v {color: #1e1e1e;}
.calendar {color: #1e1e1e; font-family: verdana; font-size: 11px; line-height: 16px;}
.calendar td, th {font-family: verdana; text-decoration: none; padding: 4px 6px 5px 7px;}
.weekday {color: #f5c242; font-family: verdana;}
.weekday-active {color: #f5c242; font-family: verdana;}
.day-active {color: #f5c242; font-family: verdana;}
.day-active a, .weekday-active a, .day-active-v a, .weekday-active-v a {text-decoration: underline;}
.monthlink {color: #1e1e1e; text-decoration: none;}
.day-current {border: 1px solid #c3c3c3;}
.monthselect {font: bold 11px Tahoma, Helvetica, Sans-serif; color: #f5c242;}
/* Рейтинг статьи */
.rating {color: #555555; font-size: 11px; font-family: tahoma; width: 85px; height: 16px; text-indent: -9999px;}
.unit-rating {list-style: none; margin: 0px; padding: 0px; width: 85px; height: 16px; position: relative; background-image: url(../dleimages/rating.gif); background-position: top left; background-repeat: repeat-x;}
.unit-rating li {text-indent: -90000px; padding: 0px; margin: 0px; float: left;}
.unit-rating li a {display: block; width: 17px; height: 16px; text-decoration: none; text-indent: -9000px; z-index: 17; position: absolute;    padding: 0px;}
.unit-rating li a:hover {background-image: url(../dleimages/rating.gif); background-position: left center; z-index: 2; left: 0px;}
.unit-rating a.r1-unit {left: 0px;}
.unit-rating a.r1-unit:hover {width: 17px;}
.unit-rating a.r2-unit {left: 17px;}
.unit-rating a.r2-unit:hover {width: 34px;}
.unit-rating a.r3-unit {left: 34px;}
.unit-rating a.r3-unit:hover {width: 51px;}
.unit-rating a.r4-unit {left: 51px;}    
.unit-rating a.r4-unit:hover {width: 68px;}
.unit-rating a.r5-unit {left: 68px;}
.unit-rating a.r5-unit:hover {width: 85px;}
.unit-rating li.current-rating {background-image: url(../dleimages/rating.gif); background-position: left bottom; position: absolute; height: 16px; display: block; text-indent: -9000px; z-index: 1;}
/* BB коды */
.editor_button {float: left; cursor: pointer; padding-left: 2px; padding-right: 2px;}
.editor_buttoncl {float: left; cursor: pointer; padding-left: 1px; padding-right: 1px; border-left: 1px solid #bbbbbb; border-right: 1px solid #bbbbbb;}
.editbclose {float: right; cursor: pointer;}
.editor_button select {font-family: tahoma; font-size: 11px;}
.editor_button img, .editbclose img, .editor_button_brk img {margin: 0; padding: 0;}
/* Дополнительные поля новостей */
.xfields textarea {color: #555; font-size: 11px; font-family: tahoma; width: 320px; height: 86px; border: 1px solid #e0e0e0; background-color: #ffffff;}
.xfields input {color: #555555; font-size: 11px; font-family: tahoma; width: 300px; height: 14px; border: 1px solid #e0e0e0; background-color: #ffffff;}
.xfields select {color: #555555; font-size: 11px; font-family: tahoma; height: 18px; border: 1px solid #e0e0e0; background-color: #ffffff;}
/* Дополнительные поля профиля пользователей */
.xprofile textarea {color: #555555; font-size: 11px; font-family: tahoma; width: 320px; height: 86px; border: 1px solid #e0e0e0; background-color: #ffffff;}
.xprofile input {color: #555555; font-size: 11px; font-family: tahoma; width: 250px; height: 14px; border: 1px solid #e0e0e0; background-color: #ffffff;}
/* Персональные сообщения */
table.pm input.bbcodes {margin: 10px 0px 20px 0px; position: relative; right: -32px;}
.pm_head {padding-top: 15px;}
.pm_list {color: #000; line-height: 22px;}
.pm_list a {color: #ef8a00;}
.pm-body {font: 1.2em/14px Tahoma, Sans-serif; padding-bottom: 10px;}
.pmpage a {color: #1e1e1e !important;}
/* Выпадающее меню */
#dropmenudiv {border: 1px solid #ccc; font: normal 10px/20px 'Verdana'; margin: 2px;}
#dropmenudiv a {display: block; text-indent: 3px; text-decoration: none; color: #666; background: #fff; border: 1px solid #eee; padding: 1px 0px;}
#dropmenudiv a:hover {background: #eee; color: #000;}
/* Уведомление о получении новых PM */
#newpm {position: absolute; width: 400px; padding: 4px; background-color: #fdfdfd; border: 1px solid #bbb; font-family: verdana; color: #757575; line-height: 135%;}
#newpmheader {padding: 2px 5px 0px 5px; height: 20px; color: #ffffff; font-weight: bold; background-color: #f5c242; font-family: verdana; cursor: move;}
#newpm a {background: transparent; color: #333; text-decoration: none;}
#newpm a:hover {background: transparent; color: #333; text-decoration: underline;}
#newpmheader a {color: #fff; text-decoration: none;}
/* Ссылка на скачивание прикрепленного файла */
.attachment {color: #808080;}
/* Поиск по сайту и результаты поиска */
/*.textin {color: #555555; font-size: 11px; font-family: tahoma; border: 1px solid #e0e0e0; text-decoration: none; padding-left: 3px; background-color: #fff;}*/
.sresult {text-align: justify; font-weight: normal; line-height: 16px; font-family: tahoma; font-size: 12px; color: #555555;}
/* показ оригинальной картинки загруженной на сайт из уменьшенной копии */
.highslide-wrapper, .highslide-outline {background: #FFFFFF;}
.highslide-image {border: 2px solid #FFFFFF;}
.highslide-active-anchor {visibility: hidden;}  
.highslide-active-anchor img {visibility: hidden;}
.highslide-dimming {background: black;}
.highslide-html {background-color: white;}
.highslide-html-content {display: none;}
.highslide-loading {display: block; color: #ffffff; font-size: 9px; font-weight: bold; text-decoration: none; padding: 3px; border: 1px solid #fff; background: #000;}
a.highslide-full-expand {background: url(../dleimages/fullexpand.gif) no-repeat; display: block; margin: 0 10px 10px 0; width: 34px; height: 34px;}
.highslide-footer {height: 11px;}
.highslide-footer .highslide-resize {float: right; height: 12px;width: 11px; background: url(../dleimages/resize.gif);}
.highslide-resize {cursor: nw-resize;}
.highslide-display-block {display: block;}
.highslide-display-none {display: none;}
.highslide-caption {display: none; padding: 5px; background: white;}
.highslide-controls {width: 195px; height: 40px; background: url(../../../engine/classes/highslide/graphics/controlbar-black-border.gif) 0 -90px no-repeat; margin: 10px 15px 10px 0px;}
.highslide-controls ul {position: relative; left: 15px; height: 40px; list-style: none; margin: 0; padding: 0; background: url(../../../engine/classes/highslide/graphics/controlbar-black-border.gif) right -90px no-repeat;}
.highslide-controls li {float: left; padding: 5px 0;}
.highslide-controls a {background: url(../../../engine/classes/highslide/graphics/controlbar-black-border.gif); display: block; float: left; height: 30px; width: 30px;outline: none;}
.highslide-controls a.disabled {cursor: default;}
.highslide-controls a span {display: none;}
.highslide-controls .highslide-previous a {background-position: 0 0;}
.highslide-controls .highslide-previous a:hover {background-position: 0 -30px;}
.highslide-controls .highslide-previous a.disabled {background-position: 0 -60px !important;}
.highslide-controls .highslide-play a {background-position: -30px 0;}
.highslide-controls .highslide-play a:hover {background-position: -30px -30px;}
.highslide-controls .highslide-play a.disabled {background-position: -30px -60px !important;}
.highslide-controls .highslide-pause a {background-position: -60px 0;}
.highslide-controls .highslide-pause a:hover {background-position: -60px -30px;}
.highslide-controls .highslide-next a {background-position: -90px 0;}
.highslide-controls .highslide-next a:hover {background-position: -90px -30px;}
.highslide-controls .highslide-next a.disabled {background-position: -90px -60px !important;}
.highslide-controls .highslide-move a {background-position: -120px 0;}
.highslide-controls .highslide-move a:hover {background-position: -120px -30px;}
.highslide-controls .highslide-full-expand a {background-position: -150px 0;}
.highslide-controls .highslide-full-expand a:hover {background-position: -150px -30px;}
.highslide-controls .highslide-full-expand a.disabled {background-position: -150px -60px !important;}
.highslide-controls .highslide-close a {background-position: -180px 0;}
.highslide-controls .highslide-close a:hover {background-position: -180px -30px;}
/* Облако тегов */
.clouds_xsmall {font-size: x-small;}
.clouds_small {font-size: small;}
.clouds_medium {font-size: medium;}
.clouds_large {font-size: large;}
.clouds_xlarge {font-size: x-large;}

/* 8.5 */
.mass_comments_action {color: #1e1e1e; font: 1.1em/14px Tahoma, Helvetica, Sans-serif; padding: 1px 0px 25px 0px; overflow: hidden; zoom: 1; text-align: right; border-bottom: 1px solid #c9c9c9;}
.mass_comments_action .bbcodes {margin-bottom: -1px;}

.comment-footer>del {display: none;}
.comment-footer del+del {display: none;}
.comment-footer a+del {display: inline !important;}
.comment-footer>del+a+del {display: none !important;}
.comment-footer>input+a+del+a+del {display: inline !important;}


/* ==================== Информационное оконо загрузки AJAX */
#loading-layer {
    display:none;
    font-family: Verdana;font-size: 11px;
    background:#000;padding:10px;
    text-align:center;
    border:1px solid #000;
    color: #FFF;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}

/* ==================== Автозаполнение облака тегов */
.ui-autocomplete { position: absolute; cursor: default; }

* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */

.ui-menu {
            list-style:none;
            padding: 2px;
            margin: 0;
            display:block;
            float: left;
}
.ui-menu .ui-menu {
            margin-top: -3px;
}
.ui-menu .ui-menu-item {
            margin:0;
            padding: 0;
            zoom: 1;
        float: left;
            clear: left;
            width: 100%;
}
.ui-menu .ui-menu-item a {
            text-decoration:none;
            display:block;
            padding:.2em .4em;
            line-height:1.5;
            zoom:1;
}
.ui-menu .ui-menu-item a.ui-state-hover,
.ui-menu .ui-menu-item a.ui-state-active {
            font-weight: normal;
            margin: -1px;
}

/* ==================== Быстрый поиск на сайте */
#searchsuggestions { border-width:1px; border-color:#919191; border-style:solid; width:100px; background-color:#5c9ccc; font-size:10px; line-height:14px; }
#searchsuggestions a { padding:5px;display:block; background-color:#ffffff; clear:left; height:20px; text-decoration:none; }
#searchsuggestions a:hover { background-color:#fdd08b; color:#ffffff; }
#searchsuggestions a span.searchheading { background: #5c9ccc; display:block; font-weight:bold; padding:5px; color:#ffffff; }
#searchsuggestions a:hover span.searchheading { color:#ffffff; }
#searchsuggestions a span {color:#555555; }
#searchsuggestions a:hover span { color:#0000; }
#searchsuggestions span.seperator { float:right; padding-right:15px; margin-right:5px;}
#searchsuggestions span.seperator a { background-color:transparent; display:block; height:auto; color:#ffffff; }
#searchsuggestions span.notfound {  padding:5px;background-color:#ffffff; display:block; height:auto; color:#00000; }
/* ==================== Диалоговые и всплывающие окна jQuery UI */
.ui-helper-clearfix:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}
.ui-helper-clearfix {
    display: inline-block;
}
* html .ui-helper-clearfix {
    height: 1%;
}
.ui-helper-clearfix {
    display: block;
}
.ui-icon {
    background-repeat: no-repeat;
    display: block;
    overflow: hidden;
    text-indent: -99999px;
}
.ui-widget {
    font-family: Tahoma, Lucida Sans, Arial, sans-serif;
    font-size: 11px;
}
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
    font-family: tahoma, Arial, sans-serif;
    font-size: 11px;
}
.ui-widget-content {
    background: #fcfdfd 50% bottom repeat-x;
    border: 1px solid #a6c9e2;
    color: #222222;
}
.ui-widget-content a {
    color: #222222;
}
.ui-widget-header {
    background: #5c9ccc url(../images/ui-bg_gloss-wave.png) 50% 50% repeat-x;
    border: 1px solid #4297d7;
    color: #ffffff;
    font-weight: bold;
}
.ui-widget-header a {
    color: #ffffff;
}
.ui-state-default, .ui-widget-content .ui-state-default {
    background: #dfeffc url(../images/ui-bg_glass_85.png) 50% 50% repeat-x;
    border: 1px solid #c5dbec;
    color: #2e6e9e;
    font-weight: bold;
}
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited {
    color: #2e6e9e;
    text-decoration: none;
}
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus {
    background: #d0e5f5 url(../images/ui-bg_glass_75.png) 50% 50% repeat-x;
    border: 1px solid #79b7e7;
    color: #1d5987;
    font-weight: bold;
}
.ui-state-hover a, .ui-state-hover a:hover {
    color: #1d5987;
    text-decoration: none;
}
.ui-state-active, .ui-widget-content .ui-state-active {
    background: #f5f8f9 50% 50% repeat-x;
    border: 1px solid #79b7e7;
    color: #e17009;
    font-weight: bold;
}
.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited {
    color: #e17009;
    text-decoration: none;
}
.ui-widget :active {
    outline: none;
}
.ui-state-error {
    background: #fef1ec 50% 50% repeat-x;
    border: 1px solid #cd0a0a;
    color: #cd0a0a;
}
.ui-widget-header .ui-icon {
    background-image: url(../images/ui-icons.png);
}
.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {
    background-image: url(../images/ui-icons_h.png);
}
.ui-icon-close {
    background-position: -80px -128px;
}
.ui-icon-closethick {
    background-position: -96px -128px;
}
.ui-button .ui-button-text {
    display: block;
    line-height: 1.4;
}
.ui-button-text-only .ui-button-text {
    padding: .4em .8em;
}
input.ui-button {
    padding: .4em 1em;
}
.ui-button-set {
    margin-right: 7px;
}
.ui-button-set .ui-button {
    margin-left: 0;
    margin-right: -.3em;
}
button.ui-button::-moz-focus-inner {
    border: 0;
    padding: 0;
}
.ui-dialog {
    overflow: hidden;
    padding: .2em;
    position: absolute;
    width: 300px;
}
.ui-dialog .ui-dialog-titlebar {
    padding: .5em 1em .3em;
    position: relative;
}
.ui-dialog .ui-dialog-title {
    float: left;
    margin: .1em 16px .2em 0;
}
.ui-dialog .ui-dialog-titlebar-close {
    height: 18px;
    margin: -10px 0 0 0;
    padding: 1px;
    position: absolute;
    right: .3em;
    top: 50%;
    width: 19px;
}
.ui-dialog .ui-dialog-titlebar-close span {
    display: block;
    margin: 1px;
}
.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus {
    padding: 0;
}
.ui-dialog .ui-dialog-content {
    background: none;
    border: 0;
    overflow: hidden;
    padding: .5em 1em;
    position: relative;
    zoom: 1;
}
.ui-dialog .ui-dialog-buttonpane {
    background-image: none;
    border-width: 1px 0 0 0;
    margin: .5em 0 0 0;
    padding: .3em 1em .5em .4em;
    text-align: left;
}
.ui-dialog .ui-dialog-buttonpane button {
    cursor: pointer;
    float: right;
    line-height: 1.4em;
    margin: .5em .4em .5em 0;
    overflow: visible;
    padding: .2em .6em .3em .6em;
    width: auto;
}
.ui-dialog .ui-resizable-se {
    bottom: 3px;
    height: 14px;
    right: 3px;
    width: 14px;
}
.ui-draggable .ui-dialog-titlebar {
    cursor: move;
}
/*---Подсветка кода в теге [code]---*/
pre code {
  display: block; padding: 0.5em;
  background: #f9fafa;
  border: 1px solid #dce7e7;
  overflow:auto;
  white-space: pre;
}

pre .comment,
pre .template_comment,
pre .diff .header,
pre .doctype,
pre .lisp .string,
pre .javadoc {
  color: #93a1a1;
  font-style: italic;
}

pre .keyword,
pre .css .rule .keyword,
pre .winutils,
pre .javascript .title,
pre .method,
pre .addition,
pre .css .tag,
pre .lisp .title {
  color: #859900;
}

pre .number,
pre .command,
pre .string,
pre .tag .value,
pre .phpdoc,
pre .tex .formula,
pre .regexp,
pre .hexcolor {
  color: #2aa198;
}

pre .title,
pre .localvars,
pre .function .title,
pre .chunk,
pre .decorator,
pre .builtin,
pre .built_in,
pre .lisp .title,
pre .identifier,
pre .title .keymethods,
pre .id {
  color: #268bd2;
}

pre .tag .title,
pre .rules .property,
pre .django .tag .keyword {
  font-weight: bold;
}

pre .attribute,
pre .variable,
pre .instancevar,
pre .lisp .body,
pre .smalltalk .number,
pre .constant,
pre .class .title,
pre .parent,
pre .haskell .label {
  color: #b58900;
}

pre .preprocessor,
pre .pi,
pre .shebang,
pre .symbol,
pre .diff .change,
pre .special,
pre .keymethods,
pre .attr_selector,
pre .important,
pre .subst,
pre .cdata {
  color: #cb4b16;
}

pre .deletion {
  color: #dc322f;
}

pre .tex .formula {
  background: #eee8d5;
}

Заранее огромное спасибо.

Сообщение отредактировал Armast - 2.12.2012, 20:00
0
Вернуться в начало страницы
 
Ответить с цитированием данного сообщения
serg5777
serg5777
сообщение 2.12.2012, 20:18; Ответить: serg5777
Сообщение #2


Проинспектируйте элемент.
Вернуться в начало страницы
 
Ответить с цитированием данного сообщения
rjksdfhe
rjksdfhe
сообщение 2.12.2012, 20:21; Ответить: rjksdfhe
Сообщение #3


Да уж, простыня хороша...
Никто такое даже проверять не будет не то что не видя вёрстки самой страницы, а и вообще.

Самый простой совет - поставьте Хром, правой кнопкой по этому блоку, просмотр кода элемента.
Играйтесь или с последним действующем стилем, или принудительно задайте через style="" в вёрстке.
Вернуться в начало страницы
 
Ответить с цитированием данного сообщения
denum
denum
сообщение 2.12.2012, 20:34; Ответить: denum
Сообщение #4


удаляйте код css, который вы разместили. СРОЧНО!
оставьте скриншот и ссылку на сайт, так вам бы уже давно помогли.

а сейчас вы просто попросили найти иголку в стоге сена.


Поблагодарили: (1)
Вернуться в начало страницы
 
Ответить с цитированием данного сообщения
extezy
extezy
сообщение 2.12.2012, 20:49; Ответить: extezy
Сообщение #5


Заменить:
/* Контент */

На:
.КонтентУменьшитьРасстояние {где: закрашено красненьким; куда: влево; сколько: 3-4 раза; серьезно?: да;}


--------------------
Дизайнер, музыкант, автогонщик, футболист. Люблю Алену, мамин борщ и пиво с шоколадом.
ZOMRO.COM - держу свои проекты на этом хостинге, рекомендую.


Поблагодарили: (1)
Вернуться в начало страницы
 
Ответить с цитированием данного сообщения
Armast
Armast
Topic Starter сообщение 2.12.2012, 21:04; Ответить: Armast
Сообщение #6


сайт kursk-city тучка кум
Вернуться в начало страницы
 
Ответить с цитированием данного сообщения
serg5777
serg5777
сообщение 2.12.2012, 21:17; Ответить: serg5777
Сообщение #7


В общем в этом .one-lastnews, либо здесь .news-preview элементах CSS поизменяйте значения.

p.s. вроде простенький диз, а в css непонятно что наворотили))

Сообщение отредактировал serg5777 - 2.12.2012, 21:25
Вернуться в начало страницы
 
Ответить с цитированием данного сообщения
Fallup
Fallup
сообщение 2.12.2012, 21:26; Ответить: Fallup
Сообщение #8


удаляйте код css, который вы разместили. СРОЧНО!

А че так?


--------------------
Вернуться в начало страницы
 
Ответить с цитированием данного сообщения
serg5777
serg5777
сообщение 2.12.2012, 21:27; Ответить: serg5777
Сообщение #9


Fallup, ага, типа паспортные данные в нем biggrin.gif


Поблагодарили: (1)
Вернуться в начало страницы
 
Ответить с цитированием данного сообщения
Fallup
Fallup
сообщение 2.12.2012, 21:29; Ответить: Fallup
Сообщение #10


.news-preview .news-preview-body {
padding: 0px 0px 0px 79px;


в этой строке устанавливайте значение с 79 на что-нибудь поменьше.

.news-preview .news-preview-title {
padding: 0px 0px 0px 79px;


Аналогично


--------------------


Поблагодарили: (1)
Вернуться в начало страницы
 
Ответить с цитированием данного сообщения
2 страниц V   1 2 >
Открыть тему
Тема закрыта
2 чел. читают эту тему (гостей: 2, скрытых пользователей: 0)
Пользователей: 0


Свернуть

> Похожие темы

  Тема Ответов Автор Просмотров Последний ответ
Открытая тема (нет новых ответов) Разработка/доработка сайтов Wordpress, HTML/CSS/JS
Вёрстка, перенос на WP, правки
9 malamut 3482 25.1.2024, 14:36
автор: malamut
Открытая тема (нет новых ответов) СОЗДАНИЕ : / САЙтЫ / ЛЕНДЫ / БОТЫ ТГ / ВАЙТЫ / КРЕО / СОФТЫ / ДИЗАЙН [PHP, JS, HTML/CSS] и другое
5 CULA 3416 19.12.2023, 18:55
автор: CULA
Открытая тема (нет новых ответов) Веб-разработка (HTML, CSS)
1 ViktoriaFE 6459 5.5.2021, 5:22
автор: bekett
Открытая тема (нет новых ответов) Разработка адаптивных вебсайтов. HTML/CSS/WordPress(сайты-визитки, лендинги, корпоративные сайты, интернет-магазины).
0 kozak199110 1667 3.3.2021, 12:22
автор: kozak199110
Открытая тема (нет новых ответов) Продам адаптивный шаблон (css/html/js) под cj/tube сайт
2 zaiko 1436 29.12.2020, 23:49
автор: zaiko


 



RSS Текстовая версия Сейчас: 23.4.2024, 20:24
Дизайн