On 22 Aug 2007, at 10:33, [EMAIL-REMOVED] wrote:
> I'm working for a company in which the boss (who's originally from the
> print industry) insists on having equal line lengths in the
> browsers on
> different operating systems.
> So in an example text, "hello, i'm example text!", if the text is
> split to
> the following line at "example" on Firefox Windows, it must be
> split at
> "example" in Firefox Mac/Safari as well.
I had to do something similar for a site owned by a 'print person'
who insisted that lines be the recommended-for-reading-in-books
length of somewhere around 7 words per line.
It was a simple matter to specify the width of the containing element
(the site's old enough that this used to be a table cell, but it's
now a DIV). I use EMs as the unit of measure, which with the usual
caveats, will give -- in most browsers most of the time, which is as
good as it gets -- a similar line length.
The exact line length may not be precise to the pixel across browsers
and OSes, but words being chunky, it works well enough.
There is a crack in everything. That's how the light gets in. -
Leonard Cohen, musician (1934-)
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/