Jump to content

juan.rojas89

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by juan.rojas89

  1. I have been using the <block-size: XX%;> property to prevent a table from resizing on different screens but I can't seem to get it right, what could I use to solve this?

    this is an example of how I'm applying the code:

    HTML


    <div .div-central>

            <tr>example1</tr>

            <tr>example2</tr>

            <tr>example3</tr>

    </div>

     

    Css

     

    .div-central {

    block-size: 60%;

    }

  2. Hi people!

    I'm having an issue in my coding, I created a table and there is a white spacing between cells that I cant get rid of.

    I have used cellpadding, styled the no border and still comes up.

    I'm also programming in HubSpot so I don't know if this has anything to do since I'm still doing it in HTML.

    This is an example of the code used:

     

    <tr style="height: 127.056px; border: 0px; border-spacing: 0px;">
    <td style="width: 304px; background-image: url('https://cdn2.hubspot.net/hubfs/2294395/gray_BB-07-1.png'); background-size: 100% 100%; background-repeat: no-repeat; height: 127.056px;">
    <h1 style="color: #84161a; text-align: center; font-family: Agency FB;"><span style="font-size: 36px;">ADMIN&nbsp;<span style="color: #444444;">EMILY</span></span></h1>
    </td>
    <td style="width: 314px; background-image: url('https://cdn2.hubspot.net/hubfs/2294395/gray_BB-07-1.png'); background-size: 100% 100%; background-repeat: no-repeat; height: 127.056px;">
    <h1 style="color: #84161a; text-align: center; font-family: Agency FB;"><span style="color: #444444; font-size: 36px;"><span style="color: #800000;">MARKETING</span>&nbsp;EMILY</span></h1>
    </td>
    <td style="width: 298.208px; background-image: url('https://cdn2.hubspot.net/hubfs/2294395/gray_BB-07-1.png'); background-size: 100% 100%; background-repeat: no-repeat; height: 127.056px;">
    <h1 style="color: #84161a; text-align: center; font-family: Agency FB;"><span style="font-size: 36px;">DATA <span style="color: #444444;">EMILY</span></span></h1>
    </td>
    <td style="width: 302.792px; background-image: url('https://cdn2.hubspot.net/hubfs/2294395/gray_BB-07-1.png'); background-size: 100% 100%; background-repeat: no-repeat; height: 127.056px;">
    <h1 style="color: #84161a; text-align: center; font-family: Agency FB;"><span style="font-size: 36px;">SALES <span style="color: #444444;">EMILY</span></span></h1>
    </td>
    <td style="width: 320px; background-image: url('https://cdn2.hubspot.net/hubfs/2294395/gray_BB-07-1.png'); background-size: 100% 100%; background-repeat: no-repeat; height: 127.056px;">
    <h1 style="color: #84161a; text-align: center; font-family: Agency FB;"><span style="font-size: 36px;">CUSTOMER SERVICE <span style="color: #444444;">EMILY</span></span></h1>
    </td>
    </tr>
     

×
×
  • Create New...