Thread: Using PRE tag
View Single Post
Old 06-14-2015, 03:10 AM   #3
San Zamoyski
Enthusiast
San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.
 
Posts: 48
Karma: 41612
Join Date: Jan 2015
Location: Poland, Warsaw
Device: Kindle 3G
Entire CSS*:
Code:
			@font-face {
				font-family: "EB Garamond RG";
				src: url('. $adres_czcionek. $nazwa_czcionki. '-Regular.ttf);
			}
			@font-face {
				font-family: "EB Garamond RG";
				src: url('. $adres_czcionek. $nazwa_czcionki. '-Bold.ttf);
				font-weight: bold;
			}
			@font-face {
				font-family: "EB Garamond RG";
				src: url('. $adres_czcionek. $nazwa_czcionki. '-Italic.ttf);
				font-style: italic;
			}
			@font-face {
				font-family: "EB Garamond RG";
				src: url('. $adres_czcionek. $nazwa_czcionki. '-Bold-Italic.ttf);
				font-style: italic;
				font-weight: bold;
			}
			
			body { 
				font-family: "EB Garamond RG";
			}

			.pre-styl {
				page-break-inside: avoid;
				vertical-align: middle;
				font-size: 30%;
				line-height: 30%;
			}
*replace $adres_czcionek. $nazwa_czcionki with font adress and name.

Yes, i do belive that i do not want line-height at 30%, it works for epub at 70%, but i just wanted to make sure it is not working.
San Zamoyski is offline   Reply With Quote