[UPHPU] More CSS frustration

Joshua Simpson std3rr at gmail.com
Wed Jan 17 12:59:25 MST 2007

On 1/17/07, Brandon Stout <bms at mscis.org> wrote:
> Any thoughts on using JavaScript to find the window's pixel size, then
> center vertically via 1/2 the pixels? I know Cole will probably say not
> to use JavaScript, so for Cole, Why not (if I assumed right), and for
> others who like the idea, why so?

Because then your site's display is completely dependent upon JavaScript
execution.   JavaScript is a great language, but it should be used for
display enhancement, not to execute proper display itself.

More information about the UPHPU mailing list