View Single Post
Old 05-14-2010, 06:03 AM   #4
crutledge
eBook FANatic
crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.
 
crutledge's Avatar
 
Posts: 18,301
Karma: 16078357
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
Quote:
Originally Posted by paulpeer View Post
Strange. If they are, there must be some instruction in the CSS-file or CSS-headers of the original HTML. Try adding this to the CSS-file if you want headings to be centered:
That was my thinking, also. The style sheet seems to cover it but Sigil seems to pay no attention. Below, is the style sheet from sigil.

Code:
<style type="text/css">
BODY {
        MARGIN-LEFT: 15%; MARGIN-RIGHT: 15%
  }
  P {
        TEXT-ALIGN: justify; MARGIN-TOP: 0.75em; MARGIN-BOTTOM: 0.75em
  }
  H1 {
        TEXT-ALIGN: center; CLEAR: both
  }
  H2 {
        TEXT-ALIGN: center; CLEAR: both
  }
  H3 {
        TEXT-ALIGN: center; CLEAR: both
  }
  H5 {
        TEXT-ALIGN: center; CLEAR: both
  }
  H6 {
        TEXT-ALIGN: center; CLEAR: both
  }
  H4 {
        TEXT-ALIGN: center; CLEAR: both; FONT-WEIGHT: normal
  }
  HR {
        MARGIN: 2em auto; WIDTH: 45%; HEIGHT: 1px; CLEAR: both
  }
  A:link {
        COLOR: navy; TEXT-DECORATION: none
  }
  A:visited {
        COLOR: maroon; TEXT-DECORATION: none
  }
  A:hover {
        TEXT-DECORATION: underline
  }
  A:active {
        COLOR: navy
  }
  .pagenum {
        POSITION: absolute; TEXT-ALIGN: right; COLOR: gray; FONT-SIZE: smaller; LEFT: 92%
  }
  .hoverlink {
        BORDER-BOTTOM-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-TOP-STYLE: none; BORDER-LEFT-STYLE: none
  }
  .hoverbox {
        BORDER-BOTTOM: gray 0.07em dotted
  }
  .center {
        TEXT-ALIGN: center
  }
  .right {
        TEXT-ALIGN: right
  }
  .left {
        TEXT-ALIGN: left
  }
  .dropcap {
        TEXT-INDENT: -0.5em; MARGIN-LEFT: 0px
  }
  .frstltr {
        DISPLAY: none
  }
  .smcap {
        FONT-VARIANT: small-caps
  }
  .smfont {
        FONT-SIZE: smaller
  }
  .lgfont {
        FONT-SIZE: larger
  }
  .serfont {
        FONT-FAMILY: serif
  }
  .sansfont {
        FONT-FAMILY: sans-serif
  }
  .figcenter {
        TEXT-ALIGN: center; MARGIN: auto
  }
  .figcenter P {
        TEXT-ALIGN: center; FONT-SIZE: smaller; FONT-WEIGHT: bold
  }
  .figcap {
        TEXT-ALIGN: center; PADDING-BOTTOM: 0px; MARGIN: -0.25em 0.5em 0px 0px; PADDING-LEFT: 0px; WIDTH: auto; PADDING-RIGHT: 0px; FLOAT: left; CLEAR: left; PADDING-TOP: 0px
  }
  .tranotes {
        PADDING-LEFT: 1em; WIDTH: 85%; PADDING-RIGHT: 1em; BACKGROUND: #fbf5e6; MARGIN-LEFT: auto; FONT-SIZE: smaller; MARGIN-RIGHT: auto
  }

  a.sgc-3 {font-weight: bold}
  h2.sgc-2 {font-style: italic}
  a.sgc-1 {font-style: italic}
</style>
crutledge is offline   Reply With Quote