07-01-2009, 07:32 PM | #1 |
Junior Member
Posts: 7
Karma: 10
Join Date: Jun 2009
Device: eBookwise 1150
|
would someone kindly explain this formatting code
i know this is a lot but i am sure there are or will be other individuals that would like to understand this more. i especially would like to understand the fn and sp font parameters, abbreviations and why some of the coding seems redundant such as font size and margins in more than one place. anything you are willing to explain will be appreciated.
<style> body {margin-left:1pt; margin-right:1pt; x-sbp-widow-push:1; x-sbp-orphan-pull:1} td {vertical-align:top} table.hdr {width:100%; border:none; margin-left:0pt; margin-right:0pt} td.hdrl {text-align:left} td.hdrc {text-align:center} td.hdrr {text-align:right} .plain {text-decoration:none; text-align:justify; font-style:none; font-weight:none; font-size:medium; font-family:serif; color:#000000} header {display:none; displayeb-page-head; oeb-column-number:1; margin-bottom:10pt} footer {display:none; displayeb-page-foot; oeb-column-number:1; margin-top:10pt} pbrk {page-break-before:always} .KWN {page-break-inside:avoid} fn {font-size:+1} sp {font-size:+3} .adv2lm {sbp-advance:left} p {margin-top:0pt; margin-bottom:0pt; text-align:left; text-decoration:none; font-style:none; font-weight:none; font-size:medium; font-family:serif; color:#000000} a {text-decoration:none} </style> |
07-02-2009, 01:35 AM | #2 |
Grand Sorcerer
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
|
This is all CSS stuff. CSS can be a bit tricky to learn but it is used in lots of thinks these days. Start with the CSS wiki page.
I would also suggest you download this reference manual for your unit. https://www.mobileread.com/forums/showthread.php?t=13795 Also check EBook Publisher in the wiki. there is a list of eBooks at the bottom of the page. Dale |
Advert | |
|
07-03-2009, 11:53 PM | #3 |
Wizard
Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
|
I found the CSS tutorial at w3schools.com useful when I was learning this stuff.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindly need help in veryfing a possible Amazon ebook formatting eror | Diodato | Amazon Kindle | 3 | 08-19-2010 03:44 PM |
Kindly Kindle Keeper? | neilmarr | Amazon Kindle | 2 | 04-28-2010 10:43 PM |
Let's create a source code repository for DR 800 related code? | jraf | iRex | 3 | 03-11-2010 01:26 PM |
Would someone kindly test the attached file, using a mac and a kindle? | anthonymoody | Amazon Kindle | 22 | 02-09-2009 05:42 PM |
Kindly now fully out of stock, no estimated delivery date | ajju | Amazon Kindle | 3 | 11-28-2007 12:38 AM |