licentious radio

March 2002
Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            
Feb   Apr

   Click here to visit the Radio UserLand website.
   Click to see the XML version of this web page.


"What kind of peace do I mean? What kind of peace do we seek? Not a Pax Americana enforced on the world by American weapons of war. Not the peace of the grave or the security of the slave. I am talking about genuine peace, the kind of peace that makes life on earth worth living, the kind that enables men and nations to grow and to hope and to build a better life for their children - not merely peace for Americans but peace for all men and women - not merely peace in our time but peace for all time." -- JFK
 
Home | Stories | Politics/Humor | Web Usability/Humor | ipaq 3800 Linux | RadioRadio | Typography | About | Contact
Usability/Usability humor
Saturday, March 23, 2002
[4:52:59 PM]     
CSS tip: Make your blog easier to read! The single best thing you can do with stylesheets is to add a little extra space between your lines of text.

The simplest approach: put a <div> with the style information around the content part of your template. Radio inserts the body of the page at the <%bodytext%> macro. So adding this to your Radio template (Click on Preferences, then Main template) would look something like:

<div style='line-height: 1.5'>

<p><%bodytext%></p>

</div>

What number should you use for the line-height? 1.5 is good for rather long lines. 1.2 is good for rather short lines.

This works in new browsers that support stylesheets. Browsers that don't know about stylesheets will just ignore it. Stylesheets are something of a problem for Netscape 4, but line-height works pretty well (as long as you use a relative measure like '1.5').



© Copyright 2002 john robert boynton.
Last update: 9/27/02; 6:36:10 PM.