Back in 1975, Henry F. Ledgard published a small book called
“Programming Proverbs”, a book of 26 best practices for programming,
using Algol 60 as the explanatory language. This was followed up with
“Pascal with Style: Programming Proverbs”, which restated the
practices using Pascal as the language, which was the one I found and
read, since I was using Pascal at the time in University.
I figured this out once, but lost it somewhere, so I’m recording here
for sure: How to make a web page attain it’s full height, with a page
header, page footer, and a main content section, so the footer will be
on the bottom if the main content section is not tall enough.
I like the way sticky headers work on various web sites I’ve
seen. There are some really interesting implementations where the
header changes when it gets to the top of the page, which is fun. I
wrote up a JS module called ScrollSticky which is out on my GitHub
A typical problem encountered when using something
like Bootstrap’s fixed-top navbar is that
clicking on an interior link often causes that link target to scroll
underneath the navbar, hiding it from view.
So last month, March 2017, Grid CSS support dropped for almost all the
major browsers. Grid is a pretty nice system for 2-dimensional layout
while Flexbox remains a good system for 1-dimensional layout. A lot of
folks have been
asking if Grid replaces Flexbox but it does not. In
fact, they can play really well together.