View Single Post
Old 10-27-2015, 10:20 AM   #1
crankypants
Hmm.
crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.
 
Posts: 124
Karma: 2016606
Join Date: Oct 2015
Device: Android 4.2 Google Play Reader
Having trouble getting my H1 tags to center

Sigil 0.8.7 on Windows 8

I've hand written plenty of HTML but the browsers were not strict at all about it. XHTML seems more strict so I must be missing some detail here.

I'm trying to change the CSS for all H1 tags so they are always centered but the Sigil preview does not show them centered when I use a plain H1 tag. But when I use
Code:
<h1 style="text-align:center">blah</h1>
then it works.



Thank you.
crankypants is offline   Reply With Quote