View Single Post
Old 04-08-2015, 11:16 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,914
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by oiver55 View Post
I am working on publishing a book in Sigil and throughout the book there are little bits of info I would like seperated with its own page and centered on the screen. Is there away to have the text centered to the screen across different display devices? I mean I could press the enter button until it looks just about right, but I wanted to know if there was another way to go about doing this with code




For More Insight:

http://postimg.org/image/gc3d3l4ft/

http://postimg.org/image/thiv9oybd/
Just Press Enter

(Learn to) Use the stylesheet

.title {
font-size: 2em;
margin-top: 10%;
text-align: center;
}

HTML/CSS has no awareness of screen height (just as there is no limit on how long the scroll is)

the 10% I used above is relative to the WIDTH (Many displays are 3:4)
( my hint to get close to your goal)

A new file is the simple way to start a new Screen (stop thinking 'page' and work by file/section )

Semantics MUST be applied on a ONE per PER file basis
Only 1 Titlepage
Only 1 copyright-page
...

It is convenient to also do chapter per file rather than work with a monster length file. Most of the tools that work on a whole file can be used for a whole GROUP of files. Search, Merge, Link_CSS, Delete ,
theducks is offline   Reply With Quote