resizing codeblocks in webhelp
Posted: Thu Oct 31, 2013 2:26 pm
Our codeblocks in webhelp were overruning the background color upon resizing the browser window. I saw in Oxygen's webhelp_topic.css file they added this entry to cause horizontal scroll bars for these elements, seemed like a good fix (I tried it in ours and it worked), but is it the best way?
Thanks!
Thanks!
Code: Select all
/*
* Make the programlisting/codeblock stand-up.
*/
pre {
padding: 0.5em;
background-color: #EEE;
overflow: auto;
max-height: 600px;
margin: 0.5em;
}