Thread: CSS Help Please
View Single Post
Old 06-23-2011, 07:49 AM   #1
Japes
Addict
Japes ought to be getting tired of karma fortunes by now.Japes ought to be getting tired of karma fortunes by now.Japes ought to be getting tired of karma fortunes by now.Japes ought to be getting tired of karma fortunes by now.Japes ought to be getting tired of karma fortunes by now.Japes ought to be getting tired of karma fortunes by now.Japes ought to be getting tired of karma fortunes by now.Japes ought to be getting tired of karma fortunes by now.Japes ought to be getting tired of karma fortunes by now.Japes ought to be getting tired of karma fortunes by now.Japes ought to be getting tired of karma fortunes by now.
 
Posts: 303
Karma: 1033852
Join Date: Jun 2011
Device: Sony PRS-350,Sony PRS-950,Pocketbook 360+,B&N Nook Simple Touch Reader
CSS Help Please

Ok, so I have PRS+ installed. Below is an example CSS file for one of the fonts that I installed. The problem is that, regardless of what I set line height to, nothing at all seems to actually change with regards to line height. I've tinkered with making it huge (just to see if it changes anything) and tiny, and nothing changes. Can anyone help?








@font-face {
font-family: "Vollkorn";
font-weight: normal;
font-style: normal;
src: url(res:///Data/fonts/Vollkorn-Regular.ttf);
}

@font-face {
font-family: "Vollkorn";
font-weight: bold;
font-style: normal;
src: url(res:///Data/fonts/Vollkorn-Bold.ttf);
}

@font-face {
font-family: "Vollkorn";
font-weight: normal;
font-style: italic;
src: url(res:///Data/fonts/Vollkorn-Italic.ttf);
}

@font-face {
font-family: "Vollkorn";
font-weight: bold;
font-style: italic;
src: url(res:///Data/fonts/Vollkorn-BoldItalic.ttf);
}

body {
font-family: "Vollkorn"; line-height: 1.9em
}

p {
line-height: 1.9em !important;
text-indent: 1.5em !important;
}

html {
font-family: Vollkorn !important;
}

.mainBody {
font-family: Vollkorn !important;
}

.calibre {
font-family: Vollkorn !important;
}
Japes is offline   Reply With Quote