View Single Post
Old 01-28-2014, 03:11 PM   #1
SeaCanary
Enthusiast
SeaCanary began at the beginning.
 
SeaCanary's Avatar
 
Posts: 34
Karma: 10
Join Date: Jan 2014
Device: Nook
Where To Put <style type="text/css"> Code

I built an epub file that has many html files in it. Every html file has the following code.
Code:
<head>
  <title>Only Remembered</title>
  <link href="../Styles/stylesheet.css" rel="stylesheet" type="text/css"/>
  <link href="../Styles/page_styles.css" rel="stylesheet" type="text/css"/>
  
<style type="text/css">
  h2.sgc-1 {text-align: center;}
  h3.sgc-2 {text-align: center;}
  body.sgc-3 {word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;}
</style>
</head>
Can I put the code in the style section in just one place in the epub document or does it have to be in each html file.?
SeaCanary is offline   Reply With Quote