resizing codeblocks in webhelp
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 3
- Joined: Wed Oct 30, 2013 10:13 pm
resizing codeblocks in webhelp
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;
}
-
- Posts: 9473
- Joined: Fri Jul 09, 2004 5:18 pm
Re: resizing codeblocks in webhelp
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
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
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service