Skip to content

Instantly share code, notes, and snippets.

@brucelawson
Created November 14, 2019 12:53
Show Gist options
  • Select an option

  • Save brucelawson/b079c1af9d4fb06f263729503e70f68f to your computer and use it in GitHub Desktop.

Select an option

Save brucelawson/b079c1af9d4fb06f263729503e70f68f to your computer and use it in GitHub Desktop.

Revisions

  1. bruce lawson created this gist Nov 14, 2019.
    5 changes: 5 additions & 0 deletions css for soft linebreaks in poetry
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    There are many sites displaying song lyrics or poetry. In these artistic works, line breaks are important; they carry meaning.
    Most sites markup the authorial line break with a <br> element to force the browser to honour the author's intention.
    However, there are many occasions when a narrow screen forces a long line to wrap, and it is not possible for the reader to determine which line breaks are authorial (and thus have meaning/ semantics) and which are added by the browser (and are thus presentational).

    In printed media, there are typographic conventions to indicate the difference.