How to remove the gaps between span



  • We need to make sure there are no gaps between spans, but there were only:

    HTML:

    <div id="countdown">
      <span class="days time-font">00</span>
      <span class="hours time-font">00</span>:
      <span class="minutes time-font">00</span>:
      <span class="seconds time-font">00</span> 
    </div>



  • So you put them on your own. Your transition to a new line between span- They're moving into a gap.

    <div id="countdown">
      <span class="days time-font">00</span>
      <span class="hours time-font">00</span>:<!--
    --><span class="minutes time-font">00</span>:<!--
    --><span class="seconds time-font">00</span> 
    </div>


Log in to reply
 


Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2