Thanks! The HTML Import page was what I was looking for.
Two other question that I am struggling with.
First, what is the most compatible unit of measurement for width and height? px/em/% etc?
Second, is how to align HTML elements next to each other like you can in a webpage so it transfers correctly into a Word Document.
In HTML alignment can happen in several ways:
- tables, with rows and columns
- Using Float: left/roight with divs with a set width (px or percentage)
- Using display flex with flex-grow on the child elements - is flex supported (I didn’t see it)
- Display inline block?
The one thing I noticed, is that % width seems to ignore the element that it is in. For example, if you do this:
> <div style="width: 50%; background-color: red;">
> <div style="width: 100%; background-color: green;"> </div>
> </div>
The parent div does not contain the child div and the 100% seems to represent the entire width of the document, even including the margins. Is there a way to make it work like HTML?
Thanks for the help!