« Memphis Blogs | Main | How to Change Your Blog's Description »
June 01, 2005
Your Blog's Font Sizes
Font size issues got you down? Before attempting to modify your blog's fonts, you'll want to know a little bit about CSS (Cascading Style Sheets).
What is CSS? If you don't know, you should read up on it. Among other things, CSS is what makes your blog's fonts look the way they do. If you're a TerraBlogger, the file where your blog's CSS stuff is located is probably named styles-site.css. You'll want to familiarize yourself with the way the info in this file looks before you get started. Try to figure out what does what. And before you change ANYTHING, save a backup copy by copying and pasting it to a simple text document. This will save you a lot of headaches and help you keep your New Year's resolution to stop swearing. Trust me.
Jeremy wants to know: "How to do a relative font-size change so that the font will adjust to the individual user's browser."
Setting your font sizes in CSS in such a way that the end user's browser preferences determine their relative size can be a nightmare.
I typically tend to set font sizes by using a px unit (like font-size: 10px;) -- but Internet Explorer can't modify text sizes that are done like this -- which is just fine by me. I don't want my fonts getting too big for their britches and destroying the handy little fixed-width div ids I've created to contain them. Most of the time I don't pay too much attention to the way I set up my fonts, unless they're totally illegible and I happen to notice. A bit careless? Maybe so.
However, some folks are really concerned with this font-size dilemma, and have this and this to say about the subject.
It looks as thought the em unit may be the best solution to this problem, although a fractional em (sub 1 ems, or ems that are less than 1) can apparently screw up in IE (what a surprise) and become much too small to read. This guy has developed a solution to this sub 1 em problem -- but beware! It's javascript.
What's the best, most friendly-to-users-of-all-types solution? I'm honestly not all that sure. And if you've got a ready answer on this, feel free to chime in!
I hope these links help you out.
Happy Fonting!
Blog Guts | By Hugo Fitch | 04:45 PM
Trackback Pings
TrackBack URL for this entry:
http://chattablogs.com/mt/mt-tb.cgi/21649
Listed below are links to weblogs that reference Your Blog's Font Sizes:
Comments
Can you please take some time to explain trackbacks? Also, do you know how to configure "blog this" to work on Flickr? It is asking for MT cgi-bin, which I don't know.
Posted by: mrscrumley at June 2, 2005 09:59 AM
> ...and help you keep your New Year's resolution to stop swearing.
How did you know? Stay out of my journal!!
Posted by: Jason at June 3, 2005 10:23 PM
