Socket
Socket
Sign inDemoInstall

mjml-table

Package Overview
Dependencies
Maintainers
6
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mjml-table

mjml-atable


Version published
Weekly downloads
615K
decreased by-0.15%
Maintainers
6
Weekly downloads
 
Created
Source

mj-table

This tag allows you to display table and filled it with data. It only accepts plain HTML.

<mjml>
  <mj-body>
    <mj-section>
      <mj-column>
        <mj-table>
          <tr style="border-bottom:1px solid #ecedee;text-align:left;padding:15px 0;">
            <th style="padding: 0 15px 0 0;">Year</th>
            <th style="padding: 0 15px;">Language</th>
            <th style="padding: 0 0 0 15px;">Inspired from</th>
          </tr>
          <tr>
            <td style="padding: 0 15px 0 0;">1995</td>
            <td style="padding: 0 15px;">PHP</td>
            <td style="padding: 0 0 0 15px;">C, Shell Unix</td>
          </tr>
          <tr>
            <td style="padding: 0 15px 0 0;">1995</td>
            <td style="padding: 0 15px;">JavaScript</td>
            <td style="padding: 0 0 0 15px;">Scheme, Self</td>
          </tr>
        </mj-table>
      </mj-column>
    </mj-section>
  </mj-body>
</mjml>

try it live

attributeunitdescriptiondefault value
alignleft/right/centerself horizontal alignmentleft
borderbordertable external bordernone
cellpaddingpixelsspace between cellsn/a
cellspacingpixelsspace between cell and bordern/a
colorcolortext header & footer color#000000
container-background-colorcolorinner element background colorn/a
css-classstringclass name, added to the root HTML element createdn/a
font-familystringfont nameUbuntu, Helvetica, Arial, sans-serif
font-sizepxfont size13px
font-stylestringfont stylen/a
line-heightpercent/pxspace between lines22px
paddingpercent/pxsupports up to 4 parameters10px 25px
padding-bottompercent/pxbottom offsetn/a
padding-leftpercent/pxleft offsetn/a
padding-rightpercent/pxright offsetn/a
padding-toppercent/pxtop offsetn/a
rolenone/presentationspecify the role attributen/a
table-layoutauto/fixed/initial/inheritsets the table layout.auto
widthpercent/pxtable width100%

FAQs

Package last updated on 21 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc