You'll notice the second item you pasted in has the generic name taf-flavorname-size.css. Change that to the actual name of your type-a-file.

Copy and paste the following code inside the <head> tag in the index.html or header.php for your site: <link rel="stylesheet" media="screen" type="text/css" href="reset.css" /> <link rel="stylesheet" media="screen" type="text/css" href="taf-flavorname-size.css" />

Download the desired Type-a-file Flavor. The .zip will include your flavor file as well as the meyerweb reset.css

Type-a-file comes in a few looks or "flavors" to get you started. A few of our flavors make use of Typekit for their special font faces. Most likely you’ll want to tweak these for your own site, but if you don’t, you’ve still got great typography ready to go right out of the box. Easy peas-y.

I couldn’t find a simple css stylesheet that adhered to best typographic practices that anyone could just grab and run with. Type-a-file was inspired by—and is to be used in addition to—the famous meyerweb reset css file.

T ype-a-file Gives Your Web T ypography a Head Start

Below you’ll find some text marked up with the core elements of Type-a-file. View the source code to find out how to use them on your own site. This element, for example is called a “kicker.” It’s paragraph text that introduces the rest of the text. It’s useful for outlining your topic & looks killer. Just create a div with class=“kicker” and throw some paragraphs into it. Blammo!

The Typographic Basics

Paragraphs are the core building block of typography online. You want to make sure you’ve got a good line-height and horizontal width—aka measure—for good readability. If you stack your lines too close together, or too far apart, lines become harder to read. Like a staircase where the steps are too shallow or too steep. The standard line-height online is something between 1.5 and 2.0 ems.1 If your lines stretch too far across the page reading can feel like a tedious marathon. The standard single-column width online is about 70-90 characters.

This is a “sidenote” It’s different than a sidebar because its content are directly related to the main content at left. When html5 is more prevalent, you’ll be able to start using <aside> instead of a div with a class of .sidebar. I’ve set it up here as a div which contains h1s for titles, as well as paragraphs.

If you look at the source code you’ll notice how the .sidenote to the right was written before this paragraph, which it is supposed to directly relate to. You’ll probably want to set up your asides in the same manner.

These are the simple beginnings of Type-a-file. We’ve put in a lot of work to make good typography easier for you. Colors & structure we leave to you, but typographically, we got you covered. Download the file and follow the instructions for installing and setting it up. Now we’ll get into some of the fancier elements we’ve built into Type-a-file.

Puttin’ on the Ritz

Sometimes you want an opening phrase to pop. You could just put it in bold tags, but wouldn’t you rather use semantic markup?2 We’ve created a class called .run-in so that you can! Best practices claim you’ll usually want to keep those run-ins to one line.

Another sidenote. I thought it might be interesting to show you that you can put lists into sidenotes: Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Donec eleifend, libero at sagittis mollis, tellus est malesuada tellus, at luctus turpis elit sit amet quam

Typically you want a nice, steady vertical rhythm to your page. Of course, some folks don’t Speaking of intelligently deviating…think that it’s actually necessary on the web to stick to a baseline grid, but it can be a great guide from which you can intelligently deviate. Speaking of intelligently deviating, there are some key elements that make great deviations from the monotony of paragraphs: the “quotes.” These include blockquotes and a special Type-a-file class named “pullquote.” The latter is above, the former below:

Headings, subheads, block quotations, footnotes, illustrations, captions and other intrusions into the text create syncopations and variations against the base rhythm of regularly leaded lines. These variations can and should add life to the page, but the main text should also return after each variation precisely on beat and in phase.

Robert Bringhurst

Delineate, Demonstrate, Define

This Type-a-file would of course be incomplete without specifications for lists, codes & definitions. It’s fairly common to indent both blockquotes and list elements, but seriously consider left aligning your text for these items and outdenting their bullets & other visual demarcations. It can present a cleaner appearance while also drawing focused attention to information points.

This is a list that is well ordered. It starts with one and goes to two. Then it has a third item. Followed by the fourth, and—in this case—last item.

Un-ordered lists are just as simple.

The only difference being that the items are marks by bullets instead of numbers.

Don’t forget that lists can have list titles.

Finally we’ve reached the last un-ordered item.

If you’re a blogger geek, sooner or later you’ll want to tell everybody about some ripping css coding you concocted by posting it on your blog-o-tubes. So we’ve got you covered.

#header h1 a { display: block; width: 300px; height: 80px; }

Then, since you’re an uber-geek-dufus-man-child who’s fascinated by proving to the world you have sooooo much knowledge to share, you’ll probably want to post some definitions or definition-like information where a title element is closely linked with a description of some kind. We got ya.

Type-a-file A really awesome way to get your site up to typographic snuff. It uses traditional semantic HTML tags along with some additional semantic classes named after commonly occurring elements in print design to create a solid typographic toolkit for your website, whoever you are. CSS CSS stands for Cascading Style Sheet. This is a document format which provides a set of style rules which can then be incorporated in an XHTML or HTML document. It is a means to separate web content from formatting and presentation information. CSS is also a Brazilian rock band from São Paulo. The band was labeled as part of the explosion of the New Rave scene. Their songs are in both English and Portuguese. CSS is an abbreviation for Cansei de Ser Sexy , literally “tired of being sexy” in Portuguese.

You see how that works? You need something done typographically, Type-a-file does it. That simple. Now what are you waiting for? Find a flavor that suits your mood and go to town. Download the zip file. All the directions and files you’ll need will be squished inside. Oh, and when you’ve become a master css er and start making your own flavors of Type-a-file, come back and share them with the Type-a-file community!