![]() |
#1 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 563
Karma: 403106
Join Date: Aug 2014
Device: PRS-T1
|
Same code - different results
I found an annoying and incredible error
The same code is displayed once one way, then in another way by ADE 4.0.2. The code is: Code:
<td><span class="taste1"><img src="n456MK.png"/></span></td> <td colspan="2">Wiedergabe wird angehalten. Funktionsfläche <span class="taste1"><img src="n456MK.png"/></span> wechselt zu <span class="taste1"><img src="v140MK.png"/></span>.</td> This is how it appears in calibre, and how it is intended. [Image violates Posting Guidelines for size - MODERATOR] But this is how it is displayed in ADE. There are two more errors: the Auswahl should be followed by an image, but it appears that not all PNG images are compatible, so I am changing them to GIF. I still could not find anything usable regarding PNG files and ePub, though there are countless threads on PNG but related to amazon/apple/etc. rejections. The second one, not appearing here (in full) is related to the lack of borders of figures in tables (see the first column), yet the border is displayed if one adds a blank space or any other text character within the <SPAN> with the image. Somehow I believe these are somehow related. Has anybody any idea what could be wrong? Last edited by Dr. Drib; 10-22-2017 at 04:58 AM. |
![]() |
![]() |
![]() |
#2 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,914
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Each device has its quirks, so don't expect identical results, even for pretty simple text (which yours is NOT)
Different fonts. Different device (non-optional) overrides . You can design for a specific device... Or you can compromize your look and render adequately on a great many models. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 563
Karma: 403106
Join Date: Aug 2014
Device: PRS-T1
|
I know there are devices and devices, but I am expecting constancy - why on hell once eg the PLAY sign is NOT in the box and in the next column, in identical conditions, it is?
There are no special definitions for TABLE, TBODY, TR, TH, TD. What I find it stranger is that it will be boxed as long as any character is within that SPAN. |
![]() |
![]() |
![]() |
#4 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 563
Karma: 403106
Join Date: Aug 2014
Device: PRS-T1
|
I tried also the combination of
Code:
.taste1 img I simply have no idea, because I do not know what the hell is going on... why on hell borders are missing when one inserts an image but are kept if text is present (with or without an image)... the inherit attribute is useless |
![]() |
![]() |
![]() |
#5 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,358
Karma: 59451559
Join Date: Jan 2007
Location: Peru
Device: KINDLE: Oasis 3, Scribe (1st), Matcha; KOBO: Libra 2, Libra Colour
|
Moderator Notice
Please take a few moments to read our Posting Guidelines, in particular the part about the maximum image size allowed (600x600 pixels). Images that violate those guidelines may be deleted. It is every member's responsibility to read our Posting Guidelines and follow them. Thanks. |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Search results | Janeygee | Calibre | 3 | 12-16-2015 06:37 AM |
After I Edit Code, Save, and Convert, all my Code Edits are Gone | lukewrussell | Calibre | 1 | 03-14-2014 08:05 PM |
Let's create a source code repository for DR 800 related code? | jraf | iRex | 3 | 03-11-2010 12:26 PM |