(English is not my primary language)
I have been reading the tutorial and playing around the compile settings. It seems that the only formats one can apply are Paragraph and Character styles.
I am working primary with ePubs and Web Pages, so having options for custom HTML classes and Styles are great. Yet, I have not find (and at this point I think is not posible) a way to use/apply Styles that will generate a DIV surrounding paragraphs. For example: let’s suppose I want three paragraphs left-aligned but inside a box that is floating to the right. For this I can use a HTML/CSS like this:
[code]
Short Paragraph.
Another short one.
Longest paragraph of all.
.box {
display:table;
margin-left: auto;
text-align: left;
background: blue;
}
The reason I need the DIV is so everything align to the left (and the box to the right) while using the longest paragraphs as the width setter. That way the left side of the block will be justified.
Notice that the margin-left only applies to the
s does not inherit that property) and the text-align to the paragraphs.
There are many other ways to accomplish this, but the point is that more often that not one need to use a DIV surrounding paragraph to manage more complex design.
If this option does indeed exist, please point me in the right direction. If not, please, consider adding a third type of style that create divs. That way I can select this 3 paragraph, apply a “Block” Style and then control it in the custom CSS options.
This will also make the creation of accessibility and other features in ePubs/HTML way better and easier.
Character Styles are the equivalent of (the universal display:inline). And we could use the “BLOCK” Style, the equivalent of
Thank you.