Special 'font'-tag?
Forum » Help / General support requests » Special 'font'-tag?
started by: AldermanAlderman
on: 1210187896|%e %b %Y, %H:%M %Z|agohover
number of posts: 4
rss icon RSS: new posts
summary:
Question regarding the use of special fonts
Special 'font'-tag?
AldermanAlderman 1210187896|%e %b %Y, %H:%M %Z|agohover

My problem: I would like to occasionally use characters from a different font in the main body of my text. I am writing about several languages on my wiki, and I sometimes need to write a word or two using a non-standard font. However, including the font name in my CSS doesn't help: if I place it first in the list, then all the text appears in that font; if I place it second in the list, it never appears.

My question: Is there some kind of tag I can use to designate which font I want to appear? HTML uses a 'face'-parameter for the 'font'-tag, but I can't find anything comparable for the wikidot code. Am I overlooking something? (Or is there some other way I can accomplish what I'm trying to do?)

Thanks in advance…

unfold Special 'font'-tag? by AldermanAlderman, 1210187896|%e %b %Y, %H:%M %Z|agohover
Re: Special 'font'-tag?
hartnellhartnell 1210196032|%e %b %Y, %H:%M %Z|agohover
[[span style="font-family:sans-serif"]]Monospace[[/span]]
[[span style="font-family:serif"]]Monospace[[/span]]
[[span style="font-family:monospace"]]Monospace[[/span]]

sans-serif
serif
monospace

— Shawn

unfold Re: Special 'font'-tag? by hartnellhartnell, 1210196032|%e %b %Y, %H:%M %Z|agohover
Re: Special 'font'-tag?
AldermanAlderman 1210204840|%e %b %Y, %H:%M %Z|agohover

Hey, Shawn. Thanks a lot for that. After some toying around to find a font that the code would accept, it looks like its going to work out fine. However, apparently the table code (||) renders the span tag useless. :S

unfold Re: Special 'font'-tag? by AldermanAlderman, 1210204840|%e %b %Y, %H:%M %Z|agohover
Re: Special 'font'-tag?
hartnellhartnell 1210213898|%e %b %Y, %H:%M %Z|agohover

You can use [[table]]] [[row]] and [[cell]].

[[table]]
[[row]]
[[cell]]
This is [[span style="font-family:monospace"]]monospace[[/span]]
[[/cell]]
[[/row]]
[[/table]]
This is monospace

— Shawn

unfold Re: Special 'font'-tag? by hartnellhartnell, 1210213898|%e %b %Y, %H:%M %Z|agohover
new post
Unless stated otherwise Content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.