Quote:
Originally Posted by kamanza
After experimenting with the SVG, I had to use the images after all for 2 reasons:
1) Each chapter number needs a separate SVG wrapper with different values - as many as images - and more importantly,
2)Text in Svg has absolute dimensions & doesn't change with the font size changes in the main text, whereas image size can be expressed in 'em', scaling them with the main text.
|
You can get relative size also with .svg images (that is, when the font size changes, the .svg image also changes). Below I attach a new epub; watch the changes I made to the code (now the class "float_left" is applied to the <img> tag instead of the <p> tag and I gave the class "float_left" new properties -width, height and font-size).
Regards
Rubén