채택완료

모바일 갤러리에서 리스트 배경 여백

아래 소스를 사용 합니다

모바일 갤러리에서 리스트에 보더 처럼 흰 여백이 생깁니다

어디서 색을 변경 하나요 ?

style.css에서 fff는 다른색으로 변경 해도 흰색이 계속 나오내요

테마에 들어 있는 모바일 스킨 입니다

 

 

 

    <div class="gall_con">
                <div class="gall_img">
                    <a href="<?php echo $list[$i]['href'] ?>">
                    <?php
                    if ($list[$i]['is_notice']) { // 공지사항 ?>
                        <strong style="width:<?php echo $board['bo_mobile_gallery_width'] ?>px;height:<?php echo $board['bo_mobile_gallery_height'] ?>px">공지</strong>
                    <?php
                    } else {
                        $thumb = get_list_thumbnail($board['bo_table'], $list[$i]['wr_id'], $board['bo_mobile_gallery_width'], $board['bo_mobile_gallery_height']);

                        if($thumb['src']) {
                            $img_content = '<img src="'.$thumb['src'].'" alt="'.$thumb['alt'].'" width="'.$board['bo_mobile_gallery_width'].'" height="'.$board['bo_mobile_gallery_height'].'">';
                        } else {
                            $img_content = '<span style="width:'.$board['bo_mobile_gallery_width'].'px;height:'.$board['bo_mobile_gallery_height'].'px">no image</span>';
                        }

                        echo $img_content;
                    }
                    ?>
                    </a>
                </div>

|

답변 3개

채택된 답변
+20 포인트

ie브라우저 에서 F12 누르면 "개발자 도구" 가 나오는데 "DOM 탐색리" 로 관련 블럭을 눌러보면서 css 를 체크하면 쉽게 찾을 수 있습니다.

해당 스킨의 style.css에서 반영이 안된다면

그 윗 단계의 규정에서 영향을 받는 것입니다.

예를 들면

theme/basic/css/mobile.css

이거 가지고 알기는 좀 gall_con 이나 gall_img 부분을 살펴 보세요~

답변을 작성하려면 로그인이 필요합니다.

🐛 버그신고