Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 10-17-2017, 11:45 AM   #1
Ghitulescu
Fanatic
Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.
 
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>
In short, the same class "taste1" within identical columns in a table gives two different displays. "Taste1" draws a rounded (where possible) box around a text or image.

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?
Attached Thumbnails
Click image for larger version

Name:	erori.2.png
Views:	422
Size:	24.2 KB
ID:	159510   Click image for larger version

Name:	erori.png
Views:	553
Size:	41.6 KB
ID:	159511  

Last edited by Dr. Drib; 10-22-2017 at 04:58 AM.
Ghitulescu is offline   Reply With Quote
Old 10-17-2017, 01:13 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
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.
theducks is offline   Reply With Quote
Advert
Old 10-18-2017, 02:17 AM   #3
Ghitulescu
Fanatic
Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.
 
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.
Ghitulescu is offline   Reply With Quote
Old 10-19-2017, 07:42 AM   #4
Ghitulescu
Fanatic
Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.
 
Posts: 563
Karma: 403106
Join Date: Aug 2014
Device: PRS-T1
I tried also the combination of
Code:
.taste1 img
and copied the border definitions from .taste1, but this solved only the problem of single images in the border, if text is present, the image has 2 borders, its own and the combination one.

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
Ghitulescu is offline   Reply With Quote
Old 10-22-2017, 04:59 AM   #5
Dr. Drib
Grand Sorcerer
Dr. Drib ought to be getting tired of karma fortunes by now.Dr. Drib ought to be getting tired of karma fortunes by now.Dr. Drib ought to be getting tired of karma fortunes by now.Dr. Drib ought to be getting tired of karma fortunes by now.Dr. Drib ought to be getting tired of karma fortunes by now.Dr. Drib ought to be getting tired of karma fortunes by now.Dr. Drib ought to be getting tired of karma fortunes by now.Dr. Drib ought to be getting tired of karma fortunes by now.Dr. Drib ought to be getting tired of karma fortunes by now.Dr. Drib ought to be getting tired of karma fortunes by now.Dr. Drib ought to be getting tired of karma fortunes by now.
 
Dr. Drib's Avatar
 
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.
Dr. Drib is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 07:39 AM.


MobileRead.com is a privately owned, operated and funded community.