View Single Post
Old 11-27-2017, 02:08 PM   #2
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,844
Karma: 146918083
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Here is the CSS code.
Code:
body {
  widows: 1;
  orphans: 1;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
  text-align: justify;
}
p {
  margin-top: 0;
  margin-bottom: 0;
  text-indent: 1.2em;
}
.first-letter {
  font-size: 2em;
  color: #bd2716;
  line-height: 0;
}
h2 {
  margin-top: 1em;
  margin-bottom: 1em;
  text-align: center;
}
.noindent {
  text-indent: 0;
}
Here is the HTML code.
Code:
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>gfhgjjhvbmb</title>
  <link href="css/s0_style.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<h2>Chapter One</h2>
<p class="noindent"><span class="first-letter>T</span>ext various text</p>
<p>Some more text here</p>
</body>
</html>
That should work.

Last edited by JSWolf; 11-28-2017 at 06:05 AM.
JSWolf is offline   Reply With Quote