サポート » 使い方全般 » IEにサムネイルがうまく表示出来ません。

  • 解決済 mkon03

    (@mkon03)


    初めて質問をさせて頂きます。

    下記のPHPを利用しサムネイル、タイトルなどを表示させたいのですが、
    firefox、gooogle chromeなどはちゃんと表示されるのですが、
    なぜかIEだけが上手く表示されず、横幅10px、縦幅100pxで表示されてしまいます。
    私のスキルはwordpressを触ったことがある程度で知識が乏しいですが、
    なんとかしたいのです。

    皆様の知恵を借りられれば幸いです。

    使用しているphpは下記に記します。
    元々あったphpに直接書いておりますので、
    見苦しいかもしれませんが何卒宜しくお願いいたします。

    <?php
    query_posts('showposts=3');	if (have_posts()) : while (have_posts()) : the_post();
    ?>
     <div style="clear:both;">
    <a href="<?php the_permalink(); ?>" style="float:left; margin:0px 10px 0 0;">
    <?php the_post_thumbnail(array(100,100)); ?></a>
    <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
    <div style="float:left; font-size:10px; margin-top:40px;
    
    "><?php the_category(' '); ?></div>
     <div style="float:right; font-size:10px; margin-top:40px;"><?php the_time('Y年n月j日'); ?></div>
    <hr style="border-top: 1px dotted #cccccc;width: 100%; margin:0px 0 0 0;float:left;"><?php
    	endwhile; endif;
    	wp_reset_query();
    ?></a></div><div class="tableright" width="700px" height="20px"> </font></div>

1件の返信を表示中 - 1 - 1件目 (全1件中)
  • トピック投稿者 mkon03

    (@mkon03)

    自己解決致しました。

    ご迷惑をおかけいたしました。

1件の返信を表示中 - 1 - 1件目 (全1件中)
  • トピック「IEにサムネイルがうまく表示出来ません。」には新たに返信することはできません。