Here’s a problem that strikes me as fundamentally inane: for the most part, excess spaces and returns are ignored in HTML unless contained within <pre> brackets.  However, sometimes—as is the case with elements displayed inline—the line break between </span> and <span> will be represented as an extra space….lame.

Solutions include: 

  1. not using line breaks (sloppy / confusing code):
  2. having breaks inside of the element:
  3. commenting out the line break:
  1. errorcheck posted this