Miscellaneous

I used multiple 'spaces' on my blog for formatting but Nucleus keeps collapsing them into one space!

Scenario:
"I want to put ASCII art on my blog or use the space character for formatting purposes but whenever I have multiple spaces, Nucleus collapses them all into a single space character. Why won't Nucleus display multiple spaces properly?"

Solution:
This is not a Nucleus issue at all, but a HTML design issue. The HTML specification tells browsers to collapse multiple spaces into a single space (see 'White space'). In the event you want web browsers to leave multiple spaces alone, you will need to use the pre tag like so:

                 _ _   _       _      
 _ __ ___  _   _| | |_(_)_ __ | | ___ 
| '_ ` _ \| | | | | __| | '_ \| |/ _ \
| | | | | | |_| | | |_| | |_) | |  __/
|_| |_| |_|\__,_|_|\__|_| .__/|_|\___|
                        |_|           

 ___ _ __   __ _  ___ ___  ___ 
/ __| '_ \ / _` |/ __/ _ \/ __|
\__ \ |_) | (_| | (_|  __/\__ \
|___/ .__/ \__,_|\___\___||___/
    |_|                        

Original forum thread (thanks, xiffy!):
http://forum.nucleuscms.org/viewtopic.php?t=15487

Further reading:

section: Miscellaneous | submitted by Leng on 2007.Apr.14 | 1729 views

item rate
Total votes: 4 - Rating: 5.75

Please tell us how useful this answer was to you (0 = useless, 10 = very very helpful):

10