11-25-2012, 11:07 AM | #1 |
Gadget Freak
Posts: 1,169
Karma: 1043832
Join Date: Nov 2007
Location: US
Device: EE, Note 8
|
Interesting ...
I had massaged an ebook yesterday which looked good in both Sigil and calibre viewer; BUT when viewed in ADE and Sony Reader Library (PC) every paragraph was underlined. Further inspection with Sigil I found each paragraph began with <a> and ended with </a>. Removal of the <a></a> produced paragraphs without underlining.
Therefore, why did this show in ADE and Sony Reader Library (PC) and not in Sigil or calibre viewer? Thanks. Last edited by Gunnerp245; 11-25-2012 at 11:08 AM. Reason: grammar |
11-25-2012, 11:10 AM | #2 | |
Well trained by Cats
Posts: 29,792
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Both Sigil and Calibre use the same rendering engine, which is why similar looks. |
|
11-25-2012, 11:46 AM | #3 |
Grand Sorcerer
Posts: 27,547
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I'm guessing WebKit ignores pointless anchor tags. There could also be CSS involved that only underlines anchor tags having href attributes which is being ignored by ADE (and honored by WebKit) for a variety of reasons.
Last edited by DiapDealer; 11-25-2012 at 11:50 AM. |
11-25-2012, 01:46 PM | #4 |
Gadget Freak
Posts: 1,169
Karma: 1043832
Join Date: Nov 2007
Location: US
Device: EE, Note 8
|
|
11-27-2012, 06:51 PM | #5 |
Evangelist
Posts: 416
Karma: 1045911
Join Date: Sep 2011
Location: Cape Town, South Africa
Device: Kindle 3
|
a tags like that, which are not used as links; a is for anchor, anchors to link back to specific paragraphs from notes and such usually - often just spammed everywhere by an automatic process to make sure references will work.
The styling of an a tag without a link to something is meant to not be underlined, but some renders assume they're always going to be used as links. The render in Sigil is correct in this case. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Interesting......... | carpetmojo | News | 16 | 07-18-2011 09:48 AM |
This is all new to me and so interesting | P.X. Fort | News | 7 | 01-12-2010 12:33 AM |
Well, that's interesting... | Nate the great | ePub | 3 | 08-13-2009 06:41 AM |