doc clarifications, example fixes, grammar.
diff --git a/system/scaffolding/views/stylesheet.css b/system/scaffolding/views/stylesheet.css
index e2e3aa5..ba6ee0a 100644
--- a/system/scaffolding/views/stylesheet.css
+++ b/system/scaffolding/views/stylesheet.css
@@ -1,143 +1,143 @@
-body {
- margin: 0;
- padding: 0;
- font-family: Lucida Grande, Verdana, Geneva, Sans-serif;
- font-size: 11px;
- color: #4F5155;
- background: #fff url(<?php echo $image_url; ?>background.jpg) repeat-x left top;
-}
-
-a {
- color: #8B0D00;
- background-color: transparent;
- text-decoration: none;
- font-weight: bold;
-}
-
-a:visited {
- color: #8B0D00;
- background-color: transparent;
- text-decoration: none;
-}
-
-a:hover {
- color: #000;
- text-decoration: none;
- background-color: transparent;
-}
-
-
-#header {
- margin: 0;
- padding: 0;
-}
-
-#header_left {
- background-color: transparent;
- float: left;
- padding: 21px 0 0 32px;
- margin: 0
-}
-
-#header_right {
- background-color: transparent;
- float: right;
- text-align: right;
- padding: 35px 50px 20px 0;
- margin: 0
-}
-
-#footer {
- margin: 20px 0 15px 0;
- padding: 0;
-}
-
-#footer p {
- font-size: 10px;
- color: #999;
- text-align: center;
-}
-
-#outer {
- margin: 30px 40px 0 40px;
-}
-
-img {
- padding:0;
- border: 0;
- margin: 0;
-}
-
-.nopad {
- padding:0;
- border: 0;
- margin: 0;
-}
-
-table {
- background-color: #efefef;
-}
-
-th {
- background-color: #eee;
- font-weight: bold;
- padding: 6px;
- text-align: left;
-}
-
-td {
- background-color: #fff;
- padding: 6px;
-}
-
-
-form {
- margin: 0;
- padding: 0;
-}
-
-.input {
- font-family: Lucida Grande, Verdana, Geneva, Sans-serif;
- font-size: 11px;
- width: 600px;
- color: #333;
- border: 1px solid #B3B4BD;
- font-size: 11px;
- height: 2em;
- padding: 0;
- margin: 0;
-}
-
-.textarea {
- font-family: Lucida Grande, Verdana, Geneva, Sans-serif;
- font-size: 12px;
- width: 600px;
- color: #333;
- border: 1px solid #B3B4BD;
- padding: 0;
- margin: 0;
-}
-
-.select {
- background-color: #fff;
- font-size:  11px;
- font-weight: normal;
- color: #333;
- padding: 0;
- margin: 0 0 3px 0;
-}
-
-.checkbox {
- background-color: transparent;
- padding: 0;
- border: 0;
-}
-
-.submit {
- background-color: #8B0D00;
- color: transparent;
- font-weight: normal;
- border: 1px solid #000;
- margin: 6px 0 0 0;
- padding: 1px 5px 1px 5px;
-}
+body {

+ margin: 0;

+ padding: 0;

+ font-family: Lucida Grande, Verdana, Geneva, Sans-serif;

+ font-size: 11px;

+ color: #4F5155;

+ background: #fff url(<?php echo $image_url; ?>background.jpg) repeat-x left top;

+}

+

+a {

+ color: #8B0D00;

+ background-color: transparent;

+ text-decoration: none;

+ font-weight: bold;

+}

+

+a:visited {

+ color: #8B0D00;

+ background-color: transparent;

+ text-decoration: none;

+}

+

+a:hover {

+ color: #000;

+ text-decoration: none;

+ background-color: transparent;

+}

+

+

+#header {

+ margin: 0;

+ padding: 0;

+}

+

+#header_left {

+ background-color: transparent;

+ float: left;

+ padding: 21px 0 0 32px;

+ margin: 0

+}

+

+#header_right {

+ background-color: transparent;

+ float: right;

+ text-align: right;

+ padding: 35px 50px 20px 0;

+ margin: 0

+}

+

+#footer {

+ margin: 20px 0 15px 0;

+ padding: 0;

+}

+

+#footer p {

+ font-size: 10px;

+ color: #999;

+ text-align: center;

+}

+

+#outer {

+ margin: 30px 40px 0 40px;

+}

+

+img {

+ padding:0;

+ border: 0;

+ margin: 0;

+}

+

+.nopad {

+ padding:0;

+ border: 0;

+ margin: 0;

+}

+

+table {

+ background-color: #efefef;

+}

+

+th {

+ background-color: #eee;

+ font-weight: bold;

+ padding: 6px;

+ text-align: left;

+}

+

+td {

+ background-color: #fff;

+ padding: 6px;

+}

+

+

+form {

+ margin: 0;

+ padding: 0;

+}

+

+.input {

+ font-family: Lucida Grande, Verdana, Geneva, Sans-serif;

+ font-size: 11px;

+ width: 600px;

+ color: #333;

+ border: 1px solid #B3B4BD;

+ font-size: 11px;

+ height: 2em;

+ padding: 0;

+ margin: 0;

+}

+

+.textarea {

+ font-family: Lucida Grande, Verdana, Geneva, Sans-serif;

+ font-size: 12px;

+ width: 600px;

+ color: #333;

+ border: 1px solid #B3B4BD;

+ padding: 0;

+ margin: 0;

+}

+

+.select {

+ background-color: #fff;

+ font-size:  11px;

+ font-weight: normal;

+ color: #333;

+ padding: 0;

+ margin: 0 0 3px 0;

+}

+

+.checkbox {

+ background-color: transparent;

+ padding: 0;

+ border: 0;

+}

+

+.submit {

+ background-color: #8B0D00;

+ color: #FFF;

+ font-weight: normal;

+ border: 1px solid #000;

+ margin: 6px 0 0 0;

+ padding: 1px 5px 1px 5px;

+}

diff --git a/user_guide/libraries/parser.html b/user_guide/libraries/parser.html
index 48af7ec..d72891a 100644
--- a/user_guide/libraries/parser.html
+++ b/user_guide/libraries/parser.html
@@ -86,10 +86,8 @@
 since using pure PHP in your view pages lets them run a little faster.  However, some developers prefer to use a template engine if

 they work with designers who they feel would find some confusion working with PHP.</p>

 

-<p><strong>Also Note:</strong> The Template Parser Class is <strong>not</strong> not a

-full-blown template parsing solution. We've kept it very lean on purpose in order to maintain maximum performance.

-

-</p>

+<p><strong>Also Note:</strong> The Template Parser Class is <strong>not</strong>  a

+full-blown template parsing solution. We've kept it very lean on purpose in order to maintain maximum performance.</p>

 

 

 <h2>Initializing the Class</h2>

@@ -104,7 +102,7 @@
 

 <h2>$this->parser->parse()</h2>

 

-<p>This variable accepts a template name and data array as input, and it generates a parsed version.  Example:</p>

+<p>This method accepts a template name and data array as input, and it generates a parsed version.  Example:</p>

 

 <code>$this->load->library('parser');<br />

 <br />

@@ -173,7 +171,7 @@
 $this->parser->parse('blog_template', $data);</code>

 

 <p>If your "pair" data is coming from a database result, which is already a multi-dimensional array, you can simply

-use the database result function:</p>

+use the database result_array() function:</p>

 

 <code>

 $query = $this->db->query("SELECT * FROM blog");<br />

diff --git a/user_guide/libraries/sessions.html b/user_guide/libraries/sessions.html
index a3ca588..69cc6ba 100644
--- a/user_guide/libraries/sessions.html
+++ b/user_guide/libraries/sessions.html
@@ -123,7 +123,7 @@
 

 <p>Note: Session cookies are only updated every five minutes by default to reduce processor load.  If you repeatedly reload a page

 you'll notice that the "last activity" time only updates if five minutes or more has passed since the last time

-the cookie was written. This time is configurable my changing the $config['time_to_update'] line in your system/config/config.php file.</p>

+the cookie was written. This time is configurable by changing the $config['time_to_update'] line in your system/config/config.php file.</p>

 

 <h2>Retrieving Session Data</h2>

 

diff --git a/user_guide/libraries/trackback.html b/user_guide/libraries/trackback.html
index ecc9c21..513cbf2 100644
--- a/user_guide/libraries/trackback.html
+++ b/user_guide/libraries/trackback.html
@@ -200,7 +200,7 @@
 

 <code>http://www.your-site.com/index.php/trackback/receive/<samp>entry_id</samp></code>

 

-<p>Notice the entry_id is in the third URI, which you can retrieve using:</p>

+<p>Notice the entry_id is in the third URI segment, which you can retrieve using:</p>

 

 <code>$this->uri->segment(3);</code>

 

diff --git a/user_guide/libraries/validation.html b/user_guide/libraries/validation.html
index bf9796f..06ab665 100644
--- a/user_guide/libraries/validation.html
+++ b/user_guide/libraries/validation.html
@@ -319,7 +319,7 @@
 $rules['passconf']	= "<kbd>trim</kbd>|required";<br />

 $rules['email']		= "<kbd>trim</kbd>|required|valid_email";</code>

 

-<p>In the above, we are "trimming" the fields, converting the password to MD5, and running the username through

+<p>In the above example, we are "trimming" the fields, converting the password to MD5, and running the username through

 the "xss_clean" function, which removes malicious data.</p>

 

 <p class="important"><strong>Any native PHP function that accepts one parameter can be used as a rule, like <dfn>htmlspecialchars</dfn>,

@@ -446,7 +446,7 @@
 }</textarea>

 

 

-<p>Now open your <dfn>myform.php</dfn> view file and update the value in each field so that it has an object corresponding to its name:</p>

+<p>Now open your <dfn>myform.php</dfn> view file and update the value in each field so that it has an attribute corresponding to its name:</p>

 

 

 <textarea class="textarea" style="width:100%" cols="50" rows="30">