While carefully coding a web site template by hand I couldn't figure out why my "a:hover" selector wasn't working. I Googled it and came across this website that explains that order matters in CSS… Note: a:hover MUST come after a:link and a:visited in the CSS definition in order to be effective!! Note: a:active MUST come …
Category: css
Jan 21
Justification and Orphans with paragraphs displayed on the web
What do you know! You can fully justify text using CSS (text-align: justify). You can also control orphans (single words on a line at the end of a paragraph) by adding a <span> element and setting the white-space style to no-wrap (white-space: nowrap). Who knew! As a note, the Chicago Manual of Style is silent …