Preserving Multiple Spaces

Posted by Ed JohnsonEd Johnson on 26 Mar 2011 14:26, last edited by Helmut_pdorfHelmut_pdorf on 27 Mar 2011 07:39
Tags:

HTML block

Default code block styling is overridden

(view page source to see the css module)

2 spaces  2 spaces
3 spaces   3 spaces
4 spaces    4 spaces
5 spaces     5 spaces
6 spaces      6 spaces
7 spaces       7 spaces
8 spaces        8 spaces
9 spaces         9 spaces

Gabry's Suggestion using [[span style="white-space: pre;"]]

(doesn't seem to work for some reason)
2 spaces 2 spaces
3 spaces 3 spaces
4 spaces 4 spaces
5 spaces 5 spaces
6 spaces 6 spaces
7 spaces 7 spaces
8 spaces 8 spaces
9 spaces 9 spaces

Embellish text with span tag

Sorry Ed, I can not hold me… to copy from the how_to's:
http://community.wikidot.com/howto:howto:embelish-text:examples#toc26

[[span style="color:#F00; background-color: #FFFF00;padding-left:2em"]]Your text[[/span]] :
(the color is only for displaying help…)

2 spaces2 spaces
3 spaces3 spaces
4 spaces4 spaces
5 spaces5 spaces
6 spaces6 spaces
7 spaces7 spaces
8 spaces8 spaces
9 spaces9 spaces


Number of Comments: 0)

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License