Space between <span> and <p>

Discussion in 'HTML & Website Design' started by cre8ive, Mar 26, 2008.

  1. #1
    I have the following code:

    <span>04.02.2008</span>
    <p>Four persons were charred to death and 20 others sustained burn injuries on January 21st when a tourist bus from Madhya Pradesh caught fire near Kalpana Square, 
    Bhubaneshwar around 8.30 am.</p>
    <span>04.20.2008</span>
    <p>Prof. Jean-Francois Mattei, President of the French Red Cross (FRC) Society 
    with his entourage visited the National Headquarters, IRCS.</p>
    Code (markup):
    There is a space between <span> and <p>. How can I get rid of that?

    (I did this more than once in the past, but I don't remember how ...)
     
    cre8ive, Mar 26, 2008 IP
  2. blueparukia

    blueparukia Well-Known Member

    Messages:
    1,564
    Likes Received:
    71
    Best Answers:
    7
    Trophy Points:
    160
    #2
    <p style="padding-top:0"> in place of <p> should do it.
     
    blueparukia, Mar 27, 2008 IP