font sizes

Subscribe to font sizes 4 post(s), 2 voice(s)

 
Ryan_thumb_48 ryryguy 5 post(s)

Can you control font sizes other than using the heading styles? I couldn’t find any examples in the Textile formating help.

(I don’t know CSS, but if you hum a few bars…)

 
My_face_thumb_48 Micah Administrator 512 post(s)

I don’t think you can control font sizes (easily) using Textile other than using the h tags.

Let’s try some experiments. I don’t know Textile very well myself, so I just play around with it until I figure stuff out.

It won’t work in the forums, but try the following on your wiki/adventure log pages:

p{font-size: 200%;}. Here is some large text.

p{font-size: 50%;}. Here is some tiny text.

Just don’t forget the period and space after the last curly brace!

And, FYI, the “p” is a paragraph tag. I think you can use the CSS attributes on other tags as well, but I’m not 100% sure.

 
Ryan_thumb_48 ryryguy 5 post(s)

Yup, that worked:

http://www.obsidianportal.com/campaign/eteam/wiki/campaign-web/wiki-sandbox

Can you change the font as well?

Hmmm, so I take it all these keywords and such are from CSS? I guess I will look for a a CSS reference and play around myself.

Thanks!

 
My_face_thumb_48 Micah Administrator 512 post(s)

CSS is the defacto standard for styling up web pages. Without getting into the nitty-gritty, it allows for taking the raw HTML and making it look nicer.

You should be able to change the font in a similar manner to the font size, perhaps with something like:

p{font-family: Arial;}. Here is some arial text.

p{font-family: Times;}. Here is some times text.

A decent CSS reference is available at w3school It’s not great, but I can’t think of another one off-hand.

Note: Using CSS is considered a fairly advanced feature. Lots of people just use the bold, italics, tables, and other such “simple” stuff and avoid CSS altogether.