Posted By

LeeRJohnson on 12/12/09


Tagged

typography markup styleguide


Versions (?)

Emphasize the Emphasized with an Underline for Double Emphasis


 / Published in: CSS
 

Often in need of an underline simply for visual emphasis, not titles, links, etc. I will add an emphasize inside of another emphasize e.g. em or strong and apply an underlining style through CSS.

  1. /* Underlining Guide
  2. <em>Emphasize the <em>Emphasized</em></em> with an <strong>Underline for <strong>Double Emphasis</strong></strong>
  3. */
  4. em em,
  5. strong strong {text-decoration:underline; /* border-bottom:1px; */}

Report this snippet  

You need to login to post a comment.