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:
![]()
Total votes: 4 - Rating: 5.75