Last updated 28 March 2012. Created on 27 March 2012.
Edited by Christopher James Francis Rodgers. Log in to edit this page.

Display text characters including code, blank spaces, and line-breaks in a pre-formatted fashion on your Drupal 7 site


[Please insert answer here. (*) CSS and HTML code editing instructions welcome. JavaScript and/or PHP code instructions are welcomed if my quest is Not possible strictly using HTML/CSS]

This page is intended as a consolidation of this issue as being discussed is at the drupal.org forum page http://drupal.org/node/1505188

 

 


Solutions considered

- You can Not simply place your pre-formatted text within thee element-tag set <pre></pre> nor <code></code> and edit CSS. [..or at least, I have not found any possible way to get that to work.]

- You could create pages on your site, and choose the text-format "Plain text", but then you will not be able to use any HTML in your content body.

Addition solutions considered - drupal.org forum page http://drupal.org/node/1505188

 

 

### http://drupal.org/node/1505310 « This page's URL.

Looking for support? Visit the Drupal.org forums, or join #drupal-support in IRC.