Description: <$description$> adds space above and below

I have a cell with type. the cell height is set to 30px. The type is formatted using basic html and it looks fine. When I add the Description: <$description$> tag the cell becomes a lot taller than 30px.

Also I have 2 lines of type with different formatting, so I add the Description: <$description$> to each line, and i get a huge space between the two lines.

Is the extra space normal when you add the Description: <$description$> tag? Other than the extra space it works fine.

elfro, 7 years ago

should look like this

after I add the Description tag it looks like this

fyredefyre fyredefyre, 7 years ago

You'll probably find that CM adds a paragraph tag by default in some instances (somewhat frustrating) and you can generally correct this by either shifting your description tag into it's own cell or add:

p { margin: 0px; }

That should fix any teething issues. - Everything Email.
Email: Skype: fyredefyre
BThies BThies, 7 years ago

Short-hand margin and padding don't always work.

Best to specify each margin and each padding (i.e. top-margin:0px; bottom-margin:0px;... etc.)

Brian Thies
Professional Email Developer
Thies Publishing
elfro, 7 years ago

Thanks for your responses. I got it to work because of your help.

Join 150,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free