View Single Post
Old 04-28-2008, 09:55 AM   #4
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
Quote:
Originally Posted by IceHand View Post
No, the Cybook and Mobipocket do support style and class attributes to some extent, e.g. <h1 style="margin-top:2em;">Header</h1> works fine. How did you try to make margins?

Horizontal rules seem to be always centered, yes.
Paragraph with larger margins: <p style="margin:5%">Text</p> but for some reason this does not affect the right margin.

I don't know if there's a list of all the supported CSS attributes, I always did it with trial and error.
Mobipocket has a tutorial and reference section on their site. For example:
http://www.mobipocket.com/dev/articl...TagRef_OEB.htm
defines the html stuff the format understands and shows where the Style tag works. The tutorial starts at: http://www.mobipocket.com/dev/articl...eFolder=prcgen

Dale
DaleDe is offline   Reply With Quote