Site Navigation

Feb 24, 2010

GoogleTip: Set the Default Font Size in Google Sites Wiki

Google LogoGoogle has a great free wiki at Although it lacks some of the cool features of its predecessor (jot), it is still a really nice wiki.

The problem I have been running into is there seemed to be no easy way to set the default font size for a page. Using the built in formatting options, you can highlight all the text and then set the font. However, this does not actually set a global font, but instead wraps each piece of content with nasty <font> tags. Then when you add some new text, it does not get wrapped and you end up with a mess.

Google Sites does actually allow you to edit the HTML directly, with some limitations. (This is how I found out about the nasty <font> tags.) For example, you cannot use the style tag to add CSS to the page. However, you can use style="" attributes to tags. So, to set the default font do the following.
  1. Edit the page and choose the HTML option to edit the page.
  2. At the top of the content add the following: <div style="font-size: 11pt;">
  3. At the end of the content add </div>
Now by just adjusting the font point size in the <div> statement, you can control the default font size for all the content between the
<div> tags.
Post a Comment

Favorite Links Feed