Grid Layout via JavaScript. I still don’t get why people are excited about using behavior-controlling scripts for presentation…
Grid Layout
Posted
in
by
Tags:
Comments
One response to “Grid Layout”
-
I’ve been meaning to do some reading on this question. I remember reading someone say that you should do your best with HTML / CSS, then plug holes in the presentation with javascript. I think it was Jeremy Keith.
I love separating the code and purpose, but have used javascript to center a block vertically instead of unreasonable amounts of “presentation” code, or hacks.
of course, most of the grid layout type stuff can be achieved with HTML / CSS. that seems to be a clearer case of over-reaching javascript.
Leave a Reply