최신글 질문좀 드립니다

매출이 오르면 내리는 수수료! 지금 수수료센터에서 전자결제(PG)수수료 비교견적 신청해 보세요!
최신글 질문좀 드립니다

QA

최신글 질문좀 드립니다

본문

최실글 질문좀 드리겠습니다 

크롬에서는 정상출력되는데 익스만 가면 저렇게 나오는데 왜그런걸까요 

 


<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
 
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="'.$latest_skin_url.'/style.css">', 0);
 
$bo_gallery_width = 135;
$bo_gallery_height = 75;
$bo_gallery_height2 = 75;
?>
 
<!-- <?php echo $bo_subject; ?> 최신글 시작 { -->
<div class="ilt">
    <strong class="ilt_title"><a href="<?php echo G5_BBS_URL ?>/board.php?bo_table=<?php echo $bo_table ?>"><?php echo $bo_subject; ?></a></strong>
    <ul>
    <?php for ($i=0; $i<count($list); $i++) {  ?>        
            <?php
			echo "<li style=\"width:".$bo_gallery_width."px;height:".$bo_gallery_height2."px\" class=\"igal\"><a href=\"".$list[$i]['href']."\">";
			$thumb = get_list_thumbnail($bo_table, $list[$i]['wr_id'], $bo_gallery_width, $bo_gallery_height);
 
			if($thumb['src']) {
				$img_content = '<img src="'.$thumb['src'].'" alt="'.$thumb['alt'].'" width="'.$bo_gallery_width.'" height="'.$bo_gallery_height.'" style="border:1px solid #ddd">';
			} else {
				$img_content = '<span style="width:'.$bo_gallery_width.'px;height:'.$bo_gallery_height.'px" class="noimg">no image</span>';
			}
 
            echo $img_content;
			echo "</a>";
 
			echo "<div style=\"height:20px;padding-top:5px\">";
            //echo $list[$i]['icon_reply']." ";
            echo "<a href=\"".$list[$i]['href']."\">";
            if ($list[$i]['is_notice'])
                echo "<strong>".$list[$i]['subject']."</strong>";
            else
                 
 
            if ($list[$i]['comment_cnt'])
                echo $list[$i]['comment_cnt'];
 
            echo "</a>";
 
            // if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
            // if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }
 
            //if (isset($list[$i]['icon_new'])) echo " " . $list[$i]['icon_new'];
            //if (isset($list[$i]['icon_hot'])) echo " " . $list[$i]['icon_hot'];
            //if (isset($list[$i]['icon_file'])) echo " " . $list[$i]['icon_file'];
            //if (isset($list[$i]['icon_link'])) echo " " . $list[$i]['icon_link'];
            //if (isset($list[$i]['icon_secret'])) echo " " . $list[$i]['icon_secret'];
			echo "</div>";
			echo "</li>";
             ?>
    <?php }  ?>
    <?php if (count($list) == 0) { //게시물이 없을 때  ?>
    <li>게시물이 없습니다.</li>
    <?php }  ?>
    </ul>
    <div class="ilt_more"><a href="<?php echo G5_BBS_URL ?>/board.php?bo_table=<?php echo $bo_table ?>"><span class="sound_only"><?php echo $bo_subject ?></span><img src="img/botton01.png"></a></div>
</div>
<!-- } <?php echo $bo_subject; ?> 최신글 끝 -->

 

 

1번 익스에서 볼시 최신글

9a25e21c75c8da66488c8fc614be0c0c_1475736689_3306.PNG
2번 크롬에서볼시 최신글

9a25e21c75c8da66488c8fc614be0c0c_1475736689_361.PNG
 

 

 

이 질문에 댓글 쓰기 :

답변 5

css 부분을 크롬에서는 반응하는데 익스에서는 반응하지 않는 이미지 css인듯 한데 그 부분을 확인해 보셔야 할듯 합니다.

@charset "utf-8";
/* SIR 지운아빠 */

/* 새글 스킨 (latest) */
.ilt_pc {float:left;margin-left:20px}
.ilt {position:relative;float:left;margin-bottom:20px;padding-bottom:15px;width:280px;height:195px; margin-left:30px;}
.ilt ul {margin:0 0 15px;padding:0;list-style:none}
.ilt .igal {padding:5px 0;float:left;margin-right:5px}
.ilt .inoimg {display:inline-block;background:#f7f7f7;text-align:center;line-height:10em;border:1px solid #ddd}
.ilt .ilt_title {display:block;padding:10px 0 8px;border-bottom:2px solid #bd0000;}
.ilt .ilt_title a { font-weight:bold; color:#bd0100; font-size:14px;}
.ilt .ilt_more {position:absolute;top:10px;right:0}
.ilt .icnt_cmt {display:inline-block;margin:0 0 0 3px;font-weight:bold}



css부분입니다

보니까 .ilt에 해당하는 img 테그에 대한 크기가 css에서 인식이 되지 않아 보이지 않는 부분으로 보입니다.


.ilt img {width:가로사이즈;height:세로사이즈}

 

이렇게 기입해서 css에 반영해 보세요

답변을 작성하시기 전에 로그인 해주세요.
전체 0
QA 내용 검색
  • 개별 목록 구성 제목 답변작성자조회작성일
  • 질문이 없습니다.

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT