Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-21-2010, 11:57 AM   #1
BrianG
Member
BrianG began at the beginning.
 
Posts: 23
Karma: 22
Join Date: Dec 2009
Device: Kindle DX
extra_css - need remedial help

I'd be grateful if someone could give me a basic understanding of the EXTRA_CSS capability.

I have gotten to the point where I have finalized a recipe so that the right content is created. However, the body of the articles generate into a size and font that is too big and not particularly easy to read.

I assume that EXTRA_CSS is the answer to this, but I haven't been able to figure out how to use this. Could I get a n00B tutorial on this?

I think my problem is simple. All of the article content is contained in a single tag that is similar to the following:

Code:
<div id="articleBody">			
<p> This is the text of the article that I would like to control.
</div>

Is there any easy way for me to determine the font and size of this content when it is the output of a recipe?


Thanks in advance.
BrianG is offline   Reply With Quote
Old 01-21-2010, 12:12 PM   #2
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: 45,299
Karma: 27111240
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
extra_css just appends whatever css you specify to each downloaded file.
kovidgoyal is offline   Reply With Quote
Advert
Old 01-21-2010, 01:44 PM   #3
BrianG
Member
BrianG began at the beginning.
 
Posts: 23
Karma: 22
Join Date: Dec 2009
Device: Kindle DX
I'm not sure I understand ... Does that mean that I have an unsolvable problem?
BrianG is offline   Reply With Quote
Old 01-21-2010, 01:52 PM   #4
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: 45,299
Karma: 27111240
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The font size is controlled by the settings you have for base font size and the font size key in your conversion options.
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump


All times are GMT -4. The time now is 03:58 AM.


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