View Single Post
Old 04-04-2011, 07:42 PM   #1
condor
Member
condor began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Mar 2011
Device: Nook Color
EPUB files formatted okay XHTML not so much

I'm trying to create a single XHTML file with inline CSS (in the head) that behaves like an EPUB does on the screen. The epub text fills the screen perfectly without going off the screen. I'm trying to create a generic XHTML file that is formatted on the screen the same way as the EPUB files I use.

But I can't get xhtml to behave the same way. The xhtml lets me slide the text leftward off the screen and if I make the text really small it will leave the right side of the screen bare. An epub won't do either of these things.

I'm not quite certain what I'm missing. The main difference is that I'm trying to include the css code in the head of the xhtml file rather than calling an external css file. I've tried to follow all the guidelines about putting css in the head of a file.

I suppose that I could see if I can make a generic external css file and put it in the same folder as all my xhtml files, to see if that makes any difference.

Has anyone else dealt with this?
condor is offline   Reply With Quote