|
|
|
19년 전
|
조회 1,777
|
|
|
|
19년 전
|
조회 1,579
|
|
|
|
19년 전
|
조회 1,637
|
|
|
|
19년 전
|
조회 1,606
|
|
|
|
19년 전
|
조회 1,619
|
|
|
|
19년 전
|
조회 1,531
|
|
|
|
19년 전
|
조회 1,556
|
|
|
|
19년 전
|
조회 4,064
|
|
|
|
19년 전
|
조회 1,588
|
|
|
|
19년 전
|
조회 1,775
|
|
|
|
19년 전
|
조회 1,527
|
|
|
|
19년 전
|
조회 1,944
|
|
|
|
19년 전
|
조회 1,538
|
|
|
|
19년 전
|
조회 2,137
|
|
|
|
19년 전
|
조회 2,322
|
|
|
|
19년 전
|
조회 3,528
|
|
|
|
19년 전
|
조회 1,692
|
|
|
|
19년 전
|
조회 1,539
|
|
|
|
19년 전
|
조회 1,684
|
|
|
|
19년 전
|
조회 1,580
|
댓글 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="... 바로 잡습니다. ^ ^