View Single Post
Old 12-03-2015, 12:46 PM   #11
crankypants
Hmm.
crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.
 
Posts: 124
Karma: 2016606
Join Date: Oct 2015
Device: Android 4.2 Google Play Reader
Well, it appears the XHTML files do not include the CSS files. I thought the ereader handled that. Here's a sample XHTML header.

Code:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops">
<head>
<title>My Test Title</title>
</head>
<body>
I will have to put a reference to the CSS file in each XHTML file now thten get back to you all.

EDIT: Yep, that was it. I forgot to add the style sheet to each XHTML file, since I'm making my own program. EPUBreader supports solid underlines, dashed, dotted, and 'underline overline'. I haven't tested anything else yet. It also supports 'text-align:center' for centering.

New hdr in every XHTML file:
Code:
<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops">
<head>
<title>My Test Title</title>
<link rel="stylesheet" type="text/css" href="../styles/style01.css"/>
</head>
<body>

Thank you!

Last edited by crankypants; 12-03-2015 at 01:15 PM.
crankypants is offline   Reply With Quote