View Single Post
Old 12-19-2015, 09:24 PM   #8
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,356
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
The main idea to keep in mind is that any tags you use in your html file should be structural in nature: <h1-6> for headers, <p> for paragraphs, <div> for non-paragraphs or other structural divisions, <blockquote> around block quotes, and <em> or <strong> to identify words or phrases that should be emphasized or prominent. Keep 99.99% all styling in your style sheet.

Devices/apps usually have a default styling, but as mentioned above, it will not look good. You should always tell the device how you want the book to look - even if some devices ignore your wishes.

The way you tell it how you want it to look is using the css stylesheet. You link the stylesheet to your html file by including:

<link href="../Styles/styles.css" type="text/css" rel="stylesheet"/>

in the head of the html file...just replace "../Styles/styles.css" with the path and file name of your css file.

Here is a great resource to help teach yourself (or just reference) all the things you can do with CSS: W3Schools

Cheers,
Turtle91 is offline   Reply With Quote