سلام ، آیا این بازدید اول شماست ؟ یا
صفحه 2 از 3 نخستنخست 123 آخرینآخرین
نمایش نتایج: از شماره 11 تا 20 , از مجموع 24

موضوع: مشكل در راست چين كردن مطالب قالب

Hybrid View

پست قبلی پست قبلی   پست بعدی پست بعدی
  1. #1
    Admin
    تاریخ عضویت
    Dec 2005
    محل سکونت
    U.A.E
    نوشته ها
    13,222
    تشکر
    318
    تشکر شده 1,338 بار در 652 ارسال

    Re: مشكل در راست چين كردن مطالب قالب

    قالب رو به صورت کامل آپلود کنید تا بررسی بشه .

    یا علی

    جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.


  2. # ADS
    تبلیغات در جوملا فارسی
    تاریخ عضویت
    Always
    محل سکونت
    Advertising world
    نوشته ها
    Many
     

  3. #2

    تاریخ عضویت
    Jul 2006
    نوشته ها
    11
    تشکر
    0
    تشکر شده 0 بار در 0 ارسال

    Re: مشكل در راست چين كردن مطالب قالب

    :خوب باشه

    یک توضیح در مورد تم بدم این 2 تا فایل ایندکس داره که یکیش مال اول صفحه یکیش مال صفحات بعدیه ولی ایندکس 2 که ایندکس اصلی هست رو میزارم + این که چند تا هم فایل css داره که اونا هم می زارم

    ایندکس 2 :
    کد:
    <?php defined( "_VALID_MOS" ) or die( "Direct Access to this location is not allowed." );$iso = split( '=', _ISO );echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[مهمان/کاربر گرامی برای دیدن لینک ها ابتدا باید عضو سایت شوید و لاگین کنید برای ثبت نام اینجا کلیک کنید]
    <html xmlns="[مهمان/کاربر گرامی برای دیدن لینک ها ابتدا باید عضو سایت شوید و لاگین کنید برای ثبت نام اینجا کلیک کنید]
    <head>
    <?php if ( $my->id ) { initEditor(); } 
    $user1 = 0;
    $user2 = 0;
    $colspan = 0;
    
    //user1 and user2
    if ( mosCountModules( 'user1' ) + mosCountModules( 'user2' ) == 2) {
    	$user1 = 2;
    	$user2 = 2;
    	$colspan = 2;
    } elseif ( mosCountModules( 'user1' ) == 1 ) {
    	$user1 = 1;
    	$colspan = 1;
    } elseif ( mosCountModules( 'user2' ) == 1 ) {
    	$user2 = 1;
    	$colspan = 1;
    }
    ?>
    <?php mosShowHead(); ?>
    <meta http-equiv="Content-Type" content="text/html;><?php echo _ISO; ?>" />
    
    <link href="<?php echo $mosConfig_live_site;?>/templates/canaan_coolbiz/css/template_css.css" rel="stylesheet" type="text/css" />
    <?php
    require($mosConfig_absolute_path."/templates/canaan_coolbiz/mysplitcssmenu.php");
    ?>
    <script language='JavaScript'>
    function bluring(){
    if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus();
    }
    document.onfocusin=bluring;
    </script>
    </head>
    <body class="bg_main">
    <a name="top"></a> 
    <div id="mainout"> 
    	 
     <table id="maintable" border="0" cellspacing="0" cellpadding="0">
      <tbody>
       <tr> 
        <td colspan="3" class="top_edge"> <div class="top_lcorner"> 
          <div class="top_rcorner"></div>
         </div></td>
       </tr>
       <tr> 
        <td colspan="3" valign="top" class="border"> <div id="logo"> 
          <div id="smallnavi"> <a href="index.php" title="Home"><img src="templates/<?php echo $GLOBALS['cur_template']; ?>/images/iconhome.gif" alt="Home" height="13" width="13" border="0"/></a><a href="<?php echo $mosConfig_live_site;?>/index.php?option=com_contact&Itemid=3" title="Home"><img src="templates/<?php echo $GLOBALS['cur_template']; ?>/images/iconmail.gif" alt="Contact us" width="13" height="13" hspace="20" border="0"/></a><a href="index.php" title="Home"><img src="templates/<?php echo $GLOBALS['cur_template']; ?>/images/iconmap.gif" alt="Site map" height="13" width="13" border="0"/></a> 
          </div>
         </div>
         <div id="clear"></div>
         <!-- menu area begin -->
         <div id="navi_area"> 
          <div id="navi_border"><?php echo $mycssONLY_PRI_menu ?></div>
          <div id="subnavcontainer"><?php echo $mycssONLY_SUB_menu ?></div>
         </div></td>
       </tr>
       <tr> 
      <td width="570" valign="top" class="mainleft">
      <!-- LEFT area begin -->
         <div id="can_pathway"><?php mosPathWay(); ?></div>
    <?php	if ( mosCountModules( 'top' ) ) { ?>
    	<div id="main_newsflash">
         <div class="newsflash_body"><?php mosLoadModules ( 'top', -1 ); ?></div>
    				 	</div>
     <?php
    				}
    				?>
    	  			
    	  				<div id="main_area_bord"><div dir="rtl" id="main_area"><?php mosMainBody(); ?></div></div>
    <br />
    	<table width="540" border="0" cellspacing="0" cellpadding="0" style="margin-left:16px;margin-top:8px;margin-bottom:5px">
     <tbody>
     								<?php 
    								if ($colspan > 0) {
    								?>
    										<tr valign="top" class="line">
    											<?php
    										if ( $user1 > 0 ) {
    											?>
    											<td width="50%">
    <div id="main_news">
            <?php mosLoadModules ( 'user1' ); ?>
           </div>
    			 											<?php
    										}	
    										if ( $colspan == 2) {
    											 ?>
    												<td width="10">
    													<img src="<?php echo $mosConfig_live_site;?>/templates/canaan_coolbiz/images/spacer.png" alt="" title="spacer" border="0" height="10" width="10">	
    												</td>
    											<?php
    											}
    										if ( $user2 > 0 ) {
    											?>
    											<td width="50%">
    
      <div id="main_news">
            <?php mosLoadModules ( 'user2'); ?>
           </div>
    			 											<?php
    										}	
    											?>
    								 </tr>
    												<?php
    												}
    											?>
    												<tr>
    												<td colspan="<?php echo $colspan; ?>">
    												</td>
    											</tr>
    
     </tbody>
    </table>
    <?php	if ( mosCountModules( 'bottom' ) ) { ?>
    			<div id="bottomcontainer"><?php mosLoadModules ( 'bottom', -3 ); ?></div>
    												<?php
    												}
    											?>
      <!-- left area end -->
    				 </td>
    <td class="midline"></td>
      <td width="220" valign="top" class="mainright">
      <!-- right area begin -->
    <div id="mainsearch"><table width="192" border="0" align="center" cellpadding="0" cellspacing="0">
              <form action="index.php" method="post">
               <tbody>
                <tr> 
                 <td width="162" align="left"><input class="mainsearchbox" type="text" name="searchword" size="12" value="Search the site..." onblur="if(this.value=='') this.value='Search the site...';" onfocus="if(this.value=='Search the site...') this.value='';" /> 
                  <input type="hidden" name="option" value="search" /> 
                 </td>
    							<td width="30" align="right"><input type="image" value="search" src="templates/<?php echo $GLOBALS['cur_template']; ?>/images/search.gif" /></td>
                </tr>
               </tbody>
              </form>
             </table></div>
    			<div id="rightmain"><?php mosLoadModules ( 'left' ); ?></div>
      <!-- right area end -->
    </td> 
       </tr>
       <tr> 
        <td colspan="3" class="copyborder"> <div id="copyright"> 
          <div id="copyright2"> 
           <?php
    include($mosConfig_absolute_path."/templates/canaan_coolbiz/copyright.php");
    ?>
          </div>
         </div></td>
       </tr>
       <tr> 
        <td colspan="3" class="bottom_edge"> <div class="bot_lcorner"> 
          <div class="bot_rcorner"></div>
         </div></td>
       </tr>
      </tbody>
     </table>
    </div>
    </body>
    </html>
    :P اولین css به نام cover :
    کد:
    #date_container {
    	width: 100%;
    	height:22px;
    	padding: 0px;
    	margin:0px ;
    }
    
    #blank5 {
    	height:5px;
    	padding:0px;
    	margin:0px;
    }
    
    div.date {
    	height:22px;
    	margin-right: 20px;
    	font		   : 10px tahoma;
    	color			: #40565F;
    	line-height: 18px;
    	text-align		: right;
    }
    
    
    /********************************************************************
     ******************************************* leftside **************
    *********************************************************************/
    #left {
    	float: left;
    	width: 378px !important;
    	padding:0px;
    	margin:0px;
    	text-align:left;
    }
    
    /* ******************************************* flashnews */
    #newsflash {
    	background		: url(../images/bg_hline.gif) bottom left repeat-x;
    	padding			: 0px;
    	margin			: 0px;
    	border			: 0px;
    	width			: 378px;
    	height			: 128px;
    }
    
    #newsflash div.newsflash_body {
    	padding			: 0px;
    	border			: 0px;
    	width			: 375px;
    	height			: 125px;
    	overflow		: auto;
    }
    
    #newsflash table.contentpaneopen td {
    	font : normal 11px Tahoma;
    	color: #9DD4E9;
    	line-height		: 17px;
    	text-align		: left;
    	padding			: 0px 6px 7px 8px;
    }
    
    /* ******************************************* search */
    #search {
    	background		: url(../images/bg_hline.gif) bottom left repeat-x;
    	margin-top			: 15px;
    	border			: 0;
    	width			: 375px;
    	height			: 40px;
    }
    
    .searchbox {
    	font			: bold 11px tahoma;
    	color			: #A7BFCA;
    	border			: 1px solid #576f7a;
    	background-color: transparent;
    	width			: 175px;
    	text-indent: 5px;
    	height: 17px;
    }
    
    /* ******************************************* news */
    #cover_news {
    	background		: url(../images/bg_hline.gif) bottom left repeat-x;
    	margin			: 5px 0px 0px 0px;
    	padding			: 0px;
    	width			: 100%;
    	text-align		: left;
    }
    
    #cover_news table.moduletable {
    	margin		  : 0px 0px 8px 10px;
    	width			: 360px !important;
    	text-align		: left;
    }
    
    #cover_news div.moduletable h3 {
    	background		: url(../images/bg_hline.gif) bottom left repeat-x;
    	margin-bottom	: 3px;
    	padding			: 0px;
    	width			: 100%;
    	height			: 25px;
    	text-align		: left;
    	font			: bold 12px tahoma;
    	color			: #7CC5E2;
      line-height		: 25px;
    }
    
    ul.latestnews {
     margin: 0;
     padding: 0;
     list-style: none;
    }
    
    li.latestnews {
     background: url(../images/arrow.gif) no-repeat;
     background-position: 0px 5px;
     padding: 0px;
     height: 22px;
     line-height: 22px;
     text-indent: 18px;
     border-bottom: 1px solid #18272c;
    }
    
    a.latestnews:link, a.latestnews:visited {
    	font			: bold 12px tahoma;
    	font-size		: 11px; 
    	font-weight		: bold; 
    	color			: #7CC5E2;
     	line-height: 22px;
    	text-decoration : none;
    }
    a.latestnews:hover {
    	font-weight		: bold; 
    	color			: #5D93A9;
    	text-decoration : none;
    }
    
    /* ******************************************* contact */
    div#cover_contact {
    	margin	 		: 10px 0px 10px 0px;
    	padding			: 0px;
    	width			: 100%;
    	text-align		: center;
    	height			: 60px;
    }
    
    /********************************************************************
     ******************************************* leftside **************
    *********************************************************************/
    #right {
    	float: right;
    	background: url(../images/midline.gif) top left repeat-y;
    	width: 385px !Important;
    	padding:0px;
    	margin:0px;
    }
    
    /* ******************************************* banner */
    #banner_out {
    	background: url(../images/bg_hline.gif) bottom left repeat-x;
    	padding			: 0px;
    	margin			: 0px 0px 0px 3px;
    	border			: 0;
    	width: 383px !Important;
    	height: 128px;
    }
    
    #banner {
    	background: url(../images/banner.jpg) no-repeat;
    	background-position:8px 7px;
    	padding			: 0;
    	margin			: 0px;
    	border			: 0;
    	width: 376px;
    	height: 123px;
    }
    
    /* ******************************************* who we are */
    div#cover_who {
    	background		: url(../images/bg_hline.gif) bottom left repeat-x;
    	margin			: 0px 0px 0px 3px;
    	padding			: 0px;
    	width: 383px !Important;
    	text-align		: left;
    }
    
    div#cover_what {
    	margin			: 0px 1px 0px 0px;
    	padding			: 0px;
    	width			: 100%;
    	text-align		: left;
    }
    
    div#cover_who table.moduletable {
    	background		: url(../images/who.jpg) top left no-repeat;
    	background-position: 10px 40px;
    	margin-left   : 10px;
    	padding			: 0px;
    	text-align		: left;
    	width			: 360px;
    }
    
    div#cover_what table.moduletable {
    	background		: url(../images/what.jpg) top left no-repeat;
    	background-position: 10px 40px;
    	margin-left   : 10px;
    	padding			: 0px;
    	text-align		: left;
    	width			: 360px;
    }
    
    div#cover_who table.moduletable th, div#cover_what table.moduletable th {
    	background		: url(../images/bg_hline.gif) bottom left repeat-x;
    	margin-bottom	: 4px;
    	padding			: 0px;
    	width			: 100%;
    	height			: 30px;
    	text-align		: left;
    	font			: bold 12px tahoma;
    	color			: #7CC5E2;
    	line-height		: 30px;
    }
    
    div#cover_who div.cover_whocotent, div#cover_what div.cover_whocotent {
    	margin-left   : 110px;
    	padding			: 0px;
    	text-align		: left;
    	width			: 250px;
    	height			: 120px;
    	font : normal 11px tahoma;
    	color: #9DD4E9;
    	line-height		: 18px;
    	overflow 		: hidden;
    }
    
    div#cover_who a:link, div#cover_who a:visited, div#cover_what a:link, div#cover_what a:visited {
    	font			: bold 12px tahoma;
    	font-size		: 11px; 
    	font-weight		: bold; 
    	color			: #8aaab8;
    }
    div#cover_who a:hover, div#cover_what a:hover {
    	font-weight		: bold; 
    	color			: #fff;
    	text-decoration : none;
    }
    
    /* ******************************************* copyright */
    #copyright {
    	background		: url(../images/bottom1.gif) top left no-repeat;
    	background-position: 15px 4px;
    	padding-top		: 8px;
    	margin:8px 0px 15px 0px;
    	height			: 35px;
    	width:100%;
    	text-align: center;
    }
    
    #copyright2 {
    	background		: url(../images/bottom2.gif) no-repeat top right ;
    	width:740px;
    	font			: bold 10px tahoma;
    	color			: #5C95A9;
    	text-align: center;
    }

    دموین css :-X

    کد:
    #clear {
    	clear:both;
    }
    
    body {
    	background		: #ffffff; 
    	padding			: 0; 
    	margin			: 0;
    	vertical-align	: top;
    	scrollbar-face-color: #72685A;
      scrollbar-shadow-color: #72685A;
      scrollbar-darkshadow-color: #ffffff;
      scrollbar-highlight-color: #72685A;
      scrollbar-3dlight-color: #ffffff;
      scrollbar-track-color: #7F7464;
      scrollbar-arrow-color: #ffffff;
    }
    
    /* ******************************************* general*/
    .bg_main {
    	background		:#0b1214 url(../images/bg.gif) repeat-x left top;
    	padding			: 0px; 
    	margin			: 15px 0px 10px 0px;
     	height: 100%;
    	text-align		: center;
    	vertical-align	: top;
    	scrollbar-face-color: #273E47;
      scrollbar-shadow-color: #273E47;
      scrollbar-darkshadow-color: #8AAAB8;
      scrollbar-highlight-color: #8AAAB8;
      scrollbar-3dlight-color: #23292C;
      scrollbar-track-color: #1F3138;
      scrollbar-arrow-color: #8AAAB8;
    }
    
    img {
    	border:0px
    }
    
    #mainout {
    	text-align: center;
    }
    
    #cover_table {
     	margin-left: auto;
     	margin-right: auto;
    	width: 768px;
     	text-align: left;
    }
    
    #maintable {
     	margin-left	: auto;
     	margin-right: auto;
    	width		: 800px;
     	text-align	: left;
    }
    
    
    /* ******************************************* main corner*/
    div.top_lcorner {
     background: url(../images/corner1.gif) bottom left no-repeat;
     height: 16px;
    }
    
    div.top_rcorner {
     background: url(../images/corner2.gif) bottom right no-repeat;
     height: 16px;
    }
    
    td.top_edge {
     background: url(../images/bg_topedge.gif) bottom left repeat-x;
     text-align: center;
     height: 16px;
     vertical-align: bottom;
    }
    
    div.bot_lcorner {
     background: url(../images/corner4.gif) top left no-repeat;
     height: 16px;
    }
    
    div.bot_rcorner {
     background: url(../images/corner3.gif) top right no-repeat;
     height: 16px;
    }
    
    td.bottom_edge {
     background: url(../images/bg_bottomedge.gif) top left repeat-x;
     text-align: center;
     height: 16px;
     vertical-align: top;
    }
    
    td.border {
    	border-left:1px solid #2f4b55;
    	border-right:1px solid #2f4b55;
    	background-color:#1f3138;
    	padding:0px;
    }
    
    td.copyborder {
    	background: #1f3138 url(../images/bg_hline.gif) top left repeat-x;
    	border-left:1px solid #2f4b55;
    	border-right:1px solid #2f4b55;
    	padding:0px;
    }
    
    /* ******************************************* logo area*/
    div#logo {
    	background: url(../images/logo.gif) top left no-repeat;
    	height: 70px;
    }
    
    div#smallnavi {
    	float: right;
    	margin: 5px 20px 0px 0px;
    }
    
    /* ############################ splic submenu */
    #navi_area {
    	background: url(../images/bg_hline.gif) bottom left repeat-x;
    	width: 100%;
    	height:50px;
    	padding: 0px;
    	margin:0px ;
    }
    
    #navi_border {
    	background: url(../images/bg_navi.gif) bottom left repeat-x;
    	margin:0px;
    	padding:0px;
    	width: 100%;
    	height	: 28px;
    	text-align:left;
    }
    
    #main_navicont {
    }
    
    #main_navicont ul
    {
    	padding: 0;
    	margin: 0;
    	list-style-type: none;
    	}
    
    #main_navicont li, #subnavcontainer li { 
    	display: inline; 
    	background: transparent;
    	list-style-type: none;
    	text-indent: 0px;
    	padding: 0px;
    	}
     
    #main_navicont ul li a.topnav:link, #main_navicont ul li a.topnav:visited {
    	padding			: 0px 10px;
    	height			: 28px;
    	font			: bold 10px tahoma;
    	color			: #7CC5E2; 
    	text-decoration	: none;
    	line-height: 28px;
    }
    
    #main_navicont ul li a.topnav:hover {
    	padding			: 0px 10px;
    	height			: 28px;
    	color			: #fff; 
    	text-decoration	: none;
    }
    
    #main_navicont ul li a.topnav#current {
    	padding			: 0px 10px;
    	height			: 28px;
    	font			: bold 10px tahoma;
    	color			: #fff; 
    	text-decoration	: none;
    	line-height: 28px;
    }
    
    #subnavcontainer {
    	width: 100%;
    	height:22px;
    	padding-top: 3px;
    	margin-left:50px ;
    }
    
    #subnavcontainer li a.topnav#submenu:link, #subnavcontainer li a.topnav#submenu:visited {
    	font			: bold 10px tahoma;
    	color			: #7CC5E2; 
    	text-decoration	: none;
    	border	: 0;
    	padding			: 0px 10px;
    	height:16px;
    	line-height		: 16px;
    }
    
    #subnavcontainer li a.topnav#submenu:hover {
    	background-color: #152228;
    	color			: #fff; 
    	text-decoration	: none;
    }
    
    #subnavcontainer a.topnav#subcurrent {
    	background-color: #152228;
    	font			: bold 10px tahoma;
    	color			: #fff; 
    	text-decoration	: none;
    	padding			: 0px 10px;
    	height:16px;
    	line-height		: 16px;
    }
    
    /* ############################ general custom */
    td, div, p {
    	font			: normal 11px tahoma;
    	color			:#9DD4E9;
    	padding			:0px;
    	line-height		:17px;
    }
    
    a, a:link, a:visited {
    	color			: #9DD4E9;
    	font-weight:bold;
    	text-decoration	: none;
    }
    a:hover {color: #5D94A9; text-decoration:none; }
    
    ul {
     margin: 0;
     padding: 0;
     list-style: none;
    }
    
    li {
    	list-style-type: none;
     	background-image: url(../images/arrow.gif) ;
     	background-repeat: no-repeat;
    	line-height: 17px;
    	text-indent: 18px;
    	padding-top: 0px;
    	background-position: 0px 5px;
    }
    
    select { 
    	font-size		: 12px; 
    	font-weight		: bold; 
    	color			: #708C98;
    }
    
    th.pagenav_prev, th.pagenav_next, a.pagenav_next:link, a.pagenav_next:visited {
    	font-size		: 11px; 
    	color			: #A7BFCA;
    }
    a.pagenav_next:hover {
    	color			: #fff; 
    	text-decoration	: none;
    }
    
    /* ******************************************* CONTENT STYLES */
    .contentdescription {
    	background-color: #152228;
    	width:100%;
    	text-align		: left;
    }
    
    .contentpaneopen td {
    	padding			: 0px; 
    }
    
    .contentpane td, .contentdescription td {
    	padding			: 3px; 
    }
    
    a.contentpane:link, a.contentpane:visited, a.contentpaneopen:link, a.contentpaneopen:visited {
    	color			: #A7BFCA; 
    	text-decoration	: none
    }
    a.contentpane:hover, a.contentpaneopen:hover {
    	color			: #fff; 
    	text-decoration	: none;
    }
    
    .contentheading {
    	background: url(../images/bg_hline.gif) bottom left repeat-x;
    	height:28px;
    	font : bold 12px tahoma;
    	color: #84C3E2;
    	line-height:16px;
    	text-align		: left;
    	text-indent		: 2px;
    }
    
    .componentheading {
    	height:15px;
    	font : bold 12px tahoma;
    	color: #84C3E2;
    	height:15px;
    	text-align		: left;
    }
    
    
    .contentpagetitle, a.contentpagetitle:link, a.contentpagetitle:visited 	{
    	color			: #A7BFCA;
    }
    a.contentpagetitle:hover {
    	color			: #fff;
    
    }
    .buttonheading {
    	font			: normal 10px tahoma;
    	white-space		: nowrap;	
    }
    
    .content_rating, .content_vote {
    	font-size		: 11px;	
    	color			: #A7BFCA; 
    	text-decoration	: none; 
    	font-weight		: normal; 
    	margin			: 0 6px; 
    	padding			: 0;
    }
    
    .back_button {
    	float:right;
    	width:55px;
    	font-size		: 11px;	
    	color			: #A7BFCA; 
    	font-weight		: bold; 
    	text-align:right;
    	vertical-align	: middle; 
    	margin			: 0 6px; 
    	padding			: 1px 1px 1px 1px;
    	border:0;
    	background:url(../images/arrow.gif) no-repeat;
      background-position: 0px 6px;
    }
    
    .small 		{
    	font-size		: 10px; 
    	color			: #507F92; 
    	font-weight		: normal;
    	line-height:14px;
    	height:14px;
    }
    
    .createdate, .modifydate {
    	font-size		: 10px; 
    	font-weight		: normal; 
    	color			: #507F92;
    	height			:14px;
    	line-height		:14px;
    }
    
    a.readon:link, a.readon:visited {
    	background:#152228 url(../images/arrow.gif) no-repeat;
    	background-position: 3px 2px;
      padding     : 2px 4px 2px 18px;
      float      : left;
    	font			: bold 10px tahoma;
    	color			: #507F92;
      border      : 1px solid #304D58;
      line-height   : 10px;
      text-decoration : none;
    }
    a.readon:hover {
    	color			: #85D2F0;
    	text-decoration	: none; 
    }
    
    .fase4rdf, a.fase4rdf:link, a.fase4rdf:visited {
    	font-size		: 11px; 
    	font-weight		: normal; 
    	color			: #507F92;
    }
    
    a.fase4rdf:hover {
    	font-weight		: normal; 
    	color			: #fff;
    }
    
    .blog {
    	margin			: 0px;
    	padding			: 0px;
    	width			:100%;
    }
    
    .blog_more {
    	background		:#152228;
    	padding			: 4px;
    	margin-top		: 5px;
    	width			: 100%;
    	font-size		: 11px;
    	font-weight		: bold;
    	color			: #66A2B9;
    }
    
    a.blogsection:link, a.blogsection:visited {
    	font-size		: 11px;
    	color			: #66A2B9;
    	text-decoration	: none;
    	font-weight		: bold;
    }
    a.blogsection:hover {
    	font-size		: 11px;
    	color			: #5D94A9; 
    	text-decoration	: underline;
    	font-weight		: bold;
    }
    
    .ontab 	{
    	color			: #345;
    	padding			: 2px 10px 2px 10px;
    	border-top		: 2px solid #345;
    	border-right	: 2px solid #345;
    	border-bottom	: 0;
    	border-left		: 2px solid #345;
    	font-weight		: bold;
    }
    .offtab {
    	color			: #666;
    	padding			: 2px 10px 2px 10px;
    	border-top		: 1px solid #666;
    	border-right	: 1px solid #666;
    	border-bottom	: 3px solid #345;
    	border-left		: 1px solid #666;
    	cursor			: default;
    }
    .tabpadding {
    	border-bottom	: 3px solid #345;
    }
    	
    table.searchintro {
    	background		: #152228;
    	margin			: 0px;
    	width			: 100%;
    }
    table.searchintro td {
    	padding			: 5px;
    	border			: 0;
    }
    
    table.contenttoc {
    	border			: 1px solid #40565F;
     	padding			: 1px;
    	margin-left		: 7px;
    	margin-bottom	: 2px;
    }
    table.contenttoc th {
    	color			: #40565F;
    	text-align		: left;
    	padding			: 4px;
    	font-weight		: bold;
    	font-size		: 10px;
    	border-bottom	: 1px solid #40565F;
    }
    table.contenttoc td {
    	font-size		: 10px;
    	padding			: 2px;
    }
    
    
    /* ******************************************* STYLES CONTACT PAGE */
    table.contact {
    	background		: transparent;
    }
    
    table.contact td.icons {
    }
    
    table.contact td.details {
    	margin			: 5px;
    	padding			: 5px;
    }
    .contact_email {
    	margin			: 5px;
    	padding			: 5px;
    }
    textarea.inputbox {
    	width:95%;
    }
    
    /* ******************************************* CATEGORY (text format and links) */
    .category {
    	color			: #7CC5E2;
    	font-size		: 11px;
    	font-weight		: bold;
    	text-decoration	: none;
    	}
    a.category:link, a.category:visited {
    	font-size		: 11px;
    	color			: #7CC5E2;
    	font-weight		: bold;
    }
    a.category:hover {
    	color			: #5D93A9;
    }
    	
    /* ******************************************* MODULES */
    table.moduletable {
    	width			: 100%;
    	padding			: 0px;
    	margin			: 0px 0px 0px 0px;
    	border	: 0;
    }
    table.moduletable th {
    	background: url(../images/bg_hline.gif) bottom left repeat-x;
    	margin: 0px;
    	border:0;
    	height:25px;
    	font : bold 11px tahoma;
    	color: #7CC5E2;
    	text-align: left;
    	text-indent: 0px;
    	line-height:25px;
    }
    table.moduletable td {
    	font : normal 11px tahoma;
    	color: #9DD4E9;
    	text-align		: left;
    	padding			: 3px;
    }
    
    table.pollstableborder td {
    	padding: 2px;
    	line-height:17px;
    }
    
    .moduletable a:link, .moduletable a:visited { 
    	color			: #9DD4E9; 
    	font-weight:bold;
    	font-size		: 11px;
    	font-family   : tahoma;
    	text-decoration	: none;
    	line-height:19px;
    }
    .moduletable a:hover {
    	color			: #5D93A9; 
    	text-decoration	: none;
    }
    table.moduletable ul {
    	padding			: 0;
    	margin			: 0 0 0 2px;
    }
    
    .button {
    	font			: normal 10px tahoma;
    	padding-top		: 2px 2px 0px 2px;
    	margin-top		:5px;
    	color			: #84C3E2;
    	background-color: #1F3138;
    	border-top		: 1px solid #2C4650;
    	border-left		: 1px solid #2C4650;
    	border-right		: 1px solid #0B1214;
    	border-bottom		: 1px solid #0B1214;
    }
    .inputbox, .search {
    	font			: normal 11px tahoma;
    	color			: #538296;
    	border			: 1px solid #538296;
    	background		: transparent;
    }
    
    select.inputbox {
    	font			: bold 11px tahoma;
    	color			: #538296;
    	border			: 0;
    	background		: #1F3138;
    }
    
    .poll {
    	font			: 11px tahoma; 
    	color			: #666666; 
    	font-weight		: normal; 
    	border			: 0; 
    	padding			: 0;
    }
    
    form {
    	padding:0px;
    	margin:0px;
    	border:0px;
    }
    /* ******************************************* STYLES LISTING CONTENT PAGE */
    td.sectiontableheader {
    	background-color: #152228; 
    	color			: #84C3E2; 
    	font-weight		: bold;
    	font-size		: 11px;
    	padding			: 2px 3px 3px 2px;
    	border-bottom	: 1px solid #2C4650;
    }
    
    td.sectiontablefooter {
    	color			: #84C3E2; 
    	font-weight		: bold;
    	font-size		: 11px;
    	padding			: 2px 3px 3px 2px;
    }
    
    .sectiontableentry1, .sectiontableentry2 {
    	color			: #9DD4E9; 
    	font-weight		: normal; 
    	padding			: 1px 0px 1px 2px;
    }
    
    .pagenavbar {
    	text-align		: center;
    	vertical-align	: middle;
    	padding			: 2px;
    	width			: 100%;
    }
    .pagenav {
    	color			: #9DD4E9;
    	font-size		: 10px;
    	font-weight		: bold;
    	text-decoration	: none;
    	marging			: 0;
    	padding			: 0 2px;
    	border			: 0;
    }
    a.pagenav:link, a.pagenav:visited {
    	color 			: #9DD4E9; 
    	background-color: transparent;
    }
    a.pagenav:hover {
    	color			: #5D93A9; 
    	background		: transparent; 
    	text-decoration	: underline;
    }
    
    
    hr {
    	background		: transparent; 
    	height			: 1px; 
    	border			: 1px solid #5D93A9; 
    	width			: 100%;
    }
    و سومین css :

    کد:
    /********************************************************************
     ******************************************* mainleft **************
    *********************************************************************/
    td.mainleft {
    	padding:0px;
    	margin:0px;
    	border-left:1px solid #2f4b55;
    	background-color:#1f3138;
    	text-align:left;
    }
    
    /* ******************************************* main_area */
    #main_area_bord {
    	padding:0px;
    	margin-right: 1px;
    	border: 0;
    	text-align: left;
    }
    
    #main_area {
    	width: 548px;
    	margin: 6px 0px 0px 15px;
    	padding:0px 0px 10px 0px;
    	border: 0;
    	text-align: left;
    }
    
    .line {
    	background: url(../images/bg_hline.gif) top left repeat-x;
    	padding:0px;
    	margin:0px;
    }
    
    /********************************************************************
     ******************************************* mainright **************
    *********************************************************************/
    td.midline {
    	background: #1f3138 url(../images/midline.gif) top left repeat-y;
    	width: 5px !Important;
    	padding:0px;
    	margin:0px;
    }
    
    td.mainright {
    	border-right:1px solid #2f4b55;
    	padding:0px;
    	margin:0px;
    	background-color:#1f3138;
    	text-align		: left;
    }
    
    #rightmain {
    	margin:0px;
    	padding:0px;
    	text-align: left;
    	width: 100%;
    }
    
    #rightmain table.moduletable {
    	font : normal 11px tahoma;
    	color: #9DD4E9;
    	text-align		: left;
    	margin-bottom	: 7px;
    }
    
    #rightmain table.moduletable th {
    	background: url(../images/bg_hline.gif) bottom left repeat-x;
    	margin: 0px;
    	border:0;
    	height:25px;
    	font : bold 11px tahoma;
    	color: #7CC5E2;
    	text-align: left;
    	text-indent: 0px;
    	line-height:25px;
    }
    
    #rightmain table.moduletable td {
    	font : normal 11px tahoma;
    	color: #9DD4E9;
    	text-align		: left;
    	padding			: 3px;
    }
    
    /* ******************************************* right menu SYSTEM */
    .mainlevel {
    	font		: bold 12px tahoma;
    	line-height:20px;
    	direction: right; 
    }
    #rightmain a.mainlevel:link, #rightmain a.mainlevel:visited {
    	background		: #152228;
    	padding			: 0px 0px;
    	display			: block;
    	height:24px;
    	font		: bold 11px tahoma;
    	color			: #7CC5E2; 
    	line-height:24px;
    	text-decoration	: none;
    	text-indent	: 15px;
    	border	: 0;
    }
    #rightmain a.mainlevel:hover {
    	background		: #507F92;
    	font-weight	: bold;
    	color			: #070B0D; 
    	text-decoration	: none;
    	padding			: 0px 0px;
    }
    #active_menu {
    	background		: url(../images/bg_hnavi.gif) no-repeat;
    	border	: 0;
    	color			: #ff9900; 
    	font-weight	: bold;
    }
    
    #rightmain a.sublevel:link, #rightmain a.sublevel:visited {
    	color			: #7CC5E2;
    	text-decoration	: none;
    	padding-left: 6px;
    	vertical-align: middle;
    	text-align: left;
    	line-height:18px;
    }
    #rightmain a.sublevel:hover {
    	color			: #BFB36A;
    	text-decoration	: none;
    	line-height:18px;
    }
    
    #rightmain a.sublevel#active_menu {
    	border			: 0;
    	color      : #BFB36A;
    	text-decoration	: none;
    	background		: transparent;
    	line-height:18px;
    }
    
    /* ******************************************* mainflashnews */
    #main_newsflash {
    	background: url(../images/bg_hline.gif) bottom left repeat-x;
    	padding			: 0;
    	margin			: 5px 1px 0px 0px;
    	border			: 0;
    	width: 100%;
    	height: 75px;
    }
    
    #main_newsflash div.newsflash_body {
    	padding			: 0;
    	margin-bottom	: 2px;
    	border			: 0;
    	width: 100%;
    	height: 73px;
    	overflow:hidden;
    }
    
    #main_newsflash table.contentpaneopen td {
    	font : normal 11px tahoma;
    	color: #9DD4E9;
    	line-height		: 17px;
    	text-align		: left;
    	padding			: 0px 6px 7px 15px;
    }
    
    /* ******************************************* mainsearch */
    #mainsearch {
    	background		: url(../images/bg_hline.gif) bottom left repeat-x;
    	margin			: 8px 0px 0px 0px;
    	padding			: 0px;
    	width			: 100%;
    	height			: 30px;
    	text-align		: left;
    }
    
    .mainsearchbox {
    	font			: bold 11px tahoma;
    	color			: #7C9FAD;
    	border			: 1px solid #576f7a;
    	background-color: transparent;
    	width			: 160px;
    	text-indent: 0px;
    	height: 17px;
    }
    
    /* ******************************************* pathway */
    #can_pathway {
    	background		: url(../images/bg_hline.gif) bottom left repeat-x;
    	margin-right	: 1px;
    	padding			: 0px;
    	width			: 100%;
    	height			: 25px;
    	font		  : 11px tahoma;
    	color			: #5C92A8;
    	text-indent		: 12px;
    	text-align		: left;
    	line-height		: 20px;
    }
    
    #can_pathway img {
    	margin:7px 1px 1px 1px;
    }
    
    .pathway {
    	padding			: 0px;
    	margin			: 0px;
    	border			: 0;
    }
    
    a.pathway:link, a.pathway:visited {
    	font		  : 11px tahoma;
    	color			: #5C92A8;
    	line-height		: 20px;
    	text-decoration	: none;
    }
    a.pathway:hover {
    	color			: #fff;
    }
    
    #bottomcontainer {
    	background: url(../images/bg_hline.gif) top left repeat-x;
    	padding:10px 0px;
    	margin:0px;
    	text-align		: center;
    }
    
    td.rightedge {
    	border-right:1px solid #fff;
    	padding:0px;
    	margin:0px;
    	background-color:#1f3138;
    	width:5px;
    }
    و آخرین template_css : :

    کد:
    @import url("cover.css");
    @import url("mambo.css");
    @import url("deepmain.css");
    :'(

    جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.


  4. #3
    Admin
    تاریخ عضویت
    Dec 2005
    محل سکونت
    U.A.E
    نوشته ها
    13,222
    تشکر
    318
    تشکر شده 1,338 بار در 652 ارسال

    Re: مشكل در راست چين كردن مطالب قالب

    لطفا پوشه قالب رو به صورت کامل ZIP کنید و لینک دانلودش رو بدید تا چک کنیم .
    یا علی

    جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.


  5. #4

    تاریخ عضویت
    Jul 2006
    نوشته ها
    11
    تشکر
    0
    تشکر شده 0 بار در 0 ارسال

    Re: مشكل در راست چين كردن مطالب قالب

    براتون ایمیل کردم

    جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.


  6. #5
    Admin
    تاریخ عضویت
    Dec 2005
    محل سکونت
    U.A.E
    نوشته ها
    13,222
    تشکر
    318
    تشکر شده 1,338 بار در 652 ارسال

    Re: مشكل در راست چين كردن مطالب قالب

    سلام

    سطر زیر را در index2.php پیدا کنید :
    کد:
    <td width="570" valign="top" class="mainleft">
    و با کد زیر جایگزین کنید :

    کد:
     <td width="570" valign="top" class="mainleft" dir="rtl">
    با این کار mainbody شما RTL میشه .( البته در صفحه اول باید فایل index1.php رو ویرایش کنید )

    بقیه قسمت ها از داخل فایل CSS قابل تغییر هست به عنوان مثال اگر شما بخوایید 2 تگ LI , UL را RTL کنید باید فایل mambo.css رو به صورت زیر ویرایش کنید :

    کد:
    ul {
     margin: 0;
     padding: 0;
     list-style: none;
     direction:rtl;
     text-align:right;
    }
    
    li {
    	list-style-type: none;
     	background-image: url(../images/arrow.gif) ;
    	
     	background-repeat: no-repeat;
    	line-height: 17px;
    	text-indent: 18px;
    	padding-top: 0px;
    	background-position: 530px 5px;
    	direction:rtl;
    	text-align:right;
    }
    یا علی

    جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.


  7. #6

    تاریخ عضویت
    Jul 2006
    نوشته ها
    11
    تشکر
    0
    تشکر شده 0 بار در 0 ارسال

    Re: مشكل در راست چين كردن مطالب قالب

    سلام همه بخشها درست میشه

    فقط بخش آخرین ارسالها که بصورت لیت ماند هست درست نمیشه آلکوناش سمت چپه ???اون و چکار کنم ؟

    جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.


  8. #7

    تاریخ عضویت
    Dec 2006
    نوشته ها
    89
    تشکر
    0
    تشکر شده 0 بار در 0 ارسال

    پاسخ : مشكل در راست چين كردن مطالب قالب

    با سلام به جناب فيروز مندان و جناب رادمهر و بقيه مديران و دوستان
    آقا در فايل CSS قالبي كه من دارم اصلا اين خطي كه ميگيد نيست !!!
    <div id="main_area_bord" dir="rtl"><div dir="rtl" id="main_area"><?php mosMainBody(); ?></div></div
    >

    اين محتويات فايل Css منه :
    body {
    color : #000000;
    margin : 20px;
    padding : 0px;
    background-color : #FFFFFF;
    font-family : arial, sans-serif;
    font-size : 12px;

    }
    td, tr, p, div {
    font-family : Arial, Helvetica, sans-serif;
    font-size : 12px;
    color : #996600;
    }
    hr {
    color : #BCB778;
    height : 1px;
    width : 100%;
    }
    .mod {
    background : #FFFFFF;
    width : 2px;
    }
    .main {
    float : left;
    width : 100%;
    margin : 0px;
    padding : 0px;
    }
    .contentdescription {
    width : auto !important;
    display : block;
    }
    #buttons {
    float : right;
    margin : 0px;
    padding : 0px;
    width : 50%;
    }
    ul#mainlevel-nav {
    font-size : 11px;
    list-style : none;
    padding : 0;
    margin : 0;
    font-size : 0.8em;
    font-size: 12px;}
    ul#mainlevel-nav li {
    display : block;
    background-image : none;
    padding-left : 17px;
    margin : 0;
    font-size : 12px;
    line-height : 25px;
    white-space : nowrap;
    height: 23px;
    line-height: 23px;
    text-align: center;background: url(../images/pro_foto_02.jpg) left;
    float: left;}
    ul#mainlevel-nav li a {
    font-size : 14px;
    display : block;
    text-decoration : none;
    background : transparent;
    color: #fbb408;
    background: url(../images/pro_foto_02.jpg) right;
    padding-right: 1em;}
    ul#mainlevel-nav li a:hover {
    font-size : 14px;
    color: #bb0000;}

    .sublevel {
    padding-left : 10px;
    }
    .leftrow {
    background-color : #ECEBD9;
    width : 168px;
    height : 100%;
    margin-right : 5px;
    }
    .rightrow {
    background-color : #ECEBD9;
    height : 100%;
    width : 168px;
    align : right;
    margin-left : 5px;
    }
    table.moduletable {
    width : 100%;
    table-layout : auto;
    }

    table.moduletable-menu {
    width : 100%;
    table-layout : auto;
    }

    table.moduletable-advert {
    width : 100%;
    table-layout : auto;
    color: #e3e1c6;}
    table.moduletable-tab {
    width : 100%;
    table-layout : auto;
    background-image: url(../images/pro_foto_round_rect.png);
    background-position: left bottom;
    background-repeat: no-repeat;
    width: 304px;}
    table.moduletable th {
    font-size : 12px;
    font-weight : bold;
    text-transform : uppercase;
    text-align : center;
    height : 26px;
    line-height : 26px;
    letter-spacing: 1px;
    color : #6b0300;
    background-image : url(../images/pro_foto_20.jpg);
    }
    table.moduletable-advert th {
    font-size : 12px;
    font-weight : bold;
    text-transform : uppercase;
    text-align : center;
    height : 26px;
    line-height : 26px;
    letter-spacing: 1px;
    color : #6b0300;
    color: #f0b627;
    border-bottom: 3px #dd0202 solid;
    margin-bottom: +1em;
    }
    table.moduletable-tab th {
    font-size : 12px;
    font-weight : bold;
    text-transform : uppercase;
    text-align : center;
    height : 26px;
    line-height : 26px;
    letter-spacing: 1px;
    color : #6b0300;
    background-image : url(../images/pro_foto_round_rect.png);
    background-repeat: no-repeat;
    background-color: #ffffff;
    width: 100%;
    color: #c39525;
    border-bottom: 2px #e20101 solid;
    background-position: top left;}
    table.moduletable-menu th {
    font-size : 12px;
    font-weight : bold;
    text-transform : uppercase;
    text-align : center;
    height : 26px;
    line-height : 26px;
    letter-spacing: 1px;
    color : #6b0300;
    background-image : url(../images/pro_foto_20.jpg);
    }
    table.moduletable td {
    padding-left : 0px;
    padding-right : 0px;
    padding-bottom: 5px;
    padding-top: 3px;
    color: #f6e5c0;}

    table.moduletable-advert td {
    padding-left : 0px;
    padding-right : 0px;
    padding-bottom: 10px;
    padding-top: 3px;
    color: #ecead8;}

    table.moduletable-tab td {
    padding-left : 0px;
    padding-right : 0px;
    padding-bottom: 1em;
    padding-top: 3px;}
    #search {
    float : left;
    margin-top : 5px;
    border : 1px solid #cccccc;
    padding : 0px;
    width´ : 123px !important;
    width : 125px;
    height : 16px !important;
    height : 16px;
    overflow : hidden;
    }
    #search .inputbox {
    border : 0px;
    margin-top : 0px;
    padding : 2px 3px 2px 6px !important;
    padding : 0px 3px 2px 6px;
    font-family : arial, helvetica, sans-serif;
    font-size : 10px;
    height : 12px !important;
    height : 12px;
    width : 123px !important;
    width : 125px;
    color : #666666;
    background : #FFFFFF;
    }
    .back_button {
    color : #996600;
    font-family : Tahoma, Verdana, Arial, Helvetica, sans-serif;
    font-size : 11px;
    background : url(../images/bb.gif);
    background-repeat: no-repeat;
    white-space : normal;
    font-weight : normal;
    border : 1px solid #BCB778;
    padding-bottom : 4px;
    padding-left : 20px;
    padding-right : 2px;
    padding-top : 1px;
    margin-right : 4px;
    float : right;
    font-weight : normal;
    line-height : 10px;
    text-decoration : none;
    }
    .button {
    font-size : 11px;
    color : #996600;
    border : 1px solid #BCB778;
    margin-bottom : 5px;
    background-color : #E3E1C6;
    padding : 1px;
    }
    .inputbox {
    border : 1px solid #BCB778;
    background : transparent url(../images/back.gif);
    background-color : #ECEAD8;
    margin-bottom : 5px;
    color : #660000;
    }
    .sectiontableheader {
    font-size : 11px;
    font-weight : normal;
    text-transform : uppercase;
    letter-spacing : 1px;
    color : #660000;
    background : #E3E1C6;
    padding : 1px;
    }
    .sectiontableentry1 {
    vertical-align : top;
    padding : 3px;
    background : #ECEAD8;
    border-top : 1px solid #FFFFFF;
    border-bottom : 1px solid #BCB778;
    background: #e1af2a;
    color: #000;}

    .sectiontableentry2 {
    vertical-align : top;
    padding : 3px;
    border-top : 1px solid #FFFFFF;
    border-bottom : 1px solid #BCB778;
    }
    a.mainlevel: {
    margin : 0px;
    padding : 0px;
    font-size : 12px;
    width : 174px;
    background-color : transparent;
    text-indent : 15px;
    }
    a.mainlevel: link {
    padding : 0px 0px 0px 0px;
    font-size : 12px;
    width : 174px;
    background-color : transparent;
    text-indent : 15px;
    }
    a.mainlevel:link, a.mainlevel:visited {
    display : block;
    font-size : 12px;
    background-color : transparent;
    font-weight : normal;
    width : 174px;
    background-image: url(../images/pro_foto_16.jpg);
    height: 27px;
    line-height: 25px;
    color: #e2a82d;
    text-indent: 15px;
    vertical-align: -2px;
    text-transform: capitalize;}
    a.mainlevel:hover {
    background-color : #E3E1C6;
    font-size : 12px;
    font-weight : normal;
    text-decoration : none;
    text-indent : 15px;
    color: #fefefd;
    background-image: url(../images/pro_foto_18.jpg);
    }
    #active_menu {
    font-size : 12px;
    background-color : transparent;
    font-weight : normal;
    width : 174px;
    background-image: url(../images/pro_foto_18.jpg);
    height: 27px;
    line-height: 25px;
    color: #e2a82d;
    text-indent: 15px;
    vertical-align: -2px;
    text-transform: capitalize;
    }
    a#active_menu:hover {
    color : #333333;
    }
    a:link, a:visited {
    font-size : 11px;
    color : #CC9900;
    text-decoration : none;
    font-weight : bold;
    }
    a:hover {
    font-size : 11px;
    color : #996600;
    text-decoration : none;
    font-weight : bold;
    }
    a.category:link, a.category:visited {
    font-size : 11px;
    font-weight : bold;
    }
    a.readon:link, a.readon:visited {
    color : #CC9900;
    font-family : Tahoma, Verdana, Arial, Helvetica, sans-serif;
    font-size : 11px;
    background : url(../images/read.gif);
    background-repeat: no-repeat;
    white-space : normal;
    font-weight : bold;
    border : 1px solid #BCB778;
    padding-bottom : 3px;
    padding-left : 21px;
    padding-right : 2px;
    padding-top : 1px;
    float : left;
    line-height : 10px;
    text-decoration : none;
    }
    a.readon:hover {
    color : #996600;
    font-family : Tahoma, Verdana, Arial, Helvetica, sans-serif;
    font-size : 11px;
    background : url(../images/read.gif);
    background-repeat: no-repeat;
    white-space : normal;
    font-weight : bold;
    border : 1px solid #BCB778;
    padding-bottom : 3px;
    padding-left : 21px;
    padding-right : 2px;
    padding-top : 1px;
    float : left;
    line-height : 10px;
    text-decoration : none;
    }
    ul {float : left;
    margin : 2px;
    padding-left : 10px;
    list-style : none;
    }
    li {

    line-height : 15px;
    padding-left : 15px;
    padding-top : 0px;
    background-image : url(../images/bullet.gif) ;
    background-repeat: no-repeat;
    background-position: 0px 3px;
    }
    table.contenttoc {
    border : 1px solid #FFFFFF;
    background : #ECEAD8;
    padding : 5px;
    margin-left : 2px;
    margin-bottom : 2px;
    }
    .pagenavcounter {
    font-size : 10px;
    color : #CC0000;
    }
    .pagenavbar {
    border-top : 1px solid #BCB778;
    padding : 2px;
    }
    .pagenav {
    font-weight : bold;
    color : #DBD8B7;
    }
    a.pagenav:link, a.pagenav:visited {
    text-decoration : none;
    }
    a.pagenav:hover {
    text-decoration : none;
    }
    .date {
    font-size : 10px;
    color : #996600;
    padding-right : 10px;
    }
    .small {
    font-size : 10px;
    color : #996600;
    }
    .smalldark {
    font-size : 10px;
    color : #996600;
    }
    .createdate, .modifydate {
    font-size : 10px;
    color : #CC9900;
    }
    .content_vote {
    font-size : 10px;
    height : 22px;
    padding-top : 2px;
    padding-bottom : 2px;
    }
    .content_rating {
    font-size : 10px;
    color : #CC9900;
    }
    .pathway {
    font-size : 11px;
    padding-left : 8px;
    color: #f3bc2e;
    font-weight: bold;}
    a.pathway:link, a.pathway:visited {
    font-size : 11px;
    padding-left : 0px;
    }
    a.pathway:hover {
    font-size : 11px;
    padding-left : 0px;
    }
    table.content{
    width : 100%;
    padding : 0px;
    border-collapse : collapse;
    border-spacing : 0px;
    margin-bottom : 10px;
    }
    table.contentpane {
    width : 100%;
    padding-left : 5px;
    padding-right : 5px;
    border-spacing : 0px;
    margin-bottom : 5px;
    }
    table.contentpaneopen {
    width : 100%;
    padding-left : 5px;
    padding-right : 5px;
    border-spacing : 0px;
    margin-bottom : 1px;
    }
    .pollstableborder{
    border-color : #666666;
    }
    .contentheading, .componentheading {
    background : url(../images/header.gif) repeat;
    font-size : 14px;
    font-weight : bold;
    line-height : 20px;
    text-transform : uppercase;
    text-align : left;
    color : #996600;
    width : 100%;
    border-bottom: 3px #b70003 solid;}
    .title {
    font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
    font-weight : bold;
    text-transform : uppercase;
    text-indent : 8px;
    font-size : 20px;
    text-align : left;
    color : #FFFFFF;
    }
    .title a:link, .title a:visited {
    font-size : 20px;
    color : #FFFFFF;
    text-decoration : none;
    font-weight : bold;
    }
    .title a:hover {
    font-size : 20px;
    color : #FFFFFF;
    text-decoration : none;
    font-weight : bold;
    }
    .ontab {
    border-left : 1px solid #404040;
    text-align : center;
    font-weight : bold;
    color : #333333;
    padding : 5px;
    cursor : hand;
    line-height : 40px;
    }
    .offtab {
    border-left : 1px solid #404040;
    text-align : center;
    color : #666666;
    font-weight : normal;
    padding : 5px;
    cursor : hand;
    line-height : 40px;
    }
    .tabpadding {
    border-left : 1px solid #404040;
    }
    .pagetext {
    visibility : hidden;
    position : relative;
    top : -10;
    background-color : #FFFFFF;
    display : none;
    }
    .footer {
    font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
    color : #FFFFFF;
    font-size : 10px;
    color : #FFFFFF;
    font-weight : normal;
    }
    .footer a:link, .footer a:visited {
    font-size : 11px;
    color : #FFFFFF;
    text-decoration : none;
    font-weight : bold;
    }
    .footer a:hover {
    font-size : 11px;
    color : #996600;
    text-decoration : none;
    font-weight : bold;
    }
    .contact_email {
    width : 100%;
    }
    .contact_email .inputbox {
    width : 380px;
    }

    جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.


  9. #8

    تاریخ عضویت
    Mar 2006
    نوشته ها
    3,652
    تشکر
    0
    تشکر شده 11 بار در 10 ارسال

    پاسخ : Re: مشكل در راست چين كردن مطالب قالب

    [quote author=فیروزمندان link=topic=1317.msg6657#msg6657 date=1150394324]
    فایل index.php قالب رو باز کن . و
    [/quote]
    !!

    جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.


  10. #9

    تاریخ عضویت
    Dec 2006
    نوشته ها
    89
    تشکر
    0
    تشکر شده 0 بار در 0 ارسال

    پاسخ : Re: مشكل در راست چين كردن مطالب قالب

    [quote author=رادمهر link=topic=1317.msg29762#msg29762 date=1172063807]
    [quote author=فیروزمندان link=topic=1317.msg6657#msg6657 date=1150394324]
    فایل index.php قالب رو باز کن . و
    [/quote]
    !!
    [/quote]

    جناب رادمهر عزيز اين هم محتويات index.php

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[مهمان/کاربر گرامی برای دیدن لینک ها ابتدا باید عضو سایت شوید و لاگین کنید برای ثبت نام اینجا کلیک کنید]
    <html xmlns="[مهمان/کاربر گرامی برای دیدن لینک ها ابتدا باید عضو سایت شوید و لاگین کنید برای ثبت نام اینجا کلیک کنید]
    <head>
    <?php
    /**
    * Template name:zak_pro_foto
    * Version: 1.0
    * Creation Date: 20/11/2005
    * @package Zak PRO Foto
    * @copyright (C) 2005-20019 by [مهمان/کاربر گرامی برای دیدن لینک ها ابتدا باید عضو سایت شوید و لاگین کنید برای ثبت نام اینجا کلیک کنید]
    * Copyright: This template is released under the GNU/GPL License (C) 2005-20019 by [مهمان/کاربر گرامی برای دیدن لینک ها ابتدا باید عضو سایت شوید و لاگین کنید برای ثبت نام اینجا کلیک کنید]
    * Author Url: [مهمان/کاربر گرامی برای دیدن لینک ها ابتدا باید عضو سایت شوید و لاگین کنید برای ثبت نام اینجا کلیک کنید]
    * Author Email: [مهمان/کاربر گرامی برای دیدن لینک ها ابتدا باید عضو سایت شوید و لاگین کنید برای ثبت نام اینجا کلیک کنید]
    */
    defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
    $iso = split( '=', _ISO );
    echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
    ?>

    <script language="JavaScript" type="text/JavaScript">
    <!--
    function MM_swapImgRestore() { //v3.0
    var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    }

    function MM_findObj(n, d) { //v4.01
    var p,i,x; if(!d) d=document; if((p=n.indexOf("?&quot)>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
    if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
    for(i=0;!x&&d.layers&&i<d.layer s.length;i++) x=MM_findObj(n,d.layers[i].document);
    if(!x && d.getElementById) x=d.getElementById(n); return x;
    }

    function MM_swapImage() { //v3.0
    var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
    if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    }
    //-->
    </script>
    <?php if ( $my->id ) initEditor(); ?>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <?php mosShowHead(); ?>
    <link rel="stylesheet" type="text/css" href="<?php echo $GLOBALS['mosConfig_live_site']; ?>/templates/<?php echo $cur_template; ?>/css/template_css.css" />
    <link rel="shortcut icon" href="<?php echo $GLOBALS['mosConfig_live_site']; ?>/templates/<?php echo $cur_template; ?>/images/favicon.ico"/>
    <script language="JavaScript" type="text/JavaScript">
    <!--
    function MM_preloadImages() { //v3.0
    var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#&quot!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    }
    //-->
    </script>
    <style type="text/css">
    <!--
    body {
    margin-left: 0px;
    margin-top: 10px;
    margin-right: 0px;
    margin-bottom: 0px;
    background-image: url(templates/pro_photo/images/pro_foto_10.jpg);
    background-color: #000000;
    }
    -->
    </style>
    <link href="css/template_css.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    .style1 {color: #FFFFFF}
    -->
    </style>
    </head>
    </head>

    <body>
    <table width="854" border="0" align="center" cellpadding="0" cellspacing="0" background="templates/<?php echo $cur_template; ?>/images/pro_foto_10.jpg">
    <tr>
    <td width="20" height="29" align="left"> </td>
    <td width="492" height="29" align="left"><table width="492" height="29" border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td align="left" valign="bottom"><?php mosLoadModules ( 'user3' ); ?></td>
    </tr>
    </table></td>
    <td width="342" height="29" align="right"><img src="templates/<?php echo $cur_template; ?>/images/pro_foto_03.png" width="342" height="29" /></td>
    </tr>
    <tr>
    <td colspan="3"><table width="854" height="130" border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td><img src="templates/<?php echo $cur_template; ?>/images/pro_foto_04.jpg" width="388" height="130" /></td>
    <td><img src="templates/<?php echo $cur_template; ?>/images/pro_foto_05.gif" width="124" height="130" /></td>
    <td><img src="templates/<?php echo $cur_template; ?>/images/pro_foto_06.gif" width="342" height="130" /></td>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td height="21" colspan="3" align="left" valign="middle" background="templates/<?php echo $cur_template; ?>/images/pro_foto_07.gif"><table width="450" height="17" border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td width="19"> </td>
    <td width="431" align="left" valign="middle"><span class="pathway">
    <?php include "pathway.php"; ?>
    </span></td>
    </tr>
    </table></td>
    </tr>
    </table>
    <table width="854" border="0" align="center" cellpadding="0" cellspacing="0" background="templates/<?php echo $cur_template; ?>/images/pro_foto_10.jpg">
    <tr>
    <td align="center" valign="bottom"><table width="854" height="10" border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td width="190" height="10" align="left" valign="top"><img src="templates/<?php echo $cur_template; ?>/images/pro_foto_08.gif" width="190" height="11" /></td>
    <td width="10" height="10" valign="top"><img src="templates/<?php echo $cur_template; ?>/images/pro_foto_10.jpg" width="10" height="10" /></td>
    <td height="10" align="right" valign="bottom"><img src="templates/<?php echo $cur_template; ?>/images/pro_foto_11.gif" width="654" height="10" class="style1" /></td>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td><table width="854" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td width="190" align="left" valign="top" background="templates/<?php echo $cur_template; ?>/images/pro_foto_27.gif"><table width="190" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td align="left" valign="top" background="templates/<?php echo $cur_template; ?>/images/pro_foto_12.gif"><table width="190" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td> </td>
    <td width="174" align="left" valign="top"><?php mosLoadModules ( 'menu' ); ?></td>
    <td> </td>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td><img src="templates/<?php echo $cur_template; ?>/images/pro_foto_22.gif" width="190" height="10" /></td>
    </tr>
    <tr>
    <td><img src="templates/<?php echo $cur_template; ?>/images/pro_foto_24.gif" width="190" height="7" /></td>
    </tr>
    <tr>
    <td><img src="templates/<?php echo $cur_template; ?>/images/pro_foto_25.gif" width="190" height="11" /></td>
    </tr>
    <tr>
    <td><table width="190" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td> </td>
    <td width="174" align="left" valign="top"><?php mosLoadModules ( 'left' ); ?></td>
    <td> </td>
    </tr>
    <tr>
    <td> </td>
    <td width="174" align="left" valign="top"><?php mosLoadModules ( 'right' ); ?></td>
    <td> </td>
    </tr>
    </table></td>
    </tr>

    </table></td>
    <td width="10"> </td>
    <td width="654" align="left" valign="top" background="templates/<?php echo $cur_template; ?>/images/pro_foto_14.gif"><table width="654" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td> </td>
    <td width="638"><table width="638" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td width="309" align="right" valign="top"><table width="305" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td align="left" valign="top"><?php mosLoadModules ( 'user1' ); ?></td>
    </tr>
    </table></td>
    <td width="20"> </td>
    <td width="309" align="left" valign="top"><?php mosLoadModules ( 'user2' ); ?></td>
    </tr>
    </table></td>
    <td> </td>
    </tr>
    <tr>
    <td> </td>
    <td width="638" align="left" valign="top"><?php include ("mainbody.php" ?></td>
    <td> </td>
    </tr>
    <tr>
    <td> </td>
    <td width="638" align="left" valign="top"><?php mosLoadModules ( 'bottom' ); ?></td>
    <td> </td>
    </tr>
    <tr>
    <td> </td>
    <td align="center" valign="top"><?php mosLoadComponent( "banners" ); ?></td>
    <td> </td>
    </tr>
    </table></td>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td><table width="854" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td width="190" height="21"><img src="templates/<?php echo $cur_template; ?>/images/pro_foto_28.gif" width="190" height="21" /></td>
    <td width="10" height="21"><img src="templates/<?php echo $cur_template; ?>/images/pro_foto_29.gif" width="10" height="21" /></td>
    <td width="654" height="21" align="left" valign="top"><img src="templates/<?php echo $cur_template; ?>/images/pro_foto_30.gif" width="654" height="21" /></td>
    </tr>
    </table></td>
    </tr>
    </table>
    <table width="854" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
    <td width="8" height="11" colspan="3"><img src="templates/<?php echo $cur_template; ?>/images/pro_foto_31.gif" width="854" height="11" /></td>
    </tr>
    <tr>
    <td width="415" height="104" align="right" valign="top" background="templates/<?php echo $cur_template; ?>/images/pro_foto_32.gif"><table width="415" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td> </td>
    <td width="405" align="left" valign="top"><?php mosLoadModules ( 'advert1' ); ?></td>
    </tr>
    </table></td>
    <td background="templates/<?php echo $cur_template; ?>/images/pro_foto_33.gif"><img src="templates/<?php echo $cur_template; ?>/images/pro_foto_33.gif" width="24" height="104" /></td>
    <td width="415" height="104" align="left" valign="top" background="templates/<?php echo $cur_template; ?>/images/pro_foto_34.gif"><table width="415" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td width="405" align="left" valign="top"><?php mosLoadModules ( 'advert2' ); ?></td>
    <td> </td>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td height="10" colspan="3"><img src="templates/<?php echo $cur_template; ?>/images/pro_foto_35.gif" width="854" height="10" /></td>
    </tr>
    </table>
    <table width="854" height="25" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#000000">
    <tr>
    <td> </td>
    <td width="654" align="center" valign="middle"><span class="style1">Design by Zak Mahuna</span> <span class="style1">© 2005</span> <a href="[مهمان/کاربر گرامی برای دیدن لینک ها ابتدا باید عضو سایت شوید و لاگین کنید برای ثبت نام اینجا کلیک کنید] target="_self">[مهمان/کاربر گرامی برای دیدن لینک ها ابتدا باید عضو سایت شوید و لاگین کنید برای ثبت نام اینجا کلیک کنید]
    <td> </td>
    </tr>
    </table>
    </body>
    </html>
    آيا ميشه اين كد در قالب اصلا موجود نباشه ؟

    جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.


  11. #10

    تاریخ عضویت
    Mar 2006
    نوشته ها
    3,652
    تشکر
    0
    تشکر شده 11 بار در 10 ارسال

    پاسخ : مشكل در راست چين كردن مطالب قالب

    این قالب رو از کجا آوردید ؟!
    این خطه:
    کد:
    <td width="638" align="left" valign="top"><?php include ("mainbody.php"); ?></td>

    جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.


صفحه 2 از 3 نخستنخست 123 آخرینآخرین

علاقه مندی ها (Bookmarks)

علاقه مندی ها (Bookmarks)

مجوز های ارسال و ویرایش

  • شما نمیتوانید موضوع جدیدی ارسال کنید
  • شما امکان ارسال پاسخ را ندارید
  • شما نمیتوانید فایل پیوست کنید.
  • شما نمیتوانید پست های خود را ویرایش کنید
  •