انجمن


مشکل با تگ the_excerpt  (۳ نوشته)

  • zxo003

    آفلاین
    عضو
    تعداد نوشته‌ها: ۵۸۳
    تشکر شده: ۵۵ بار
    # نوشته شده: ۱۵ سال پیش
    ۱۳ بهمن ۱۳۸۷ - ۲۰:۰۷

    سلام بر تمام دوستان ...

    آقا ما یک قالب داریم در فایل index . php آن از تگ the_excerpt استفاده شده ، همانگونه که میدانید این تگ کل مطالب را نمایش نمیدهد و یک تیکه از مطلب نمایش میدهد من آن تگ را با the_content عوض کردم بعد مطالب کامل نشون میده اما در IE 6 ستون کناری میپره و اصلا نمایش داده نمیشود !!!

    من هرچی مستندات بود خوندم اما دیدم هسچ ربطی نداره به ستون کناری لطفا اگر چیزی میدانید راهنمایی کنید ! :-( :-( :-( :-(

    http://codex.wordpress.org/Template_Tags
    http://codex.wordpress.org/Template_Tags/the_content
    http://codex.wordpress.org/Template_Tags/the_excerpt
  • navid

    آفلاین
    ناظم
    تعداد نوشته‌ها: ۲۷۱۸
    تشکر شده: ۲۹۹ بار
    # نوشته شده: ۱۵ سال پیش
    ۱۴ بهمن ۱۳۸۷ - ۰۷:۱۸

    مربوط به css و html قالب می شه و ربطی به وردپرس نداره ;-)

  • zxo003

    آفلاین
    عضو
    تعداد نوشته‌ها: ۵۸۳
    تشکر شده: ۵۵ بار
    # نوشته شده: ۱۵ سال پیش
    ۱۴ بهمن ۱۳۸۷ - ۱۰:۰۱

    آقا میشه یک نگاه بندازی ببینی مشکل از کجا است :

    محتویات فایل index . php اینگونه است :

    <?php get_header(); ?>
    
    <div id="middle">
    	<div id="content">
    
    <br/>
    <div id="sites">
    <h2>SITES OF THE WEEK</h2>
    <?php sites(); ?>
    </div>
    
    		<?php $count = 0;?>
    		<?php query_posts('showposts=8'); ?>
    	<?php if (have_posts()) : ?>
    
    <?php while (have_posts()) : the_post(); ?>
    
    <div class="postindex" id="post-<?php the_ID(); ?>">
    
    <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
    
    <div class="entry">
    <?php the_excerpt(__('Readmore'));?>
    <p><?php the_time('F jS, Y') ?> by <?php the_author() ?></p>
    
    </div>
    <div class="spacer"></div>
    	<ul class="post-data">
    	<li class="comments">
    <?php comments_popup_link('No Comments &raquo;', '1 Comment &raquo;', '% Comments &raquo;'); ?>
    </li>
    	<li class="posted">
    Published under <?php the_category(', ') ?> <?php edit_post_link('Edit','',''); ?>
    </li>
    
    </ul>
    </div>
    
    <?php comments_template(); ?>
    					<?php
    					if($count == 1 ) {
    					echo "<div style='clear:both;'></div>";}
    					$count = $count+1;
    					?>
    
    <?php endwhile; ?>
    
    <p align="center"></p>
    
    <?php else : ?>
    
    <h2 align="center">Not Found</h2>
    
    <p align="center">Sorry, but you are looking for something that isn't here.</p>
    
    <?php endif; ?>
    
    	</div>
    
    <?php get_sidebar(); ?>	
    
    	</div>
    
    <?php get_footer(); ?>

    محتویات ستون کناری :

    <?php if ( is_home() ) { ?>
    <div id="sidebarcontainer">
    
          <?php include (TEMPLATEPATH . '/searchform.php'); ?><br/>
    
    <div id="wrap">
    <div id="subscriptionoptions">
    
    <div class="clear"></div>
    
    </div>
    
     <!--Main Ad Body End-->
    
    <div class="clear"></div>
    </div>
    
    <div id="wrapper">
    
    </div>
    <script type="text/javascript">
    	Element.cleanWhitespace('tabbedcontent');
    	init();
    </script>
    
    <?php } ?>
    
    	<div id="sidebar">
    
    	<?php if ( !function_exists('dynamic_sidebar')
            || !dynamic_sidebar() ) : ?>
    
    <?php if (!( is_home() )) { ?>
    <h3>Featured Video</h3><div id="video">
    <object width="305" height="247"><param name="movie" value="http://www.youtube.com/v/_lHGslwZhX8&autoplay=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/_lHGslwZhX8&autoplay=1" type="application/x-shockwave-flash" allowfullscreen="true" width="305" height="247"></embed></object>
    </div><?php } ?>
    
    <?php if ( is_home() ) { ?> <p>Color Schemes</p>
    <div id="colors"> 
    
    <!-- Plug and play module that allow your visitors to switch between 20 pre-made color schemes with a single click. Please don't edit anything here if you would like to enable this feature -->
    <form id="switchform">
    <a href="javascript:chooseStyle('none', 60)"
    checked="checked"><img
    src="<?php bloginfo('template_url'); ?>/slectcss/library/images/OrangeRed.jpg"
    alt="OrangeRed color" width="8" height="8" /></a>
    <a href="javascript:chooseStyle('Magenta', 60)"
    checked="checked"><img
    src="<?php bloginfo('template_url'); ?>/slectcss/library/images/Magenta.jpg"
    alt="Magenta color" width="8" height="8" /></a>
    <a href="javascript:chooseStyle('DodgerBlue', 60)"
    checked="checked"><img
    src="<?php bloginfo('template_url'); ?>/slectcss/library/images/DodgerBlue.jpg"
    alt="DodgerBlue color" width="8" height="8" /></a>
    <a href="javascript:chooseStyle('LawnGreen', 60)"
    checked="checked"><img
    src="<?php bloginfo('template_url'); ?>/slectcss/library/images/LawnGreen.jpg"
    alt="LawnGreen color" width="8" height="8" /></a>
    <a href="javascript:chooseStyle('ChiliRed', 60)"
    checked="checked"><img
    src="<?php bloginfo('template_url'); ?>/slectcss/library/images/ChiliRed.jpg"
    alt="LawnGreen color" width="8" height="8" /></a>
    <a href="javascript:chooseStyle('DarkViolet', 60)"
    checked="checked"><img
    src="<?php bloginfo('template_url'); ?>/slectcss/library/images/DarkViolet.jpg"
    alt="DarkViolet color" width="8" height="8" /></a>
    <a href="javascript:chooseStyle('Sienna', 60)"
    checked="checked"><img
    src="<?php bloginfo('template_url'); ?>/slectcss/library/images/Sienna.jpg"
    alt="Sienna color" width="8" height="8" /></a>
    <a href="javascript:chooseStyle('Khaki', 60)"
    checked="checked"><img
    src="<?php bloginfo('template_url'); ?>/slectcss/library/images/Khaki.jpg"
    alt="Khaki color" width="8" height="8" /></a>
    <a href="javascript:chooseStyle('LightSeaGreen', 60)"
    checked="checked"><img
    src="<?php bloginfo('template_url'); ?>/slectcss/library/images/LightSeaGreen.jpg"
    alt="LightSeaGreen color" width="8" height="8" /></a>
    <a href="javascript:chooseStyle('Indigo', 60)"
    checked="checked"><img
    src="<?php bloginfo('template_url'); ?>/slectcss/library/images/Indigo.jpg"
    alt="Indigo color" width="8" height="8" /></a>
    <a href="javascript:chooseStyle('DeepPink', 60)"
    checked="checked"><img
    src="<?php bloginfo('template_url'); ?>/slectcss/library/images/DeepPink.jpg"
    alt="DeepPink color" width="8" height="8" /></a>
    <a href="javascript:chooseStyle('ForestGreen', 60)"
    checked="checked"><img
    src="<?php bloginfo('template_url'); ?>/slectcss/library/images/ForestGreen.jpg"
    alt="ForestGreen color" width="8" height="8" /></a>
    <a href="javascript:chooseStyle('MediumBlue', 60)"
    checked="checked"><img
    src="<?php bloginfo('template_url'); ?>/slectcss/library/images/MediumBlue.jpg"
    alt="MediumBlue color" width="8" height="8" /></a>
    <a href="javascript:chooseStyle('Crimson', 60)"
    checked="checked"><img
    src="<?php bloginfo('template_url'); ?>/slectcss/library/images/Crimson.jpg"
    alt="Crimson color" width="8" height="8" /></a>
    <a href="javascript:chooseStyle('GoldenRod', 60)"
    checked="checked"><img
    src="<?php bloginfo('template_url'); ?>/slectcss/library/images/GoldenRod.jpg"
    alt="GoldenRod color" width="8" height="8" /></a>
    <a href="javascript:chooseStyle('Teal', 60)"
    checked="checked"><img
    src="<?php bloginfo('template_url'); ?>/slectcss/library/images/Teal.jpg"
    alt="Teal color" width="8" height="8" /></a>
    
    <a href="javascript:chooseStyle('MidnightBlue', 60)"
    checked="checked"><img
    src="<?php bloginfo('template_url'); ?>/slectcss/library/images/MidnightBlue.jpg"
    alt="MidnightBlue color" width="8" height="8" /></a>
    <a href="javascript:chooseStyle('Peru', 60)"
    checked="checked"><img
    src="<?php bloginfo('template_url'); ?>/slectcss/library/images/Peru.jpg"
    alt="Peru color" width="8" height="8" /></a>
    <a href="javascript:chooseStyle('Orchid', 60)"
    checked="checked"><img
    src="<?php bloginfo('template_url'); ?>/slectcss/library/images/Orchid.jpg"
    alt="Orchid color" width="8" height="8" /></a>
    <a href="javascript:chooseStyle('SteelBlue', 60)"
    checked="checked"><img
    src="<?php bloginfo('template_url'); ?>/slectcss/library/images/SteelBlue.jpg"
    alt="SteelBlue color" width="8" height="8" /></a>
    </form>
    </div>
    
    <h3>Featured News</h3>
    <div id="news">
    <script type="text/javascript">
    
    var delay=15000; //set delay between message change (in miliseconds)
    var maxsteps=30; // number of steps to take to change from start color to endcolor
    var stepdelay=40; // time in miliseconds of a single step
    //**Note: maxsteps*stepdelay will be total time in miliseconds of fading effect
    var startcolor= new Array(255,255,255); // start color (red, green, blue)
    var endcolor=new Array(0,0,0); // end color (red, green, blue)
    
    var fcontent=new Array();
    begintag='<div style="font: normal 11px Geneva, Arial, Helvetica, sans-serif; padding: 10px;">'; //set opening tag, such as font declarations
    fcontent[0]="<b>The importance of a good wordpress design</b><br><br>In trying to build an online presence, some people fail to take into consideration the importance of a good design. Do not get me wrong, there are other important factors for a blog, but a good solid design is imperative to your site success.<br><br>I am not saying that you should go out and get a loud flash header with audio and fireworks. What I am saying is that there is a correlation between the stickyness, the amount of people that want to return to your site and the design.";
    fcontent[1]="<b>Choosing the right wordpress theme</b><br><br>There are so many different Wordpress themes out there it is difficult to tell which one you should use. Should you use the 3 column fixed or the 3 column fluid, the right sidebar or the left sidebar. There are so many variables it becomes very difficult for anyone to decide and still keep a clear head. When choosing your Wordpress theme you want to make sure that you take into consideration the purpose for your blog. If your blog is simply something that you want to express yourself with and be creative with, you can select any color, size, column number or shape that you want because you really just want to......";
    fcontent[2]="<b>Should I buy a custom wordpress theme?</b><br><br>This is a question that many multi-blog owners ask themselves. Most newbies, might want to go the free route first so that they can get their feet wet, see if this is something that they are really interested in, or if they can actually make some money out of it. Others, who might have done this for a while have some experience with Wordpress, an understanding and feel for the backend, can make a post, ping, setup pages and respond to comments. These bloggers are more likely to own more than one blog, because blogging can be very, very addicting.....";
    closetag='</div>';
    
    var fwidth='309px'; //set scroller width
    var fheight='200px'; //set scroller height
    
    var fadelinks=1;  //should links inside scroller content also fade like text? 0 for no, 1 for yes.
    
    ///No need to edit below this line/////////////////
    
    var ie4=document.all&&!document.getElementById;
    var DOM2=document.getElementById;
    var faderdelay=0;
    var index=0;
    
    /*Rafael Raposo edited function*/
    //function to change content
    function changecontent(){
      if (index>=fcontent.length)
        index=0
      if (DOM2){
        document.getElementById("fscroller").style.color="rgb("+startcolor[0]+", "+startcolor[1]+", "+startcolor[2]+")"
        document.getElementById("fscroller").innerHTML=begintag+fcontent[index]+closetag
        if (fadelinks)
          linkcolorchange(1);
        colorfade(1, 15);
      }
      else if (ie4)
        document.all.fscroller.innerHTML=begintag+fcontent[index]+closetag;
      index++
    }
    
    // colorfade() partially by Marcio Galli for Netscape Communications.  ////////////
    // Modified by Dynamicdrive.com
    
    function linkcolorchange(step){
      var obj=document.getElementById("fscroller").getElementsByTagName("A");
      if (obj.length>0){
        for (i=0;i<obj.length;i++)
          obj[i].style.color=getstepcolor(step);
      }
    }
    
    /*Rafael Raposo edited function*/
    var fadecounter;
    function colorfade(step) {
      if(step<=maxsteps) {
        document.getElementById("fscroller").style.color=getstepcolor(step);
        if (fadelinks)
          linkcolorchange(step);
        step++;
        fadecounter=setTimeout("colorfade("+step+")",stepdelay);
      }else{
        clearTimeout(fadecounter);
        document.getElementById("fscroller").style.color="rgb("+endcolor[0]+", "+endcolor[1]+", "+endcolor[2]+")";
        setTimeout("changecontent()", delay);
    
      }
    }
    
    /*Rafael Raposo's new function*/
    function getstepcolor(step) {
      var diff
      var newcolor=new Array(3);
      for(var i=0;i<3;i++) {
        diff = (startcolor[i]-endcolor[i]);
        if(diff > 0) {
          newcolor[i] = startcolor[i]-(Math.round((diff/maxsteps))*step);
        } else {
          newcolor[i] = startcolor[i]+(Math.round((Math.abs(diff)/maxsteps))*step);
        }
      }
      return ("rgb(" + newcolor[0] + ", " + newcolor[1] + ", " + newcolor[2] + ")");
    }
    
    if (ie4||DOM2)
      document.write('<div id="fscroller" style="border:3px solid #eeeeee;width:'+fwidth+';height:'+fheight+'"></div>');
    
    if (window.addEventListener)
    window.addEventListener("load", changecontent, false)
    else if (window.attachEvent)
    window.attachEvent("onload", changecontent)
    else if (document.getElementById)
    window.onload=changecontent
    
    </script>
    </div>
    <?php } ?>
    
    			<h3>Categories</h3>
    			<ul>
    				<?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?>
    				</ul>
    
    			<h3>Resources</h3>
    
    			<ul>
    				<?php get_links('-1', '<li>', '</li>', '<br />'); ?>
    				</ul>
    
    			<h3>Archives</h3>
    
    			<ul>
    				<?php wp_get_archives('type=monthly'); ?>
    				</ul>
    
    			<h3>Syndication</h3>
    			<ul>
    				<li><a href="<?php bloginfo('rss2_url'); ?>" >Entries RSS</a></li>
    				<li><a href="<?php bloginfo('comments_rss2_url'); ?>">Comments RSS</a></li>
    				</ul>
    
    <?php endif; ?>
    	</div>

    و شیوه نامه هم اینگونه است :

    body {
    	background: url(images/bg.gif);
    	text-align: center;
    	margin: 0px auto;
            padding: 0px;
    	}
    
    /* -------------------
    Main Structure
    ------------------- */
    
    #frame {
    	width: 1024px;
    	text-align: left;
    	margin: 0px auto;
            padding: 0px;
    	background: #ffffff;
    	border-left: 1px solid #040404;
    	border-right: 1px solid #040404;
    	}
    
    #middle {
    	background: url(images/main.jpg) 0 0 repeat-y;
    	overflow: auto;
    	width: 1024px;
            margin: 0px auto;
            padding: 0px;
    	}
    
    #content {
    	float: left;
    	width: 621px;
            margin: 0px 8px 18px 18px;
            padding: 0px 0px 0px 0px;
            display: inline;
    	}
    
    #sidebar {
    	float: left;
    	background: #ffffff;
    	width: 315px;
    	padding: 10px;
            margin-left: 5px;
    	border: 8px solid #e8e8e8;
            display: inline;
    	}
    
    /* -------------------
    Header
    ------------------- */
    
    #header {
            background: url(images/header.jpg);
            width: 1024px;
            height: 120px;
            margin: 0px auto;
            padding: 0px;
    	}
    
    .header-title {
    	font-family: Tahoma, Verdana, Arial;
    	color:#f98912;
    	font-size:33px;
            font-weight:bold;
    	padding: 33px 0 0 38px;
    	text-align:left;
    	}
    .header-title a{
    	color:#333333;
    	text-decoration:none;
    	border-bottom:none;
    	}
    .header-title a:hover{
    	color:#f98912;
    	text-decoration:none;
    	border-bottom:none;
    	}
    .header-description {
            font-size: 11px;
    	font-family: Tahoma, Verdana, Arial;
            font-weight: normal;
    	color:#333333;
    	padding: 0px 0 0 39px;
    	text-align:left;
    	}	
    
    #menu {
    
    	width: 1024px;
    	margin: 0px auto;
            left: 18px;
    	text-align: center;
    	line-height: normal;
            background: #ffffff;
    }
    #button {
    	list-style: none;
    	margin: 0 3px;
    	padding: 0px;
    	float: left;
            background: #ffffff;
    }
    
    #button li {
    	float: left;
    	height: 28px;
    	background: url(images/OrangeRed/button-right.gif) top right no-repeat;
    	margin: 0 3px;
    	white-space: nowrap;
    }
    #button .page_item a{
    	color: #f8f8f8;
    	display: block;
    	background: url(images/OrangeRed/button-left.gif) top left no-repeat;
    	text-decoration: none;
    	padding: 0px 15px 0px 15px;
    	font: bold 13px Arial, Helvetica, sans-serif;
    	line-height: 28px;
    }
    
    #button .page_item a:hover{
    	color: #f8f8f8;
    
    }
    #button li:hover {
    	background-position: 100% -36px;
    }
    #button .page_item a:hover {
    	background-position: 0px -36px;
    	border: none;
    }
    
    #button li.current_page_item {
    	color: #ffffff;
    	text-decoration: none;
    	background: url(images/OrangeRed/button-right-hover.gif) top right no-repeat;
    }
    #button .current_page_item a, #button .current_page_item a:visited{
    	color: #ffffff;
    	text-decoration: none;
    	background: url(images/OrangeRed/button-left-hover.gif) top left no-repeat;
    }
    
    /* search form */
    #site-profile {
    	color: #888888;
    	clear: both;
    	background: #383838 url(images/OrangeRed/site-profile.jpg) no-repeat;
    	padding: 10px 0 10px 0px;
    	width: 1024px;
    	margin: 0;
    }
    
    #site-profile p {
    	padding: 10px;
    	margin: 0;
      text-align:left;
    	font: 11px Tahoma, Arial, Helvetica, sans-serif;
    }
    
    /* grey subheader */
    
    #catnav {
    	background: url(images/navbgr.gif) no-repeat top;
    	height:36px;
    	width:1024px;
    }
    
    /* -------------------
    Content
    ------------------- */
    
    .content-rap {
    	float: left;
    	width: 625px;
            margin: 18px 2px 18px 4px;
            padding: 0px 0px 10px 0px;
            background: #f8f8f8;
    	border: 1px solid #e8e8e8;
    	height:auto;
    	}
    
    .comment {
    	float: left;
    	width: 585px;
    	margin: 10px 0px 0px 10px;
    	padding: 3px 9px 13px 9px;
            background: #ffffff;
    	border: 1px dotted #cccccc;
    	} 
    
    #content .post   {
    	float: left;
    	width: 585px;
    	margin: 10px 0px 0px 10px;
    	padding: 3px 9px 3px 9px;
            background: #ffffff;
    	border: 1px dotted #cccccc;
    	height:auto;
    	} 
    
    #content .postindex   {
    	float: left;
    	width: 290px;
    	margin: 0px 3px 6px 3px;
    	padding: 0px 6px 0px 6px;
            background: #f8f8f8;
    	border: 1px solid #e8e8e8;
    	min-height:209px;
    	height:auto;
    	} 
    
    #content .postindex p, #content .postindex dl,#content .postindex ul {
    	color: #333333;
    	font: 0.7em/1.5em Tahoma, Arial, Helvetica, sans-serif;
    	margin: 0 0 0.7em 0;
    	}
    
    #content .postindex li, #content .postindex ul {
    	margin: 0 0 0 0;
    	color: #666666;
    	font: 0.7em/1.5em Tahoma, Arial, Helvetica, sans-serif;
    	}
    
    #content .postindex dl dt {
    	font-weight: bold;
    	}
    
    #content .postindex dl dd {
    	margin: 0 0 0.4em 0;
    	}
    
    #content .postindex blockquote p {
    	margin: 0 0 0 2em;
    	border-left: 5px solid #cccccc;
    	padding: 0 0 0 1em;
    	color: #666;
    }
    
    #content .postindex a { color: #ef8701; }
    #content .postindex a:hover { color: #ef8701; }
    
    #content .postindex ul.post-data {
    	border-top: 1px dotted #666666;
    	list-style: none;
    	font: 11px Tahoma, Arial, Helvetica, sans-serif;
    	padding: 4px 0 6px 0;
    	color: #333333;
    	margin: 10px 0 0 0;
    	}
    
    #content .postindex ul.post-data li {
    	color: #333333;
    	}
    
    #content .postindex ul.post-data a {
    	text-decoration: none;
            text-transform: lowercase;
    	color: #333333;
    	}
    
    #content .postindex ul.post-data a:hover {
    	color: #333333;
    text-decoration: underline;
    	}
    
    #content .postindex ul.post-data li.comments {
    	font: 11px Tahoma, Arial, Helvetica, sans-serif;
    	float: right;
    	margin: 0 0 0 0;
    	display: inline; /* fixes double float bug in IE */
    	}
    
    #content .postindex ul.post-data li.comments a {
    	padding: 0 0 0 0px;
    	}
    
    #content .postindex ul.post-data li.posted {
    	font: 11px Tahoma, Arial, Helvetica, sans-serif;
    	margin: 0 0 0 0;
    	}
    
    #content .postindex ul.post-data li.posted a {
    	padding: 0 0 0 0px;
    	}
    
    #content .postindex ul.post-data li.comments a:hover, #content .post ul.post-data li.posted a:hover {
    	background-position: 0 -38px;
    	}
    
    /* general #content definitions */
    
    #content h2 {
    	color: #ef8701;
    	font: bold 13px Arial, Helvetica, sans-serif;
    	margin: 0 0 6px 0;
            padding: 6px 0px 4px 0px;
    	border-bottom: 1px dotted #666666;
    
    	}
    
    #content h2 a {
    	color: #ef8701;
    	text-decoration: none;
    	}
    
    #content h2 a:hover {
    	color: #ef8701;
    	text-decoration: none;
    	}
    
    #content p, #content dl {
    	color: #333333;
    	font: 0.7em/1.5em Tahoma, Arial, Helvetica, sans-serif;
    	}
    
    #content p, #content ul, #content ol, #content dl {
    	margin: 0 0 0.7em 0;
    	}
    
    #content img {
    	margin: 0 0px 10px 0;
            padding: 3px;
            background: #ffffff;
    	border: 1px solid #dddddd;
    	}
    
    #content li {
    	margin: 0 0 0 0;
    	color: #333333;
    	font: 0.7em/1.5em Tahoma, Arial, Helvetica, sans-serif;
    	}
    
    #content ol li {
                     list-style: decimal;
                     }
    
    #content dl dt {
    	font-weight: bold;
    	}
    
    #content dl dd {
    	margin: 0 0 0.4em 0;
    	}
    
    #content blockquote p {
    	margin: 0 0 0 10px;
    	border-left: 5px solid #cccccc;
    	padding: 0 0 0 1em;
    	color: #333333;
    }
    
    #content a { color: #ef8701; }
    #content a:hover { color: #ef8701; }
    
    #content .post ul.post-data {
    	border-top: 1px dotted #666666;
    	list-style: none;
    	font: 11px Tahoma, Arial, Helvetica, sans-serif;
    	padding: 4px 0 6px 0;
    	color: #333333;
    	margin: 10px 0 0 0;
    	}
    
    #content .post ul.post-data li {
    	color: #333333;
    	}
    
    #content .post ul.post-data a {
    	text-decoration: none;
            text-transform: lowercase;
    	color: #333333;
    	}
    
    #content .post ul.post-data a:hover {
    	color: #333333;
    text-decoration: underline;
    	}
    
    #content .post ul.post-data li.comments {
    	font: 11px Tahoma, Arial, Helvetica, sans-serif;
    	float: right;
    	margin: 0 0 0 0;
    	display: inline; /* fixes double float bug in IE */
    	}
    
    #content .post ul.post-data li.comments a {
    	padding: 0 0 0 0px;
    	}
    
    #content .post ul.post-data li.posted {
    	font: 11px Tahoma, Arial, Helvetica, sans-serif;
    	margin: 0 0 0 0;
    	}
    
    #content .post ul.post-data li.posted a {
    	padding: 0 0 0 0px;
    	}
    
    #content .post ul.post-data li.comments a:hover, #content .post ul.post-data li.posted a:hover {
    	background-position: 0 -38px;
    	}
    
    .spacer {   padding: 0px;
                text-align: right;
                clear: both;
                text-transform: lowercase;
                }
    
    #ads{
    	float: left;
    	margin-left: 40px;
    }
    
    #ads h2 {
    	color: #333333;
    	font: bold 16px Arial, Helvetica, sans-serif;
    	margin: 0 0 6px 0;
            padding: 0px 0px 4px 0px;
    	border-bottom: 1px solid #e1e1e1;
    	width: 544px;
    }
    
    .125ads {
    	float: left;
    	padding: 8px 15px 15px;
    	margin-bottom: 10px;
            margin-right:auto;
            margin-left:auto;
            text-align:center;
    }
    
    #sites {
    	float: left;
    	margin-left: 3px;
    	margin-bottom: 10px;
            background: #f8f8f8;
    	border: 1px solid #e8e8e8;
            padding: 13px 10px 0px 10px;
            width: 592px;
    }
    
    #sites h2 {
    	color: #333333;
    	font: bold 16px Arial, Helvetica, sans-serif;
    	margin: 0 0 0px 0;
            padding: 0px 0px 4px 0px;
    	border-bottom: 1px dotted #f8f8f8;
    	width: 592px;
    	text-align: center;
    }
    
    .sliderwrapper{
    position: relative; /*leave as is*/
    overflow: hidden; /*leave as is*/
    border: 10px solid navy;
    border-bottom-width: 10px;
    width: 572px; /*width of featured content slider*/
    height: 150px;
    }
    
    .sliderwrapper .contentdiv{
    visibility: hidden; /*leave as is*/
    position: absolute; /*leave as is*/
    left: 0;  /*leave as is*/
    top: 0;  /*leave as is*/
    padding: 5px;
    background: white;
    width: 562px; /*width of content DIVs within slider. Total width should equal slider's inner width */
    height: 100%;
    filter:progid:DXImageTransform.Microsoft.alpha(opacity=100);
    -moz-opacity: 1;
    opacity: 1;
    }
    
    .pagination{
    width: 572px; /*Width of pagination DIV. Total width should equal slider's outer width */
    text-align: right;
    background-color: fff;
    padding: 0px 5px;
    }
    
    .pagination a{
    padding: 0 5px;
    text-decoration: none;
    color: #ef8701;
    background: #e8e8e8;
    }
    
    .pagination a:hover, .pagination a.selected{
    color: #000;
    background-color: #ef8701;
    }	
    
    #slider4{
    border: 2px solid #d8d8d8;
    background: fff;
    margin-left: 8px;
    height: 280px
    weight: 400px;
    }
    
    #paginate-slider4{
    border-color: #e8e8e8;
    margin-left: -20px;
    }
    
    #paginate-slider4 a img{
    width: 80px;
    height: 60px;
    border: 2px solid #c8c8c8;
    margin-top: 5px;
    }
    
    #paginate-slider4 a img:hover, #paginate-slider4 a.selected img{
    border: 2px solid #ef8701;
    }
    
    /* -------------------
    Sidebar
    ------------------- */
    
    #sidebar h3 {
    	color: #444444;
    	font: bold 13px Arial, Helvetica, sans-serif;
    	margin: 0 0 5px 0;
            padding-bottom: 4px;
            padding-top: 4px;
            background: url(images/h3-bg.jpg) repeat-x;
    	}
    
    #sidebar p, #sidebar li {
    	color: #ef8701;
    	font: bold 12px Arial, Helvetica, sans-serif;
    	border-bottom: 1px dotted #e8e8e8;
            padding: 1px 0px 1px 0px;
    	}
    
    #sidebar p, #sidebar ul, #sidebar ol {
    	margin: 0 0 10px 0;
    	}
    
    #sidebar ul {
    	padding: 0 0 0 3px;
    	list-style-image: url(images/icon.gif);
    	color: #ef8701;
            margin-left: 20px;
    
     }
    
    #sidebar img {
          border: #ffffff 1px solid;
          background: #ffffff;
          }
    
    #sidebar a:link img  {
          border: #ffffff 1px solid;
          background: #ffffff;
          }
    
    #sidebar a:hover img  {
          border: #ffffff 1px solid;
          background: #ffffff;
          }	
    
    #sidebar a {
    	color: #ef8701;
    	text-decoration: none;
    	}
    
    #sidebar a:hover {
    	color: #ef8701;
    	}
    
    #sidebarcontainer {
    	float: right;
    	padding: 0 15px 0 0;
    	width: 360px;
    	margin: 0px;
    }
    #sidebarcontainer form {
    	padding: 0;
    	margin: 0;
    }
    
    #video {
    	background: #ffffff;
    	width: 305px;
    	padding: 3px;
    	border: 1px solid #d8d8d8;
            margin-bottom: 10px;
    	}
    
    #subscriptionoptions{
    	width:300px;
    	padding: 0 30px;
    }
    
    #wrap {
    	margin: 0;
    	float: right;
    	padding: 5px 0 12px;
    	width: 360px;
    	color: #666666;
    	background: url(images/rss_bg.gif) repeat-y center;
    }
    
    #wrapper{
    	width: 298px;
    	margin: 0px 0px 8px 28px;
    	float:left;
            display: inline;
            background: #383838;
            padding: 2px;
    	border: 1px solid #040404;
    }
    
    #colors {
            margin-top: -10px;
            padding: 0px 0px 8px 0px;
    }
    
    #news {
            padding: 3px 0px 6px 0px;
    }
    
    .box{
    	background: #fefefe;
    	overflow: auto;
    	width: 294px;
    
    }
    .boxholder p{
    	margin: 0;
    	padding: 5px;
    	line-height: 1.5em;
    	text-align: justify;
    	color: #888888;
    	font: 11px verdana;
    }
    .boxholder{
    	clear: both;
    	padding: 0 2px 2px;
    }
    .tab {
    	float: left;
            height: 26px;
    	background: #4b4b4b;
    	margin: 2px 0px 0px 0px;
    	text-align: center;
    	border-right: 2px solid #383838;
    	padding: 0;
    }
    .tabtxt{
    	margin: 0;
    	color: #d8d8d8;
    	font-size: 12px;
    	font-weight: bold;
    	padding: 7px 0 0 0;
    }
    .box ul a {
    	color: #ef8701;
    	text-decoration: none;
    	font: 11px verdana;
    	font-weight: bold;
    }
    .box ul {
    	color: #ef8701;
    	margin: 5px;
    	padding: 0 0 6px 20px;
    }
    .box ul li {
    	color: #888888;
    	margin: 5px;
    	padding: 0;
    	list-style: disc;
    	font-weight: bold;
    }
    .box a {
    	color: #ef8701;
    	text-decoration: none;
    }
    .box img {
    	text-decoration: underline;
    	margin: 0 5px;
    }
    .box a:hover {
    	color: #ef8701;
    	text-decoration: underline;
    }
    .tab a {
    	color: #e8e8e8 !important;
    	background: #4b4b4b;
    	text-decoration: none !important;
    	font: bold 12px Tahoma, Arial, Helvetica, sans-serif;
            padding: 6px 8px 6px 8px;
    }
    
    .tab a:hover {
    	color: #f8f8f8 !important;
            background: #f98912;
    	text-decoration: none !important;
    	font: bold 12px Tahoma, Arial, Helvetica, sans-serif;
            padding: 6px 8px 6px 8px;
    }
    
    #tabbedcontent {
    	margin:0px 0px 0px 0px;
    	padding: 0px;
    }
    
    #adcontainer {
    	padding: 0px 0 0 0;
    	margin:0px 0px 0px 0px;
    	width: 298px;
    }
    
    #adboxes{
    	padding: 4px 0 3px 0px;
    	width:298px;
            background: #f7f7f7 url(images/adcontainer_bg.jpg) top repeat-x;
    	border:1px solid #f9f9f9;
    	float:left;
    	position: relative;
    }
    #adboxes ul {
    	margin: 0;
    	padding: 0;
    	list-style: none;
            padding-left: 4px;
    }
    #adboxes ul li {
    	display:block;
    
    	margin: 3px 3px 3px 3px !important;
    	padding: 3px !important;
    	float:left;
    	list-style: none;
    }
    
    .clear {
    	clear: both;
    	margin: 0;
    	padding: 0;
    }
    
    /*search form */
    #searchform {
    	margin: 0;
    	float:right;
    	padding: 0;
    }
    #searchform li {
    	list-style: none;
    }
    #searchform br {
    	display: none;
    }
    #searchform #s {
    	margin: 0px 0 0;
    	width: 290px;
    	height: 27px;
    	padding: 26px 20px 0px 20px;
    	background: url(images/search_bg.gif) no-repeat;
    	color: #ef8701;
    }
    
    /* search form button - to specify button only use input[type="submit"] */
    #searchform input {
    	border: none;
    	width: 67px;
    	height: 32px;
    	font: bold 13px Arial, Helvetica, sans-serif;
    	color: #FFFFFF;
    	vertical-align: middle;
    }
    
    /* -------------------
    Footer
    ------------------- */
    
    #footer {
    	clear: left;
    	background: url(images/footer.jpg) no-repeat;
    	color: #333333;
    	font: 0.7em/1.6em Arial, Helvetica, sans-serif;
    	text-align: center;
    	height: 43px;
    	width: 1024px;
    	margin: 0px auto;
    	}
    
    #footer a {
    	color: #ef8701;
    	text-decoration: none;
    	}
    
    #footer a:hover {
    	color: #ef8701;
    	text-decoration: underline;
    	}
    
    #credit {
    	height: 1px;
    	width: 1024px;
    	margin: 0px auto;
    	}
    #commentlist {
    		font: 11px Tahoma, Arial, Helvetica, sans-serif;
    }
    
    #commentlist li ul {
    		font: 16px Tahoma, Arial, Helvetica, sans-serif;
    }
    
    ol#commentlist li {
                      margin-left: 0px;
    		  list-style: none;
    		  font: bold 12px Arial, Helvetica, sans-serif;
                      }
    
    ol#comments li p {
    		  font: 16px Tahoma, Arial, Helvetica, sans-serif;
                       }
    
    .alt {
    font: 1.0em Tahoma, Arial, Helvetica, sans-serif;
    margin: 0px;
    }
    
    #commentlist li {
    margin-bottom: 8px;
    margin-left: 0px;
    list-style: none;
    font: 1.0em Tahoma, Arial, Helvetica, sans-serif;
    padding: 5px;
    width: 518px;
    }
    
    .commentmetadata
    {
    font: 11px Tahoma, Arial, Helvetica, sans-serif;
    }
    
    #commentlist cite, #commentlist cite a {
    	font-weight:bold;
    	font-style:normal;
    	font-size:1.0em
    	}
    
    #commentlist p
    {
    font: 11px Tahoma, Arial, Helvetica, sans-serif;
    }
    
    #commentform {
    margin: 0px;
    width: 568px;
    font: 11px Tahoma, Arial, Helvetica, sans-serif;
    }
    
    #commentform p {
    margin: 0;
    font: 11px Tahoma, Arial, Helvetica, sans-serif;
    }
    
    #commentform textarea {
    font: 11px Tahoma, Arial, Helvetica, sans-serif;
    background: #ffffff;
    border: 1px solid #dddddd;
    width: 575px;
    padding: 0px 2px 4px 6px;
    color: #333333;
    }
    #commentform textarea:hover {
    background: #FFFFFF;
    border: 1px solid #dddddd;
    color: #333333;
    }
    #commentform textarea:focus {
    background: #ffffff;
    border: 1px solid #cccccc;
    color: #333333;
    }
    
    #commentform #email, #commentform #author, #commentform #url {
    font: 11px Tahoma, Arial, Helvetica, sans-serif;
    font-weight: bold;
    background: #ffffff;
    color: #333333;
    border: 1px solid #dddddd;
    width: 180px;
    padding: 0px 2px 4px 6px;
    margin-right: 10px;
    }
    #commentform #email:hover, #commentform #author:hover, #commentform #url:hover {
    background: #ffffff;
    border: 1px solid #dddddd;
    width: 180px;
    color: #333333;
    }
    #commentform #email:focus, #commentform #author:focus, #commentform #url:focus {
    background: #ffffff;
    border: 1px solid #cccccc;
    width: 180px;
    color: #333333;
    }
    #commentform input{
    margin-bottom: 3px;
    }
    
    #commentform #submit {
    	margin-top: 3px;
    	float:left;
            color: #333333;
    	font: 11px Tahoma, Arial, Helvetica, sans-serif;
            height: 20px;
    	}
    
    .post{margin:0 0 25px 0;}
    
    .post .info{
    padding:2px 3px 3px 8px;
    border:1px solid #e3e4e4;
    font-size:12px;
    color:#333333;
    }

    شرمنده هرچی نگاه کردم و جستجو کردم نفهمیدم مشکل از چی ...

درباره‌ی این موضوع



برچسب‌ها