resizing codeblocks in webhelp

Post here questions and problems related to editing and publishing DITA content.
melster10
Posts: 3
Joined: Wed Oct 30, 2013 10:13 pm

resizing codeblocks in webhelp

Post 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;
}
Radu
Posts: 9473
Joined: Fri Jul 09, 2004 5:18 pm

Re: resizing codeblocks in webhelp

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply