Intelligent Design
  • Home
  • About
    • Frequently Asked Questions
    • Why the Name, Intelligent Design?
    • Our Blog
    • The Making of a Website
    • The Anatomy of a Website
  • Services
  • Prices
    • Web Design Quote
  • Portfolio
    • Print Design
    • Logo Design
    • Website Design
  • Contact

Blog

Home / Buffalo, NY / Dividing text into columns with PHP script

Dividing text into columns with PHP script

May 13, 2011GeorgeBuffalo, NY, Custom web components, May, 2011, Programming0 Comment

I prefer to display text so that it can be read easily, as a book.  Naturally, web pages stretch the text across the entire width of the column, which is usually too wide for comfortable reading. Books are divided into narrower columns so you don’t lose your place when you get to the end of a line and move your eyes down to the next line.

Thankfully, I didn’t need to generate the script to divide text into columns completely from scratch.  I only had to modify the code found on drupal.org.

Now I can easily convert an article or large block of text into multiple columns with a simple PHP function.

I made some updates today as requested on Babcock Bulldogs’ website using this function.

If you would like to view the code behind this function, click here.

 

Tags: Babcock Bulldogs,  Comfortable Reading,  Divide text into columns,  download,  multiple columns,  PHP,  PHP script,  web,  website

Written by George

Related Posts

Leave a Reply

Cancel reply

Your email address will not be published. Required fields are marked *

← Oldtimebaptist.com rebuilt today with PHP
Photography and more stylizing for bulldog website →
© Copyright 2013 - All Rights Reserved
  • Twitter
  • Facebook
  • Dribbble
  • LinkedIn