View Full Version : would someone kindly explain this formatting code

07-01-2009, 07:32 PM
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.

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; display:oeb-page-head; oeb-column-number:1; margin-bottom:10pt}
footer {display:none; display:oeb-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}

07-02-2009, 01:35 AM
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.

Also check EBook Publisher in the wiki. there is a list of eBooks at the bottom of the page.


07-03-2009, 11:53 PM
I found the CSS tutorial at ( useful when I was learning this stuff.