News for hackers. Stuff that matters.
Re:The Importance of Manually Breaking Lines of Text by ajanuary on Sunday October 19, 2014 @05:30PM (#8479697)
If you're going as verbose as using a class, just put the class on the br tag.

<strong>Headline</strong><br> The quick brown fox jumped <br class="soft"> over the lazy dog.

Re:The Importance of Manually Breaking Lines of Text by err4nt on Sunday October 19, 2014 @06:13PM (#8479831)
This is what I did originally, <br class=”desktop“>

But now I'd rather just use the media query to only affect the <br> inside of the H1 or other container where the line break appears.

Another consideration I didn't see in the article that I train the people updating the marketing copy: put your white space before the line break. When it's all inline it will display as one line, but you don't want to have a space after the line break at the start of the new line. programmers may be conscientious of where the white space is but its a real eye-opener for marketing-types who only pay attention to the content, not the space around it!