Click here to get back home

CSS font settings

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
CSS font settings Martie 05-05-2006
Posted by Martie on May 5, 2006, 2:34 pm
Please log in for more thread options


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.

Martie


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


Posted by ironcorona on May 5, 2006, 3:24 pm
Please log in for more thread options


Martie wrote:

> 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.

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?

--
ironcorona

Posted by Jim Moe on May 5, 2006, 3:53 pm
Please log in for more thread options


Martie wrote:
> 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 this a blog? An online magazine?
Have you considered a Content Management System (CMS)?

> 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.
>
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)

Posted by David E. Ross on May 5, 2006, 6:23 pm
Please log in for more thread options


Martie wrote:
> 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.
>
> Martie
>
>

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
<http://www.rossde.com/>

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

Similar ThreadsPosted
IE table cells: borders overlap at large font settings September 28, 2005, 3:32 pm
Font discrepancy between tag and CSS July 9, 2004, 6:11 pm
Font downloads August 9, 2004, 1:20 pm
 tag font and size
December 30, 2004, 12:05 pm
Best way to specify font size December 11, 2005, 6:45 pm
Font specifications April 15, 2006, 3:57 pm
Script font on Web? July 4, 2006, 10:26 am
Font/Changes not wanted February 5, 2008, 8:36 pm
font-family CSS property with IE6? July 9, 2004, 5:07 pm
Loose DTD and font size August 27, 2004, 9:34 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap