CSS font settings

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I'm trying design a web site using CSS. The site is not static so there will be
regular additions by numerous people. I've tried creating "template" pages that
can be used for them to drop in their text and graphics, but I'm running into
quite a few font problems.

Is there a way to provide a range of acceptable font sizes, such as 9 pt to 12
pt. I know you can define different classes, but the people adding the content
are using simple HTML and dropping some text into tables. Their focusing on
their content, not the HTML and CSS code to format it. Wasn't sure if anyone had
a decent process in place to accomplish that? Thanks in advance.


NewsGuy.Com 30Gb $9.95 Carry Forward and On Demand Bandwidth

Re: CSS font settings

Martie wrote:

Quoted text here. Click to load it

I'm not quite sure I understand.  Are you allowing the users to choose
their own font sizes?  Are the users allowed to alter the CSS templates?

Is it that you're trying to force the users to only use font sizes
between 9pt and 12pt?


Re: CSS font settings

Martie wrote:
Quoted text here. Click to load it
  Is this a blog? An online magazine?
  Have you considered a Content Management System (CMS)?

Quoted text here. Click to load it
  For a CSS-only method classes are the only way. The people will have to
add the classes to their code themselves. If they cannot do that simple
thing, it's a user problem, not technical.
  Even then, the people can always use "style=" to bypass any restriction
you might have in place. Basically it is all or nothing. Or you edit
everything they submit.

jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)

Re: CSS font settings

Martie wrote:
Quoted text here. Click to load it

You should only allow relative sizes -- relative to the base size set by
the visitor to the Web site.  Thus, you might allow 90% to 110%.

You should not set absolute sizes (e.g., 9 pt to 12 pt).  Only the
person viewing your Web pages knows what font size he or she really
wants or (with a visual handicap) requires.


David E. Ross

Concerned about someone (e.g., Pres. Bush) snooping
into your E-mail?  Use PGP.
See my <http://www.rossde.com/PGP/

Site Timeline