none
Remove blank line after <p> RRS feed

  • Question

  • Is it possible to remove the blank space between a <p> and text using css?  I cannot find a reference on how to do this (internet search, w3 school or in the Expression Web books I have.

    What I want result to look like is:

    Test data
    Text data

    I can achieve this with:

    <span class="data-bold"> Test data</span><br/>
    <span class="data">Text data.</span><br/><br/>

    .data-bold {
     font-family: Calibri, Verdana, Helvetica;
     font-size: 10pt;
     color: #000000; 
     font-weight: bold;
     margin-
     padding-
     padding-bottom: 0;
    }

    .data {
     font-family: Calibri, Verdana, Helvetica;
     font-size: 10pt;
     color: #000000; 
     font-weight: normal;
     padding-bottom: 0px;

    }


    The <p> results in:
    Test data

    Text data

    <p class="data-bold">Test data</p>
    <span class="data">Text data.</span><br/><br/>


    Thanks ahead of time...



    jacsdad

    Tuesday, November 24, 2015 4:53 PM

All replies