هاست لینوکس

آخرین بسته‌ی MyBB: نسخه‌ی 1.8.27 MyBB منتشر شد


امتیاز موضوع:
  • 0 رأی - میانگین امتیازات: 0
  • 1
  • 2
  • 3
  • 4
  • 5
مشکل در راست چین نشدن متن
#1
سلام و عرض ادب
من یسری کد html رو دست کاری کردم و جدول بندی کردم همه چیزش تموم شده اما متاسفانه هر کاری میکنم متن همراه بالینک که توی هر کدوم از جدولها میزارم چپ چین یا وسط چین هست.

1.من میخوام همشون راستچین باشن.
2.اینکه نمیدونم چرا تعداد کاراکتر متنم کم میشه سایز جدول هم کم میشه.یعنی جدول کوچیک میشه!


کدها رو اینجا کپی کردم به همراه یکی از متنهای لینک دار اگر امکانش هست راهنمایی بفرمایید یا تغییرات لازم را اعمال کنید.
ممنون میشم کمکم کنید. 

کد:
{$ignore_bit}
<table border="5" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
    <tr>
        <td class="{$altbg}" width="50%" valign="top" style="white-space: nowrap; text-align: center;"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
        

<style>
.postbit {    
    background:rgb(219,219,219);
    background:-moz-linear-gradient(left,rgba(219,219,219,1) 0%,rgba(255,255,255,1) 49%,rgba(216,216,216,1) 100%);
    background:-webkit-gradient(linear,left top,right top,color-stop(0%,rgba(219,219,219,1)),color-stop(49%,rgba(255,255,255,1)),color-stop(100%,rgba(216,216,216,1)));
    background:-webkit-linear-gradient(left,rgba(219,219,219,1) 0%,rgba(255,255,255,1) 49%,rgba(216,216,216,1) 100%);
    background:-o-linear-gradient(left,rgba(219,219,219,1) 0%,rgba(255,255,255,1) 49%,rgba(216,216,216,1) 100%);
    background:-ms-linear-gradient(left,rgba(219,219,219,1) 0%,rgba(255,255,255,1) 49%,rgba(216,216,216,1) 100%);
    background:linear-gradient(to right,rgba(194, 176, 54, 1) 0%,rgba(255,255,255,1) 49%,rgba(52, 221, 215, 1) 100%);
    filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#dbdbdb',endColorstr='#d8d8d8',GradientType=1 );
    padding:0px 100px 5px 0px;
    margin-top:3px;
    text-align:ri;
    border-top:2px solid #FF8C00;
    border-bottom:4px solid#FF008E;
    border-right:2px solid #E23796;
    border-left:2px solid #D37B10;
    border-radius:8px;
    -moz-border-radius:8px;
    -webkit-border-radius:8px;
    -o-border-radius:8px;
    -ms-border-radius:8px;
    font-family:Tahoma;
    -moz-transition:all 0.3s ease-in;
    -webkit-transition:all 0.3s ease-in;
    -o-transition:all 0.3s ease-in;
    -ms-transition:all 0.3s ease-in;
    box-shadow:0px 0px 0px black;
    -moz-box-shadow:0px 0px 0px black;
    -webkit-box-shadow:0px 0px 0px black;
    -o-box-shadow:0px 0px 0px black;
    -ms-box-shadow:0px 0px 0px black;
    color:#3e3e3e
}
.postbit:hover {
    background:rgb(219,219,219);
    background:-moz-linear-gradient(left,rgba(219,219,219,1) 0%,rgba(216,216,216,1) 20%,rgba(255,255,255,1) 49%,rgba(216,216,216,1) 79%,rgba(216,216,216,1) 100%);
    background:-webkit-gradient(linear,left top,right top,color-stop(0%,rgba(219,219,219,1)),color-stop(20%,rgba(216,216,216,1)),color-stop(49%,rgba(255,255,255,1)),color-stop(79%,rgba(216,216,216,1)),color-stop(100%,rgba(216,216,216,1)));
    background:-webkit-linear-gradient(left,rgba(219,219,219,1) 0%,rgba(216,216,216,1) 20%,rgba(255,255,255,1) 49%,rgba(216,216,216,1) 79%,rgba(216,216,216,1) 100%);
    background:-o-linear-gradient(left,rgba(219,219,219,1) 0%,rgba(216,216,216,1) 20%,rgba(255,255,255,1) 49%,rgba(216,216,216,1) 79%,rgba(216,216,216,1) 100%);
    background:-ms-linear-gradient(left,rgba(219,219,219,1) 0%,rgba(216,216,216,1) 20%,rgba(255,255,255,1) 49%,rgba(216,216,216,1) 79%,rgba(216,216,216,1) 100%);
    background:linear-gradient(to right,rgba(219,219,219,1) 0%,rgba(216,216,216,1) 20%,rgba(255,255,255,1) 49%,rgba(216,216,216,1) 79%,rgba(216,216,216,1) 100%);
    filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#dbdbdb',endColorstr='#d8d8d8',GradientType=1 );
    color:#000;
    border-bottom:4px solid #0a97b8
}
</style>

   <div class="postbit"> <center><strong><span class="largetext"><span style="font-size: small;"><strong>&nbsp;<span style="color: #9C0F86;"><strong>  بمناسبت ولادت پیامبر(ص)&nbsp;<a href="http://mihankeyboardist.ir/showthread.php?tid=5431&pid=27009#pid27009" target="_blank"><span style="color: #0000ff;">کلیک نمایید</span></a></</span></strong></center> </div>
   <div class="postbit"><center>{$post['useravatar']}</center></div>
   <div class="postbit"><center>{$post['groupimage']}</center></div>
   
 
   <div class="postbit">{$post['user_details']}</div>
      </strong>
      <br />
         
      </span>



</td>
    <td class="{$altbg}" valign="top">
        <table width="100%">
            
            </style>

   <div class="postbit"> <center><strong><span class="largetext">{$post['profilelink']}</span></strong></center> </div>
   <div class="postbit"><center>{$post['useravatar']}</center></div>
   <div class="postbit"><center>{$post['groupimage']}</center></div>
 
 
   <div class="postbit">{$post['user_details']}</div>
      </strong>
      <br />
         
      </span
            

            
                
            </div>
        </td></tr>
          </table>
</td>
</tr>
<tr>
    <td class="{$altbg}" style="white-space: nowrap; text-align: center; vertical-align: middle;"><span class="smalltext"></style>

   <div class="postbit"> <center><strong><span class="largetext">{$post['profilelink']}</span></strong></center> </div>
   <div class="postbit"><center>{$post['useravatar']}</center></div>
   <div class="postbit"><center>{$post['groupimage']}</center></div>
 
   
   <div class="postbit">{$post['user_details']}</div>
      </strong>
      <br />
         
      </span></span></td>
    <td class="{$altbg}" style="vertical-align: middle;">
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr valign="bottom">
                </style>

   <div class="postbit"> <center><strong><span class="largetext"><span style="font-size: small;"><strong>&nbsp;<span style="color: #9C0F86;"><strong>  بمناسبت ولادت پیامبر(ص)&nbsp;<a href="http://mihankeyboardist.ir/showthread.php?tid=5431&pid=27009#pid27009" target="_blank"><span style="color: #0000ff;">کلیک نمایید</span></a></</span></strong></center> </div>
   <div class="postbit"><center>{$post['useravatar']}</center></div>
   <div class="postbit"><center>{$post['groupimage']}</center></div>
   

   <div class="postbit">{$post['user_details']}</div>
      </strong>
      <br />
         
      </span></td></td>
            </tr>
        </table>
    </td>
</tr>{$post['thxdsp_inline']}
</table>{$post['thxdsp_outline']}
پاسخ


پیام‌های داخل این موضوع
مشکل در راست چین نشدن متن - توسط 800 - ۱۳۹۳/۱۰/۲۴، ۱۶:۱۷:۵۷ عصر
RE: مشکل در راست چین نشدن متن - توسط firstboy000 - ۱۳۹۳/۱۰/۲۴، ۱۶:۳۶:۲۸ عصر
RE: مشکل در راست چین نشدن متن - توسط 800 - ۱۳۹۳/۱۰/۲۴، ۱۸:۴۸:۵۵ عصر
RE: مشکل در راست چین نشدن متن - توسط firstboy000 - ۱۳۹۳/۱۰/۲۵، ۱۱:۲۳:۱۵ صبح

پرش به انجمن:


کاربرانِ درحال بازدید از این موضوع: 1 مهمان