[UPHPU] More CSS frustration

Brandon Stout bms at mscis.org
Wed Jan 17 12:56:15 MST 2007


cole at colejoplin.com wrote:
> You can play the browser-visible/invisible game, or just tweak the
> line-height/padding/margins to make it look good on the actual pages
> your creating. I tend to do the latter myself, as Wade was writing.
> Even if the look is not 'identical', it's close enough. Two reasons
> why I make this choice: 1) You keep the markup clean and 2) While you
> can't future-proof per se, it minimizes the risk of severe render
> breakage.


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?

Just a thought/question - not an advocacy...

Brandon Stout
http://mscis.org


More information about the UPHPU mailing list