Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 19th, 2012  |  syntax: None  |  size: 0.28 KB  |  hits: 11  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. How can I make text that impedes on it's underline 'block out' the underline with whitespace in HTML/CSS?
  2. p {
  3.     display: inline-block;            
  4.     font: bold 24px Arial;
  5.     border-bottom: 3px solid black;
  6.     text-shadow: -3px 0 white, 3px 0 white;
  7.     line-height: 21px;
  8. }