View Single Post
Old 02-09-2011, 01:01 PM   #1
Barty
doofus
Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.
 
Barty's Avatar
 
Posts: 2,522
Karma: 13088847
Join Date: Sep 2010
Device: Kobo Libra 2, Kindle Voyage
why doesn't this CSS work?

cinverting html->mobi, I have this css

Code:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<HTML>
<HEAD>
	<TITLE>xxxxxxxxxxxxxxxx</TITLE>
<style TYPE="text/css">
h3.chap {font-size:1.5em; font-weight:bold; font-style:italic; page-break-before:always;}
</style>
</HEAD>
<BODY>
<h3 class="chap">Chapter 1</h3>
the font is bold but not bold and italic. also, the page-break-before is ignored. what am I doing wrong?
Barty is offline   Reply With Quote