Quote:
Originally Posted by dicknskip
Is it possible, in the css of an ePub, to define a box that will shrink in from left and right to fit the text inside it? It is easy to make a fixed percentage width box, but I can't find any way to make the width of the box be defined by the width of the content. I did a lot of searching and even did a little playing around with a test css and no luck.
TIA (not holding out much hope though)
|
Think 'Box Model' and it is easy in EPUB.
It is all done in the .box style
(this solution will probably fail if converted to some other formats. Try and see what you get

)