Currently, BBcode like [pre]xxx[/pre] is transformed to
<div class="pre">xxx</div,
where the CSS for the classes are (in html/user/main.css):

.pre {
    font-family: "Courier New", courier, monospace;
    display: block;
    white-space: pre;
    overflow: auto;
}

.code {
    font-family: "Courier New", courier, monospace;
    display: block;
    margin-left: 5em;
    border-left-width: 3px;
    border-left-style: solid;
    padding-left: 1em;
    white-space: pre;
    overflow: auto;
}

The key attribute is (I think) overflow:
I'm not sure why this is displaying with a local scrollbar is some cases,
and not in other cases.
I tried "scroll" instead of "auto" and it didn't work.

If anyone has time to fiddle around with this,
please let me know if you get anywhere.

Thanks -- David
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to