\Preamble{ext=htm,pic-align}
\begin{document}
\EndPreamble
\catcode`\:=11 \catcode`\@=11
\Configure{HtmlPar}
{\EndP\HCode{%
}}
{\EndP\HCode{%
}}
{{\Tg
}}
{{\Tg}}%
\renewenvironment{multicols}[1]{\IgnorePar\EndP%
\HCode{}
\expandafter\ifx\csname .newspaper#1\endcsname\relax%
\Css{.newspaper#1 p:first-child { margin-top: 0em; }}
\Css{.newspaper#1 {
-moz-column-count:#1; /* Firefox */
-webkit-column-count:#1; /* Safari and Chrome */
column-count:#1;
-moz-column-gap:10px; /* Firefox */
-webkit-column-gap:10px; /* Safari and Chrome */
column-gap:10px;
-moz-column-rule:1px outset \#F8F8F8 ; /* Firefox */
-webkit-column-rule:1px outset \#000000; /* Safari and Chrome */
column-rule:1px outset \#000000;
}}
\expandafter\gdef\csname .newspaper#1\endcsname{1}%
\fi%
\ShowPar\par}
{\EndP\HCode{
}}
\ConfigureEnv{multicols}
{\par\IgnorePar\EndP%
\gHAdvance\MultiCols by 1\relax}
{\ifvmode\IgnorePar\fi\EndP}
{}{}
\endinput