최신글 갤러리가 깨집니다.

최신글 갤러리가 깨집니다.

QA

최신글 갤러리가 깨집니다.

본문

2070113994_1591604177.7755.png

 

취미생활님 최신글 갤러리를 다운받고 적용을 하면 브라우저 엣지나 크롬 등에서는 정상적으로 보이는데 익스 11에서는 위 이미지와 같이 이미지가 옆으로 삐져 나옵니다.

아래는 소스 입니다.

 

//php 소스

<?php
    if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
    include_once(G5_LIB_PATH.'/thumbnail.lib.php');
    // add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
    add_stylesheet('<link rel="stylesheet" href="'.$latest_skin_url.'/style.css">', 0);
    $list_count = (is_array($list) && $list) ? count($list) : 0;
    $thumb_width = 210;
    $thumb_height = 150;
?>
<div class="title_box_top"><b>코믹 갤러리</b></div>
<article class="paper-edge flexbox">
    <?php    
    for ($i=0; $i<$list_count; $i++) {
        $thumb = get_list_thumbnail($bo_table, $list[$i]['wr_id'], $thumb_width, $thumb_height, false, true);        
        if($thumb['src']) {
            $img = $thumb['src'];
        } else {
            $img = G5_IMG_URL.'/no_img.png';
            $thumb['alt'] = '이미지가 없습니다.';
        }
        $img_content = '<img src="'.$img.'" alt="'.$thumb['alt'].'" >';
        echo "<div class='wrap'>";
        echo "<div class='edge'>";        
        echo "<a href='". $list[$i]['href']. "'>". $img_content. "</a>".PHP_EOL;
        //echo $img_content;
        echo "</div>".PHP_EOL;
        echo "<p class='aopoco'>". $list[$i]['subject']. "</p>";
        echo "</div>";    
    }
    if ($list_count == 0) { echo "게시물이 없습니다.";}
    ?>    
</article>

 

 

// css

 

/* https://codepen.io/slimsmearlapp/pen/AyueF */
@charset "utf-8";
.flexbox{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    /*align-items: space-between;*/
}    
    .flex-row{
        flex-direction: row;    
    }
    .flex-column{
        flex-direction: column;
    }
.paper-edge{
    
}
.title_box_top {padding:8px;border: 1px solid #676767; width:800px; font-size:14px; color:#007bd3}
.paper-edge .edge{
    width: 177px;
    height: 135px;
    padding: 10px;
    border: 1px solid #ddd;
    background-size: cover;
    background-clip: content-box;
    background-color: #eeeef0;
    box-sizing: border-box;
    position: relative;
    margin: 10px;
    text-align: center;
    /*margin-bottom: 10px;*/
}
.paper-edge .edge:after {
    content: "";
    display: block;
    position: absolute;
    border: 50px solid transparent;
    border-bottom: 50px solid #fefefe;
    bottom: -60px;
    right: -65px;
    box-shadow: 0px 7px 6px -9px black;
    transform: rotate(135deg);
}
.aopoco{text-align: center;}
.paper-edge .edge:before {
    content: "";
    display: block;
    position: absolute;
    border: 50px solid transparent;
    border-top: 50px solid #fefefe;
    top: -60px;
    left: -65px;
    box-shadow: 0px -7px 6px -9px black;
    transform: rotate(135deg);
}
.paper-edge .edge img{    
    width: 100%;
    height: 100%;
}
.paper-edge .wrap{
    
}
.paper-edge .wrap p{
    clear: both;
    /*border: 1px solid red;*/
    margin: 15px 0px 10px 0px;
}    

 

이거 수정을 못하고 몇시간째 헤매고 있네요. 

해결 방법좀 알려 주시면 좋겠네요

이 질문에 댓글 쓰기 :

답변 6

.css 17번째줄에

.paper-edge{
    width: 790px;
}

 

사이트 주소는 http://web.dosuk.shop:8008/ 입니다.

80 포트가 막혀서 8008 포트 사용 합니다.

 

아직 사이트 만지고 있는 중이라 사이트가 엉망이네요 양해 부탁 할게요..

답변을 작성하시기 전에 로그인 해주세요.
전체 123,665 | RSS
QA 내용 검색

회원로그인

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