![]() |
#1 |
Connoisseur
![]() Posts: 52
Karma: 10
Join Date: Jul 2010
Location: Denver, Colorado
Device: iphone, ipad, kindle, nook
|
iPad not honoring CSS
Has anybody run across:
a:link { } Not working on ipad? The colors for my links don't seem to work. I've checked my epub on html editors, my phone (android) & browsers etc. All other mediums besides ipad honor my links? Anybody else run into this problem? Thanks, T— |
![]() |
![]() |
![]() |
#2 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,012
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
You could be using iBooks, Marvin, Bluefire or a few other reading apps. Without knowing which app, we may not be able to help. |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Connoisseur
![]() Posts: 52
Karma: 10
Join Date: Jul 2010
Location: Denver, Colorado
Device: iphone, ipad, kindle, nook
|
Yeah, true definitely should have specified. iBooks..
|
![]() |
![]() |
![]() |
#4 |
Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 629
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
|
Epubcheck is reporting lots of warnings with that EPUB:
Code:
ERROR: ../qi.epub: Length of the first filename in archive must be 8, but was 9 Validating against EPUB version 2.0 WARNING: ../qi.epub/OEBPS/content.opf(5,24): title element is empty ERROR: ../qi.epub/OEBPS/content.opf(16,46): character content of element "dc:identifier" invalid; must be a string with length at least 1 (actual length was 0) WARNING: ../qi.epub/OEBPS/images/VT00025 Hands_fmt.png: Filename contains spaces. Consider changing filename such that URI escaping is not necessary WARNING: ../qi.epub/OEBPS/images/VT00025 Hands_fmt1.png: Filename contains spaces. Consider changing filename such that URI escaping is not necessary WARNING: ../qi.epub/OEBPS/images/VT00025 Hands_fmt10.png: Filename contains spaces. Consider changing filename such that URI escaping is not necessary WARNING: ../qi.epub/OEBPS/images/VT00025 Hands_fmt11.png: Filename contains spaces. Consider changing filename such that URI escaping is not necessary WARNING: ../qi.epub/OEBPS/images/VT00025 Hands_fmt2.png: Filename contains spaces. Consider changing filename such that URI escaping is not necessary WARNING: ../qi.epub/OEBPS/images/VT00025 Hands_fmt3.png: Filename contains spaces. Consider changing filename such that URI escaping is not necessary WARNING: ../qi.epub/OEBPS/images/VT00025 Hands_fmt4.png: Filename contains spaces. Consider changing filename such that URI escaping is not necessary WARNING: ../qi.epub/OEBPS/images/VT00025 Hands_fmt5.png: Filename contains spaces. Consider changing filename such that URI escaping is not necessary WARNING: ../qi.epub/OEBPS/images/VT00025 Hands_fmt6.png: Filename contains spaces. Consider changing filename such that URI escaping is not necessary WARNING: ../qi.epub/OEBPS/images/VT00025 Hands_fmt7.png: Filename contains spaces. Consider changing filename such that URI escaping is not necessary WARNING: ../qi.epub/OEBPS/images/VT00025 Hands_fmt8.png: Filename contains spaces. Consider changing filename such that URI escaping is not necessary WARNING: ../qi.epub/OEBPS/images/VT00025 Hands_fmt9.png: Filename contains spaces. Consider changing filename such that URI escaping is not necessary WARNING: ../qi.epub: resource OEBPS/fonts/Trebuchet-BoldItalic.ttf cannot be decrypted WARNING: ../qi.epub: resource OEBPS/fonts/TrebuchetMS.ttf cannot be decrypted WARNING: ../qi.epub: resource OEBPS/fonts/TrebuchetMS-Bold.ttf cannot be decrypted WARNING: ../qi.epub: resource OEBPS/fonts/TrebuchetMS-Italic.ttf cannot be decrypted WARNING: ../qi.epub/OEBPS/images/VT00025 Hands_fmt1.png: Filename contains spaces. Consider changing filename such that URI escaping is not necessary WARNING: ../qi.epub/OEBPS/images/VT00025 Hands_fmt11.png: Filename contains spaces. Consider changing filename such that URI escaping is not necessary WARNING: ../qi.epub/OEBPS/images/VT00025 Hands_fmt7.png: Filename contains spaces. Consider changing filename such that URI escaping is not necessary WARNING: ../qi.epub: item (OEBPS/.DS_Store) exists in the zip file, but is not declared in the OPF file WARNING: ../qi.epub/OEBPS/images/VT00025 Hands_fmt9.png: Filename contains spaces. Consider changing filename such that URI escaping is not necessary WARNING: ../qi.epub: item (iTunesMetadata.plist) exists in the zip file, but is not declared in the OPF file WARNING: ../qi.epub/OEBPS/images/VT00025 Hands_fmt2.png: Filename contains spaces. Consider changing filename such that URI escaping is not necessary WARNING: ../qi.epub/OEBPS/images/VT00025 Hands_fmt3.png: Filename contains spaces. Consider changing filename such that URI escaping is not necessary WARNING: ../qi.epub/OEBPS/images/VT00025 Hands_fmt5.png: Filename contains spaces. Consider changing filename such that URI escaping is not necessary WARNING: ../qi.epub/OEBPS/images/VT00025 Hands_fmt10.png: Filename contains spaces. Consider changing filename such that URI escaping is not necessary WARNING: ../qi.epub/OEBPS/images/VT00025 Hands_fmt8.png: Filename contains spaces. Consider changing filename such that URI escaping is not necessary WARNING: ../qi.epub: item (.DS_Store) exists in the zip file, but is not declared in the OPF file WARNING: ../qi.epub/OEBPS/images/VT00025 Hands_fmt.png: Filename contains spaces. Consider changing filename such that URI escaping is not necessary WARNING: ../qi.epub/OEBPS/images/VT00025 Hands_fmt4.png: Filename contains spaces. Consider changing filename such that URI escaping is not necessary WARNING: ../qi.epub/OEBPS/images/VT00025 Hands_fmt6.png: Filename contains spaces. Consider changing filename such that URI escaping is not necessary You might try throwing the text inside a span inside the anchor tag and resetting the color there, e.g. Code:
a:link > span { color:#336666; text-decoration: none ; } Code:
<?xml version="1.0" encoding="UTF-8"?> <display_options> <platform name="*"> <option name="specified-fonts">true</option> </platform> </display_options> Last edited by dgatwood; 03-12-2013 at 11:46 PM. |
![]() |
![]() |
![]() |
#5 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,012
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
The ePub you have attached has files with filenames that have spaces. Removed the spaces from the filenames and fix accordingly.
Then you can try implementing dgatwood's suggestions. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Connoisseur
![]() Posts: 52
Karma: 10
Join Date: Jul 2010
Location: Denver, Colorado
Device: iphone, ipad, kindle, nook
|
dgatwood!!!! You rock!
<?xml version="1.0" encoding="UTF-8"?> <display_options> <platform name="*"> <option name="specified-fonts">true</option> </platform> </display_options> THAT DID IT! Thanks, T— (JSWolf, you rock too.) |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Override ePub CSS with userStyle.css? | barium | Sony Reader Dev Corner | 11 | 07-16-2011 03:25 PM |
Sigil 0.3.4 / Problème CSS entre Sigil et iPad | Grivels | Software | 10 | 07-03-2011 09:06 AM |
css pseudo elements and adjacent combinators in extra css? | ldolse | Calibre | 2 | 12-21-2010 05:09 PM |
Sony Honoring $50 Bonus | Milton | Sony Reader | 0 | 12-23-2007 08:02 PM |