Articles & Notes

Projectwp-TrackbackPopup

In Word­Press the track­back links often cause user con­fu­sion. Knowl­edge­able users right-​​click on the link and copy the link loca­tion. But the vast major­ity of users click the link — expect­ing to copy the link from the browser’s loca­tion bar —  only to be redi­rected back to the very page they were on. The stan­dard imple­men­ta­tion does not pro­vide the expected result.

wp-​​TrackbackPopup resolves this issue. It uses unob­tru­sive JavaScript to cause a popup win­dow when a user clicks the track­back link. The popup pro­vides a text ver­sion of the track­back URL for easy copy­ing and pasting.

Go to the wp-TrackbackPopup project page...

Projectwp-Hyphenate 1.07 beta

Hyphen­ation is finally avail­able for the web. The addi­tion of hyphen­ation is a sig­nif­i­cant step for­ward for the state of web typog­ra­phy. With it your left aligned text will be less ragged, and your jus­ti­fied text will avoid the ghastly word spac­ing that has pre­vented seri­ous web design­ers from using it.

Go to the wp-Hyphenate 1.07 beta project page...

From the PortfolioHyph-n

At KING­desk, we are com­mit­ted to deliv­er­ing our clients the best pos­si­ble web design. This includes a heavy empha­sis on qual­ity typog­ra­phy. Typog­ra­phy on the web has long lacked auto­matic hyphen­ation of text. Frus­tra­tion ensued as this pre­cluded us from jus­ti­fy­ing text — with­out hyphen­ation, jus­ti­fied text results in unsightly word spac­ing. Not sat­is­fied with the state of typog­ra­phy on the web, we have devel­oped an imple­men­ta­tion of a cut­ting edge hyphen­ation algo­rithm to auto­mat­i­cally hyphen­ate text. After suc­cess­fully using this tech­nol­ogy on sev­eral client’s web sites, we have now cre­ated a web-​​based form that other web design­ers can use — free of charge — to improve the state of web typog­ra­phy beyond our own web sites. standard screenshot For acces­si­bil­ity rea­sons, we have also pro­vided a high con­trast ver­sion of the design. high contrast screenshot

From the PortfolioNew Frontier 21

Dr. Anthony Muham­mad approached us with a web site that woe­fully under­served his edu­ca­tional con­sult­ing busi­ness. The orig­i­nal site did not match the pro­fes­sional rep­u­ta­tion he had so care­fully crafted. Work­ing hand in hand with Dr. Muham­mad, we devel­oped a site with a sim­ple usable inter­face, reflected the urban edu­ca­tional cul­ture he had set out to trans­form, and incor­po­rated an online store.

newfrontier21.com screenshot

Com­pare this to the pre­vi­ous design:

newfrontier21.com old screenshot

5 Principles And Ideas Of Setting Type On The Web

Smash­ing Mag­a­zine: 5 Prin­ci­ples And Ideas Of Set­ting Type On The Web

Optimal Line Height

The the­ory and the appli­ca­tion of opti­mal line height — called lead­ing in typo­graphic cir­cles — varies greatly in web design. Typog­ra­phy ref­er­ences con­sis­tently put ideal line height at 1.2 ems (a mea­sure of type equiv­a­lent to the the let­ter height or point size of a typeface).

Yet, pre­mier web design­ers (and typog­ra­phy affec­tion­atos) reg­u­larly set line height to 1.5 ems or more. That is a 33% over­state­ment of the pre­ferred height. This cre­ates a strip­ing of text, rather than the desired grey­ing. When Jason Santa Maria crafted the cur­rent A List Apart design, he set the line height to a whop­ping 1.8 ems. Why is this done?

This is partly explained when one con­sid­ers the line length of the sub­ject designs. The designs require line lengths (or mea­sure) notably longer than those rec­om­mended in typo­graphic ref­er­ences. The increased line length demands increased line height to aide eye track­ing. This does not make for ideal type, but it does make for the best typog­ra­phy for the sub­ject design. James Felici says it well in his book The Com­plete Man­ual of Typog­ra­phy:

An axiom of com­put­er­ized type is that lead­ing should gen­er­ally be 1.2 times the point size of type. This isn’t a ter­ri­bly use­ful guide­line, because it’s clear that lead­ing must increase along with the measure.

One con­se­quence of this is other web design­ers look at what the élite are doing, and apply that line height regard­less of line length. This leads to line heights that are unnec­es­sar­ily out of proportion.

So as a gen­eral rule, an opti­mal line length is 60 to 65 char­ac­ters, or 30 ems. At that mea­sure, the ideal line height should be approx­i­mately 1.2 ems. As line length increases, line height should fol­low pro­por­tion­ately. The body text in the KING­desk design is set to a mea­sure of nearly 27 em and a line height of 1.2 ems.

Moderate Rhythm

Excel­lent design is all about bal­ance. The designer should be well grounded in the­ory and mind­ful of con­straints. But rules should, on occa­sion, be bro­ken. As valu­able as ver­ti­cal rhythm is to qual­ity web design, there are times of right­ful aban­don. As in life, design should be mod­er­ate in all things, includ­ing moderation.

In 1992, Robert Bringhurst wrote in his book The Ele­ments of Typo­graphic Style:

For the same rea­son that the tempo must not change arbi­trar­ily in music, [line height] must not change arbi­trar­ily in type….

Head­ings, sub­heads, block quo­ta­tions, foot­notes, illus­tra­tions, cap­tions and other intru­sions into the text cre­ate syn­co­pa­tions and vari­a­tions against the base rhythm of [reg­u­lar line height]. These vari­a­tions can and should add life to the page, but the main text should also return after each vari­a­tion pre­cisely on beat and in phase. This means that the total amount of ver­ti­cal space con­sumed by each depar­ture from the main text should be an even mul­ti­ple of the basic [line height].

In late 2006, Richard Rut­ter picked up the man­tle and intro­duced this prin­ci­ple to the web design com­mu­nity. Over the next year, arti­cles at rep­utable sites con­tin­ued the theme:

Atten­tion to ver­ti­cal rhythm cer­tainly increases the qual­ity of web design. Align­ment of base­lines is imper­a­tive in adja­cent columns of body text. Mis­aligned base­lines com­mu­ni­cate neglect of detail. This is true with news­pa­per or neigh­bor­ing pages in a book. But rigid­ity of appli­ca­tion can leave a design as stale as a march penned by a com­poser des­per­ately need­ing intro­duc­tion to Coltrane.

While the music anal­ogy is help­ful, we must not for­get that type is its own form. Set­ting of type must have visual appeal. Sit­u­a­tions exist where ver­ti­cal rhythm no longer makes sense. On this site, extra padding has been added between list items. A full line height was exces­sive. No padding called for room to breathe. We set­tled on one-​​third of the stan­dard line height to buffer each list item. This sub­stan­tially increases read­abil­ity, par­tic­u­larly with long lists (see our Com­ment Pol­icy as an example).

How­ever, as the padding is applied to lists of vary­ing count, there is no guar­an­tee the list height will total an even mul­ti­ple of the basic [line height]. In the list of links above, we actu­ally lost one-​​third of a line-​​height — did you notice? Com­pro­mise like this will cause the base­line of the side­bar text to mis­align with the body text. But that is a small com­pro­mise for visual balance.

From the PortfolioTurnAround Schools

A very clean and min­i­mal­ist design that places empha­sis on the con­tent. This web­site con­sists pri­mar­ily of sta­tic html pages, but incor­po­rates a blog­ging con­tent man­age­ment sys­tem into a sub­di­rec­tory. Refresh the front page a few times, and notice the pho­tos and tes­ti­mo­ni­als update.

TurnAround Schools

Since the web­site redesign, Turn­Around Schools has seen a dra­matic increase in online reg­is­tra­tions for their train­ing insti­tutes. This was a pri­mary objective.

A Lack of Monetary Incentive

Design­ing one’s own web­site has the same bless­ing and curse: there is no imme­di­ate finan­cial incen­tive to com­ple­tion. This can (and does) push the roll-​​out date, mostly as pay­ing jobs take priority.

But this also works as an advan­tage. With­out the bur­dens of time­lines or pro­duc­tiv­ity on my shoul­ders, I find that I am much more inno­v­a­tive. This inno­va­tion is not just a ben­e­fit to this site, but to my client’s sites as well — as these ideas are reused. In short, design­ing this site has become a play­ground, where I can try things that I would nor­mally not have time for.

In par­tic­u­lar, dur­ing the course of devel­op­ment of the new KING­desk design, I have assem­bled two sig­nif­i­cant advances in web design. One will have broad appli­ca­tion; the other more nar­row. Before I roll these out for pub­lic con­sump­tion, I need to get a lit­tle fur­ther along with the KING­desk design. They may draw a lit­tle atten­tion, and we need to have our Sunday’s Best on. Stay tuned…

Safari Run-in Errors

Safari 3 run-​​in errors:

  1. Loses posi­tion on text resiz­ing, caus­ing text overlap
  2. Top mar­gin improp­erly col­lapses when fol­low­ing an unordered list
  3. Loses posi­tion when page is returned to using back but­ton (mobile Safari only)

But Safari does sup­port display: run-in;, which is more than can be said for Fire­fox 2 or IE 7.