add modulus styling trick to the example: we found it useful, others will too
authorHenry Story <henry.story@bblfish.net>
Sun, 27 Nov 2011 20:59:52 +0100
changeset 217 d5420d74b48a
parent 216 ece4b9f9d2e5
child 218 6593536e69a3
add modulus styling trick to the example: we found it useful, others will too
spec/index-respec.html
--- a/spec/index-respec.html	Fri Nov 25 22:37:41 2011 +0100
+++ b/spec/index-respec.html	Sun Nov 27 20:59:52 2011 +0100
@@ -675,7 +675,8 @@
       &lt;dl&gt;
 
       &lt;dt&gt;Modulus (hexadecimal)&lt;/dt&gt;
-      &lt;dd property="cert:modulus" datatype="xsd:hexBinary"&gt;cb24ed85d64d794b69c701c186acc059501e856000f661c93204d8380e07191c5c8b368d2ac32a428acb970398664368dc2a867320220f755e99ca2eecdae62e8d15fb58e1b76ae59cb7ace8838394d59e7250b449176e51a494951a1c366c6217d8768d682dde78dd4d55e613f8839cf275d4c8403743e7862601f3c49a6366e12bb8f498262c3c77de19bce40b32f89ae62c3780f5b6275be337e2b3153ae2ba72a9975ae71ab724649497066b660fcf774b7543d980952d2e8586200eda4158b014e75465d91ecf93efc7ac170c11fc7246fc6ded79c37780000ac4e079f671fd4f207ad770809e0e2d7b0ef5493befe73544d8e1be3dddb52455c61391a1&lt;/dd&gt;
+      &lt;dd style="word-wrap: break-word; white-space: pre-wrap;"
+         property="cert:modulus" datatype="xsd:hexBinary"&gt;cb24ed85d64d794b69c701c186acc059501e856000f661c93204d8380e07191c5c8b368d2ac32a428acb970398664368dc2a867320220f755e99ca2eecdae62e8d15fb58e1b76ae59cb7ace8838394d59e7250b449176e51a494951a1c366c6217d8768d682dde78dd4d55e613f8839cf275d4c8403743e7862601f3c49a6366e12bb8f498262c3c77de19bce40b32f89ae62c3780f5b6275be337e2b3153ae2ba72a9975ae71ab724649497066b660fcf774b7543d980952d2e8586200eda4158b014e75465d91ecf93efc7ac170c11fc7246fc6ded79c37780000ac4e079f671fd4f207ad770809e0e2d7b0ef5493befe73544d8e1be3dddb52455c61391a1&lt;/dd&gt;
       &lt;dt&gt;Exponent (decimal)&lt;/dt&gt;
       &lt;dd property="cert:exponent" datatype="xsd:integer"&gt;65537&lt;/dd&gt;
       &lt;/dl&gt;
@@ -687,6 +688,7 @@
 &lt;/body&gt;
 &lt;/html&gt;
 </pre>
+<p>The <code>style="word-wrap: break-word; white-space: pre-wrap;"</code> attributes allow the number to be displayed on more than one line so that it will wrapped across lines and not just continue off to the right of the screen.</p>
 <p class="issue">In order to make the above modulus easy to read for humans who may wish to compare it with the modulus in their browser, one can add some javascript. Add some javascript here that adds a : between every two characters, and that splits the line up in chunks.</p>
 <p>If a WebID provider would rather prefer not to mark up his data in RDFa, but
 just provide a human readable format for users and have the RDF graph appear