Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mjml-table

Package Overview
Dependencies
Maintainers
6
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mjml-table

mjml-atable

  • 4.4.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
524K
decreased by-12.04%
Maintainers
6
Weekly downloads
 
Created
Source

mjml-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
table-layoutauto/fixed/initial/inheritsets the table layout.auto
widthpercent/pxtable width100%

FAQs

Package last updated on 17 Jul 2019

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