|
|
|
19년 전
|
조회 1,748
|
|
|
|
19년 전
|
조회 1,539
|
|
|
|
19년 전
|
조회 1,606
|
|
|
|
19년 전
|
조회 1,576
|
|
|
|
19년 전
|
조회 1,596
|
|
|
|
19년 전
|
조회 1,506
|
|
|
|
19년 전
|
조회 1,530
|
|
|
|
19년 전
|
조회 4,037
|
|
|
|
19년 전
|
조회 1,562
|
|
|
|
19년 전
|
조회 1,750
|
|
|
|
19년 전
|
조회 1,502
|
|
|
|
19년 전
|
조회 1,919
|
|
|
|
19년 전
|
조회 1,507
|
|
|
|
19년 전
|
조회 2,110
|
|
|
|
19년 전
|
조회 2,294
|
|
|
|
19년 전
|
조회 3,503
|
|
|
|
19년 전
|
조회 1,667
|
|
|
|
19년 전
|
조회 1,518
|
|
|
|
19년 전
|
조회 1,661
|
|
|
|
19년 전
|
조회 1,553
|
댓글 6개
헤더 서브 파일에 들어갈 내용
뷰 스킨 파일에 위치해도 상관은 없습니다만...
<style type=text/css>
.contents {
width:100%;
height:400px;
overflow-y:auto; /* y축 스크롤 높이(400px)보다 내용이 크면 자동 생성, 참고: scroll은 무조건 생김 */
overflow-x:hiden; /* x축 스크롤은 넓이가 100%로 감춤 */
scrollbar-base-color:#252525; /* 전체적 스크롤 색상 */
}
</style>
뷰 스킨 파일 글 출력 부분을 감쌀 태그
contents는 임의 클래스 네임이므로 중복되지 않게 변경시 스타일 시트도 같이 변경하세요.
<div class="contents">
본문 내용
</div>
*** 스크롤 색상 제어 참고 ***
scrollbar-base-color 대신에 아래와 같이 정의 할 수 있음
scrollbar-face-color:#FFFFFF;
scrollbar-highlight-color: navy;
scrollbar-3dlight-color: #FFFFFF;
scrollbar-shadow-color: navy;
scrollbar-darkshadow-color: #FFFFFF;
scrollbar-track-color: #FFFFFF;
scrollbar-arrow-color: navy
<!-- 내용 출력 -->
<span class="ct lh"><?=$view[content];?></span>
를
<!-- 내용 출력 -->
<div class="ct lh" class="height:150px;overflow-y:scroll;" ><?=$view[content];?></div>
--> class="ct lh" style="... 바로 잡습니다. ^ ^