Re: [PHP] Pixel Length of text message

2002-04-29 Thread heinisch
At 29.04.2002 10:17, you wrote: > >In html/css you can set a font size in pixels -- in my experience this >means a letter takes the same number of pixels, regardless of >resolution. With php, can I use string length and font pixel size to >determine the length of a given string on a screen? Does

Re: [PHP] Pixel Length of text message

2002-04-29 Thread Jan Peuker
x27;t know how exactly, it's just an idea, regards, jan - Original Message - From: "District Webmaster" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, April 29, 2002 6:17 PM Subject: [PHP] Pixel Length of text message > In html/css you can set a

Re: [PHP] Pixel Length of text message

2002-04-29 Thread 1LT John W. Holmes
t a little more. ---John Holmes... - Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, April 29, 2002 12:31 PM Subject: Re: [PHP] Pixel Length of text message > On Tuesday 30 April 2002 00:17, District Webmaster wrote:

Re: [PHP] Pixel Length of text message

2002-04-29 Thread Miguel Cruz
On Mon, 29 Apr 2002, District Webmaster wrote: > In html/css you can set a font size in pixels -- in my experience this > means a letter takes the same number of pixels, regardless of > resolution. With php, can I use string length and font pixel size to > determine the length of a given string on

Re: [PHP] Pixel Length of text message

2002-04-29 Thread Jason Wong
On Tuesday 30 April 2002 00:17, District Webmaster wrote: > In html/css you can set a font size in pixels -- in my experience this > means a letter takes the same number of pixels, regardless of > resolution. That may (or may not) be true, but that's referring to the height of the font. > With

[PHP] Pixel Length of text message

2002-04-29 Thread District Webmaster
In html/css you can set a font size in pixels -- in my experience this means a letter takes the same number of pixels, regardless of resolution. With php, can I use string length and font pixel size to determine the length of a given string on a screen? Does anyone know an algorithm for this that