newsdev / ai2html

A script for Adobe Illustrator that converts your Illustrator artwork into an html page.
http://ai2html.org
Other
898 stars 146 forks source link

Add <span> inside <p> on text blocks to make it easier to apply backgrounds to text #146

Open archietse opened 2 years ago

archietse commented 2 years ago

Because the width of the containing

for

tags in a text block is variable for many reasons, it's hard to apply a consistent background behind text labels with css. Adding a just inside the

may be one solution, but would have to be tested.