• 30-09-2010, 00:23:51
    #1
    Üyeliği durduruldu
    merhaba arkadaşlar mozilla firefoxda bi sorun yok site gayet normal ancak internet explorerda site sola kaymış görünüyor.

    index.php kodları:
       <?php get_header(); ?>
        
        <?php if(!is_paged()) { ?>
    
        <div id="middle" class="clearfloat">
        <img src="<?php echo get_option('home'); ?>" class="clearfloat" alt="" />
        <?php $display_categories = array(3,6,11,13,32); $i = 1;
        foreach ($display_categories as $category) { ?>
    
        <div id="cat-<?php echo $i; ?>" class="category">
            <?php query_posts("showposts=1&cat=$category")?>
            <span class="cat_title"><a href="<?php echo get_category_link($category);?>"><?php single_cat_title(); ?></a></span>
            <a href="<?php echo get_category_link($category);?>"><?php echo category_description($category); ?></a>
        </div>
    
        <?php $i++; ?>
            <?php } ?>
    
        </div>
    
        <?php } ?>
    
        <div id="bottom" class="clearfloat">
            
        <div id="front-list">    
        
        <?php
          $page = (get_query_var('paged')) ? get_query_var('paged') : 1;
          query_posts("cat=-9,-8&paged=$page&posts_per_page=5"); ?>
        
        <?php while (have_posts()) : the_post(); ?>        
    
        <div class="clearfloat">
        <h3 class=cat_title><?php the_category(', '); ?> &raquo</h3>
        <div class="title"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></div>
        <div class="meta">[<?php the_time('j M Y') ?> | <?php comments_popup_link('Yorum Yok', '1 Yorum', '% Yorum');?> | <?php if(function_exists('the_views')) { the_views(); } ?> <?php edit_post_link('Düzenle'); ?>]</div>    
        
        <div class="spoiler">
        <?php    $values = get_post_custom_values("Image");
        if (isset($values[0])) { ?>
          <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?> yazısını göster">
        <img src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=<?php echo get_option('home'); ?>/<?php
    $values = get_post_custom_values("Image"); echo $values[0]; ?>&w=150&h=150&zc=1&q=100"
    alt="<?php the_title(); ?>" class="left" width="150px" height="150px"  /></a>
          <?php } ?>
    
        <?php the_excerpt(); ?>
        <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?> yazısının devamını oku...">Devamını Oku &raquo;</a>
        </div>
    
        </div>
            
         <?php endwhile; ?>
    
        <div class="navigation">
            <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } 
                else { ?>
    
                <div class="right"><?php next_posts_link('Next Page &raquo;') ?></div>
                <div class="left"><?php previous_posts_link('&laquo; Previous Page') ?></div>
                <?php } ?>
    
        </div>
        
        </div>
            
    
        <?php get_sidebar(); ?>
    
        </div>    
    
    <?php get_footer(); ?>
  • 30-09-2010, 01:06:20
    #2
    Üyeliği durduruldu
    Sitenin header dosyasına aşağıdaki kodu ekle ve yeni style.css dosyası oluştur oradan çağır dosyayı. Ayriyetten yeni oluşturduğun style dosyasını IE tarayıcısına göre düzenle ve dosyayı aşağıdan çağır...

    <!--[if IE 6]><link href="http://www.siteismin/ie6.css" rel="stylesheet" type="text/css" /><![endif]-->
  • 30-09-2010, 01:32:45
    #3
    Ayni sorunla karsilastim temamim header.php dosyasini sildim yeniden yükledim sorun cözüldü.
  • 30-09-2010, 01:53:47
    #4
    Üyeliği durduruldu
    Muratson_ adlı üyeden alıntı: mesajı görüntüle
    Sitenin header dosyasına aşağıdaki kodu ekle ve yeni style.css dosyası oluştur oradan çağır dosyayı. Ayriyetten yeni oluşturduğun style dosyasını IE tarayıcısına göre düzenle ve dosyayı aşağıdan çağır...

    <!--[if IE 6]><link href="http://www.siteismin/ie6.css" rel="stylesheet" type="text/css" /><![endif]-->
    biraz daha açık anlatabilir misiniz ? sorun headerde headeri silince düzeliyor ama düzenleyemedim header kodları bunlar;
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
    
    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    
    <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?></title>
    
    <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
    
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
    <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
    
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    
    
    <link rel="icon" href="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/favicon.ico" />
    <link rel="shortcut icon" href="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/favicon.ico" />
    
    <?php wp_head(); ?>
    
    </head>
    <body>
    
    <div id="head" class="clearfloat">
    
    <div class="clearfloat">
        <div id="logo" class="left">
        <a href="<?php echo get_option('home'); ?>/"><img src="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/logo.png" width="177px" height="39px" alt="" /></a>
        <div id="tagline"><?php bloginfo('description'); ?></div>
        </div>
    
        <!--ÜST REKLAM-->
        <div class="right">
        <img src="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/banners/wide.jpg" alt="" width="468px" height="60px"  />
        </div>
    
    </div>
    <!--ÜST REKLAM SONU-->
    <div id="navbar" class="clearfloat">
    
    <ul id="page-bar" class="left clearfloat">
    
    <li><a href="<?php echo get_option('home'); ?>/">Anasayfa</a></li>
    
    <?php wp_list_pages('sort_column=menu_order&title_li='); ?>
    
    </ul>
    
    <?php include (TEMPLATEPATH . '/searchform.php'); ?>
    
    </div>
    
    </div>
    
    <div id="page" class="clearfloat">
  • 30-09-2010, 14:33:50
    #5
    temanın orjinalinde böyle bir sorun yok temanın orjinalni indirip bu şekilde deneyin.Orjinalini buradan indirebilirsin : http://www.mavigenc.com/wordpress-tu...si-ve-kurulumu
  • 30-09-2010, 18:35:37
    #6
    Üyeliği durduruldu
    mizanger adlı üyeden alıntı: mesajı görüntüle
    temanın orjinalinde böyle bir sorun yok temanın orjinalni indirip bu şekilde deneyin.Orjinalini buradan indirebilirsin : http://www.mavigenc.com/wordpress-tu...si-ve-kurulumu
    değişen bişiy yok site yine aydı solda. Firefox ve Chrome de site gayet normal ancak ie de solda görünüyor.
  • 30-09-2010, 18:55:05
    #7
    Üyeliği durduruldu
    header.php aşağıdaki kodu bul;

    Alıntı
    <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
    altına ekle(siteismin yazan yere YENİ STYLE.CSS DOSYASININ ADRESİNİ YAZ);

    Alıntı
    <!--[if IE 6]><link href="http://www.siteismin/ie6.css" rel="stylesheet" type="text/css" /><![endif]-->
    Bunları yaptıktan sonra "http://www.siteismin/ie6.css" dosyasının içine TEMANIN STYLE.CSS DOSYASININ İÇİNDEKİLERİ YAPIŞTIR. Ve sonra "http://www.siteismin/ie6.css" bu dosyayı düzenlemeye başla. Sen onu düzenlemeye başlayınca sadece INTERNET EXPLORER 6 tarayıcısında düzenleme olacaktır.

    Internet Explorer 7-8 'de sorun varsa üstte verdiğim koddaki "<!--[if IE 6]>" olan yerde rakamla 6 yazan yeri 7 yaparsan Internet Explorer 7-8 'de düzenleme yapabilirsin.

    Yani şöyle; (ie6-7-8 için style.css dosyası)

    Internet Explorer 6 düzenlemesi için;
    Alıntı
    <!--[if IE 6]><link href="http://www.siteismin/ie6.css" rel="stylesheet" type="text/css" /><![endif]-->
    Internet Explorer 7-8 düzenlemesi için; (ie 7-8 'de kodlama mantığı aynı olduğu için sadece aşağıdaki kod yeterli oluyor)
    Alıntı
    <!--[if IE 7]><link href="http://www.siteismin/ie7.css" rel="stylesheet" type="text/css" /><![endif]-->
  • 30-09-2010, 19:38:27
    #8
    sen ie hangi sürümü kullanıyorsun. bende 7 ve 8 var ikisindede sorun yok. demo burda http://demo.colorlabsproject.com/arthemiafree/