View Single Post
Old 04-12-2016, 12:49 PM   #12
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: 31,106
Karma: 60406498
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 bentleymaniac View Post
BTW, what's the usual formatting for html and css in an epub? I was taught to tab in for each command, but sigil and most ebooks I have looked at seem to write everything without tabs.
ie:
The way I learned html/css
Code:
<html>
<body>
    <p class="...">
        <span>...</span>
    </p>
</body>
</html>
but sigil seems to do everything flat
Code:
<html>
<body>
<p class="...">
<span>...</span>
</p>
</body>
</html>
which is correct/better?
Don't worry about YOU indenting while entering code, Indented HTML is for you (unlike some other languages)
If you just want it Pretty, right click in the page: Reformat:<choice>
theducks is offline   Reply With Quote