Set word spacing : Word spacing « CSS Style « XML






Set word spacing


File: Data.xml
<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="Style.css"?>
<POEM>
  <TITLE>title</TITLE>
  <AUTHOR>
    author 1
    <AUTHOR-BIO>information</AUTHOR-BIO>
  </AUTHOR>
  <DATE>2008</DATE>
  <IMAGE />
  <PARAGRAPH>
    <FIRSTLINE>line 1</FIRSTLINE>
    <LINE>line 2</LINE>
    <LINE>line 3</LINE>
    <LINE>line 4</LINE>
    <LINE>line 5</LINE>
    <LASTLINE>line 6</LASTLINE>
  </PARAGRAPH>
  <IMAGE />
  <PARAGRAPH>
    <FIRSTLINE>line 7</FIRSTLINE>
    <LINE>line 8</LINE>
    <LINE>line 9</LINE>
    <LINE>line 10</LINE>
    <LINE>line 11</LINE>
    <LASTLINE>line 12</LASTLINE>
  </PARAGRAPH>
  <IMAGE />
  <PARAGRAPH>
    <FIRSTLINE>line 1</FIRSTLINE>
    <LINE>line 2</LINE>
    <LINE>line 3</LINE>
    <LINE>line 4</LINE>
    <LASTLINE>last line</LASTLINE>
  </PARAGRAPH>
  <IMAGE />
  <PARAGRAPH>
    <FIRSTLINE>1</FIRSTLINE>
    <LINE>2</LINE>
    <LINE>3</LINE>
    <LINE>4</LINE>
    <LINE>5</LINE>
    <LASTLINE>last</LASTLINE>
  </PARAGRAPH>
</POEM>

File: Style.css

LINE{
   font-size:16pt;
   font-weight:bold;
   letter-spacing:.25em
}

LASTLINE {
    word-spacing:.25em
}

 








Related examples in the same category