Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 03-11-2013, 07:57 PM   #1
uieluck
Enthusiast
uieluck began at the beginning.
 
uieluck's Avatar
 
Posts: 46
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—
Attached Files
File Type: epub qi.epub (2.56 MB, 32 views)
uieluck is offline   Reply With Quote
Old 03-12-2013, 08:58 AM   #2
JSWolf
Suspended
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
Posts: 35,392
Karma: 16147088
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Quote:
Originally Posted by uieluck View Post
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—
Please don't say the iPad has an issue when it's not the iPad, but the app. You should be specifying which app you are having an issue with. The iPad and the app are two different things.

You could be using iBooks, Marvin, Bluefire or a few other reading apps. Without knowing which app, we may not be able to help.
JSWolf is offline   Reply With Quote
 
Enthusiast
Old 03-12-2013, 06:03 PM   #3
uieluck
Enthusiast
uieluck began at the beginning.
 
uieluck's Avatar
 
Posts: 46
Karma: 10
Join Date: Jul 2010
Location: Denver, Colorado
Device: iphone, ipad, kindle, nook
Yeah, true definitely should have specified. iBooks..
uieluck is offline   Reply With Quote
Old 03-12-2013, 11:41 PM   #4
dgatwood
Curmudgeon
dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.
 
Posts: 248
Karma: 556004
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
But I don't see anything that should I'd expect to cause styling problems.

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 ;
}
Oh, I also notice that you're missing the com.apple.ibooks.display-options.xml file. Adding that file in the META-INF folder might make this problem magically disappear:

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.
dgatwood is offline   Reply With Quote
Old 03-13-2013, 11:16 AM   #5
JSWolf
Suspended
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
Posts: 35,392
Karma: 16147088
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
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.
JSWolf is offline   Reply With Quote
Old 03-14-2013, 01:53 PM   #6
uieluck
Enthusiast
uieluck began at the beginning.
 
uieluck's Avatar
 
Posts: 46
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.)
uieluck is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 12:31 AM.


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