At 11:39 AM 7/29/2006, Shlomi Asaf wrote:
i need to design a webPage right now, that uses different kind of fonts.
is there a way to integrate those fonts using CSS?
or we use only system fonts in webDesign

those fonts are like: Helvetica Condensed Bold; VTCSwitchbladeRomanceTall.


Shlomi,

In addition to suggesting font families in CSS, you can also mandate fonts using "Dynamic Text Replacement":

If you're using PHP you can create image files on the fly containing any font you install on your site. It's not fast enough to be practical for body text, but it works fine for the occasional headline.

Your first step will be to purchase a copy of the font(s) you'll be using.

Here's an example, a site in which the burgandy-colored headlines are generated on the fly:
http://216.70.101.89/ (under construction)

The technique relies on JavaScript, converting text to images and storing the original text as img alt. When either images or JavaScript is disabled, the headlines render as plain text. It's accessible and it degrades gracefully.

This technique uses PHP image functions: http://php.net/image

I've modified a script written by Stewart Rosenberger and described here:

        Dynamic Text Replacement
        by Stewart Rosenberger
        June 15, 2004
        http://www.alistapart.com/articles/dynatext/

More details on his website: http://www.stewartspeak.com/projects/dtr/

Regards,
Paul


******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************

Reply via email to