Thread: Using PRE tag
View Single Post
Old 06-13-2015, 06:29 PM   #1
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
Using PRE tag

Hi!

I'm building some books (Gamebooks).
One of the book uses ASCII Art ("Sąsiedzi Lonesbury"). I would like to do it the way author made it, so want to include those ASCII arts.
Nevertheless, by using <pre> (to be accurate <pre class="pre-styl">) tags, i get something far from what i want - letters are too big, so lines splits into two - it makes images unreadable.
I wanted to make those letters smaller by including

Code:
.pre-styl {
				page-break-inside: avoid;
				vertical-align: middle;
				font-size: 30%;
				line-height: 30%;
			}
in my CSS file, but when converting epub to mobi, kindlegen tells me:
Code:
Info(cssparser):I10004: @rules other than @import, @charset and @font-face are not supported.
What can i do then?

Best regards!
San Zamoyski is offline   Reply With Quote