다운로드
소프트웨어 개발
계정
다운로드
소프트웨어 개발
Login
Forgot Account/Password
계정 만들기
언어
도움
언어
도움
×
Login
Login Name
Password
×
Forgot Account/Password
Translation Status of 한국말
Category:
Software
People
PersonalForge
Magazine
Wiki
검색
OSDN
>
브라 우즈 소프트웨어
>
Internet
>
WWW/HTTP
>
Dynamic Content
>
XOOPS
>
Ticket List/Search
>
Ticket #9514
XOOPS
Description
Project Summary
Developer Dashboard
웹 페이지
Developers
Image Gallery
List of RSS Feeds
Activity
Statistics
History
다운로드
List of Releases
Stats
소스 코드
Code Repository list
CVS
View Repository
티켓
Ticket List
Milestone List
Type List
Component List
List of frequently used tickets/RSS
Submit New Ticket
Documents
Communication
포럼
List of Forums
도움 (1)
Open Discussion (1)
Mailing Lists
list of ML
xoops-cvslog
News
Ticket #9514
Ticket List
Submit New Ticket
RSS
CSS to make preformatted text wrap
오픈 날짜:
2006-12-03 22:30
마지막 업데이트:
2007-01-11 21:39
monitor
ON
OFF
Reporter:
gigamaster
소유자:
tom_g3x
Type:
XOOPSCube2.1 Bugs
Status:
Closed
Component:
(None)
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
None
Details
Reply
Themes "cube_default"
style.css
Replace the following code:
/************************************/
div.xoopsCode pre {
border: solid 1px #c0c0c0;
margin:0;
overflow:auto;
padding:0 1em;
min-height:4em;
height:auto;
}
/* for IExplorer */
* html div.xoopsCode pre {
height:4em;
height:auto; /* IE 6.x */
width:40em;
}
/************************************/
By the following one:
/************************************/
/* Browser specific (not valid) styles to make
preformatted text wrap */
div.xoopsCode pre {
border: solid 1px #FF0000; /* Design Optional Border */
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
}
/************************************/
If it is not W3C validated at least it will not break
the page layout on the most common browsers.
Ticket History (3/4 Histories)
Show older Histories
2006-12-03 22:31
Updated by:
gigamaster
Resolution
Update from
None
to
Works For Me
2007-01-10 11:06
Updated by:
minahito
소유자
Update from
(None)
to
tom_g3x
(Category change on Tracker)
Resolution
Update from
Works For Me
to
Accepted
댓글 올리기
Reply
Logged In: YES
user_id=8353
Thank you for your patches. Tom_G3X will consider these
suggestions. Please, Tom_G3X! ;-)
[JA]
パッチありがとうございます。Tom_G3Xさんがこの提案をどうする
かやってくださると思います。Tomさんよろしくおねがいします~
2007-01-11 21:39
Updated by:
tom_g3x
Resolution
Update from
Accepted
to
Fixed
Status
Update from
Open
to
Closed
댓글 올리기
Reply
Logged In: YES
user_id=6745
Marged code. thanks gigamaster!
2007-01-11 21:39
Updated by:
tom_g3x
Ticket Close date
is changed to
2007-01-11 21:39
Attachment File List (
0
)
Attachment File List
No attachments
Edit
Add Comment
You are not logged in.
I you are not logged in, your comment will be treated as an anonymous post. »
Login
Add Comment
Preview
Submit
Themes "cube_default"
style.css
Replace the following code:
/************************************/
div.xoopsCode pre {
border: solid 1px #c0c0c0;
margin:0;
overflow:auto;
padding:0 1em;
min-height:4em;
height:auto;
}
/* for IExplorer */
* html div.xoopsCode pre {
height:4em;
height:auto; /* IE 6.x */
width:40em;
}
/************************************/
By the following one:
/************************************/
/* Browser specific (not valid) styles to make
preformatted text wrap */
div.xoopsCode pre {
border: solid 1px #FF0000; /* Design Optional Border */
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
}
/************************************/
If it is not W3C validated at least it will not break
the page layout on the most common browsers.