Quote:
Originally Posted by Quoth
For large images we use:
height: auto;
width: 90%; /* or whatever you want */
or if a portrait image
width: auto;
height: 90%; /* or whatever you want */
We have that inside a p or div with class something like this, which allows for a centred caption
{
display: block;
font-family: "Droid Sans", sans-serif;
font-weight: bold;
margin-bottom: 3pt;
margin-left: 0;
margin-right: 0;
margin-top: 0;
padding-bottom: 0;
padding-left: 0;
padding-right: 0;
padding-top: 0;
text-align: center;
text-indent: 0
}
We'd never use SVG on something also going to Amazon.
|
That's very similar to our coding, nearly identical. (Great Minds Think Alike! Ha!).
And I try to stay away from SVG, for all the obvious reasons. When it's fully supported, which may be ten years out yet, great (with any damn luck, I'll have sold the biz and be retired by then), but before then, the chances for disaster are just too high. We do a lot of things that other companies don't--we give our customers not one but two epubs, one optimized for Amazon with media queries and all that, and one for "everybody else," but SVG is just a bridge too far, for us, with all the potential for problems, post PW. (I'm 99% sure, now, that it's Publishing Workflow, sorry for the brainfart earlier.)
Hitch