(4.0.3. Windows) "rtl" page-progression in EPUB 3 OPF forcing CJK texts to align bottom

(This applies to 4.0.3 Windows version as it works fine on a Mac)
When you write a vertical CJK EPUB3 file(epubcheck-cleared) and set "page-progression-direction" element on OPF file to "rtl", the whole text aligns to bottom, making it unreadable.
Also can be seen with the sample file provided by IDPF here:  epub3-samples/30/kusamakura-japanese-vertical-writing at master · IDPF/epub3-samples · GitHub
Weird, as it was tested on Windows 7/8 + MSIE 10/11.

In addition, IE doesn't handle margin: 0 auto; on divs very well. So you have to also add "text-align: center" on the body element, which will center align all elements for IE, then "text-align: left;" on the #wrapper. (It will left justify all elements within the centered wrapper.)
Here's a very trimmed example. Notice that I also put a border on the "wrap" div, this can be removed.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
body {
  text-align: center;
  margin: 0; 
#wrap {
  border: solid 1px red; /* so that you can see the width */
  text-align: left;    
  margin: 0 auto;
  width: 700px; 
</style>
</head>
<body>
<div id="wrap">
</div>
</body>
</html>

Similar Messages

  • FIREFOX 26 changed the 'post crash' page with the list of windows and pages. It was a real HTML page with links for each page. Now it isn't (and blows)

    * You changed the page that comes up after a crash - the one which shows the windows and pages that were up before the
    crash.
    This used to be a real HTML page and it isn't any more. THis choice was pure isiocy consider how peopel used that page every day (try taking to your users for a change).
    The pages listed on that 'post crash page' used to be actual LINKS (you could right click them &
    manually open them in another tab - and most peope DID that every day). You could also (and I did this a lot) drag a second
    copy of the page, into a new tab (to keep track of all the pages I had not wanted to open)
    Now the pages are no longer links. You cannot right-click them.
    The thing in the probser is no longer a page that I can drag into a new tab.
    Roll the version back and throw this one in the bin...and have a good long talk with your developers about the definition of
    'STUPIDITIY'
    Then I try to type anything in the addres bar it is suppose to repoond with the history of old things I have types in the past, or
    search for what I type (and in some cases I think it tyes to convert it intoa URL). However it no longer does any of these
    things. When I type in the ADDRESS BAR ONLY, I do not get all of my letters to appear. I have to type into a notepad or
    into the search and to copy and paste to go to a URL. Nothing that is typed into the address bad responds normally at all
    anymore, and I am fairly certain there are no new addons on this machine at all. It does not matter which things I disable. It
    still does this. W of course points the finger back at a change to FIREFOX. I wich I could just sitct with one stable release
    forever but the MOZILLA folk thing it is best to force peopel awy from a working broswer release to a horrible one (due to it
    being out of date).
    FIREFOX 26.0 has 'issues' (ie new *features*/bugs)
    1) History is no longer accurate. My Proof? This machine is the primary one for the entire family (the only PC working). It is
    logged in with same user every time and never has its history cleared. It now January 7 so I ought to have a list of all of last
    months browing available to me.
    However, according to FIREFOX history, in all of December 2013, the entire family only went to 51 primary URL's. None of
    the official TV sites I use to get episodes are listed. None of the official movie sites I use are listed. The primary URL for
    ebay is not listed. Only 1 out of our 4 weather sites that I use (at least once a week) are listed. Only 1 of our 3 FINANCE
    sites is listed. There ought to be several; hundred root URLs listed.
    Please fix history as this change seriously "blows greasy chunks"
    PROBLEM (a stupid change in the new FIREFOX version)
    FOr a long time, after a crash you got a useful page (a real HTML page) which gave you a list of all of your last sessions
    'winwos and tabs' that were open when the browser crashed. there were certain ways of using this page that are no longer
    able to be done.
    The old method was wonderful as it had this behavior :
    *** The old method for displaying your 'Recovered Tabs' allowed you to :
    a) right click an individual item and open it in a tab without getting rid of that lovely window of your previous session of
    'recovered windows and tabs '.
    2) drag the URL for the entire window of 'recovered windows and tabs ' to a new tab (to make a second copy) so that you
    could select just a few of them to open as a group, and stil have the old list handy.
    You can no longer do either of these things. The 'recovered windows and tabs ' page no longer has links in it and can no longer be dragged, so you cant select a few of them to use, and keep the rest around for later. NOW - once you choose which pages to open the window is gone forever (can can't get a second copy).
    People used to make a copy of the page for later use (with a drag)
    we also used to open pages with a right click (which no longer functions
    This new method seriously blows big greasy chunks. A parge loss in function has occurred.
    Put things back as they were. 26 is full of terrible changes that NOBODY likes. It also has a lot of bugs (history is not reliable at all)

    (1) Firefox's built-in post-crash page has not been a real HTML page for a long time (for example, from the time of Firefox 22, see: [https://support.mozilla.org/en-US/questions/968212 Want to save LOTS of versions of "Restore Session.xht" from the "oops ..." page for later use]). If you had this working differently with Firefox 25, that might have been created by an extension.
    You can check to see whether extensions are disabled or need an update on the Add-ons page. Either:
    * Ctrl+Shift+a
    * orange Firefox button (or Tools menu) > Add-ons
    In the left column, click Extensions. The disabled extensions cluster toward the bottom of the list. To poll for updates, use the "gear" button above the list and choose Check for Updates.
    If you used the Reset feature (or Firefox automatically did a reset due to some problem during upgrading), you will need to reinstall missing extensions. The reset feature creates a folder on the desktop named Old Firefox Data. Do you have that folder? There may be data you can recover from it.
    (2) There are many ways for history to get cleared, both internal to Firefox and external. Could you double-check your Privacy settings?
    orange Firefox button (or Tools menu) > Options > Privacy
    * The "Firefox will" drop-down says Remember History: Firefox shouldn't be clearing history, but an add-on or external software could do it
    * The "Firefox will" drop-down says Use custom settings for history: inspect the "Clear history when Firefox closes" setting to make Firefox isn't set to clear history. Also check your add-ons and consider external software.
    Firefox normally accumulates months of history. However, some of Firefox's database sizes are based on disk space available. If your hard drive is very full, Firefox might reduce the amount of history stored.

  • Page break for Smartform with multiple main window on pages

    Hi Experts,
    I have a requirement for printing 3 pages. The difference among the 3 pages is the main window part.
    The main window contains not only internal table, also complicated texts like payment instructions etc.
    The requirement is in each page, the data in internal table should be changed, also payment instruction should be changed accordingly.
    e.g:
    Main Window of Page 1
    Part 1 for Internal table
    VAT on ITEM ------- 4O-------60,00------0.00%-------EUR
    Part 2 for Payment Instructions
    Texts for Page 1
    Main Window of Page 2
    Part 1 for Internal table
    VAT on ITEM ------- 5O-------60,00------0.00%-------EUR
    Part 2 for Payment Instructions
    Texts for Page 2
    Main Window of Page 3
    Part 1 for Internal table
    VAT on ITEM ------- 6O-------60,00------0.00%-------EUR
    Part 2 for Payment Instructions
    Texts for Page 3
    At first, I was using only one page 'Page1' with a variable page_no = 1 as default value, and use program line page_no = page_no + 1 as counter. when page_no = 2, use command for force page break to 'Page1', then under the command, change the internal table and payment instruction texts. when page_no = 3, ...
    But I encountered an error saying:
    Runtime Errors         GEN_BRANCHOFFSET_LIMIT_REACHED
    Short text
         Jump distance is too large and cannot be generated.
    So I created 3 pages, with different main window M_window1, M_window2, M_window3 for each page. In page1, after printing the M_window1, page_no = 2, use command to go to page2, but page2 is never printed. I think this is because only one main window can exist in a smartform? but why smartform allows creating individual main window for different pages? what's the use of such main window?
    By the way, what's the use of command for force page break? only work for one main window in a smartform?
    Getting back to my requirement, I think I should still use one page and command for page break. I am trying to solve this.
    Thanks.
    Li Jun Da.

    Now I am using 3 pages: Page 1, Page 2, Page 3.
    Page 2, Page 3 are copies of Page 1 with main window renamed as second window: mw 2, mw 3.
    I also created 2 command nodes in main window of page 1: cmd 2, cmd 3.
    cmd 2 is for page break to Page 2, cmd 3 is for page break to Page 3.
    The second window mw 2, mw 3 in Page 2, Page 3 can be displayed.
    Even though, I still can't understand how main window of pages (not 1st page) can work.

  • On my mac when i click on pages, a new document doesn't open instantly  but a window with my files open and then  have to click on the left bottom new document in order to open one. How can i have directly a new document when i click on pages icon

    On my mac when i click on pages, a new document doesn't open instantly  but a window with my files open and then  have to click on the left bottom < new document> in order to open one. How can i have directly a new document when i click on pages icon

    How to open an existing Pages document?
    Click Pages icon in the Dock to launch Pages.
    When Pages is open, click File menu in the  Pages menu bar.
    Select “Open”.
    When the select document  dialog box opens up, highlight/select the document and click “Open”
    at the bottom right corner of the dialog box.
    s
    https://support.apple.com/kb/PH15304?locale=en_US

  • To open a window & html page at a time on a single button, in JSP.

    Hello!
    I want to open 1 window as well as i want to open 1 html page on a single button click at a same time, in JSP.
    on button's "action" event i am opening the html page and button's "onclick" event i am opening the window, but it is not showing these 2 actions at a time. only window gets open when i click the button.
    [Also on form's "action" event i am having validate() function.]
    how do i open a window & html page at a time on a single button, in JSP?
    I don't know how to do this. I have stuck over here, if anyone is having any solution, please let me know.
    I need your help.
    Thank You.

    write js as
    window.open(page, "Popup", windowprops);
    windowprops = "height="+hi+",width="+wd+",top="+ wint +",left="+ winl +",location=no,"
              + "scrollbars=yes,menubars=no,toolbars=no,resizable=no,status=yes";
              encapsulate this in one function and call that function on button click event !!

  • Was trying to install windows 8.1 but didn't install bootcamp first. Am in a loop. Keep coming back to the windows setup page. What to do?

    Was trying to install windows 8.1 but didn't install bootcamp first. Am in a loop. Keep coming back to the windows setup page. What to do?

    Please reset NVRAM - Startup key combinations for Intel-based Macs - Apple Support and OS X Mavericks: Reset your computer’s PRAM. You have Bootcamp settings in the nvram that are causing problems.

  • Can't find a way to delete Templates from the "My Templates" window in Pages.

    How can I delete Templates from the "My Templates" window in Pages?

    If you want to delete user-made templates, go to ~/Library/Application Support/iWork/Pages/Templates and you'll find the individual files that you can just delete.
    If you want to delete iWork's own templates, that's a bit trickier.  Right-click (or Control-Click) on the Pages application, choose Show Contents.  Drill down to Resources and Templates and there they are.  I'm not sure I'd delete anything from the application package, however, so my advice would be to copy the app and try it on that to make sure it doesn't foul anything else up.
    Good luck.

  • When you first download Pages, there is a welcome screen with a check mark, in a box, at the bottom left corner that says show this window when Pages opens. How do I recheck that box?

    When you first download Pages, there is a welcome screen with a check mark, in a box, at the bottom left corner that says show this window when Pages opens. How do I recheck that box?

    Alex,
    Go to Pages Help, Welcome to Pages.
    Jerry

  • Windows feature page blank

    Hi everyone. I got a envy h8-1513c running on windows 8 64-bit. I went on my windows feature page and I mistakenly unchecked all the features. At this time, no applications or programs were working. I paniqued and I went back to the windows features page and I checked all the features...Unfortunately, it did not solve the issue: I was still not able to run the windows updates and to open files, apps or programs.  I ran the BIOS update and when the system restarted to configure the update, the automatic repair started itself. The nb restarted and everything is working fine. Now I'm able to run windows update, open files, apps and programs. However, when I go to the windows features page, it's just blank. . .what can I do to fill it out again. . . does it really matter if it's blank, I mean the nb is working fine so maybe it's not that bad...please help me for this. I have a lot of questions in my mind :-(

    Hello thebrave007
    I can appreciate your concerns with Windows 8 and I am linking you a document that should resolve your initial query and possibly answer your other questions as well. The document I am linking below is 'Learning How to Use Windows 8 Features and Apps' there are a large number of links in this document to different topics that you possibly have questions about.
    http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&lc=en&dlc=en&docname=c03325557
    If you have any further questions for concerns please feel free to re-post.
    Please click the "Thumbs Up" on the bottom right of this post to say thank you if you appreciate the support I provide!
    Also be sure to mark my post as “Accept as Solution" if you feel my post solved your issue, it will help others who face the same challenge find the same solution.
    Dunidar
    I work on behalf of HP
    Find out a bit more about me by checking out my profile!
    "Customers don’t expect you to be perfect. They do expect you to fix things when they go wrong." ~ Donald Porter

  • Hide document window and set progress bar window in front...

    Hi everyone,
    We have created the batch script to generate artlink reports from multiple inx files and writing it into a text file.
    Our script will open each document from the selected folder and generating the art link reports. From starting to end of the process the progress bar window will takes place to show the status of the process. The concern is, the progress bar window has been sent to back after opening of each document. Is it possbile to minimize the documents window, so the progress bar window alone displayed in the screen as front most window.
    Can anyone look into this and help me out. Thanks in advance.
    Thiyagu

    Hi Thomas,
    Thanks for your kind help. Its working greatly. Sorry, past two days i was outstation so i am unable to reply you.
    Once again thanking you.
    Regards
    Thiyagu

  • How do I resize the window of pages in the new version? It takes up most of my desktop. I would like to make it tall and narrow, which was possible in the old pages, but I cannot seem to do it in the new version.

    How do I resize the window of pages in the new version? It takes up most of my desktop. I would like to make it tall and narrow, which was possible in the old pages, but I cannot seem to do it in the new version.

    I agree it is a very bad and wasteful design especially for users on small laptop screens.
    You can drag it to whatever shape you want from the bottom left corner.
    Click on the paintbrush to make the Format side panel disappear. However you will need to use that side panel for most formatting.
    Peter

  • FM9: Possible to make "fit window to page" the default?

    I'm using FM9, structured, on Windows 7.  (My company recently upgraded from FM7.0.)  In FM 7.0, my documents seemed to remember the last zoom I had set, and if I saved them having set "Fit Window to Page", the next time I opened the document that setting would be in effect.
    This doesn't seem to be the case with FM9. Every time I open a document, its window fills the screen, and I need to manually fit the page to my preferred zoom (100 or 90%) from the Zoom status bar menu.  There are a lot of options for tweaking preferences for windows - I have not selected to open documents as tabs, for example - and I wonder whether a preference setting is preventing the fit window to page setting from being remembered per document, or whether there is any other way I can make that the default for opening documents.
    Thanks very much for your help.
    -- garyZ

    Still struggling with this, and the possible confounding factors, like differnet interface preference settings.  Some online research I've done seems to point to this being a problem in FM9, that is, setting a default zoom and fit for all documents.  There are some third-party plugins that say they can do this... but not for FM9.  So maybe the answer is "upgrade to FM 10", but that isn't an option for my department at this time.
    Further symptoms:
    - If I open all chapters in a book together in a single tabbed window, and explicitly set the first document to Fit Window to Page, I get what I want for that document, but as soon as I choose another chapter in anotehr tab, the window widens (I show a single page only), leaving a lot of gray empty window space.  I can explicitly set THAT document to Fit Window to Page, but when I click back on the first chapter I was working on, it opens wide; it has lost the Fit Window to Page I originally set for it.  Working that way, any time I change tabs, and frequently when I do operations like changing the conditional text that shows, the window containing all the tabs widens.  I would like to prevent that if possible.
    - Even when working on individual chapters, if I set one to Fit Window to Page (a setting that held, if I subsequently saved the document, in FM7) the setting is not (consistently, it seems) remembered, and the next time I open the single chapter, the window opens wide, or maximized (23" wide monitor) as if it is trying to give me a two-page view, but I'm only working with one page views (my preference because it's what I'm used to).
    - Regardless of how the files open individually (sometimes the zoom and fit seems to hold), when I open a book file, then use Open All Files In Book (having set the interface to NOT open all the files as tabs in a single window), I get this bizarre Time Tunnel effect whereby each chapter opens in a window that fits within the bounds of the previous chapter.  If the first chapter opens correctly, say 100% zoom and Fit Window to Page, the second opens at 100% zoom, but fits in the first, the third within the second, and if the book has enough chapters, the last chapters are vertically tiny, not showing more than a line or two of text.  So I need to manually rearrange and re-fit them all before I work on them.  What a pain.
    I have to say, the FM9 interface is awfully clunky.  I don't know if it's implemented (partly) using Flash or what, but whole book operations like opening or closing all files, saving a book as PDF, sometimes even just switching the conditional text that is shown generally result in a frozen screen and a title bar that indicates "not responding" for a couple of minutes before FM9 gets it's act together and returns (often with windows resized and zoomed).  It can be pretty frustrating to work with, and can really slow me down.
    I'm using structured FM, but not DITA - in house designed EDD, probably based on docbook, but I'm not sure.  FM9 is completely updated with available patches.
    I've tried playing with the different Interface Preferences, to see if that helps - variously having FM open files as tabs to share the same large tabbed window, or turning that off to have them open as individual files in individual windows.  I still cannot get Fit Window to Page to hold consistently.  It's a relatively minor nit, but it is annoying, and gobbles extra time for me to keep resetting the working environment as I like it.  I have set up a workspace for myself, but this doesn't seem to include the zoom settings, only the various palettes/panels and their states and positions.
    If anyone knows of or discovers a fix to this issue, your help would be much appreciated.
    -- garyZ

  • Satellite L755 freezes on Windows home page

    My Satellite L755 sometimes freezes at start up. It gets to windows home page then nothing works. I click start and nothing happens. No icons work. I have to hold down the off button to turn off and then re-start. I then have no problem. This is happening more often.
    I have updated BIOS as per Toshiba advise.

    Which OS do you use?
    Do you use original OS that you got with your notebook?
    On this virtual way it is not easy to say what is wrong there. Your OS configuration is not known to us and we dont know which applications start with OS at start-up.
    If the problem happen again and again maybe you should install OS again using original Toshiba recovery image and start to use notebook with "factory settings" again.

  • Open a page by Firefox 5.0 then copy some texts. Close the Firefox. Try to paste texts somewhere else. Firefox can't keep data alive in windows XP clipboard...

    As I've already asked
    Why Firefox 5.0 can't keep data alive in Windows XP pro + SP3 ?
    Just test it as follows:
    1- Open a page by Firefox 5.0
    2- Copy some texts
    3- Close the Firefox 5.0
    4- Try to paste texts somewhere else (notepad, etc.)
    There is no data in clipboard if you close the Firefox 5.0

    ''the-edmeister [[#answer-666854|said]]''
    <blockquote>
    '''''"I created a second profile called Shopping. I imported the extensions from my default profile into it."'''''
    If you used Sync to do that "import", disable Sync for at least one of those Profiles.
    </blockquote>
    Thank you for your suggestion. I have Sync enabled for all the profiles. To my surprise, however, Sync was of no use in getting Default's extension collection into Shopping. For that I had to resort to the article http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox.
    I will try disabling Sync on Shopping.

  • ~The sound for every time you change windows or pages.

    ~Every time I navigate to a window or page on my pc (win 7) it makes a sound I think it is annoying. I tried sound and turned off all sound there but it still occurs. I would like to know the root cause so as to stop it. Where does this sound originate?
    Where is its file? Where are the sound files stored?

    Hi,
    Any update here?
    If you mean the click sound when using Internet Explorer or Windows explorer, we could trun it off through the steps below:
    1. Open Internet Options-> Advanced->Under
    Accessibility-> Uncheck the Play system sounds(This is the default settings);
    2. Open the Sound personalization window (Right click the sound icon, then select sound ).
    3. Under the sound tab, find the Windows explorer
    under program events, select Complete Navigation,
    select none; Then find the Start Navigation, and change it to none, see:
    After that, check if this works as expected. Reference: Change computer sounds
    Best regards
    Michael Shao
    TechNet Community Support

Maybe you are looking for

  • Purchase Order Reprot with Invoice verification details

    Hi Friends, I need a SAP standard report, in which I can get the PO details for a perticular period of release date along with Invoice verification details, i.e. how much value has been passed and how much is pending. Can you please suggest any SAP s

  • How to get into my Itunes Account when I do not get a forwarding email

    I have a ITunes account for many years, but suddenly it does not let me log on. I did it both ways to get in: The email version, which does not send me any email. I tried it about 50 times over the last 2 month, never made it into my inbox. Also, I t

  • TcLookupOperationsIntf method usage in OIM 10g JSP

    We are trying to use the tcLookupOperationsIntf in OIM-10g to populate few lookup fields on manual selection. But while trying to use getLookupValues, getLookupValuesForColumn we couldn't achieve the same. Both the above quoted methods require differ

  • Font and Colors don't appear?

    Hi, recently found out that my font and color choices for AOL do not show up on other people's computers. I can view their font and colors...why can't they see mine?

  • Translate Photoshop CS2  in French

    Hello ! I have downloaded PSP free CS2 version in English : how to translate this English version in French Thanks