473,773 Members | 2,326 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 5145
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.infosystem s.www.authoring.stylesheets, Haines Brown
<br****@hartfor d-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.infosystem s.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****@hartfor d-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

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

Similar topics

1
3921
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 proper, since it handles printing to a printer so well. however, i find myself having to break up lines of code a bit too much with that number. and with today's printers, that's not nearly as true as it was with the dot-matrix. so, i did...
6
15060
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 type=checkbox onclick="cbonclick(this)"></td> <td><input type=text value="Row 1" ></td> <td><select><option>pine</option><option>orange</option></select></td></tr>
3
10166
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 the data at some length limit, however if I import the same data into an Excell spreadsheet, nothing gets cut off. Any ideas how to get all the data into Access without going through some intermediate step with Excell?
6
4407
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. D:\C#Programs\ArrayAppCoder\Class1.cs(20): Compiler limit exceeded: Line cannot exceed 2046 characters
7
3049
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? How can this be overcome? Thank you, Patrick.
3
4016
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 goes on and on where there is not a new line character in the text box. Here's kinda what I'm looking at: //start snippet public void WrapIt() {
0
994
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
1536
by: John | last post by:
How do I find out the cache line length of a machine in python? Thanks, --j
3
12725
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
9621
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9454
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10264
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9914
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8937
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7463
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6717
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5355
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3610
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.