[UPHPU] More CSS frustration
cole at colejoplin.com
cole at colejoplin.com
Wed Jan 17 14:34:52 MST 2007
Hi All,
Quoting Brandon Stout <bms at mscis.org>:
> 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?
I'm not crazy about using javascript for layout, but it's okay. I once
did a collapsable menu where I had to. It was a specific request by
the customer, and I did what they wanted, letting them know the
potential that it could be turned off by some. For just layout, I
think it adds complexity that I don't absolutely need. I use
javascript for lots of stuff, but layout isn't one of them.
-- Cole
More information about the UPHPU
mailing list