Philip P. Ide

Author, programmer, science enthusiast, half-wit.
Life is sweet. Have you tasted it lately?

User Tools

Site Tools


blog:articles_on_writing:spacing_indents_4_stories

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
blog:articles_on_writing:spacing_indents_4_stories [2019/03/19 01:46] Phil Ideblog:articles_on_writing:spacing_indents_4_stories [2019/05/15 14:37] – [Proper Paragraph Spacing and Indenting on Web Pages] Phil Ide
Line 20: Line 20:
 <code css> <code css>
  div.story {  div.story {
- width: 60%;+ width: 60%;  /* or use px or em for fixed width */
  }  }
  .story p {  .story p {
Line 33: Line 33:
  }  }
 </code> </code>
-Simply wrap your story in a <code><div class=story></div></code> tag, and enclose each paragraph as usual in <code><p></p></code> pairs. The css can be located in a style sheet, or embedded in <code><style><?style><?code> tags in the page.+Simply wrap your story in a <code><div class=story></div></code> tag, and enclose each paragraph as usual in <code><p></p></code> pairs. The css can be located in a style sheet, or embedded in <code><style></style></code> tags in the page.
 ==== Example ==== ==== Example ====
 <html><div class=story></html> <html><div class=story></html>
blog/articles_on_writing/spacing_indents_4_stories.txt · Last modified: 2019/05/15 14:39 by Phil Ide

Except where otherwise noted, content on this wiki is licensed under the following license: Copyright © Phil Ide
Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki