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

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > Astak EZReader

Notices

Reply
 
Thread Tools Search this Thread
Old 06-06-2010, 10:37 AM   #1
Sunspark
Zealot
Sunspark plays well with othersSunspark plays well with othersSunspark plays well with othersSunspark plays well with othersSunspark plays well with othersSunspark plays well with othersSunspark plays well with othersSunspark plays well with othersSunspark plays well with othersSunspark plays well with othersSunspark plays well with others
 
Posts: 122
Karma: 2600
Join Date: Sep 2009
Device: EZ Reader Pocket PRO
How can I make a left-justify CSS for CoolReader?

Hi:

I'm reading a book in html format at the moment and I'm trying to get rid of the justified text.

I've made two css files called htm.css and html.css and placed them in the crengine folder on the SD card.

Both contain the same information:

body { text-align: left; }
p { text-align: inherit; }

It doesn't work, the book is still justified. What am I doing wrong?

Thanks.
Sunspark is offline   Reply With Quote
Old 06-07-2010, 11:00 AM   #2
tmclough
Connoisseur
tmclough ought to be getting tired of karma fortunes by now.tmclough ought to be getting tired of karma fortunes by now.tmclough ought to be getting tired of karma fortunes by now.tmclough ought to be getting tired of karma fortunes by now.tmclough ought to be getting tired of karma fortunes by now.tmclough ought to be getting tired of karma fortunes by now.tmclough ought to be getting tired of karma fortunes by now.tmclough ought to be getting tired of karma fortunes by now.tmclough ought to be getting tired of karma fortunes by now.tmclough ought to be getting tired of karma fortunes by now.tmclough ought to be getting tired of karma fortunes by now.
 
Posts: 66
Karma: 500010
Join Date: Feb 2010
Location: Greenfield, MA
Device: Astak EZ Reader Pocket PRO
What happens if you replace
Code:
p { text-align: inherit; }
with
Code:
p { text-align: left; }
?

From my understanding, CoolReader uses a subset of the full CSS standard, so maybe (part of) the problem is that it doesn't understand "inherit"?
tmclough is offline   Reply With Quote
Advert
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Formatting an eBook - Left justify or Justified simonroyle General Discussions 145 07-06-2020 07:38 PM
Can you left justify text with the 360? maxbookworm PocketBook 11 05-31-2010 10:49 AM
Tinkering With Coolreader CSS (and Some Original Writing For Yew) ThomasMcKean Astak EZReader 20 05-11-2010 10:42 AM
.CSS [CoolReader] Programming Demystified Dr. Drib Astak EZReader 6 03-18-2010 01:27 AM
Using CSS in Word to make a Drop Cap work in an Epub brewt ePub 3 01-31-2009 06:00 PM


All times are GMT -4. The time now is 07:36 PM.


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