Latest

Archive

Community news

C++

Communities and Content

Databases

Editorials

Emacs

General

HTML

Java

Notices

PHP

XML

Apache

C++

Database

General

HTML

Java

Javascript

Linux

Object oriented programming

Open source

Perl

PHP

Python

Ruby

SOAP

XML

Suggest a link

Advertise on zez

Contribute

Contact us

About zez


RE: How do I get bigger fonts?


Categories zez.org FAQ

Topic:

RE: How do I get bigger fonts?

Author:

Anonymous

Time:

15.12.2001 12:48

Text:

Paul,

Frankly I wouldn't bother with trying to provide users with their own stylesheets. It's a nice touch, but it's pretty much of a "gadget."

Browsers with strong CSS support--including Netscape 6--allow users to set font size and face preferences, as well as override site specifications to display your pages with their own hand-written stylesheets. (When you say Netscape doesn't allow users to override font specifications, I guess you mean Netscape 4 for PC. But Netscape 4 for Mac allows users to override page styling. In any event, Netscape 4 will soon be history.)

I'm assuming your zez stylesheet is written like the one provided with ezPublish. In that stylesheet I believe you set font size by pixel height. This is generally considered bad styling practice for accessibility--precisely for those users who want larger (or smaller) font faces on your site. So what I WOULD do is use relative heights for your fonts, preferably em heights, 1em being the user-specified height for regular text as in a normal paragraph. This could be 9px for some users and 16px for others. That way your font sizes adjust automatically to user specified preferences. No further work needed. :)

Go to http://www.w3.org -> CSS and have a look at their Core Styles. They've got an on-line service that allows you to view their stylesheets and example pages output by them.

Also see http://www.webstandards.org. This group, founded by Jeffrey Zeldman, encourages web designers to write for interoperability and the latest browsers. If design "breaks" on older browsers, users are informed and urged to update their browsers. However, adherence to standards allow pages to remain legible. Bottom line: Write to standard. Which seems thoroughly in the spirit of eZ and zez... aside from your "bad" font height specification in pixels.

CCheerS,
TF Paschall



Message threads

Topic: Author:
Time:
How do I get bigger fonts? Paul Kenneth Egell-Johnsen 10.11.2000 10:32  
  RE: How do I get bigger fonts? Anonymous 15.12.2001 12:48  
   RE: How do I get bigger fonts? Anonymous 15.12.2001 16:33  


Forgot your password?

Register a new user

Results

Polls