How do I remove extra space after an image in an ePub created with InDesign?

I've designed more than a dozen ebooks with InDesign and have recently been having problems with the spacing after images, both images that are anchored in the text or stand-alone and exported through the Articles Panel. Following are a few details:
• In the Object Export Settings, I have the vertical spacing set to 0 both before and after the images and no breaks added.
• In the Export panel, I do not have any vertical spacing applied to images.
• I do not have any Object Style settings applied.
• It doesn't seem to matter if I anchor the image into the text or have it as a stand-alone image in the Articles Panel with the caption after it in a separate text box, also in the Articles Panel.
• I broke down the ePub into an html file and did not see any div or span classes that were different between images that are showing correctly vs. incorrectly.
• Extra space appears in both iBooks on my computer, as well as on my iPad.
• I converted to a mobi file for the Kindle and the space wasn't there.
See attached screen shot. There shouldn't be that big gap between the image and the orange caption.
Any help or suggestions anyone can provide would be greatly appreciated. I feel like I've tried everything I can think of with the same results over and over!

Yes. That is the technique I traditionally use to drop an image into text. I even cut and pasted again as you suggested with the same result. Trust me, this is driving me nuts. I'm not doing anything different than before, but my results are different, even within the same document. I'll attach a few examples, all from this same document.
How the space after my in-line image is supposed to look:
And then a few of the pages with the mystery gap:

Similar Messages

  • How do i remove extra space in word program?

    Recently I have typed typed an apostrophe in word program & it adds an extra space.  How do i get rid of that?  I have tried everything.  It is everytime I type a word with an apostrophe  Thank you

    Yes. That is the technique I traditionally use to drop an image into text. I even cut and pasted again as you suggested with the same result. Trust me, this is driving me nuts. I'm not doing anything different than before, but my results are different, even within the same document. I'll attach a few examples, all from this same document.
    How the space after my in-line image is supposed to look:
    And then a few of the pages with the mystery gap:

  • How can we remove the space after changing look and feel to generic

    Hi
    I want to remove the space which left blank after changing look and feel to generic in formsweb.cfg file.
    Can anybody help me to remove this blank space.

    Hi,
    can you be more specific on teh space you mean?
    Frank

  • How do I remove extra space between paragraphs

    I'm writing a research paper, and between paragraphs an extra line of space is added.  My professor isn't happy about this.  Help me eliminate the space.

    The default after paragraph spacing in Pages is 12 points. With a 12 point font, this puts a whole line-worth of space after each paragraph return. It is very easy to change this in the text inspector.
    If you don't want to have to remember to change it each time you open a new blank word processing document, create your own template. Open the blank template & set up your document with the line spacing, margins, headers, etc. as you'd like. Redefine all of the paragraph & character styles to have your desired font. You can set default wrap for any object as well as many other settings. Insert a table, click in it & choose the font, size, color, etc. you want in the fonts panel or format bar. You can do similar changes to inserted objects & text boxes. While you're at it resize the box if you want, set the amount of extra space in the wrap inspector, etc. Delete each text box, object & table after you've set them.
    Now, save this document as a template & select that template as default in preferences. If you decide to make any changes to the template down the road, just Save As Template again with the same name & replace the previous version. All of your new documents will have these settings for inserted objects, images & tables. Unfortunately, the settings won't apply to any other templates or "foreign" documents you open with Pages.

  • How can I remove blank space after month value while selecting to_char(sysdate)

    select to_char(sysdate,'dd-month-yyyy') from dual;
    when I give this query, I'm getting a blank space after the month value. How can I trim that?

    Or else try this one
    select to_char(sysdate,'dd-fmmonth-yyyy') from dual;
    Best of luck.

  • How do i remove extra space at the end of my song?

    when i first started my song in GB i set it to 17 mins, now the song is only 2 mins How do I easily remove those extra minutes on my song so that I can export a smaller file?
    Any help would be greatly appreciated.

    zacharyfromlouisville wrote:
    How do I easily remove those extra minutes on my song so that I can export a smaller file?
    http://www.bulletsandbones.com/GB/GBFAQ.html#exportexactlength
    (Let the page FULLY load. The link to your answer is at the top of your screen)

  • Removing Extra Space after Crop?

    I have tried to find a solution for this problem and haven't found an answer so maybe someone can help me.
    I am editing some videos and I want to crop out a large section of them. When I use the crop tool it removes the part of the video no problem -- but then I am left with a small section of video and a huge black area (where what I removed used to be). I can resize the video but it doesn't let me actually remove the black area for some reason -- also I can't seem to move the new video at all (its in the upper left hand corner of the cross hairs and the entire rest is black). Is there any way to remove the excess or export my newly cropped video (and not the blank space)?
    Thanks for all of your help

    Park the playhead in the Timeline at a suitable reference point for your cropping/enlarging.
    In the Canvas, select Image + Wireframe in the box at the top center of the window.
    Select the clip to load it into the viewer.
    Use the crop tool to adjust the image to your liking. You can also drag the copped image around the Canvas window while the cursor displays as four-direction arrows.
    Now go to the Motion tab in the Viewer and scale up the image as needed, using the Scale settings in the Basic Motion section.
    Be aware that the more you enlarge, the more pixelated the image will become.

  • How to remove extra spaces from Data Matrix Label?

    Hi All,
    Kindly let me know how we can remove extra spaces from Data Matrix Label.
    Suppose we have this following code in SO10.
    ^FO1380,1879^COY,78^BY4^BXR,6,200^FH^FD[)>_1E06_1DF01001T_1D6JUN&v_huf&&v_hul&_1DV&v_supnum1&_1D16K&v_del&_1D6D&v_flddat1&095_1D2L&v_unload&_1D
    P&v_article&_1D4L&v_madein&_1D_1E_04^FS.
    Variable have there own value. and the desired result will be shown like the attachment.
    But in my code it splits into new line when CMIR value has 3 spaces.
    If CMIR value is 1S0 820 355 A . then it creats a new line.
    Kindly suggest me any possible solution.
    Thanks,
    Partha

    Hi Gaurav,
    In print preview we can't see any space or new line. But when it scanned by TSB (barcode scanner) it will generate a new line when there is 3 space CMIR value.
    So where should I write SHIFT CMIR LEFT DELETING LEADING space this code?
    Because there is no space coming at the time of debugging or print preview.
    And in SO10 the code written as
    ^FO1380,1879^BY4^BXR,6,200^FH^FD[)>
    Here CMIR value is 1SO 820 303 A
    and generated output is like this.
    And desired output should be like this.

  • How do I remove extra white spaces in a string?

    How do I remove extra white spaces in a string?
    trim() removes before and after spaces.
    If I have a string "This is Test"
    I want to remove extra spaces between words and also I want to keep SINGLE space
    between words. So output should be "This is Test". Thanks.

    replaceAll dosen't support with my version. Actually this works..............!!!!!!!!! Thank you.
                        java.util.StringTokenizer st = new java.util.StringTokenizer(brn, " \t");
                        StringBuffer buf = new StringBuffer();
                        while (st.hasMoreTokens()) {
                             buf.append(" ").append(st.nextToken());
                        String brn1 = buf.toString().trim();

  • How to remove extra spaces in a xml formatted string

    Hi,
    I am trying to remove extra spaces between the xml tags. For
    example, if a string is something like
    ' <header 1> <header 2> test </header 2> </header1>'
    I want to get rid of the spaces only between the closing tag of header 1 and opening tag of header 2 and closing tag of header 2 and opening tag of header 1, in short ,I want to remove the extra spaces between the tags if there are no other characters between them. I do not want the remove the spaces between closing tag header 2 and opening tag of header ,as there is occurence of other characters.
    I am aware that this can be done by looping through the string and using instr to identify the characters '<' and '>', but I would like to use it as a last resort only.
    Can anyone suggest me a better way of doing it in a single go by manipulating the data?
    Any help is really appreciated.
    Regards,
    Anil.

    You can use the replace function. If you only expect one extra space, then:
    scott@ORA92> select replace ('<header 1> <header 2> test </header 2> </header1>',
    2      '><', '><')
    3 from dual
    4 /
    REPLACE('<HEADER1><HEADER2>TEST</HEADER2></HEADER
    <header 1> <header 2> test </header 2> </header1>
    If you expect more extra spaces, then you will need to wrap another replace function around it for each space, for example the following will eliminate up to three spaces:
    scott@ORA92> select replace (replace (replace ('<header 1> <header 2> test </header 2> </header1>',
    2      '>     <', '><'), '>     <', '><'), '> <', '><')
    3 from dual
    4 /
    REPLACE(REPLACE(REPLACE('<HEADER1><HEADER2>TEST
    <header 1><header 2> test </header 2></header1>

  • How can I stop automatic spelling and grammar corrections?, Iwill send him another. Mail keeps removing the space after I

    , Iwill send him another. Mail keeps removing the space after I

    have opened the "Spelling and Grammar" -Ijust did it again and found 'correct spelling automatically' Ihave now turned it off. Ihope that fixes my problem. no, it has not , as you can see this email has the same problem.
    Paul Morrow

  • How do I remove a space before the first word in a sentence using find and replace or GREP?

    Right, so I am laying out a document in inDesign from a word document and it has a space before every first word in a sentence. It is really annoying and I need a quick way to get rid of them. I wasn't too sure how to do it with find/change but I am sure there is a way in GREP if someone can help me. I have included an image so that people can see exactly what I mean.

    The ^ location works for all paragraphs.
    But a note to the OP, there is a sample script called FindChangeByList that removes leading and trailing spaces as well as extra spaces after punctuation, all in one go. But if you want to continue to use a GREP find/change to remove leading space, I'd modify Joel's suggestion to ^\s+ to get those cases where the user typed multiple spaces as well.
    And don't forget there are actually legitimate places for leading tabs, which both the script and this GREP will find and remove, so be careful.

  • Removing extra spaces from a long document

    Hello
    I have seen a number of find/change and GREP formulas to do similar things. I have NO scripting or coding experience and have labored to understand GREP.
    So I am a little afraid to use it as I don't know what all the modifiers refer to (I do have a printout of some neat GREP cheatsheets like Mike Witherell's that I can absorb until I obtain a good reference )
    I need something I can copy and paste into either find/change or GREP dialog that will do the following in less than 12 steps (hopefully) without doing something catastrophic like removing all of my paragraph marks (which I almost did using someones GREP expression)
    No spaces before any comma, period, exclamation mark, question mark, colon, semicolon
    One space only after any of those
    One Space before any opening parenthesis and one space after the closing parenthesis
    No space after the opening parenthesis or before the closing parenthesis
    Remove any double or extra spaces ( en, em etc.)
    Remove any commas before parentheses
    Remove any spaces after a paragraph mark
    I think that's it
    I did find this one recently (Maybe Jongware?)
    [~m~>~f~|~S~s<~/~,~3~4%]{2
    Which from my dim understanding addresses em, en, flush and hair space ,  nonbreaking space ,figure space,third space--not sure of the rest. Really this is way over my head.
    I know this will be a piece of cake for you guys
    Thanks

A: Removing extra spaces from a long document

Peter is too modest, he's doing just great.
No space BEFORE-One Space after ---period,semicolon,colon, exclamation, question mark,CLOSING Parenth,Bracket,Brace, single & Dbl. quotation marks
Find (\s)([.,;:!\)\]\}~}~]])
Replace with $2
No space AFTER-One Space Before----OPENING bracket,brace,parenthesis,Dbl & single quotes
Find ([\[\{\(~{~[])(\s)
Replace with $1
These remove the space before/after but do not automatically add a space after/before.
In the first case, you could add a space right after the '$2' in the Replace With string, but it already may have a space, in which case you suddenly have two. One alternative is to optionally remove it with the Find string (add it as an optional match) and always add it with the Replace string, but remember that this string will only be found if there is a space preceding it. That way you'd only check the space after in cases where there was a bad space before.
So I propose you add another two find/changes to add the space, only when necessary.
One Space After: find
([.,;:!\)\]\}~}~]])(?!\s)
replace:
$0 [followed by one single space]
One Space Before: find
(?<!\s)([\[\{\(~{~[])
replace:
[one single space] $0
Color-coding with my WhatTheGrep might make it just a tad clearer what's going on in that jumble of codes:
(1 [ .,;:! \) \] \} ~} ~] ] 1) (?!! \s !)
and
(?<!<! \s <!) (1 [ \[ \{ \( ~{ ~[ ] 1)
(Orange is lookahead/lookbehind, blue is a regular escaped character, pink is an InDesign special character, green is normal grouping parentheses, and lavender is a character group.)

Peter is too modest, he's doing just great.
No space BEFORE-One Space after ---period,semicolon,colon, exclamation, question mark,CLOSING Parenth,Bracket,Brace, single & Dbl. quotation marks
Find (\s)([.,;:!\)\]\}~}~]])
Replace with $2
No space AFTER-One Space Before----OPENING bracket,brace,parenthesis,Dbl & single quotes
Find ([\[\{\(~{~[])(\s)
Replace with $1
These remove the space before/after but do not automatically add a space after/before.
In the first case, you could add a space right after the '$2' in the Replace With string, but it already may have a space, in which case you suddenly have two. One alternative is to optionally remove it with the Find string (add it as an optional match) and always add it with the Replace string, but remember that this string will only be found if there is a space preceding it. That way you'd only check the space after in cases where there was a bad space before.
So I propose you add another two find/changes to add the space, only when necessary.
One Space After: find
([.,;:!\)\]\}~}~]])(?!\s)
replace:
$0 [followed by one single space]
One Space Before: find
(?<!\s)([\[\{\(~{~[])
replace:
[one single space] $0
Color-coding with my WhatTheGrep might make it just a tad clearer what's going on in that jumble of codes:
(1 [ .,;:! \) \] \} ~} ~] ] 1) (?!! \s !)
and
(?<!<! \s <!) (1 [ \[ \{ \( ~{ ~[ ] 1)
(Orange is lookahead/lookbehind, blue is a regular escaped character, pink is an InDesign special character, green is normal grouping parentheses, and lavender is a character group.)

  • Embedded font has extra space after special characters

    I've built a web-based Flash movie for a major client. The SWF uses an embedded font and loads text from an XML document. The client is localizing it for several languages, which of course include special characters. In this case, the å character is giving us problems -- it always renders with an extra space after it. For example, the Danish word spørgsmål is rendered as spørgsmå l.
    I might be inclined to think something's wrong with the font, because it doesn't happen with other fonts. However, some Googling turned up several other cases of people with similar problems using different fonts.
    When I remove the font embedding, the problem disappears. I can watch it do this right in the IDE. As soon as I embed characters again, the phantom space returns. And it doesn't happen in any other applications.
    I've spent many hours trying all kinds workarounds, but I've come up with nothing so far. As I said, I've found several other mentions of this problem but the only solution I've seen is "use a different font." In this case I can't -- it's a corporate identity font that's required for this project!
    If it makes any difference, I'm linking the font in the library, then specifying the embedded characters for the text fields. I also have text fields created entirely in Actionscript (AS3) that behave exactly the same way.
    Please tell me there's a solution to this! I'm pretty positive this is a Flash bug at this point, though I'd be happy if someone proved me wrong.

    Hi,
    I read the following on another discussion in this forum:
    it appears that with the shortkey ctrl+shift+Y you can force the pc to work around the system fonts
    Maybe that helps.
    Jenny

  • How can I put extra spaces between hyperlinks?

    After I insert hyperlinks they are too close together and are very hard to determine where they are apart from one another. How can I insert extra space between the links so they are more legible?

    design view:
    Home Page Why Hi-TEC? Services Our Staff Contact Us
    Make Appointment Our Credentials Learn About Your Car
    code view:
    <p> </p>
          <p><a href="index.html">Home Page</a> <a href="why_hitecauto.html">Why Hi-TEC?</a> <a href="services.html">Services</a> <a href="staff.html">Our Staff</a> <a href="contacts.html">Contact Us</a></p>
          <p><a href="appointment.html">Make Appointment</a> <a href="credentials.html">Our Credentials</a> <a href="about_your_car.html">    Learn About Your Car</a></p>

  • Maybe you are looking for

    • Safari won't open - malware still?

      Hi, Safari keeps quitting on start up and I suspect malware. I have tried to remove safari.plist and the files from genieo.com in the library from both the safari folder, preferences folder and LaunchAgent. Still doesn't  work. Help? PS. It is not my

    • In the new app Photo, faces are in no particular order that i can see. can faces be re-ordered or sorted?

      I can't seem to make heads or tails of the faces in Photo app. it is difficult to find a particular face when there is no alphabetical order to them.

    • SQL Plus not work with domain user

      Hey guys, have a problem with sql plus in our network. when i started it with the admin it works. but when i started it with a user account, fill in the username, the password and the host and click on the ok button, the window closes and nothing hap

    • Size in JTable

      Hi! I have a little problem with JTables. If I want to show more than 20 files (it�s 20 because of the size of the window, this number is not important), it only shows a certain number of them, the others don�t appear. The autoscrolls field is "true"

    • Parse error problem sharing to Flickr

      Using PSE10 on iMAC running V10.7.5 software. I have successfully shared images in the past directly to Flickr from PSE using the "share" tag. Last night and today when I try to share images directly with Flickr I get the following message: "Online S