Bug #1842
RCP: 0.7.8beta: XTZ page number header CSS style
Status: | New | Start date: | 09/01/2016 | ||
---|---|---|---|---|---|
Priority: | Normal | Due date: | |||
Assignee: | - | % Done: | 80% |
||
Category: | Import | Spent time: | - | ||
Target version: | TXM 0.7.8 |
Description
Currently, the default edition encodes the page header numbers with :
<p style="color:red" align="center">- 1 -</p>
In order to be able to tune the edition styles, it would be better to transfert the header style in the default TXM.css and use a CSS element class instead.
Solution¶
1. replace <p style="color:red" align="center">- 1 -</p> by :
<p class="page-number-header">- 1 -</p>
2. add to TXM.css :
p.page-number-header { color:red; margin-left: auto; margin-right: auto; width: 1.4cm; }
3. Copy $HOME/TXM/css/TXM.css to $HOME/TXM/corpora/CORPUS/HTML/CORPUS/default/css