TOC unordered list: without bullets?

Hi Folks,

Just wondering if anyone has a solution for getting a TOC unordered list to render properly without bullets?

I can remove the bullets of course with list-style: none, but I still get left hand padding as if the bullet is still there!

I notice all the CM templates have bullets in there auto generated TOCs, but I imagine they hand craft it for their own newsletters... or have I missed a trick?

Jim

davidaf davidaf, 6 years ago

Hey Jim,

You can wrap whatever HTML you like around the table of contents, you don't have to use a list at all. For example:

<tableofcontents>
   <div>
      <$repeatertitle$>
   </div>
</tableofcontents>

or

<table>
  <tableofcontents>
    <tr>
      <td>
          <$repeatertitle$>
      </td>
    </tr>
  </tableofcontents>
</table>

The Campaign Monitor Blog – HTML email smarts to go with your good looks

200,000 companies around the world can't be wrong.

From Australia to Zimbabwe, and everywhere in between, companies count on 
Campaign Monitor for email campaigns that drive real business results.

Get started for free
1-888-533-8098