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-20-2011, 04:32 AM   #1
therealdrag0
Junior Member
therealdrag0 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2011
Device: iPod Touch
CSS not applying correctly in E-Book Viewer.

Just so. Both the background color and margin doesn't seem to be working, while the font color and justification is working.

Thoughts?

Thanks,
Zachariah
Attached Thumbnails
Click image for larger version

Name:	CSS Application.png
Views:	348
Size:	53.6 KB
ID:	77988  
therealdrag0 is offline   Reply With Quote
Old 10-20-2011, 09:30 AM   #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: 29,803
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
background-color: blue; (or your color)

might work
theducks is offline   Reply With Quote
Advert
Old 10-20-2011, 09:34 AM   #3
therealdrag0
Junior Member
therealdrag0 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2011
Device: iPod Touch
Nada. Tried it.
therealdrag0 is offline   Reply With Quote
Old 10-20-2011, 09:55 AM   #4
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: 29,803
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:
Originally Posted by therealdrag0 View Post
Nada. Tried it.
Just noticed: I-pod

Apple does not implement the full EPUB/CSS standard
(there may be a list of the 'quirks' somewhere)
theducks is offline   Reply With Quote
Old 10-20-2011, 09:59 AM   #5
therealdrag0
Junior Member
therealdrag0 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2011
Device: iPod Touch
Sorry, what does iPod and Apple have to do with it?
therealdrag0 is offline   Reply With Quote
Advert
Old 10-20-2011, 10:38 AM   #6
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: 29,803
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:
Originally Posted by therealdrag0 View Post
Sorry, what does iPod and Apple have to do with it?
I thought this problem was on your device

closer look shows the Calibre Viewer.

Sorry, I make my changes in the regular CSS and don't ever use the viewer override

BTW I mis-read the title and thought a (regular) CSS setting did not Show was your problem

Last edited by theducks; 10-20-2011 at 10:41 AM. Reason: more
theducks is offline   Reply With Quote
Old 10-20-2011, 11:19 AM   #7
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Make sure you are sticking !important on your custom css rules. See the calibre blog for examples. http://blog.calibre-ebook.com/2011/0...re-viewer.html

Last edited by kovidgoyal; 10-20-2011 at 11:27 AM.
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom CSS Stylesheets for Calibre's Viewer Ralob Viewer 373 08-21-2023 03:24 PM
Inline css not handled correctly by HTML to epub? kiwidude Conversion 7 04-04-2011 09:59 AM
Converted ePub file displays correctly in Calibre Viewer, but not on Sony library addict Conversion 6 03-24-2011 09:58 AM
# user css for viewer.py/ ebook-viewer/ prs-650 tscamera Calibre 0 01-02-2011 06:28 PM
Amazon applying for in-book advertisement patent for Kindle dreams News 57 07-13-2009 11:52 AM


All times are GMT -4. The time now is 10:14 PM.


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