Use CSS to improve your typography - Verticle Rhythm Helpful tips, conversations and pointers on effective web design for professional business communications; ecommerce web site design and hosting. How to build a website resources. Use guides to create your own website.
Brand. Website. Business. Build Yours!
Call us toll free +1 (800)-548 9824 for your full service small business website solution: website management technology, services, and support. Build a website today!
Brand. Website. Business. Build Yours!
Brand. Website. Business. Build Yours!
Brand. Website. Business. Build Yours!
Brand. Website. Business. Build Yours!
Brand. Website. Business. Build Yours!
Brand. Website. Business. Build Yours!

Forums  >  Web, Print & Media Design  >  Use CSS to improve your typography - Verticle Rhythm

Use CSS To Improve Your Typography - Verticle Rhythm

Published on 11/28/2009 by Nehal Gohel
Use CSS to improve your typography - Verticle Rhythm
 
A baseline grid is the foundation for consistent typographic rhythm on a page. It allows the readers to easily following the flow of the text, which in turn increases readability. A continuous rhythm in the vertical space keeps all the text on a consistent grid so that proportion and balance are retained throughout the page, no matter the type size, leading or measure.
 
To keep a vertical rhythm in CSS, you want the spacing between elements and the line-spacing (leading) to equal the size of the baseline grid. For example, lets say you’re using a 15px baseline grid, meaning that there are 15px between each baseline. The line-spacing would be 15px and the space between each paragraph would also be 15px. Here is an example:
 
1 body {
2 font-family: Helvetica, sans-serif;
3 font-size: 12px;
4 line-height: 15px;
5 }
6
7 p {
8 margin-bottom: 15px;
9 }
 
This allows each paragraph element to align with the grid, keeping the vertical rhythm of the text.

    Post A Comment

Nehal Gohel
Posted:November 28, 2009 Subject: Use CSS to improve your typography - Verticle Rhythm Comment


Use CSS to improve your typography - Verticle Rhythm

 

A baseline grid is the foundation for consistent typographic rhythm on a page. It allows the readers to easily following the flow of the text, which in turn increases readability. A continuous rhythm in the vertical space keeps all the text on a consistent grid so that proportion and balance are retained throughout the page, no matter the type size, leading or measure.

 

To keep a vertical rhythm in CSS, you want the spacing between elements and the line-spacing (leading) to equal the size of the baseline grid. For example, lets say you’re using a 15px baseline grid, meaning that there are 15px between each baseline. The line-spacing would be 15px and the space between each paragraph would also be 15px. Here is an example:

 

1 body {

2 font-family: Helvetica, sans-serif;

3 font-size: 12px;

4 line-height: 15px;

5 }

6

7 p {

8 margin-bottom: 15px;

9 }

 

This allows each paragraph element to align with the grid, keeping the vertical rhythm of the text.


Domain Name Registration

Website Hosting

Website Design

Website Development

Brand Design

Media Design

Personal Project Manager

Project Management

Internet Marketing

$ 7.95 domain name registration.
Build your complete web solution: Brand, Website, Business.
Buy your domain name
New 1 Year Registrations just $ 7.95!
Multi-year Registrations, Renewals, & Transfers just $ 7.95/year!
Brand. Website. Business. Build Yours!
Build a web site Website Management Technology Website Services
Website CMS Solutions Website CMS Applications
Business Opportunities Customer Service Company
AJIBOYE is a website solutions provider serving Connecticut (CT), New York (NYC), New Jersey (NJ) and nationwide!

Website design by AJIBOYE. Website powered by ASD Website Automation CMS+ v. 3.06.00
© Copyright. AJIBOYE - Brand. Website. Business. Build Yours!. All rights reserved

Comodo SSL Certificate
AJIBOYE. Brand. Website. Business. Build Yours!Website Content Management SystemWebsite Content Management SystemMedia Website CMS SolutionAffiliate Website CMS SolutionMedia Website CMS SolutionBasic Website CMS SolutionBusiness Directory ManagerAccess Control ToolsWebsite ReportsSubscription Accounts ManagerReservations ManagerBusiness Directory ManagerProfessional Website ServicesWebsite DesignMedia DesignDeveloper PartnersPut The Internet To Work For You