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
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:39] (current) – [Example] 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>
Line 40: Line 40:
 <html><p></html>Holberg half rose from his seat and took the proffered hand. “I’ve been pretty busy of late,” he said by way of apology. “Moving around a lot too.” He waved Darius into a chair, re-seating himself in the process. “I’m not so old that I can’t use email. You could have explained what it is you need. You know that email was invented for the likes of me,” he added with a  half smile. “What can I do for you Mr Darius?”<html></p></html> <html><p></html>Holberg half rose from his seat and took the proffered hand. “I’ve been pretty busy of late,” he said by way of apology. “Moving around a lot too.” He waved Darius into a chair, re-seating himself in the process. “I’m not so old that I can’t use email. You could have explained what it is you need. You know that email was invented for the likes of me,” he added with a  half smile. “What can I do for you Mr Darius?”<html></p></html>
  
-<html><p></html>“I suppose I could have,” Darius agreed affably. “But then you’d think I was a crank and would have ignored me. I’m rather interested in your current research.”<html></p></html>+<html><p></html>“I suppose I could have,” Darius agreed affably. “But then you’d think I was a crank and ignored me. I’m rather interested in your current research.”<html></p></html>
  
 <html><p></html>The smile on Holberg’s face faltered for a moment. “I’m not a Professor anymore you know. I resigned my post at the university.”<html></p></html> <html><p></html>The smile on Holberg’s face faltered for a moment. “I’m not a Professor anymore you know. I resigned my post at the university.”<html></p></html>
blog/articles_on_writing/spacing_indents_4_stories.1552959972.txt.gz · Last modified: 2019/03/19 01:46 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