묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
[제로님] 에디터 콤포넌트 Code Highlighter 스크롤바에 대한 ........
2008.10.14 19:48
안녕하세요?
BNU 님의 에디터 콤포넌트 Code Highlighter 를 사용하고 있습니다
그런데 가로로 좀 긴줄이 있으면 어김없이 스크롤바가 생겨 난감합니다
아무리 소스코드를 들여다 봐도 콤포넌트에서는 방법을 찾질 못하겠네요.
ZBXE 문제일까요?
해결할 방법이 있을까요?
꼭 필요한건데...... ㅠ.ㅠ
/** * Code Syntax Highlighter. * Version 1.5.1 * Copyright (C) 2004-2007 Alex Gorbatchev. * http://www.dreamprojections.com/syntaxhighlighter/ * * This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General * Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. * * You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ // // create namespaces // var dp = { sh : { Toolbar : {}, Utils : {}, RegexLib: {}, Brushes : {}, Strings : { AboutDialog : '<html><head><title>About...</title></head><body class="dp-about"><table cellspacing="0"><tr><td class="copy"><p class="title">dp.SyntaxHighlighter</div><div class="para">Version: {V}</p><p><a href="http://www.dreamprojections.com/syntaxhighlighter/?ref=about" target="_blank">http://www.dreamprojections.com/syntaxhighlighter</a></p>©2004-2007 Alex Gorbatchev.</td></tr><tr><td class="footer"><input type="button" class="close" value="OK" onClick="window.close()"/></td></tr></table></body></html>' }, ClipboardSwf : null, Version : '1.5.1' } }; // make an alias dp.SyntaxHighlighter = dp.sh; //
댓글 3
-
forest535
2008.10.14 20:05
-
forest535
2008.10.14 20:17
http://homepage.hamburg.de/bandara/shBrush/Core.uncompressed.js.html
제작자 홈에 올려져 있는 코드도 스크롤이 생기는군요...ㅠ.ㅠ -
후티
2008.11.11 16:42
이 방법이 정확한것인지는 모르겠지만^^;; 저는 이렇게 해결 했습니다.
SyntaxHighlighter.css 파일
.dp-highlighter
{
font-family: "Consolas", "Courier New", "Courier", "mono", "serif";
font-size: 12px;
background-color: #E7E5DC;
width: 350;
table-layout:fixed;
word-break:break-all;
height : auto ;
overflow: auto;
padding-top: 1px; /* adds a little border on top when controls are hidden */
}
이상과 같이 다음 세줄 추가해 주니.. 일단 제가 원하는 모양으로 나오네요;;
table-layout:fixed;
word-break:break-all;
height : auto ;
참고만; 하시기 바랍니다
글쓴이 | 제목 | 최종 글 |
---|---|---|
XE | 공지 글 쓰기,삭제 운영방식 변경 공지 [16] | 2019.03.05 by 남기남 |
knut | 인터넷 익스플로러 7에서 방명록 그림이 안떠요 | |
상오기 | 글 등록시 사용될 태그를 미리 입력하는 방법? | |
보스매니아 | 회원 확장변수 | |
gee | XP IIS 에서 XE 설치시 오류사항 [1] | 2009.03.25 by happygamja |
알고시포요ㅠ | XP와 비스타에서의 메뉴 문제 [2] | 2009.03.25 by happygamja |
데오필로 | 라이프팟 연동을 어떻게 하나요? | |
데오필로 | planner 일정내용이 안보여요... [2] | 2009.03.25 by 비나무 |
안전 | 선배님. 소스관련하여 알고싶어서 부탁드립니다. [3] | 2009.03.25 by 비나무 |
플라워쥬쥬 | 레이아웃스킨은 어떻게 적용하는거죠? [1] | 2009.03.25 by 유팔복 |
난장이곰돌이 | cafe 도메인연결 [2] | 2009.03.25 by 난장이곰돌이 |
콩태 | 로고이미지.. [2] | 2009.03.25 by 은터비 |
forest535 | [제로님] 에디터 콤포넌트 Code Highlighter 스크롤바에 대한 ........ [3] | 2009.03.25 by heuri |
『june™』 | 메인 적용을 하는데 위젯사용 다시 질문드립니다. [1] | 2009.03.25 by 비나무 |
jih449 | 큰일났습니다.; 홈페이지가 먹통이 되버렸습니다; 백지 [2] | 2009.03.25 by jih449 |
박상범473 | 하단메뉴가 아래로 펼처지네요 [1] | 2009.03.25 by 비나무 |
레시테 | 회원가입폼 변경하는방법 질문드립니다. [3] | 2009.03.25 by 비나무 |
석이- | 원인불분명 최근게시물에서 이상하게 more 표기문제 [5] | 2009.03.25 by 석이- |
바나나케익 | 드림위버와 제로보드 게시판 연동 질문있어요.. [1] | 2009.03.25 by 장땡 |
reform | 음난광고물 올리는사람 잡을수 없나요? [2] | 2009.03.25 by reform |
못먹는감 | 회원정보 페이지 주소 에러 관련.. |
짧은 코등