473,386 Members | 1,734 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,386 software developers and data experts.

Text lines are overlapping


I have a laptop with a very high pixel density (1920x1200) in a 15.5"
monitor. Therfore, in my web browser (Mozilla) I set the minimum and
default font sizes I want to see to be 24 pixels.

Unfortunately, in a large number of web pages, font-size and line-height
seem to be set in pixels. The mozilla settings override the font-size,
giving me nice large fonts, but not the line-height, resulting in the
nice large lines of text overlapping on my screen and being totally
unreadable.

Is this a result of poorly designed web pages that count on all viewers
using low pixel-density monitors or having very good eyesight? Is
this a result of poor design by the web page authors or a result of
poorly designed web-authoring software?

Is there any way to get a nicely readable web page in these cases other
than mozilla's View->Text Zoom option? I find that the text zoom
feature often produces uglier results than setting the font size (for
properly formmated pages). Also, I need to reset the text zoom for each
new browser window. There does not seem to be a way to make a default
setting for text zoom.

Thanks.

-Jonathan

Jul 20 '05 #1
9 9433
In article Jonathan Joseph wrote:

I have a laptop with a very high pixel density (1920x1200) in a 15.5"
monitor. Therfore, in my web browser (Mozilla) I set the minimum and
default font sizes I want to see to be 24 pixels.
Everybody lurking, see, here is someone with exact problem we have been
telling.
Unfortunately, in a large number of web pages, font-size and line-height
seem to be set in pixels. The mozilla settings override the font-size,
giving me nice large fonts, but not the line-height, resulting in the
nice large lines of text overlapping on my screen and being totally
unreadable.

Is this a result of poorly designed web pages that count on all viewers
using low pixel-density monitors or having very good eyesight?
Yes.
Is this a result of poor design by the web page authors or a result of
poorly designed web-authoring software?
Both.
Is there any way to get a nicely readable web page in these cases other
than mozilla's View->Text Zoom option?
User stylesheet(s)¹.
I find that the text zoom
feature often produces uglier results than setting the font size (for
properly formmated pages). Also, I need to reset the text zoom for each
new browser window. There does not seem to be a way to make a default
setting for text zoom.


I don't know about mozilla, but Opera has default for zoom. But Opera has
zoom all, instead zoom text. OTOH, that might be suitable with
highresolution, especially if 200% is good size.

There is some version of mozilla, that does some recalculation for pixels
based on dpi. It is windows version, I don't know more. But if you use
windows, I recommend you to find out if it would help you.

[1] Some starters:
http://www.student.oulu.fi/~laurirai...ss/userstyles/
General userstylesheets are unfortunately least explained there, and my
example is trying to fit everything in 580px, so doing exactly opposite
you need.

--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
Saapi lähettää meiliä, jos aihe ei liity ryhmään, tai on yksityinen
tjsp., mutta älä lähetä samaa viestiä meilitse ja ryhmään.

Jul 20 '05 #2

I Have the most recent version of mozilla (1.5) for running under
Windows XP, and it has a place to enter the monitor pixel density in
DPI, but unfortunately, setting this has no effect at all (probably
because the fonts in the offending web pages are defined in terms of
pixels).

Thanks.

-Jonathan

There is some version of mozilla, that does some recalculation for pixels
based on dpi. It is windows version, I don't know more. But if you use
windows, I recommend you to find out if it would help you.

[1] Some starters:
http://www.student.oulu.fi/~laurirai...ss/userstyles/
General userstylesheets are unfortunately least explained there, and my
example is trying to fit everything in 580px, so doing exactly opposite
you need.


Jul 20 '05 #3
In article <MP************************@news.cis.dfn.de> in
comp.infosystems.www.authoring.html, Lauri Raittila
<la***@raittila.cjb.net> wrote:
I don't know about mozilla, but Opera has default for zoom.


Mozilla doesn't. It's a frequent request in the Mozilla groups.

--
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/
2.1 changes: http://www.w3.org/TR/CSS21/changes.html
validator: http://jigsaw.w3.org/css-validator/
Jul 20 '05 #4
In article <bo**********@news01.cit.cornell.edu> in
comp.infosystems.www.authoring.html, Jonathan Joseph
<jj**@cornell.edu> wrote:
Is this a result of poorly designed web pages that count on all viewers
using low pixel-density monitors or having very good eyesight?
Yes.
Is
this a result of poor design by the web page authors or a result of
poorly designed web-authoring software?


It hardly matters. A worker is responsible for choosing appropriate
tools.

All you can do, as a practical matter, is create a user stylesheet
and pepper the declarations with !important. Of course you can
complain to the clueless Webmasters, but that's likely to be about
as effective as trying to push a rope.

--
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/
2.1 changes: http://www.w3.org/TR/CSS21/changes.html
validator: http://jigsaw.w3.org/css-validator/
Jul 20 '05 #5
Jonathan Joseph:
I have a laptop with a very high pixel density (1920x1200) in a 15.5"
monitor. Therfore, in my web browser (Mozilla) I set the minimum and
default font sizes I want to see to be 24 pixels. Unfortunately, in a large number of web pages, font-size and line-height
seem to be set in pixels. The mozilla settings override the font-size,
giving me nice large fonts, but not the line-height, resulting in the
nice large lines of text overlapping on my screen and being totally
unreadable.
[...]
Is there any way to get a nicely readable web page in these cases other
than mozilla's View->Text Zoom option?


I have this in my personal style sheet (in "chrome/userContent.css") in
Mozilla/Firebird:

* {
line-height: 1.2em !important;
}

That works well for me. I have minimum font sizes at 16 px.

--
Bertilo Wennergren <be******@gmx.net> <http://www.bertilow.com>

Jul 20 '05 #6
Jonathan Joseph wrote:

Unfortunately, in a large number of web pages, font-size and
line-height seem to be set in pixels. The mozilla settings override
the font-size, giving me nice large fonts, but not the line-height,
resulting in the nice large lines of text overlapping on my screen
and being totally unreadable.


I have the same problem in Internet Explorer, by the way. That's when I
want to read a longer text and override font-sizes. Some pages break
because of a fixed line-height (or so I suspect). Yes, it's a problem
of ugly design on the webauthor's part!

As a workaround, you might want to define your user-stylesheet, and
there use your own line-height along with the important keyword. Never
tried that, though.
Jul 20 '05 #7
Jonathan Joseph <jj**@cornell.edu> wrote in
news:bo**********@news01.cit.cornell.edu:

I have a laptop with a very high pixel density (1920x1200) in a 15.5"
monitor. Therfore, in my web browser (Mozilla) I set the minimum and
default font sizes I want to see to be 24 pixels.

Unfortunately, in a large number of web pages, font-size and line-height
seem to be set in pixels. The mozilla settings override the font-size,
giving me nice large fonts, but not the line-height, resulting in the
nice large lines of text overlapping on my screen and being totally
unreadable.

Is this a result of poorly designed web pages that count on all viewers
using low pixel-density monitors or having very good eyesight? Is
this a result of poor design by the web page authors or a result of
poorly designed web-authoring software?


As others have told you, yes. The specific cause is usually that the
author tried to "optimize" the display in Verdana. The problem is that
Verdana is both objectively and subjectively larger than most other fonts
for a given point size, and therefore text that looks properly sized and
spaced in Verdana is likely to look too small and crowded in any other
font. There's a strong temptation for the author to specify a smaller-than
normal default font size and to pull in the line height, because the
defaults look lousy when Verdana is used. See
<http://www.xs4all.nl/~sbpoley/webmatters/verdana.html>.
Jul 20 '05 #8

I was (after I figured out the correct location) able to modify my user
style sheet to increase the line-height, leading to vastly improved
viewing of a majority of the "broken" web pages. Thanks all.
Is
this a result of poor design by the web page authors or a result of
poorly designed web-authoring software?

It hardly matters. A worker is responsible for choosing appropriate
tools.


I agree that to solve my particular immediate problem it does not matter
much, but the distinction could make a difference in the grander scheme
of things.

If the problem were predominantly the result of the implementation of a
widely used web authoring tool (or tools), with the actual web-content
authors being oblivious to the specifics of the generated HTML code,
then it seems that it would be much easier to affect a long-term change
by targeting the designers of the web-authoring software with
bug-reports or feature requests. If on the other hand, it's the
individual web-authors that need to be better informed, the prospects
are not as rosy.

-Jonathan

All you can do, as a practical matter, is create a user stylesheet
and pepper the declarations with !important. Of course you can
complain to the clueless Webmasters, but that's likely to be about
as effective as trying to push a rope.


Jul 20 '05 #9
On Tue, 11 Nov 2003, Jonathan Joseph wrote:
then it seems that it would be much easier to affect a long-term change
by targeting the designers of the web-authoring software with
bug-reports or feature requests.


This is a real problem. The designers of web-page extruding software
are designing it to sell to the kind of people who buy web-page
extruding software. They aren't answerable to the folks who actually
have to make use of the resulting web pages, except in the most
indirect terms; and you can be sure that when the end users complain,
the web authors are going to tell them it's their own fault, they
should simply "upgrade" to IE and disable all its security features
for proper results. Wibble.

It simply wouldn't occur to them to blame the people who built the
web-page extruding software that they've bought.

Some of us around here have caught up with the idea of separation of
presentation and content (though not all of us, as a rather rude
personal email referring to one of my recent postings and telling me
how wonderful everything is with HTML3.2 reminds me). It's going to
take a while before the spirit of flexible designing (as opposed to
mere addition of the nuts and bolts of CSS, without the spirit!)
slowly works its way through into "mainstream" authoring software,
though, I'm afraid.

But it's getting there.
Jul 20 '05 #10

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

Similar topics

11
by: Max M | last post by:
I am writing a "find-free-time" function for a calendar. There are a lot of time spans with start end times, some overlapping, some not. To find the free time spans, I first need to convert the...
3
by: Phil Sandler | last post by:
All, I have a table with start and end dates/times in it, and would like to be able to calculate the number of hours represented, accounting for overlapping records. Note that I am looking...
4
by: Earl Teigrob | last post by:
I am tring to scan a html string for all content within cretain tags. In the simplifed example below, I would like to scan the source text for all occurrences of text that start with "A" and end in...
3
by: Harry Whitehouse | last post by:
I've put up a few simple ASPX pages and they seem to display fine on all of the IE versions in my office, but periodically I hear from a remote user that the various text elements (distinct...
4
by: Charlie Brown | last post by:
I have a form with 2 custom controls that can be dragged around by a user. How can I check if they overlap each other without performing some kind of Collision detection on them? Is there...
12
by: tim | last post by:
I am using foldoutmenu 3 and am having problems with viewing my menus in firefox. On my sub3 menus i have more than one line of text in some places. firefox does not recognise that there is more...
4
by: =?ISO-8859-15?Q?Jean=2DFran=E7ois?= Lemaire | last post by:
Hello all, I'm learning C and I still am struggling to understand some basic concepts. For example, I read in the standard that with functions such as strcpy, 'If copying takes place between...
2
by: Durand | last post by:
I got a really annoying problem with datetime graphs. The problem is that with a long range time graph, the text on the x axis keeps overlapping like here:...
27
by: c.lang.myself | last post by:
i just got to know there are three different sections in which we can divide our program *Text section *Data section *Bss i think text section contain our code,data section include heap,stack...
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:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...

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.