|
Posted by Tim Roberts on 03/13/06 07:29
"Jim Carlock" <anonymous@127.0.0.1> 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@probo.com
Providenza & Boekelheide, Inc.
Navigation:
[Reply to this message]
|