и кнопка голосования задаются в моем шаблоне в одном месте.
то есть при изменений либо кнопка нелазит ( для kunena 1.6) либо наоборот становится слишком большой. (для голосования)
пробовал все возможные голосовалки.
результата ноль.
прикладываю CSS файл своего шаблона.( выделил нужную мне цифру от чего все пляшет)
======================================================================*\
|| #################################################################### ||
|| # Package - Joomla Template based on YJSimpleGrid Framework ||
|| # Copyright (C) 2010 Youjoomla LLC. All Rights Reserved. ||
|| # license - PHP files are licensed under GNU/GPL V2 ||
|| # license - CSS - JS - IMAGE files are Copyrighted material ||
|| # bound by Proprietary License of Youjoomla LLC ||
|| # for more information visit http://www.youjoomla.com/license.html ||
|| # Redistribution and modification of this software ||
|| # is bounded by its licenses ||
|| # websites - http://www.youjoomla.com | http://www.yjsimplegrid.com ||
|| #################################################################### ||
\*======================================================================*/
@import url("layout.css"); /*layout CSS file*/
@import url("newsitems.css"); /*newsitems CSS file*/
@import url("menus.css"); /*menu CSS file*/
@import url("typo.css"); /*typo CSS file*/
body { text-align:center; /*center hack*/ padding:0; margin:0px 0 0px 0; line-height:18px; background-color:#FFFFFF; }
#stylef1 { font-family:"Bookman Old Style", serif; }
#stylef2 { font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; }
#stylef3 { font-family: "Times New Roman", Times, serif; }
#stylef4 { font-family:Century Gothic, sans-serif; }
#stylef5 { font-family:"Lucida Grande", sans-serif; }
#stylef6 { font-family: Arial, Helvetica, sans-serif; }
#stylef7 { font-family: Tahoma, Geneva, sans-serif; }
#stylef8 { font-family: Verdana, Geneva, sans-serif; }
#stylef9 { font-family: Copperplate Gothic Light, sans-serif; }
#stylef10 { font-family:"Lucida Console", Monaco, monospace; }
#stylef11 { font-family: Gill Sans MT, sans-serif; }
#stylef12 { font-family: "Trebuchet MS", Helvetica, sans-serif; }
#stylef13 { font-family: "Courier New", Courier, monospace; }
#stylef14 { font-family: Cambria, serif; }
#stylef15 { font-family: Georgia, Serif; }
#stylef16 { font-family:"Trebuchet MS", Arial, Helvetica, sans-serif; }
/* Joomla! STYLING
--------------------- */
a:focus { outline:0px; }
focus { outline:0px; }
h1, h2, h3, h4, h5, h6, p, blockquote, form, label, ul, ol, dl, fieldset, address { margin:0.5em 0; }
ul { margin: 0px; padding: 0px; list-style:none; }
ul li { padding-left:15px; }
body ol { list-style: decimal inside; margin:0; padding:0; }
body ol li { margin: 0px; padding: 5px 3px; list-style-image:none; background:none; }
/* ORDERED LIST FOR MODULES ONLY */
.yjsquare_in ol li, .yjround_in ol li { }
/*END*/
body a, body a:hover { cursor: pointer; }
a:link, a:visited { text-decoration: none; }
a:hover { text-decoration: none; }
h1 { font-size:2.5em; line-height:1.5em; }
h2 { font-size:1.7em; line-height:1.7em; }
h3 { font-size:1.3em; line-height:1.3em; }
h4 { font-size:1.2em; line-height:1.2em; }
h5 { font-size:1.1em; line-height:1.1em; }
h6 { font-size:1em; line-height:1em; font-weight:bold; }
h1 .cufon { padding:5px 0 0 0; }
.componentheading { letter-spacing: normal; margin:0 0px 4px 0px; }
.contentpaneopen { padding:0 0px; text-align: left; }
.contentpane { padding:0 0px 0px 0px !important; text-align: left; }
.category { margin-left:0px; }
.insidem ul { margin-left:10px; }
.contentpaneopen, .contentpane { }
.contentpaneopen { border-collapse: separate; border-spacing: 3px; }
table.contenttoc { margin: 0 0 10px 10px; padding: 0; width: 30%; float: right; }
.toclink { padding:5px; display:block; margin: 2px 0; }
/*SITE IMAGES*/
img a, img { border:0; padding:0; }
.img_caption { text-align:center; }
.img_caption.left { float: left; margin-right: 1em; }
.img_caption.right { float: right; margin-left: 1em; }
.img_caption.left p { clear: left; text-align: center; padding:3px; }
.img_caption.right p { clear: right; text-align: center; padding:3px; }
.contentdescription img { padding:5px; margin:0px; }
/* END SITE IMAGES */
input#search_searchword { padding:2px; }
table.searchintro { padding: 10px 0; width: 100%; }
table.searchintro td { padding: 5px!important; }
.clr { clear:both; height:1px; }
fieldset { padding:.5em; }
.inputbox { margin-top:5px; }
.input { border:0; }
/* BUTTONS
--------------------- */
.required { margin:5px 0 0 0; }
.button, .validate { padding:1px 3px; border:none; margin-top:5px; width:270px; height:24px; line-height:24px; text-transform:uppercase; font-size:9px; font-weight:; text-align:center; }
.readon { height:24px; line-height:24px; display:block; clear:both; float:left; padding:0 0 0 10px; margin:10px 0 0 0; }
.readon span { display: block; height:24px; line-height:24px; padding:0 10px 0 0px; }
a.pagenav, .pagenav_prev a, .pagenav_next a, .pagenavbar a, .back_button a { height:21px; text-transform:uppercase; font-weight:normal; line-height:21px; padding:0 5px; }
.back_button { padding: 0 5px; }
/*END BUTTONS*/
/*POLL */
.yjsg_poll { padding:0 5px; }
div.yjsg_poll div.poll fieldset { margin: 15px 0px 10px 0px; }
table.pollstableborder td.sectiontableentry0, table.pollstableborder td.sectiontableentry1, table.pollstableborder td.sectiontableentry2, table.pollstableborder tr.sectiontableentry0 td, table.pollstableborder tr.sectiontableentry1 td, table.pollstableborder tr.sectiontableentry2 td { height: 20px; padding-left: 5px; text-align:left; padding-right: 10px; line-height: 18px; margin-bottom:5px; background: none; border:none; }
table.pollstableborder { border: none; padding: 0; width: 100%; text-align: left; }
table.pollstableborder img { vertical-align: baseline; }
table.pollstableborder td { padding:0 5px !important; }
/*SECTION TABLE ENTERIES */
tr.sectiontableentry0 td, tr.sectiontableentry1 td, tr.sectiontableentry2 td, td.sectiontableentry0, td.sectiontableentry1, td.sectiontableentry2 { height: 20px; padding: 0 10px; line-height: 29px; }
.sectiontableheader { padding: 5px; font-weight: bold; }
/*SECTION TABLE ENTERY COLORS. MOVE TO COLOR.CSS IF YOU LIKE TO CHANGE THEM
--------------------- */
table.pollstableborder tr.sectiontableentry0 td { border: none; background: #f3f2f2; }
table.pollstableborder tr.sectiontableentry1 td, table.pollstableborder tr.sectiontableentry2 td { border: none; }
.sectiontableheader { border: 1px solid #d4d4d4; background:#DEDEDE; }
.sectiontableentry1 { background-color : #DEDEDE; }
tr.sectiontableentry0 td, tr.sectiontableentry1 td, tr.sectiontableentry2 td, td.sectiontableentry0, td.sectiontableentry1, td.sectiontableentry2 { border-bottom: 1px solid #fff; }
tr.sectiontableentry0 td, td.sectiontableentry0, tr.sectiontableentry2 td, td.sectiontableentry2 { background-color: #f3f2f2; }
tr.sectiontableentry1 td, td.sectiontableentry1 { background-color: #E9E9E9; }
tr.sectiontableentry0:hover td, tr.sectiontableentry1:hover td, tr.sectiontableentry2:hover td { background-color: #EEEEEE; }
/* default system
--------------------- */
/* Tooltips */
.tool-tip { float: left; background: #ffc; border: 1px solid #D4D5AA; padding: 5px; max-width: 200px; text-align:left; }
.tool-title { padding: 0; margin: 0; font-size:12px; font-weight: bold; margin-top: -15px; padding-top: 15px; padding-bottom: 5px; text-align:left; background: url(../../system/images/selector-arrow.png) no-repeat; }
.tool-text { font-size:11px; margin: 0; text-align:left; }
/* OpenID icon style */
input.system-openid { background: url(http://openid.net/login-bg.gif) no-repeat; background-color: #fff; background-position: 0 50%; color: #000; padding-left: 18px; }
/* Unpublished */
.system-unpublished { background: #FDFDFD; border-top: 1px solid #EAEAEA; border-bottom: 1px solid #EAEAEA; }
/* System Messages */
#system-message { margin-bottom: 10px; padding: 0; }
#system-message dt { font-weight: bold; }
#system-message dd { margin: 0; font-weight: bold; text-indent: 30px; background-image:none; }
#system-message dd ul { background-color:#FDFDFD; color: #c02; margin-bottom: 10px; list-style: none; padding: 10px; border-top: 1px solid #EAEAEA; border-bottom: 1px solid #EAEAEA; }
/* System Standard Messages */
#system-message dt.message { display: none; }
#system-message dd.message { }
#system-message dd.message ul li { background-image:none; }
/* System Error Messages */
#system-message dt.error { display: none; }
#system-message dd.error ul { color: #c00; background-color: #FDFDFD; border-top: 1px solid #EAEAEA; border-bottom: 1px solid #EAEAEA; }
#system-message dd.error ul li { background-image:none; }
/* System Notice Messages */
#system-message dt.notice { display: none; }
#system-message dd.notice ul { color: #c00; background: #FDFDFD; border-top: 1px solid #EAEAEA; border-bottom: 1px solid #EAEAEA; }
#system-message dd.notice ul li { background-image:none; }
/* Debug */
#system-debug { color: #ccc; background-color: #fff; padding: 10px; margin: 10px; text-align:left; }
#system-debug div { font-size: 11px; }
/* Form validation */
.invalid { border-color: #ff0000; }
label.invalid { color: #ff0000; }
/* Buttons */
#editor-xtd-buttons { padding: 5px; }
.button2-left, .button2-right, .button2-left div, .button2-right div { float: left; }
.button2-left a, .button2-right a, .button2-left span, .button2-right span { display: block; height: 22px; float: left; line-height: 22px; font-size: 11px; color: #666; cursor: pointer; }
.button2-left span, .button2-right span { cursor: default; color: #999; }
.button2-left .page a, .button2-right .page a, .button2-left .page span, .button2-right .page span { padding: 0 6px; }
.page span { color: #000; font-weight: bold; }
.button2-left a:hover, .button2-right a:hover { text-decoration: none; color: #0B55C4; }
.button2-left a, .button2-left span { padding: 0 24px 0 6px; }
.button2-right a, .button2-right span { padding: 0 6px 0 24px; }
.button2-left { background: url(../images/j_button2_left.png) no-repeat; float: left; margin-left: 5px; }
.button2-right { background: url(../images/j_button2_right.png) 100% 0 no-repeat; float: left; margin-left: 5px; }
.button2-left .image { background: url(../images/j_button2_image.png) 100% 0 no-repeat; }
.button2-left .readmore { background: url(../images/j_button2_readmore.png) 100% 0 no-repeat; }
.button2-left .pagebreak { background: url(../images/j_button2_pagebreak.png) 100% 0 no-repeat; }
.button2-left .blank { background: url(../images/j_button2_blank.png) 100% 0 no-repeat; }
/* Calendar */
a img.calendar { width: 16px; height: 16px; margin-left: 3px; background: url(../images/calendar.png) no-repeat; cursor: pointer; vertical-align: middle; }
/*contact*/
#component-contact { padding:0 8px; }