WebAIM - Web Accessibility In Mind

E-mail List Archives

Thread: heading issue

for

Number of posts in this thread: 2 (In chronological order)

From: Stephanie Warenski
Date: Mon, Mar 15 2004 12:32PM
Subject: heading issue
No previous message | Next message →

Hi everybody,

I appreciate the help that I get from this forum. Thank you.
I am glad that WebAIM has this available.

Here is my challenge:

I am working on the technical piece of a web-based course, or
in other words, the html. The chapter title I have at the top
of the page, I have as an h1. There are chapter titles that
have a potential of wrapping. The course developer wants the
chapter titles to be on only one line. How can I do that and
still follow the standard of proportional sizing?

Thank you everyone.

Stephanie Warenski


----
To subscribe, unsubscribe, suspend, or view list archives,
visit http://www.webaim.org/discussion/


From: Paul Bohman
Date: Mon, Mar 15 2004 12:51PM
Subject: Re: heading issue
← Previous message | No next message

If the title is long, it will either wrap or cause a horizontal scroll
bar to appear. There is no way around this, unless you make the text
smaller. You may be able to get by creating a style for the h1 tag that
shrinks the default size of the h1 text. If you don't shrink it too
much, this should be a workable solution.

But there will always be someone with 640 by 480 screen resolution, or
even smaller, especially if the person uses screen enlargement
technologies. With this in mind, there will almost certainly be either
wrapping or a horizontal scroll bar for somebody out there on your site.
You can't control this, and that's ok.

Maybe you could set your screen to a high resolution, maximize your
browser, and then show the course developer the page :-) This way the
developer won't see that the text wraps when you set your screen
resolution lower.

In other words, it's a matter of perception. If the course developer
wants the titles all on one line, then there have to be some
compromises, either in the size of text, in the length of the title, in
the screen resolution, in the browser window size, or in tolerating a
horizontal scroll bar.

If you can make it not wrap on the course developers computer, that may
be sufficient for that person, but there's really no way to control for
all users and all circumstances. It's going to wrap on somebody's
computer somewhere, or else you'll force them to scroll horizontally.

Stephanie Warenski wrote:

> There are chapter titles that
> have a potential of wrapping. The course developer wants the
> chapter titles to be on only one line. How can I do that and
> still follow the standard of proportional sizing?

--
Paul Ryan Bohman
Web Accessibility Specialist/Project Coordinator
WebAIM (Web Accessibility in Mind)
www.webaim.org
Center for Persons with Disabilities
www.cpd.usu.edu
Utah State University
www.usu.edu



----
To subscribe, unsubscribe, suspend, or view list archives,
visit http://www.webaim.org/discussion/