GetSimple Support Forum

Full Version: Preventing word-wrapping within <code></code>?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I cannot figure out how to prevent word-wrapping in the Innovation theme of GS v3.3.13 when I create a page with the following information in the source editor:

<pre><code><embed src="./data/uploads/filename.txt"></embed></code></pre>

I added the following to style.css:
article section pre code embed{

This provides a nice-sized window for viewing the code. I get a vertical scrollbar when the lines do not fit in the window and sometimes get a horizontal scrollbar. However, for files with lines longer than a certain length, the text is wrapped, whether or not there is a horizontal scrollbar.