View Single Post
Old 12-30-2016, 01:15 PM   #1
chaot
Head of lunatic asylum
chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.
 
chaot's Avatar
 
Posts: 349
Karma: 77620
Join Date: Jun 2012
Location: UTC +1
Device: Tolino Vision 3HD
ToC - Page numbers to the right



In ToC titles should appear left side, page numbers right side. How to do?

HTML
Code:
<div id="textbox">
  <p class="alignleft">Title A</p>
  <p class="alignright">10</p>
</div>
<div id="textbox">
  <p class="alignleft">Title B</p>
  <p class="alignright">20</p>
</div>
<div style="clear: both;"></div>
CSS
Code:
.alignleft {
  float: left;
}
.alignright {
  float: right;
}
Works fine in calibre file preview - but not in my e-reader.

Last edited by chaot; 01-03-2017 at 06:19 AM. Reason: remove HTML & CSS from code box
chaot is offline   Reply With Quote