Проблема с отображением опросов

Тема в разделе "HTML, CSS, XML, JavaScript", создана пользователем Liciero, 16 ноя 2008.

  1. Liciero

    Liciero Гость

    У меня в шаблоне плохо отображаются опросы.

    Вот скрин:

    [​IMG]

    Слишком большой отступ между вариантами ответов.

    Как можно это исправить?

    Вот файл default.css:

    Код (Text):
    html,body {font-size:11px; color:#5a5a5a; font-family:tahoma; background:#262a2d;}

    * {margin:0; padding:0;}

    img {border:0px;}
    div {vertical-align:top;}
    ul {list-style:none;}
    form {padding:0px; margin:0px;}
    h1 {letter-spacing:-1px; font-weight:normal; font-size:22px;}
    textarea {border: 1px #dadada solid;}
    input {font-size:11px; color:#666; padding: 3px 0 0 3px;}
    button {color:#666;}

    #wrapper {width:expression((documentElement.clientWidth||document.body.clientWidth)<1004?'1004px':''); min-width:1004px;}
    *:first-child+html #wrapper {padding-bottom:30px;}

    .body-block {overflow:hidden; background:#fff; margin-left:2%; margin-right:2%;}

    #header {margin-top:65px;}
    #content {padding:25px 30px 0 30px;}
    #footer {padding:0px 50px 30px 50px; overflow:hidden; background:#fff; margin:-15px 2% 30px 2%;}

    #middleside {overflow:hidden; background:#121212; width:100%; height:130px;}
    #head {background: #0c0c0c; overflow:hidden; width:100%}
    #ttl {overflow:hidden; width:100%}
    #header_l {background: url(../img/lft.gif) left no-repeat; }
    #header_r {height: 75px; background: url(../img/rgt.gif) right no-repeat; }
    #footer_l {background: url(../img/f_lft.gif) left no-repeat; }
    #footer_r {height: 75px; background: url(../img/f_rgt.gif) right no-repeat; }

    #footer_l {background: url(../img/f_lft.gif) left no-repeat; }
    #footer_r {height: 75px; background: url(../img/f_rgt.gif) right no-repeat; }

    #news {margin-right:28%;}
    #news #n {margin-top:-14px;}

    #side {float:right; width:28%;}
    #side div {margin-bottom:35px;}

    #logo {padding-left:35px; 0 0 45px; float:left; width:20%;}
    #logo p {position:absolute; font-size:10px; margin:-23px 0 0 132px;}
    *:first-child+html #logo p {position:absolute; margin-left:-135px; margin-top:57px;}

    #search {overflow:hidden; float:right; padding:27px 35px 25px 0;}
    #search li {float:right;}
    #searchtext {color:#414141; padding-top:4px; margin-right:10px;}
    #searchfield {background: url(../img/search.gif) no-repeat left scroll; width:193px; height:23px;}
    #searchstyle {height:15px; width:157px; border:0px; color:#999999; font-size:11px; font-family:tahoma; margin:2px 0 0 7px;}

    #toplinks {overflow:hidden; float:right; margin:31px 0 0 0; width:55%}
    *:first-child+html #toplinks {margin-top:-44px; margin-right:34%;}
    #toplinks li {float:left; padding-right:25px;}
    #toplinks img {vertical-align:text-bottom; margin:0 5px 1px 0;}
    #toplinks a {color:#414141;}
    #toplinks a:hover {color:#009900}

    #sitenews {overflow:hidden; float:right; width:65%; padding-top:22px; margin-right:-40px;}
    #sitenews li {float:left; width:40%; padding-left:4%;}
    #sitenews h2 {color:#aeaeae; font-size:10px; font-weight:normal;}
    #sitenews p {padding-top:8px; background:}

    #sk {overflow:hidden; float:right; width:65%; padding-top:22px; margin-right:-40px;}

    #date {float:right; color:#ccc; font-size:10px; padding:6px; margin:-43px 48px 0 0;}
    *:first-child+html #date {margin-top:20px;}
    #date #ea {vertical-align:text-bottom; margin:0 7px 0 4px;}
    #date #d {margin: 0px 7px;}

    #catnav {overflow:hidden;float:left; background:#171717; width:100%; padding:15px 0 15px 30px;}
    #catnav li {float:left; padding-right:4%;}
    #catnav p {font-size:10px; color:#757575; margin-top:-1px;}

    #catnav #rss {float:right; margin-right:20px; text-align:right; text-decoration:none;}
    #catnav #rss img {vertical-align:text-bottom; margin-right:7px;}

    #catnav a:visited,
    #catnav a:active,
    #catnav a:link {color:#009ed9; font-weight:bold; text-decoration:underline; font-size:12.2px;}
    #catnav a:hover {color:#757575; font-weight:bold; text-decoration:none;}

    #linknav {display:inline-block; width:100%; background:#e6e6e6; padding:12px 0 10px 30px; border-top:4px #cccbcb solid;}
    #linknav li {margin-right:4%; float:left;}
    #linknav img {margin-right:7px;}

    #b-about {margin-left:20px;}
    #b-about p {margin-left:2px; padding-top:15px; color:#615d5d;}

    #b-nav {overflow:hidden; background: #f5f6f6; padding:15px 0 10px 23px; margin-top:-10px;}
    #b-nav h1 {margin-bottom:15px;}
    #b-nav ul {float:left; width:50%;}
    *:first-child+html #b-nav ul {float:left; width:49%;}
    #b-nav li {background: url(../img/folder.gif) no-repeat left top; padding-left:23px; line-height:12px; margin-bottom:2px;}
    #b-nav midl {background: url(../img/midl.gif) no-repeat left top; padding-left:23px; line-height:12px; margin-bottom:2px;}
    #b-nav end {background: url(../img/end.gif) no-repeat left top; padding-left:23px; line-height:12px; margin-bottom:2px;}
    #b-nav p {margin-bottom:15px;}

    #b-info {margin-left:20px;}
    #b-info p {margin-top:15px; width:90%;}

    #b-ad {margin-left:15px;}
    #b-reg {margin:-15px 0 25px 4%;}

    #b-inform {background:#f5f6f6; color:#4e4e4e; padding:15px 20px 10px 23px; margin-top:-10px;}
    #b-inform p {margin-top:15px;}
    #b-inform a:link {color:#00aff0; text-decoration:underline;}
    #b-inform a:hover {color:#757575; text-decoration:none;}

    #b-snav {overflow:hidden; margin:-30px 0 30px 10px;}
    #b-snav p { text-decoration:underline; margin: 16px 0 16px 10px;}
    #b-snav ul {float:left; width:50%;}
    #b-snav li {line-height:15px;}
    #b-snav img {margin-right:5px;}
    #b-snav div {margin-left:10px;}

    #b-tags {background:#f5f6f6; padding:15px 20px 5px 23px;}
    #b-tags h1 {margin-bottom:15px;}

    #b-login {background:#fff; margin:0 2%}

    #notify {background:#f5f6f6; color:#575757; text-align:center; padding-right:5px;}
    #notify img {float:left; margin:2px 10px 0 5px;}

    #notify a:visited,
    #notify a:active,
    #notify a:link {color:#575757; font-weight:bold; text-decoration: underline;}
    #notify a:hover {color:#929292; text-decoration: none;}

    #ntf {width:79%; margin:0 0 25px 10px;}
    *:first-child+html #ntf {width:82%;}

    .dash {border-top: 1px dashed #e2e2e2; margin:15px 0px;}

    .hlit img {-moz-opacity: 0.8;}
    .hlit:hover img {-moz-opacity: 1;}

    .r1, .r2, .r3, .r5 {display:block; height: 1px;}

    .r5 {margin: 0 5px;}
    .r3 {margin: 0 3px;}
    .r2 {margin: 0 2px;}
    .r1 {margin: 0 1px;}

    .rounded .inner-box, .rounded b {background-color:#f5f6f6;}
    .inner-box {padding:1em;}

    .top-r {display:block; overflow:hidden; background: url(../img/tl.png) top left no-repeat #f5f6f6;}
    .top-r img {display:block; float:right;}

    .bot-r {display:block; overflow:hidden; background: url(../img/bl.png) top left no-repeat #f5f6f6; margin:-35px 0 35px 0;}
    .bot-r img {display:block; float:right;}

    .ntf-t {display:block; overflow:hidden; background: url(../img/tl.png) top left no-repeat #f5f6f6;}
    .ntf-b img {display:block; float:right;}

    a:link,
    a:visited,
    a:active {font-family:tahoma; color:#505050; font-size:11px; text-decoration:none;}
    a:hover {font-family:tahoma; color:#33aa05; font-size:11px;}

    .ntitle a:visited,
    .ntitle a:active,
    .ntitle a:link {font-family:tahoma; color:#2e2e2e; font-size:22px; letter-spacing:-1px; text-decoration:none; font-weight:normal;}
    .ntitle a:hover {font-family:tahoma; color:#515151; font-size:22px; letter-spacing:-1px; text-decoration:none; font-weight:normal;}
    И часть кода, которая выводит эти опросы в шаблоне:

    Код (Text):
    <!-- Menu -->
    <p class="top-r"><img src="{THEME}/img/tr.png" /></p>
    <div id="b-nav">
    <h1>Опросы:</h1>
    {vote}
    </div>
    <p class="bot-r"><img src="{THEME}/img/br.png" /></p>
    <!-- /Menu -->
    Заранее спасибо.
     
  2. Vovochka

    Vovochka Гость

    Код (Text):
    #b-nav p {margin-bottom:15px;}
    #b-nav h1 {margin-bottom:15px;}
    В этих зпаисях изменить значение нижнего отступа
     
Загрузка...

Поделиться этой страницей