.source_code, li .source_code {
padding-left: 2px;
border-left: 1px solid #666;
font: 100% Monaco,monospace;
font-size: 8pt;
white-space: pre; /* CSS2 */
white-space: -moz-pre-wrap; /* Mozilla */
white-space: -hp-pre-wrap; /* HP printers */
white-space: -o-pre-wrap; /* Opera 7 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: pre-wrap; /* CSS 2.1 */
white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
}
/* change this line to set the width of box */
.source_code {
width: 100%;
}
/* change this line to set the width of box in a list */
li .source_code {
width: 100%;
}
Update: Use "pre" instead of "div" and all is well. I can fly through asm but html is a black art to me. Non-thanks to all who failed to correct me earlier :P
No comments:
Post a Comment