View Single Post
Old 10-22-2010, 11:32 AM   #1
Phanes
Junior Member
Phanes began at the beginning.
 
Phanes's Avatar
 
Posts: 4
Karma: 10
Join Date: Oct 2010
Device: a few
ADE won't use Sigil css file

I'm having trouble getting ADE to use the css file that I created in Sigil. In Book View, everything looks fine. But when I open the epub in ADE, the formatting is gone and ADE displays the book in default
.
The individual chapters have:

Code:
  <style type="text/css">
  <link rel="stylesheet" href="../Styles/main.css" type="text/css"/>
  </style>
The css file has:

Code:
  <style type="text/css">

  h3.center {text-align: center;}

  h4.center {text-align: center;}

  p.sgc-3 {text-align: center;}

  p.sgc-5 {font-style: italic; text-align: justify; margin: 0;}

  p.noind {text-align: justify; margin-top: 0; margin-bottom: 0; padding: 0; text-indent: .25in;}

  blockquote.sgc-11 {margin: 0 0 40px; border: none; padding: 0px;}

  </style>
Any ideas?
Phanes is offline   Reply With Quote