473,395 Members | 1,412 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

The issue of line length: style vs readability

In another thread, the following comment was made:
I tried the following with Mozilla Firebird (using Gecko/20030712).

Isofarro wrote:
http://www.pga.com/openchampionship/


I found this site to be unimpressive. The design doesn't scale as I
size the browser window horizontally and so I either waste space or
I get an annoying horizontal scrollbar.


I publish thousands of plain longish documents, and my concern is much
more for their readability than aesthetic design. Consequently, I make
them all fixed width of 600px, with no border, and place them
horizontally in the middle of the browser window.

In publishing text, it is said that one must keep line length down to
40-60 characters to make the text easily readable. This is why text is
written in columns, but I don't want to confront the challenges of
doing newspaper style columns (balanced) in CSS (intimidating and
probably would slow document production).

Therefore I have compromised. A 600px page width gives me a line
length of 80 characters, which is on the order of the above
recommendation, and it is also a page size that can be seen on all
browsers. Because the page is centered and has no border, I don't
think it looks too badly even with higher resolution.

And yet Isofarro's complaint above remains valid. There is space
"wasted," although, with the centering and no border, perhaps that's
not so objectionable.

What do people think? Should I persist, or should I presume higher
resolution, make my page 1000px wide and struggle use two balanced
columns?

An example of current page design to illustrate my point:
www.hartford-hwp.com/archives/10/016.html

--
Haines Brown
br****@hartford-hwp.com
kb****@arrl.net
www.hartford-hwp.com

Jul 20 '05 #1
14 5108
Haines Brown wrote:

[snip]
I publish thousands of plain longish documents, and my concern is much
more for their readability than aesthetic design.
Sounds fair.
[snip] In publishing text, it is said that one must keep line length down to
40-60 characters to make the text easily readable.
That's about right.

This is why text is written in columns, but I don't want to confront the
challenges of doing newspaper style columns (balanced) in CSS
(intimidating and probably would slow document production).
Fair enough.

Therefore I have compromised. A 600px page width gives me a line
length of 80 characters,
What it gives _you_ is irrelevant. It can and will give other people line
lengths of varying numbers of characters. 600px says nothing about the
width of the characters.

which is on the order of the above recommendation, and it is also a page
size that can be seen on all browsers.
I'm not sure what you mean by this. Are you saying that you think all
surfers are capable of 600px wide canvases? That's not true. And, as you
previously stated, the goal is for documents to be easily readable, so
avoidance of horizontal scrolling is a requirement too.

What do people think? Should I persist, or should I presume higher
resolution, make my page 1000px wide and struggle use two balanced
columns?


p { width: 50em; max-width: 60em }
html > body p { width: auto }

This will still not be the best when viewed with Internet Explorer, but at
least there will be some meaningful correlation between number of
characters and the width of the paragraph now.

--
Jim Dabell

Jul 20 '05 #2
In article <m2************@hartford-hwp.com> in
comp.infosystems.www.authoring.stylesheets, Haines Brown
<br****@hartford-hwp.com> wrote:
I publish thousands of plain longish documents, and my concern is much
more for their readability than aesthetic design.
So your philosophy is right. But,
Consequently, I make
them all fixed width of 600px, with no border, and place them
horizontally in the middle of the browser window.

In publishing text, it is said that one must keep line length down to
40-60 characters to make the text easily readable.


Then why don't you specify your width in ems instead of pixels?

--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
validator: http://jigsaw.w3.org/css-validator/
Jul 20 '05 #3
In <m2************@hartford-hwp.com> Haines Brown wrote:
I publish thousands of plain longish documents, and my concern is much
more for their readability than aesthetic design. In publishing text,
it is said that one must keep line length down to 40-60 characters to
make the text easily readable. I have compromised. A 600px page width
gives me a line length of 80 characters.


Well, 600px table width gives you 600px table width and aparantly 80
characters on the screen and software combo you've tested it on. You
cant say for sure how it looks on any other platforms, however.

I actually think it would be quite advantageous for you to use css
instead of fixt-pixel-tables.

In css it is possible to set the witdh of a row in the unit of
characters. So you could simply use:

p {
max-width: 66ex; /* or 66em */
line-height: 1.3em; /* See comment [0] */
}

To get row length of 66 characters maximum, if the browser window is
smaller than 66ex the line will wrap. This is better since people with
extremly high or low resolution monitors (as a example) then get your
texts dispayed more to your intent.

I think that you could actually make your text more visually appealing
with the help of css with quite little effort since you don't use too
much layout junk in your pages.

[0] = and while you're at it, consider increasing the row height a bit.
Personally I find increased line space makes text, especially long
paragraphs, easier to read on the screen. But maybe that is just me? =)

--
Fredrik Jonson
Jul 20 '05 #4
In article <9c********************************@4ax.com> in
comp.infosystems.www.authoring.stylesheets, Steve Pugh
<st***@pugh.net> wrote:
Or better still, do nothing and let the user pick the font size/line
length combination that suits them best.


But that would mean ... (gasp!) ... giving up control!

Users can't be trusted to pick their own font sizes and line widths,
everybody knows that.

(No, I'm _not_ serious. But the above does seem to be the prevailing
attitude, and I feel that those few of us who want to see the Web
used the way it was intended are just dipping the ocean with a
fork.)

--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
validator: http://jigsaw.w3.org/css-validator/
Jul 20 '05 #5
In article <m2************@hartford-hwp.com>, br****@hartford-hwp.com
says...
....
I publish thousands of plain longish documents, and my concern is much
more for their readability than aesthetic design. Consequently, I make
them all fixed width of 600px, with no border, and place them
horizontally in the middle of the browser window.

In publishing text, it is said that one must keep line length down to
40-60 characters to make the text easily readable. This is why text is
written in columns, but I don't want to confront the challenges of
doing newspaper style columns (balanced) in CSS (intimidating and
probably would slow document production).

....
Personally I like predominantly text documents to fill my browser window
(with a slim margin to separate the text from the scrollbars etc). I
then slim my browser window down to whatever's comfortable.

For instance, if I was making a submission to zen garden then I'd do
something like:

http://porjes.haxorz.org/zengarden.html

and then read it at about 500px-wide. No chance of any designer awards,
but I find it easy to read.

Perhaps one should include a link to a short tutorial on resizing
windows somewhere on each document?

Jul 20 '05 #6
On Fri, 18 Jul 2003 15:55:06 +0100, Steve Pugh <st***@pugh.net> wrote:
As you have no control over how large the font is how can you set the
line length in pixels?


I do three sites in the style you're talking about (sorta), and I set
the right and left margins to 10%. Whether or not that's a good
solution, I have no idea. It seems to work well.

Ian
--
http://www.aspipes.org/
http://www.bookstacks.org/
Jul 20 '05 #7
On Fri, 18 Jul 2003 14:44:52 GMT, Haines Brown <br****@hartford-hwp.com>
wrote:
Therefore I have compromised. A 600px page width gives me a line
length of 80 characters,
As pointed out elsewhere, it may give your readers something totally
different.
which is on the order of the above
recommendation, and it is also a page size that can be seen on all
browsers.
No it can't.
Because the page is centered and has no border, I don't
think it looks too badly even with higher resolution.

And yet Isofarro's complaint above remains valid. There is space
"wasted," although, with the centering and no border, perhaps that's
not so objectionable.

What do people think? Should I persist, or should I presume higher
resolution, make my page 1000px wide and struggle use two balanced
columns?


No, definitely not. I suggest you set the max-width property of your
text in em units, erring slightly on the long side compared to what you
like yourself. I do the same on my site - see sig. Anyone who finds it a
bit too long can always make their window narrower. (Of course people
who use mediocre browsers like IE, which don't support max-width, will
have to do that anyway, but it's hardly a major problem for them.)

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/
Jul 20 '05 #8
> No, definitely not. I suggest you set the max-width property of your
text in em units


Shouldn't it be ex units for width?

--
----------------------------------------------------------------------------
Kim Scarborough http://www.unknown.nu/kim/
----------------------------------------------------------------------------
"Those who 'abjure' violence can only do so because others are committing
violence on their behalf."
-- George Orwell
----------------------------------------------------------------------------

Jul 20 '05 #9
In message <9c********************************@4ax.com>, Steve Pugh
<st***@pugh.net> writes
A 600px page width gives me a line
length of 80 characters,


... at your font size. At another user's font size that might be 10
characters or it might 1000 characters.


Wow! 1.67 characters per pixel!
--
Andy Mabbett
USA imprisons children without trial, at Guantanamo Bay:
<http://news.bbc.co.uk/1/hi/world/south_asia/2970279.stm>
<http://web.amnesty.org/library/Index/ENGAMR510582003?open&of=ENG-USA>
Jul 20 '05 #10
In message <MP************************@news.CIS.DFN.DE>, Jacqui or Pete
<po****@spamcop.net> writes
For instance, if I was making a submission to zen garden then I'd do
something like:

http://porjes.haxorz.org/zengarden.html


Please submit that.
--
Andy Mabbett
USA imprisons children without trial, at Guantanamo Bay:
<http://news.bbc.co.uk/1/hi/world/south_asia/2970279.stm>
<http://web.amnesty.org/library/Index/ENGAMR510582003?open&of=ENG-USA>
Jul 20 '05 #11
In article <YL**************@pigsonthewing.org.uk>, usenet200305
@pigsonthewing.org.uk says...
In message <MP************************@news.CIS.DFN.DE>, Jacqui or Pete
<po****@spamcop.net> writes
For instance, if I was making a submission to zen garden then I'd do
something like:

http://porjes.haxorz.org/zengarden.html


Please submit that.


:0)

It says 'Participation: Graphic artists only please.' which certainly
rules me out.

Whilst I genuinely prefer my version to any on that site, they are
trying to reach out to deeziners, and I strongly respect that.

OK - the actual document they've got there would probably be best
presented without any presentational markup at all, but I take it as a
convenient example to be used to demonstrate fancy layout & graphics
using css only.

But there's been enough written on this subject...

Jul 20 '05 #12
On Sat, 19 Jul 2003 14:40:30 -0500, Kim Scarborough <sl****@unknown.nu>
wrote:
No, definitely not. I suggest you set the max-width property of your
text in em units


Shouldn't it be ex units for width?


Jukka has given you a good answer. I would go further. When I looked at
this a while ago, I came to the conclusion that, given how CSS is
currently defined, the ex unit doesn't do anything useful at all:
http://www.xs4all.nl/~sbpoley/webmatters/emex.html

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/
Jul 20 '05 #13
In message <MP************************@news.CIS.DFN.DE>, Jacqui or Pete
<po****@spamcop.net> writes
It says 'Participation: Graphic artists only please.' which certainly
rules me out.
OK; define "artist" ;-)
Whilst I genuinely prefer my version to any on that site, they are
trying to reach out to deeziners, and I strongly respect that.
They can always decline to sue it; from my PoV, it's as important to
show that a CS can give a "plain" presentation as it can a fancy one.
OK - the actual document they've got there would probably be best
presented without any presentational markup at all, but I take it as a
convenient example to be used to demonstrate fancy layout & graphics
using css only.
Quite.
But there's been enough written on this subject...


This is Usenet: that's never stopped anyone yet...
--
Andy Mabbett
USA imprisons children without trial, at Guantanamo Bay:
<http://news.bbc.co.uk/1/hi/world/south_asia/2970279.stm>
<http://web.amnesty.org/library/Index/ENGAMR510582003?open&of=ENG-USA>
Jul 20 '05 #14
In article <E$**************@pigsonthewing.org.uk>, usenet200305
@pigsonthewing.org.uk says...
In message <MP************************@news.CIS.DFN.DE>, Jacqui or Pete
<po****@spamcop.net> writes
.... (plain versions of zengarden)
They can always decline to use it; from my PoV, it's as important to
show that a CS can give a "plain" presentation as it can a fancy one.


Then again:

http://www.csszengarden.com/?cssfile...020.css&page=0

by http://sophie-g.net/ is plain enough for me, and although I'm not
quite sure about the right-hand bar the rest is lovely.

How come I've never got IE6 to support first-letter?!
Jul 20 '05 #15

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Jimbo | last post by:
wasn't sure i should put this here or in comp.lang.java.misc (or even comp.lang.misc) but I was wondering what is the consensus for line length for java code? i always thought 80 chars/line was...
6
by: Andrus | last post by:
I want that if user clicks in a checkbox, the strike-through effect applices to current table row. I tried the following code in IE, but nothing happens. Any idea ? <table> <tr><td><input...
3
by: JOSHUA JACKS | last post by:
I receive data from a web form in csv (comma and quote) form which I import into Access. The data include some long narratives (three fields of two to three paragraphs). Access seems to cut off...
6
by: Travis | last post by:
I am new to C# but cannot find how to avoid exceeding thje line length for coding when using a really really long array. I get this error message and dont know how to break up long lines of code....
7
by: Patrick de Ridder | last post by:
I read in a text file; trim the lines; establish the lengths of the lines. Measured lengths bear no relationship to actual lengths; the listBox uses a true type. What is the cause of this?...
3
by: Jow Blow | last post by:
I am trying to make a word wrap type function for a multi line text box field that will be saved to a text file. The word wrap property looks good in the app but when saved to a text file the line...
0
by: BrianDH | last post by:
Hi Does anyone know how to change the line size, line style, or line type in the CR line chants? All I am able to change is the "markers". Thanks BrianDH
1
by: John | last post by:
How do I find out the cache line length of a machine in python? Thanks, --j
3
by: =?Utf-8?B?U2hhdWxp?= | last post by:
Hi, I created a button with flat style appearance and with border size set to 0. When the button is in focus it gets a border. How can I get rid of the border? Thanks Shaul
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.