Ken Billing wrote:Good ideas, but then the padding would apply to all images, not just the inline images, and could adversely affect alignment in other places.
So do it the other way. Set up a complex selector that says if a span follows an img tag then apply padding-right to the img tag. Create another one for the opposite -- if an img tag follows a span tag then apply a padding-right to the span tag. So the padding-right values are only added to the img and span tags if they're immediately followed by the other tag. I think there's a complex selector for that, although I might be thinking of one where one tag is completely enclosed by another tag, which wouldn't be the situation in your case. You might have to do some research on that.
As for why Flare does that, I'm assuming it's to get rid of extra spaces since HTML/XHTML doesn't support extra spaces unless they're inserted using the non-breaking space code. You'd think that if there were a couple of spaces next to each other in the source document then it would leave at least one space behind after the import, but I'm not a programmer, so I don't know if that's doable or not.