I’m always looking for more snippets of code, markup, etc. to add to my always growing TextExpander list of bits I’ll reuse. This is a definite one I immediately added.
Working for an agency with a traditional print background, our designers are often hung up on widows and orphans. With most designs these days having some form of responsive and/or fluid component, it’s hard not to have the occasional widow or orphans. While I’ve admittedly never spent much time trying to come up with a solution, a quick Google search tonight found this post from a few years back that uses a few lines of jQuery to basically insert a non-breaking space to prevent single words from dropping to their own line all by themselves.
It’s a great start, and the couple lines of jQuery have been added to my large, but still ever-growing list of text snippets in TextExpander.
Source: Web Dev Door –
Preventing Widows and Orphans in Websites
I’ve had the tab open since late March about Apple making nightly builds of Safari. I downloaded it soon after, but have yet to explore, nor find a reason to use Apple’s Safari Technology Preview.
Great article from A List Apart about utilizing modern-day markup of HTML5 and CSS3 to elevate above endless divs and classes.
Nothing in the article written below should come as a surprise —but it’s great to get confirmation from Google.
It basically comes down to what we all suspect, know and/or are hopefully implementing. Good content by people that have an understanding about what they’re writing about ranks well.