Re: String Of Text (Number of Pixels / Pixel Size / Pixel Length)
- From: Tim Roberts <timr@xxxxxxxxx>
- Date: Mon, 13 Mar 2006 05:29:47 GMT
"Jim Carlock" <anonymous@xxxxxxxxx> wrote:
If I'm putting together a list of links and I want to get add each
item one at a time inside a foreach($aNames as $sName) loop,
is there an easy way to get the number of pixels that the $aName
takes up?
No. Indeed, there is no guarantee that your page will be rendered in a
pixel-based browser at all.
The general rule is that you worry about the content, and allow the browser
to worry about the details of presentation.
--
- Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.
.
- References:
- String Of Text (Number of Pixels / Pixel Size / Pixel Length)
- From: Jim Carlock
- String Of Text (Number of Pixels / Pixel Size / Pixel Length)
- Prev by Date: Re: To Get a Date into MySql: there must be a better way.
- Next by Date: Re: how do people feel about the PEAR db class?
- Previous by thread: String Of Text (Number of Pixels / Pixel Size / Pixel Length)
- Next by thread: To Get a Date into MySql: there must be a better way.
- Index(es):
Relevant Pages
|