This is a discussion on RE: [PHP] Beveled text within the PHP General forums, part of the PHP Programming Forums category; Interesting, is this for a website? If so have you tried doing the same thing with CSS? Using CSS you ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Interesting, is this for a website? If so have you tried doing the same
thing with CSS? Using CSS you could make the site load faster and be more accessible (for instance, you can allow users to choose their own font size, and make it easier for page readers to handle your page). -Javier -----Original Message----- From: Ashley M. Kirchner [mailto:ashley@pcraft.com] Sent: Saturday, November 08, 2003 10:12 PM To: php-general@lists.php.net Subject: Re: [php] Beveled text Ashley M. Kirchner wrote: > This produces the attached result. Not exactly beveled, but pretty > close (and it's the effect I wanted.) Hmm, yes. Attached result gets stripped by the listserv. So, it's also visible here: http://37th.yeehaw.net/phpiscool.png -- H| I haven't lost my mind; it's backed up on tape somewhere. +-------------------------------------------------------------------- Ashley M. Kirchner <mailto:ashley@pcraft.com> . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc. . 3550 Arapahoe Ave. #6 http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
|
|||
|
Javier Muniz wrote:
>Interesting, is this for a website? If so have you tried doing the same >thing with CSS? Using CSS you could make the site load faster and be more >accessible (for instance, you can allow users to choose their own font size, >and make it easier for page readers to handle your page). > When I originally created the script, it was simply an exercise, to see if I could do it. However, I have since then incorporated it into a site design of mine, where I wanted the headers to be images, dynamically created. So yes, for each page that loads, each header calls this script which then spits out the PNG data. Large overhead, simply because I never bothered looking into doing it with CSS, and also because outputting a PNG image I'm guaranteed it will work, and it will look the way I want it to look (both font type, as well as with layout positioning,) as opposed to dealing with broken browsers and people not seeing the same thing. And also because I can use my fonts, instead of relying on the user having a particular font installed on their system. -- H| I haven't lost my mind; it's backed up on tape somewhere. +-------------------------------------------------------------------- Ashley M. Kirchner <mailto:ashley@pcraft.com> . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc. . 3550 Arapahoe Ave. #6 http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A. |