Page 1 of 1

resizing codeblocks in webhelp

Posted: Thu Oct 31, 2013 2:26 pm
by melster10
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!

Code: Select all


/*
* Make the programlisting/codeblock stand-up.
*/
pre {
padding: 0.5em;
background-color: #EEE;
overflow: auto;
max-height: 600px;
margin: 0.5em;
}

Re: resizing codeblocks in webhelp

Posted: Thu Oct 31, 2013 2:47 pm
by Radu
Hi,

This is mostly an HTML-CSS related question and not related to Oxygen, maybe you should consider writing on a forum which has a larger user base like:

http://stackoverflow.com/

Regards,
Radu