ورود

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : مشکل فاصله در قالب



dardesar
10-26-2006, 12:56 PM
سلام
عکس را ببینید ..
<b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b>
در عکس مواردی مشخص شده که نوشته ها چسبیدن به خط و فاصله 0 پیکسل می باشد ...
راهنمایی کنید که کجای سی اس اس باید تغیید کنه تا درست بشه ؟؟؟

کد سی اس اس این قالب :



/* CSS Document */

html {
height: 100%;
}

body {
height: 100%;
margin: 0px 0px 0px 0px;
direction:rtl;
background-color:#1B3602;
}
.clr {
clear: both;
}
table.main{
width:758px;
}
.outline {
border: 1px solid #cccccc;
background: #ffffff;
padding: 2px;
}

#buttons_outer {
width: 635px;
margin-bottom: 2px;
margin-left: 2px;
float: right;

}

#buttons_inner {
border: 1px solid #cccccc;
height: 21px;
}

#pathway_text {
overflow: hidden;
display: block;
height: 25px;
line-height: 25px !important;
line-height: 22px;
padding-right: 4px;
border: 1px solid #008C00;
margin-bottom: 2px;
}

#pathway_text img {
margin-right: 5px;
margin-left: 5px;
margin-top: 6px;
}

#buttons {
float: right;
margin: 0px;
padding: 0px;
width: auto;
}


ul#mainlevel-nav
{
list-style: none;
padding: 0;
margin: 0;
font-size: 0.8em;
}

ul#mainlevel-nav li
{
background-image: none;
padding-right: 4px;
padding-left: 0px;
float: right;
font-size: 11px;
line-height: 22px;
white-space: nowrap;
background-image:url(../images/top_link.png);
background-repeat:no-repeat;
background-position:left top;
height:22px;
}

ul#mainlevel-nav li a
{
display: block;
padding-right: 15px;
padding-left: 15px;
text-decoration: none;
color:#FFFFFF;
background: transparent;
}

#buttons&gt;ul#mainlevel-nav li a { width: auto; }

ul#mainlevel-nav li a:hover
{
color:#00FF66;
}


#search_outer {
float: right;
width: 165px;
}

#search_inner {
border: 1px solid #cccccc;
padding: 0px;
height: 21px !important;
height: 23px;
overflow: hidden;
}

#search_inner form {
padding: 0;
margin: 0;
}

#search_inner .inputbox {
border: 0px;
padding: 3px 3px 3px 5px;
font-family: Tahoma;
font-size: 11px;
color: #008C00;
}
input {
font-family: Tahoma;
font-size: 13px;
color: #008C00;
}
#header_outer {
text-align: right;
border: 0px;
margin: 0px;
}

#header {
float: right;
padding: 0px;
margin-left: 2px;
width: 635px;
height: 150px;
background: url(../images/header_short.jpg) no-repeat;
}

#top_outer{
float: right;
width: 165px;
}

#top_inner {
border: 1px solid #cccccc;
padding: 2px;
height: 144px !important;
height: 150px;
overflow: hidden;
float: none !important;
float: right;
}

#right_outer {
float: right;
margin-top: 2px;
width: 165px;
}

#right_inner {
border: 1px solid #cccccc;
padding: 2px;
float: none !important;
float: right;
}

#content_outer {
padding: 0px;
margin-top: 0px;
margin-right: 2px;
/** border: 1px solid #cccccc; **/
float: right;
width: 635px;
}

#content_inner{
float: none !important;
float: right;
padding: 0;
padding-top: 2px;
margin: 0;
}

table.content_table {
width: 100%;
padding: 0px;
margin: 0px;
}

table.content_table td {
padding: 0px;
margin: 0px;
}


#banner_inner {
float: right;
padding: 0px;
height: 70px;
}

#poweredby_inner {
float: left;
padding: 0px;
margin-right: 0px;
height: 70px;
}

#left_outer {
margin-right: 2px;
width: 165px;
}

#left_inner {
float: none !important;
float: right;
border: 1px solid #cccccc;
padding: 2px;
}


.user1_inner {
border: 1px solid #cccccc;
float: none !important;
float: right;
margin: 0px;
padding: 2px;
}

.user2_inner {
border: 1px solid #cccccc;
float: none !important;
float: right;
margin: 0px;
padding: 2px;
}

table td.body_outer {
padding: 2px;
border: 1px solid #cccccc;
}

.maintitle {
color: #ffffff;
font-size: 40px;
padding-right: 15px;
padding-top: 20px;
}

.error {
font-style: italic;
text-transform: uppercase;
padding: 5px;
color: #cccccc;
font-size: 14px;
font-weight: normal;
}

/** old stuff **/

div.back_button {
float: right;
text-align: center;
font-size: 11px;
font-weight: normal;
width: auto;
background: url(../images/bac_btn.png) repeat-x;
line-height: 20px;
margin: 1px;
color:#006600;
width:115px;
}

.pagenav {
text-align: center;
font-size: 11px;
font-weight: normal;
border: 1px double #cccccc;
width: auto;
padding: 0px 10px;
line-height: 20px;
margin: 1px;
color:#006600;
}

.pagenavbar {
margin-left: 10px;
float: left;
}

#footer {
text-align: center;
padding: 3px;
}

ul
{
margin: 0;
padding: 0;
list-style: none;
}

li
{
line-height: 15px;
padding-right: 15px;
padding-top: 0px;
background-image: url(../images/arrow.png);
background-repeat: no-repeat;
background-position:right;
}


td {
text-align: right;
font-size: 11px;
}



body {
padding: 0px;
font-family: Tahoma;
line-height: 120%;
font-size: 11px;
color:#666666;
}

/* Joomla core stuff */
a:link, a:visited {
color: #008C00; text-decoration: none;
font-weight: normal;
}

a:hover {
color:#008C00; text-decoration: none;
font-weight: normal;
}

table.contentpaneopen {
width: 100%;
border-collapse: collapse;
border-spacing: 0px;
margin: 0px;
}

table.contentpaneopen td {
padding-left: 5px;

}

table.contentpaneopen td.componentheading {
padding-right: 4px;

}



table.contentpane {
width: 100%;
padding: 0px;
border-collapse: collapse;
border-spacing: 0px;
margin: 0px;
}

table.contentpane td {
margin: 0px;
padding: 0px;
}

table.contentpane td.componentheading {
padding-right: 4px;
}

table.contentpaneopen fieldset {
border: 0px;
border-bottom: 1px solid #eee;
}

.button {
color:#006600;
font-family: Tahoma;
text-align: center;
font-size: 11px;
font-weight: normal;
border: 1px double #cccccc;
width: auto;
background: url(../images/button_bg.png) repeat-x;
background-position:bottom;
padding: 0px 5px;
line-height: 18px !important;
line-height: 16px;
height: 26px !important;
height: 24px;
margin: 1px;
}

.inputbox {
padding: 2px;
border:solid 1px #cccccc;
background-color: #ffffff;
}

.componentheading {
color: #008C00;
text-align: right;
padding-top: 13px;
padding-right:10px;
height: 22px;
font-size: 18px;
font-family:Tahoma;
background-image:url(../images/bac_content.png);
background-repeat:no-repeat;
background-position:bottom right;

}

.contentcolumn {
padding-left: 5px;
}

.contentheading {
border-top-color:#1B3602;
border-top-style:dotted;
border-top-width:1px;
text-align: right;
padding-top: 3px;
padding-right:10px;
height: 40px;
color:#003300;
font-weight: bold;
font-size: 13px;
background-image:url(../images/bac_content.png);
background-repeat:no-repeat;
background-position:bottom right;
padding-bottom:4px !important;
padding-bottom:0px;
}



.contentpagetitle {
font-size: 13px;
font-weight: normal;
color: #cccccc;
text-align:right;
}

table.searchinto {
width: 100%;
}

table.searchintro td {
font-weight: normal;
}

table.moduletable {

width: 100%;
margin-bottom: 5px;
padding: 0px;
border-spacing: 0px;
border-collapse: collapse;
}

div.moduletable {
margin-bottom: 0px;
background-image:url(../images/bot_mod.png);
background-position:bottom left;
background-repeat:no-repeat;
padding-bottom:20px;
padding-right:0px;

}

table.moduletable th, div.moduletable h3 {
background: url(../images/top_mod.jpg) no-repeat;
background-position:bottom left;
color: #FFFFFF;
text-align: right;
padding-right: 25px;!important
height: 42px;
line-height: 42px;
font-weight: bold;
font-size: 12px;
font-family:Tahoma;
margin-top:0px;
margin-right:0px;
margin-bottom:0px;
}
table.moduletable td {
font-size: 11px;
margin: 0px;
font-weight: normal;

}

table.pollstableborder {
padding: 2px;
width:96%;
}
moduletable-Banners {
text-align:center;
}
.sectiontableheader {
background-color:#F0FFF0;
border-bottom-color:#1B3602;
border-bottom-style:dotted;
border-bottom-width:1px;
border-top-color:#1B3602;
border-top-style:dotted;
border-top-width:1px;

font-weight: bold;

padding: 4px;
height:20px;
}
a.category {
font-weight: bold;
padding: 8px;
color:#666666;
}
a.category:hover {
font-weight: bold;
padding: 8px;
color:#666666;
}
a.category:visited {
font-weight: bold;
padding: 8px;
color:#666666;
}
img.image{
border: 1px solid #666666;
width:64px;
height:64px;
}
a.download {
font-weight: bold;
color:#666666;
}
a.download:hover {
font-weight: bold;
color:#666666;
}
a.download:visited {
font-weight: bold;
color:#666666;
}
.sectiontablefooter {

}

.sectiontableentry1 {
background-color:#F0FFF0;
border-bottom-color:#CCCCCC;
border-bottom-style:dotted;
border-bottom-width:1px;
}

.sectiontableentry2 {
background-color:#F0FFF0;
border-bottom-color:#CCCCCC;
border-bottom-style:dotted;
border-bottom-width:1px;
}

.small {
color: #008C00;
font-size: 11px;
}

.createdate {
height: 15px;
padding-bottom: 10px;
color: #999999;
font-size: 11px;
}

.modifydate {
height: 15px;
padding-top: 10px;
color: #999999;
font-size: 11px;
}

table.contenttoc {
border: 1px solid #cccccc;
padding: 2px;
margin-right: 2px;
margin-bottom: 2px;
}

table.contenttoc td {
padding: 2px;
}

table.contenttoc th {
color: #008C00;
text-align: right;
padding-top: 2px;
padding-right: 4px;
height: 21px;
font-weight: normal;
font-size: 10px;
text-transform: uppercase;
}

a.mainlevel:link, a.mainlevel:visited {
display: block;
background: url(../images/menu_bg.png) no-repeat;
background-position:right top;
font-size: 11px;
font-weight: bold;
color:#008C00;
text-align: right;
padding-top: 5px;
padding-right: 45px;
height: 22px !important;
height: 28px;
width: 100%;
text-decoration: none;
}

a.mainlevel:hover {
background-position:34px -31px !important;
background-position:7px -31px;
text-decoration: none;
color:#999999;
}

a.mainlevel#active_menu {
background-position:34px -31px !important;
background-position:7px -31px;
text-decoration: none;
color:#FF0000;
}

a.mainlevel#active_menu:hover {
color: #999999;
}

a.sublevel:link, a.sublevel:visited {
padding-right: 1px;
vertical-align: middle;
font-size: 11px;
font-weight: normal;
color: #008C00;
text-align: right;
}

a.sublevel:hover {
color: #008C00;
text-decoration: none;
}

a.sublevel#active_menu {
color: #333;
}

.highlight {
background-color: Yellow;
color: Blue;
padding: 0;
}
.code {
background-color: #ddd;
border: 1px solid #bbb;
}

form {
/* removes space below form elements */
margin: 0;
padding: 0;
width:98%;
}

div.mosimage {
border: 1px solid #cccccc;
}

div.message {
color:#FF0000;
font-weight:bold;
font-size:12px;
text-align:center;
padding-top:20px;
}
.mosimage {
border: 1px solid #cccccc;
margin: 5px
}

.mosimage_caption {
margin-top: 2px;
background: #efefef;
padding: 1px 2px;
color: #666;
font-size: 10px;
border-top: 1px solid #cccccc;
}

span.article_seperator {
display: block;
height: 1.5em;
}
td.dot {
height:5px;
}
table.top_menu{
padding-top:4px;
}
td.tab{
height:10px;
}
a.mostread, a.mostread:visited {
color:#9A927D;
font-weight:normal;
}
a.mostread:hover {
color:#008C00;
font-weight:normal;
}
a.latestnews, a.latestnews:visited {
color:#9A927D;
font-weight:normal;
}
a.latestnews:hover {
color:#008C00;
font-weight:normal;
}
li.latestnews-user{
padding-right:20px !important;
padding-right:10px;
}
li.mostread-user{
padding-right:20px !important;
padding-right:10px;
}
td.site_name {
font-size:44px;
padding-top:16px;
padding-bottom:10px;
font-weight:normal;
color:#008C00;
}
td.site_desc {
font-size:15px;
font-weight:normal;
color:#008C00;
}
table.box_table{
background-color:#F7F7F7;
}
a.readon, a.readon:visited {
display:block;
width:100px;
color:#FFFFFF;
padding-right:15px;
background-image:url(../images/readon.png);
background-repeat:no-repeat;
background-position:right;
float:left;
padding-top:3px;
height:21px;
}
th.pagenav_next {
display:block;
color:#FFFFFF;
padding-right:15px;
background-image:url(../images/pagenav.png);
background-repeat:no-repeat;
background-position:center;
height:21px;
font-size:11px;
width:50px;
text-align:center;
}
th.pagenav_prev {
display:block;
color:#FFFFFF;
padding-right:15px;
background-image:url(../images/pagenav.png);
background-repeat:no-repeat;
background-position:center;
height:21px;
font-size:11px;
width:50px;
}
td.bac_module {
background-image:url(../images/bac_mod.png);
background-position:left;

}
td.ver {
text-align: center;
font-size:18px;
font-weight:normal;
color:#FFFFFF;
height:30px;

}
td.logo{
background-image: url(../images/left_logo.jpg);
background-repeat:no-repeat;
background-position:right;
}
table.logo2 {
background-image: url(../images/bac_logo.jpg);
height:219px;
}
td.logo3 {
background-image: url(../images/logo.jpg);
background-repeat:no-repeat;
background-position:left;
}
.w{
color:#FFFFFF;
}



منتظر کمکتون هستم !!

younes
10-26-2006, 09:16 PM
سلام امید وارم کمک بتونم بکنم ولی زیاد روش حساب نکن :D
لطفا کدهای زیر را تغییر بده


.inputbox {
padding: 2px;
border:solid 1px #cccccc;
background-color: #ffffff;
padding رو بسته به اینکه می خواهد به سمت چب بره یا راست تغییر بده به paddig :0 5px 0 0 ویا padding 0 0 0 5px
و همین طور

table.moduletable td {
font-size: 11px;
margin: 0px;
font-weight: normal;

}
بهش padding رو اضافه کن مثل بالا در کل برای اینکه ببینی باید رو چه کلاسهایی کارکنی این آموزش رو ببین
<b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b>

dardesar
10-27-2006, 09:34 AM
سلام ...
نه ... با اینایی که گفتین درست نشد !!!
چیکارش کنیم ؟؟؟

دوستان یکی کمک کنه !!!

منتظرم ..

Siamak
10-27-2006, 10:29 AM
شما میتونید از راهنمای بسیار جالب این سایت استفاده کنید: <b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b>