<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.tei-c.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Brettz9</id>
	<title>TEIWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.tei-c.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Brettz9"/>
	<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Special:Contributions/Brettz9"/>
	<updated>2026-04-21T22:09:17Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.32.0</generator>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=HTML5_Microdata_TEI_Serialization&amp;diff=9524</id>
		<title>HTML5 Microdata TEI Serialization</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=HTML5_Microdata_TEI_Serialization&amp;diff=9524"/>
		<updated>2011-06-10T05:27:34Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: /* Advantages of editing original texts in TEI XML (or use cases for sometimes converting such TEI-enriched HTML5 to TEI XML) */ +XBL&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[http://www.w3.org/TR/microdata/ HTML5 Microdata specification] offers the ability to add semantics to HTML, including the ability to specify a particular namespace (in HTML5, called an &amp;quot;item type&amp;quot;), offering the potential for TEI to be encoded in HTML5 without loss of any semantic information. &lt;br /&gt;
&lt;br /&gt;
A collaboration between Google, Microsoft, and Yahoo, [http://schema.org Schema.org], is pushing for adoption over other offered alternatives such as RDFa or Microformats, citing the complexity of the former and the lack of open extensibility (namespacing) of the latter, and with their ability to offer search tools (as [http://www.google.com/support/webmasters/bin/answer.py?answer=99170 Google's]) to take advantage of this information, it seems increasingly likely that this may be the ultimate means of encoding enhanced semantics in regular HTML, thereby offering a compelling argument for allowing TEI texts to be offered in such a serialization.&lt;br /&gt;
&lt;br /&gt;
The question then becomes, when and where to use TEI XML and when and where (and how) to use such a serialization (especially once a particular approach for serializing may be formalized).&lt;br /&gt;
&lt;br /&gt;
Note that in discussing the advantages of one format over the other, using one in one environment does not preclude the possibility of converting between the two formats. For example, one might create texts in TEI XML (including inside web-based editors), share them as HTML5 Microdata to take advantage of search engine discoverability, collaborative HTML editing tools which only are built to recognize HTML (e.g., wikis), and/or convert HTML5 TEI-based Microdata texts found on the web or in such HTML tools back into TEI for convenience of markup editing or manipulation. It would be possible to ensure lossless conversions in either direction (assuming the HTML is not enriched with features not used in TEI such as form controls), so there is little disadvantage in providing such a serialization.&lt;br /&gt;
&lt;br /&gt;
Still, the entries below highlight environments and conditions under which preferring one over the other would be advantageous.&lt;br /&gt;
&lt;br /&gt;
==Advantages of editing original texts in TEI XML (or use cases for sometimes converting such TEI-enriched HTML5 to TEI XML)==&lt;br /&gt;
* Existing tools for TEI such as Roma and the default XSL stylesheets assume TEI XML (though stylesheets could also be designed to convert back into TEI XML to allow taking advantage of tools built for TEI XML)&lt;br /&gt;
* It is more succinct in syntax than would be an HTML5 Microdata serialization, making the text itself more succinct and human-readable as with queries (such as XQueries), XSL transformations, CSS selectors, JavaScript or other programmatic manipulation against such data, and making the text more rapidly deliverable over networks, assuming that the likely necessary but bulky stylesheets could be cached for reuse. (It is conceivable that browsers might support a language called XBL which would allow transformations which occur opaquely to preserve the original DOM structure, thus allowing queries, etc. to work against the original syntax, but XBL is currently phrased as not supporting transformations of semantics, as converting to XHTML5 Microdata would be seeking to do.)&lt;br /&gt;
* It is slightly easier to produce such texts, not only due to brevity, but also because an HTML5 serialization would require editors to be familiar with more HTML markup--the degree depending on the serialization implementation chosen (with some implementations allowing for very little new HTML to be required (primarily using anonymous HTML5 div, span, meta, or link elements joined with the handful of Microdata attributes to add TEI element and attributes), and others seeking to take more advantage of HTML's native markup (e.g., converting quote to blockquote, as the TEI XSL stylesheets do) by converting into it where there is an adequate correspondence with TEI semantics). A Microdata serialization might also wish to translate parts of TEI, where equivalent, into specific [http://schema.org Schema.org] schemas to take advantage of recognition by search engines, requiring those wishing to directly work with such HTML to be familiar with those schemas' semantic markup which could differ in naming from TEI.&lt;br /&gt;
&lt;br /&gt;
==Advantages of using an HTML5 (Microdata) Serialization==&lt;br /&gt;
* Allows for taking advantage of '''HTML-only tools such as online WYSIWYG editors''' (e.g., [http://ckeditor.com/demo CKEditor] or [http://en.wikipedia.org/wiki/WYSIWYM WYSIWYM] editors (probably none created to date which are TEI-aware), tools which may not be aware of XML or XSL and thus otherwise unable and unlikely to support TEI.&lt;br /&gt;
* Allows for storage on '''sites which only allow HTML (or conversion into HTML) such as the popular Mediawiki wikis''', driving such sites as [http://wikisource.org Wikisource] (a logical place where TEI texts might be offered and made universally discoverable). In the case of Mediawiki, you might add your support to https://bugzilla.wikimedia.org/show_bug.cgi?id=28776 in order for Mediawiki to make the relatively easy but productive fix of allowing Microdata on such wikis (allowing TEI XML would be a much harder sell, given its less familiar and non-historically-web-oriented non-HTML nature). Such wikis also allow a succinct and user-friendly syntax for creating HTML without need for all of the mark-up (e.g., line breaks might auto-create paragraph tags), though admittedly this could introduce some initial ambiguity for editors in becoming clear about the exact HTML which will be produced. While their open collaborative potential is large as evidenced by the success of Wikipedia, wikis can also be used in closed projects to offer revision control and history.&lt;br /&gt;
* Allowed encoding in the '''format already most familiar to the web community, HTML''', albeit enhanced, in a standardly outlined manner, by&lt;br /&gt;
TEI-based semantic markup. While it could add the additional burden that mark-up creators must learn both HTML and TEI, applications&lt;br /&gt;
could be designed to utilize TEI XML as the primary format, converting back to HTML when sending text to the wikis (and converting from HTML to TEI XML when the editor obtains the latest copy on the server, thereby avoiding the need for editors to know anything about HTML at all--using it exclusively as a delivery or storage format. People not familiar with TEI would thus also be able to build the initial syntax in HTML which could be progressively enhanced by TEI semantics.&lt;br /&gt;
* '''Search engines''' such as Google (see http://www.google.com/support/webmasters/bin/answer.py?answer=99170 ) are already being made available which can discover such markup in a semantically-aware manner. For example, if your TEI text encoded mention of a particular date or person, your document could show up in such searches. Google's search testing tool offers examples such as [http://www.google.com/webmasters/tools/richsnippets?url=http%3A%2F%2Feventful.com%2Fsanfrancisco%2Fevents this one] demonstrating that, for example, that it is aware (and can expose to searchers) semantic information encoded in the document, such as calendar events, person names, etc.---unlike traditional unstructured search indexing which does not know for certain or is not intelligent enough to know that a certain snippet of text represents a date, for example.&lt;br /&gt;
&lt;br /&gt;
==Questions to determine in deciding on a specific serialization algorithm==&lt;br /&gt;
&lt;br /&gt;
Although search engines could discover TEI-encoded Microdata HTML no matter the algorithm, it would probably be of benefit to standardize on a particular approach, specifying exactly how TEI should be converted into such HTML, and exactly how HTML could then be converted back into TEI.&lt;br /&gt;
&lt;br /&gt;
Some issues to consider:&lt;br /&gt;
&lt;br /&gt;
* Degree to which HTML markup will be used in place of (or in addition to) TEI semantics. The more native HTML markup, the more one can take advantage of HTML features (such as preview in an HTML editor or HTML-aware search tools looking for say a &amp;quot;blockquote&amp;quot; but which wouldn't understand the HTML5 TEI semantic equivalent (e.g., &amp;amp;lt;div itemprop=&amp;quot;quote&amp;quot;&amp;gt;), but the more HTML a TEI editor would need to learn. The default TEI stylesheets tend to already take advantage of such markup where available, so these could be leveraged in preparing such an enriched conversion into HTML5. (A review of the stylesheets might also help express build up a [[Formatting TEI documents#Consideration_of_default_transformation_behavior|human-readable description of the default formatting typically assumed when using TEI markup]] as well as enhance the [[Comprehensive CSS Stylesheet]] effort.)&lt;br /&gt;
* Degree to which [http://schema.org Schema.org] schemas would be used in place of (or in addition to) TEI semantics, but the more other semantic vocabularies a TEI editor would need to learn.&lt;br /&gt;
&lt;br /&gt;
[[Category:Customization]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=HTML5_Microdata_TEI_Serialization&amp;diff=9523</id>
		<title>HTML5 Microdata TEI Serialization</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=HTML5_Microdata_TEI_Serialization&amp;diff=9523"/>
		<updated>2011-06-10T05:24:21Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: /* Advantages of editing original texts in TEI XML (or use cases for sometimes converting such TEI-enriched HTML5 to TEI XML) */ elaboration&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[http://www.w3.org/TR/microdata/ HTML5 Microdata specification] offers the ability to add semantics to HTML, including the ability to specify a particular namespace (in HTML5, called an &amp;quot;item type&amp;quot;), offering the potential for TEI to be encoded in HTML5 without loss of any semantic information. &lt;br /&gt;
&lt;br /&gt;
A collaboration between Google, Microsoft, and Yahoo, [http://schema.org Schema.org], is pushing for adoption over other offered alternatives such as RDFa or Microformats, citing the complexity of the former and the lack of open extensibility (namespacing) of the latter, and with their ability to offer search tools (as [http://www.google.com/support/webmasters/bin/answer.py?answer=99170 Google's]) to take advantage of this information, it seems increasingly likely that this may be the ultimate means of encoding enhanced semantics in regular HTML, thereby offering a compelling argument for allowing TEI texts to be offered in such a serialization.&lt;br /&gt;
&lt;br /&gt;
The question then becomes, when and where to use TEI XML and when and where (and how) to use such a serialization (especially once a particular approach for serializing may be formalized).&lt;br /&gt;
&lt;br /&gt;
Note that in discussing the advantages of one format over the other, using one in one environment does not preclude the possibility of converting between the two formats. For example, one might create texts in TEI XML (including inside web-based editors), share them as HTML5 Microdata to take advantage of search engine discoverability, collaborative HTML editing tools which only are built to recognize HTML (e.g., wikis), and/or convert HTML5 TEI-based Microdata texts found on the web or in such HTML tools back into TEI for convenience of markup editing or manipulation. It would be possible to ensure lossless conversions in either direction (assuming the HTML is not enriched with features not used in TEI such as form controls), so there is little disadvantage in providing such a serialization.&lt;br /&gt;
&lt;br /&gt;
Still, the entries below highlight environments and conditions under which preferring one over the other would be advantageous.&lt;br /&gt;
&lt;br /&gt;
==Advantages of editing original texts in TEI XML (or use cases for sometimes converting such TEI-enriched HTML5 to TEI XML)==&lt;br /&gt;
* Existing tools for TEI such as Roma and the default XSL stylesheets assume TEI XML (though stylesheets could also be designed to convert back into TEI XML to allow taking advantage of tools built for TEI XML)&lt;br /&gt;
* It is more succinct in syntax than would be an HTML5 Microdata serialization, making the text itself more succinct and human-readable as with queries (such as XQueries), XSL transformations, CSS selectors, JavaScript or other programmatic manipulation against such data, and making the text more rapidly deliverable over networks, assuming that the likely necessary but bulky stylesheets could be cached for reuse.&lt;br /&gt;
* It is slightly easier to produce such texts, not only due to brevity, but also because an HTML5 serialization would require editors to be familiar with more HTML markup--the degree depending on the serialization implementation chosen (with some implementations allowing for very little new HTML to be required (primarily using anonymous HTML5 div, span, meta, or link elements joined with the handful of Microdata attributes to add TEI element and attributes), and others seeking to take more advantage of HTML's native markup (e.g., converting quote to blockquote, as the TEI XSL stylesheets do) by converting into it where there is an adequate correspondence with TEI semantics). A Microdata serialization might also wish to translate parts of TEI, where equivalent, into specific [http://schema.org Schema.org] schemas to take advantage of recognition by search engines, requiring those wishing to directly work with such HTML to be familiar with those schemas' semantic markup which could differ in naming from TEI.&lt;br /&gt;
&lt;br /&gt;
==Advantages of using an HTML5 (Microdata) Serialization==&lt;br /&gt;
* Allows for taking advantage of '''HTML-only tools such as online WYSIWYG editors''' (e.g., [http://ckeditor.com/demo CKEditor] or [http://en.wikipedia.org/wiki/WYSIWYM WYSIWYM] editors (probably none created to date which are TEI-aware), tools which may not be aware of XML or XSL and thus otherwise unable and unlikely to support TEI.&lt;br /&gt;
* Allows for storage on '''sites which only allow HTML (or conversion into HTML) such as the popular Mediawiki wikis''', driving such sites as [http://wikisource.org Wikisource] (a logical place where TEI texts might be offered and made universally discoverable). In the case of Mediawiki, you might add your support to https://bugzilla.wikimedia.org/show_bug.cgi?id=28776 in order for Mediawiki to make the relatively easy but productive fix of allowing Microdata on such wikis (allowing TEI XML would be a much harder sell, given its less familiar and non-historically-web-oriented non-HTML nature). Such wikis also allow a succinct and user-friendly syntax for creating HTML without need for all of the mark-up (e.g., line breaks might auto-create paragraph tags), though admittedly this could introduce some initial ambiguity for editors in becoming clear about the exact HTML which will be produced. While their open collaborative potential is large as evidenced by the success of Wikipedia, wikis can also be used in closed projects to offer revision control and history.&lt;br /&gt;
* Allowed encoding in the '''format already most familiar to the web community, HTML''', albeit enhanced, in a standardly outlined manner, by&lt;br /&gt;
TEI-based semantic markup. While it could add the additional burden that mark-up creators must learn both HTML and TEI, applications&lt;br /&gt;
could be designed to utilize TEI XML as the primary format, converting back to HTML when sending text to the wikis (and converting from HTML to TEI XML when the editor obtains the latest copy on the server, thereby avoiding the need for editors to know anything about HTML at all--using it exclusively as a delivery or storage format. People not familiar with TEI would thus also be able to build the initial syntax in HTML which could be progressively enhanced by TEI semantics.&lt;br /&gt;
* '''Search engines''' such as Google (see http://www.google.com/support/webmasters/bin/answer.py?answer=99170 ) are already being made available which can discover such markup in a semantically-aware manner. For example, if your TEI text encoded mention of a particular date or person, your document could show up in such searches. Google's search testing tool offers examples such as [http://www.google.com/webmasters/tools/richsnippets?url=http%3A%2F%2Feventful.com%2Fsanfrancisco%2Fevents this one] demonstrating that, for example, that it is aware (and can expose to searchers) semantic information encoded in the document, such as calendar events, person names, etc.---unlike traditional unstructured search indexing which does not know for certain or is not intelligent enough to know that a certain snippet of text represents a date, for example.&lt;br /&gt;
&lt;br /&gt;
==Questions to determine in deciding on a specific serialization algorithm==&lt;br /&gt;
&lt;br /&gt;
Although search engines could discover TEI-encoded Microdata HTML no matter the algorithm, it would probably be of benefit to standardize on a particular approach, specifying exactly how TEI should be converted into such HTML, and exactly how HTML could then be converted back into TEI.&lt;br /&gt;
&lt;br /&gt;
Some issues to consider:&lt;br /&gt;
&lt;br /&gt;
* Degree to which HTML markup will be used in place of (or in addition to) TEI semantics. The more native HTML markup, the more one can take advantage of HTML features (such as preview in an HTML editor or HTML-aware search tools looking for say a &amp;quot;blockquote&amp;quot; but which wouldn't understand the HTML5 TEI semantic equivalent (e.g., &amp;amp;lt;div itemprop=&amp;quot;quote&amp;quot;&amp;gt;), but the more HTML a TEI editor would need to learn. The default TEI stylesheets tend to already take advantage of such markup where available, so these could be leveraged in preparing such an enriched conversion into HTML5. (A review of the stylesheets might also help express build up a [[Formatting TEI documents#Consideration_of_default_transformation_behavior|human-readable description of the default formatting typically assumed when using TEI markup]] as well as enhance the [[Comprehensive CSS Stylesheet]] effort.)&lt;br /&gt;
* Degree to which [http://schema.org Schema.org] schemas would be used in place of (or in addition to) TEI semantics, but the more other semantic vocabularies a TEI editor would need to learn.&lt;br /&gt;
&lt;br /&gt;
[[Category:Customization]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=HTML5_Microdata_TEI_Serialization&amp;diff=9516</id>
		<title>HTML5 Microdata TEI Serialization</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=HTML5_Microdata_TEI_Serialization&amp;diff=9516"/>
		<updated>2011-06-09T06:09:14Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[http://www.w3.org/TR/microdata/ HTML5 Microdata specification] offers the ability to add semantics to HTML, including the ability to specify a particular namespace (in HTML5, called an &amp;quot;item type&amp;quot;), offering the potential for TEI to be encoded in HTML5 without loss of any semantic information. &lt;br /&gt;
&lt;br /&gt;
A collaboration between Google, Microsoft, and Yahoo, [http://schema.org Schema.org], is pushing for adoption over other offered alternatives such as RDFa or Microformats, citing the complexity of the former and the lack of open extensibility (namespacing) of the latter, and with their ability to offer search tools (as [http://www.google.com/support/webmasters/bin/answer.py?answer=99170 Google's]) to take advantage of this information, it seems increasingly likely that this may be the ultimate means of encoding enhanced semantics in regular HTML, thereby offering a compelling argument for allowing TEI texts to be offered in such a serialization.&lt;br /&gt;
&lt;br /&gt;
The question then becomes, when and where to use TEI XML and when and where (and how) to use such a serialization (especially once a particular approach for serializing may be formalized).&lt;br /&gt;
&lt;br /&gt;
Note that in discussing the advantages of one format over the other, using one in one environment does not preclude the possibility of converting between the two formats. For example, one might create texts in TEI XML (including inside web-based editors), share them as HTML5 Microdata to take advantage of search engine discoverability, collaborative HTML editing tools which only are built to recognize HTML (e.g., wikis), and/or convert HTML5 TEI-based Microdata texts found on the web or in such HTML tools back into TEI for convenience of markup editing or manipulation. It would be possible to ensure lossless conversions in either direction (assuming the HTML is not enriched with features not used in TEI such as form controls), so there is little disadvantage in providing such a serialization.&lt;br /&gt;
&lt;br /&gt;
Still, the entries below highlight environments and conditions under which preferring one over the other would be advantageous.&lt;br /&gt;
&lt;br /&gt;
==Advantages of editing original texts in TEI XML (or use cases for sometimes converting such TEI-enriched HTML5 to TEI XML)==&lt;br /&gt;
* Existing tools for TEI such as Roma and the default XSL stylesheets assume TEI XML&lt;br /&gt;
* It is more succinct in syntax than would be an HTML5 Microdata serialization, making the text itself more succinct and human-readable as with queries (such as XQueries), XSL transformations, CSS selectors, JavaScript or other programmatic manipulation against such data, and making the text more rapidly deliverable over networks, assuming that the likely necessary but bulky stylesheets could be cached for reuse.&lt;br /&gt;
* It is slightly easier to produce such texts, not only due to brevity, but also because an HTML5 serialization would require editors to be familiar with more HTML markup--the degree depending on the serialization implementation chosen (with some implementations allowing for very little new HTML to be required (primarily using anonymous HTML5 div, span, meta, or link elements joined with the handful of Microdata attributes to add TEI element and attributes), and others seeking to take more advantage of HTML's native markup (e.g., converting quote to blockquote, as the TEI XSL stylesheets do) by converting into it where there is an adequate correspondence with TEI semantics). A Microdata serialization might also wish to translate parts of TEI, where equivalent, into specific [http://schema.org Schema.org] schemas to take advantage of recognition by search engines, requiring those wishing to directly work with such HTML to be familiar with those schemas' semantic markup which could differ in naming from TEI.&lt;br /&gt;
&lt;br /&gt;
==Advantages of using an HTML5 (Microdata) Serialization==&lt;br /&gt;
* Allows for taking advantage of '''HTML-only tools such as online WYSIWYG editors''' (e.g., [http://ckeditor.com/demo CKEditor] or [http://en.wikipedia.org/wiki/WYSIWYM WYSIWYM] editors (probably none created to date which are TEI-aware), tools which may not be aware of XML or XSL and thus otherwise unable and unlikely to support TEI.&lt;br /&gt;
* Allows for storage on '''sites which only allow HTML (or conversion into HTML) such as the popular Mediawiki wikis''', driving such sites as [http://wikisource.org Wikisource] (a logical place where TEI texts might be offered and made universally discoverable). In the case of Mediawiki, you might add your support to https://bugzilla.wikimedia.org/show_bug.cgi?id=28776 in order for Mediawiki to make the relatively easy but productive fix of allowing Microdata on such wikis (allowing TEI XML would be a much harder sell, given its less familiar and non-historically-web-oriented non-HTML nature). Such wikis also allow a succinct and user-friendly syntax for creating HTML without need for all of the mark-up (e.g., line breaks might auto-create paragraph tags), though admittedly this could introduce some initial ambiguity for editors in becoming clear about the exact HTML which will be produced. While their open collaborative potential is large as evidenced by the success of Wikipedia, wikis can also be used in closed projects to offer revision control and history.&lt;br /&gt;
* Allowed encoding in the '''format already most familiar to the web community, HTML''', albeit enhanced, in a standardly outlined manner, by&lt;br /&gt;
TEI-based semantic markup. While it could add the additional burden that mark-up creators must learn both HTML and TEI, applications&lt;br /&gt;
could be designed to utilize TEI XML as the primary format, converting back to HTML when sending text to the wikis (and converting from HTML to TEI XML when the editor obtains the latest copy on the server, thereby avoiding the need for editors to know anything about HTML at all--using it exclusively as a delivery or storage format. People not familiar with TEI would thus also be able to build the initial syntax in HTML which could be progressively enhanced by TEI semantics.&lt;br /&gt;
* '''Search engines''' such as Google (see http://www.google.com/support/webmasters/bin/answer.py?answer=99170 ) are already being made available which can discover such markup in a semantically-aware manner. For example, if your TEI text encoded mention of a particular date or person, your document could show up in such searches. Google's search testing tool offers examples such as [http://www.google.com/webmasters/tools/richsnippets?url=http%3A%2F%2Feventful.com%2Fsanfrancisco%2Fevents this one] demonstrating that, for example, that it is aware (and can expose to searchers) semantic information encoded in the document, such as calendar events, person names, etc.---unlike traditional unstructured search indexing which does not know for certain or is not intelligent enough to know that a certain snippet of text represents a date, for example.&lt;br /&gt;
&lt;br /&gt;
==Questions to determine in deciding on a specific serialization algorithm==&lt;br /&gt;
&lt;br /&gt;
Although search engines could discover TEI-encoded Microdata HTML no matter the algorithm, it would probably be of benefit to standardize on a particular approach, specifying exactly how TEI should be converted into such HTML, and exactly how HTML could then be converted back into TEI.&lt;br /&gt;
&lt;br /&gt;
Some issues to consider:&lt;br /&gt;
&lt;br /&gt;
* Degree to which HTML markup will be used in place of (or in addition to) TEI semantics. The more native HTML markup, the more one can take advantage of HTML features (such as preview in an HTML editor or HTML-aware search tools looking for say a &amp;quot;blockquote&amp;quot; but which wouldn't understand the HTML5 TEI semantic equivalent (e.g., &amp;amp;lt;div itemprop=&amp;quot;quote&amp;quot;&amp;gt;), but the more HTML a TEI editor would need to learn. The default TEI stylesheets tend to already take advantage of such markup where available, so these could be leveraged in preparing such an enriched conversion into HTML5. (A review of the stylesheets might also help express build up a [[Formatting TEI documents#Consideration_of_default_transformation_behavior|human-readable description of the default formatting typically assumed when using TEI markup]] as well as enhance the [[Comprehensive CSS Stylesheet]] effort.)&lt;br /&gt;
* Degree to which [http://schema.org Schema.org] schemas would be used in place of (or in addition to) TEI semantics, but the more other semantic vocabularies a TEI editor would need to learn.&lt;br /&gt;
&lt;br /&gt;
[[Category:Customization]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=HTML5_Microdata_TEI_Serialization&amp;diff=9515</id>
		<title>HTML5 Microdata TEI Serialization</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=HTML5_Microdata_TEI_Serialization&amp;diff=9515"/>
		<updated>2011-06-09T05:58:36Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: starting page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[http://www.w3.org/TR/microdata/ HTML5 Microdata specification] offers the ability to add semantics to HTML, including the ability to specify a particular namespace (in HTML5, called an &amp;quot;item type&amp;quot;), offering the potential for TEI to be encoded in HTML5 without loss of any semantic information. &lt;br /&gt;
&lt;br /&gt;
A collaboration between Google, Microsoft, and Yahoo, [http://schema.org Schema.org], is pushing for adoption over other offered alternatives such as RDFa or Microformats, citing the complexity of the former and the lack of open extensibility (namespacing) of the latter, and with their ability to offer search tools (as [http://www.google.com/support/webmasters/bin/answer.py?answer=99170 Google's]) to take advantage of this information, it seems increasingly likely that this may be the ultimate means of encoding enhanced semantics in regular HTML, thereby offering a compelling argument for allowing TEI texts to be offered in such a serialization.&lt;br /&gt;
&lt;br /&gt;
The question then becomes, when and where to use TEI XML and when and where (and how) to use such a serialization (especially once a particular approach for serializing may be formalized).&lt;br /&gt;
&lt;br /&gt;
Note that in discussing the advantages of one format over the other, using one in one environment does not preclude the possibility of converting between the two formats. For example, one might create texts in TEI XML (including inside web-based editors), share them as HTML5 Microdata to take advantage of search engine discoverability, collaborative HTML editing tools which only are built to recognize HTML (e.g., wikis), and/or convert HTML5 TEI-based Microdata texts found on the web or in such HTML tools back into TEI for convenience of markup editing or manipulation. It would be possible to ensure lossless conversions in either direction (assuming the HTML is not enriched with features not used in TEI such as form controls), so there is little disadvantage in providing such a serialization.&lt;br /&gt;
&lt;br /&gt;
Still, the entries below highlight environments and conditions under which preferring one over the other would be advantageous.&lt;br /&gt;
&lt;br /&gt;
==Advantages of editing original texts in TEI XML (or use cases for sometimes converting such TEI-enriched HTML5 to TEI XML)==&lt;br /&gt;
* Existing tools for TEI such as Roma and the default XSL stylesheets assume TEI XML&lt;br /&gt;
* It is more succinct in syntax than would be an HTML5 Microdata serialization, making the text itself more succinct and human-readable as with queries (such as XQueries), XSL transformations, CSS selectors, JavaScript or other programmatic manipulation against such data, and making the text more rapidly deliverable over networks, assuming that the likely necessary but bulky stylesheets could be cached for reuse.&lt;br /&gt;
* It is slightly easier to produce such texts, not only due to brevity, but also because an HTML5 serialization would require editors to be familiar with more HTML markup--the degree depending on the serialization implementation chosen (with some implementations allowing for very little new HTML to be required (primarily using anonymous HTML5 div, span, meta, or link elements joined with the handful of Microdata attributes to add TEI element and attributes), and others seeking to take more advantage of HTML's native markup (e.g., converting quote to blockquote, as the TEI XSL stylesheets do) by converting into it where there is an adequate correspondence with TEI semantics). A Microdata serialization might also wish to translate parts of TEI, where equivalent, into specific [http://schema.org Schema.org] schemas to take advantage of recognition by search engines, requiring those wishing to directly work with such HTML to be familiar with those schemas' semantic markup which could differ in naming from TEI.&lt;br /&gt;
&lt;br /&gt;
==Advantages of using an HTML5 (Microdata) Serialization==&lt;br /&gt;
* Allows for taking advantage of '''HTML-only tools such as online WYSIWYG editors''' (e.g., [http://ckeditor.com/demo CKEditor] or [http://en.wikipedia.org/wiki/WYSIWYM WYSIWYM] editors (probably none created to date which are TEI-aware), tools which may not be aware of XML or XSL and thus otherwise unable and unlikely to support TEI.&lt;br /&gt;
* Allows for storage on '''sites which only allow HTML (or conversion into HTML) such as the popular Mediawiki wikis''', driving such sites as [http://wikisource.org Wikisource] (a logical place where TEI texts might be offered and made universally discoverable). In the case of Mediawiki, you might add your support to https://bugzilla.wikimedia.org/show_bug.cgi?id=28776 in order for Mediawiki to make the relatively easy but productive fix of allowing Microdata on such wikis (allowing TEI XML would be a much harder sell, given its less familiar and non-historically-web-oriented non-HTML nature). Such wikis also allow a succinct and user-friendly syntax for creating HTML without need for all of the mark-up (e.g., line breaks might auto-create paragraph tags), though admittedly this could introduce some initial ambiguity for editors in becoming clear about the exact HTML which will be produced. While their open collaborative potential is large as evidenced by the success of Wikipedia, wikis can also be used in closed projects to offer revision control and history.&lt;br /&gt;
* Allowed encoding in the '''format already most familiar to the web community, HTML''', albeit enhanced, in a standardly outlined manner, by&lt;br /&gt;
TEI-based semantic markup. While it could add the additional burden that mark-up creators must learn both HTML and TEI, applications&lt;br /&gt;
could be designed to utilize TEI XML as the primary format, converting back to HTML when sending text to the wikis (and converting from HTML to TEI XML when the editor obtains the latest copy on the server, thereby avoiding the need for editors to know anything about HTML at all--using it exclusively as a delivery or storage format. People not familiar with TEI would thus also be able to build the initial syntax in HTML which could be progressively enhanced by TEI semantics.&lt;br /&gt;
* '''Search engines''' such as Google (see http://www.google.com/support/webmasters/bin/answer.py?answer=99170 ) are already being made available which can discover such markup in a semantically-aware manner. For example, if your TEI text encoded mention of a particular date or person, your document could show up in such searches. Google's search testing tool offers examples such as [http://www.google.com/webmasters/tools/richsnippets?url=http%3A%2F%2Feventful.com%2Fsanfrancisco%2Fevents this one] demonstrating that, for example, that it is aware (and can expose to searchers) semantic information encoded in the document, such as calendar events, person names, etc.---unlike traditional unstructured search indexing which does not know for certain or is not intelligent enough to know that a certain snippet of text represents a date, for example.&lt;br /&gt;
&lt;br /&gt;
==Questions to determine in deciding on a specific serialization algorithm==&lt;br /&gt;
&lt;br /&gt;
Although search engines could discover TEI-encoded Microdata HTML no matter the algorithm, it would probably be of benefit to standardize on a particular approach, specifying exactly how TEI should be converted into such HTML, and exactly how HTML could then be converted back into TEI.&lt;br /&gt;
&lt;br /&gt;
Some issues to consider:&lt;br /&gt;
&lt;br /&gt;
* Degree to which HTML markup will be used in place of (or in addition to) TEI semantics. The more native HTML markup, the more one can take advantage of HTML features (such as preview in an HTML editor or HTML-aware search tools looking for say a &amp;quot;blockquote&amp;quot; but which wouldn't understand the HTML5 TEI semantic equivalent (e.g., &amp;amp;lt;div itemprop=&amp;quot;quote&amp;quot;&amp;gt;), but the more HTML a TEI editor would need to learn. The default TEI stylesheets tend to already take advantage of such markup where available, so these could be leveraged in preparing such an enriched conversion into HTML5. (A review of the stylesheets might also help express build up a human-readable description of the default formatting typically assumed when using TEI markup as well as enhance the [[Comprehensive CSS Stylesheet]] effort.)&lt;br /&gt;
* Degree to which [http://schema.org Schema.org] schemas would be used in place of (or in addition to) TEI semantics, but the more other semantic vocabularies a TEI editor would need to learn.&lt;br /&gt;
&lt;br /&gt;
[[Category:Customization]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=9502</id>
		<title>Comprehensive CSS Stylesheet</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=9502"/>
		<updated>2011-06-05T15:42:14Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: /* References used */ heading fix&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following is an attempt to gradually build CSS for each TEI element, paralleling the default TEI stylesheets (while also potentially serving as a kind of discussion center for how the stylesheets ought to operate (see [[Formatting TEI documents]] on how there is a need for this despite TEI being agnostic as to output formatting), at least for issues pertaining solely to formatting as opposed to semantics), by indicating here necessary deviations from the XHTML stylesheets (due to CSS constraints) or potentially desirable alternatives, etc.).&lt;br /&gt;
&lt;br /&gt;
==Advantages of CSS (compared to XSL)==&lt;br /&gt;
&lt;br /&gt;
# Simpler for maintenance/alteration (though CSS can still be combined with simpler XSL as needed)&lt;br /&gt;
# Simpler for communicating the underlying behavior and inviting discussion on assumptions&lt;br /&gt;
# Downloading (and parsing?) is faster&lt;br /&gt;
# Wider browser support (and for browser caching?)&lt;br /&gt;
# Allows DOM and other manipulation directly on semantically-named TEI elements (though admittedly, use of frameworks like jQuery may make traversal of X/HTML as easy or easier and XBL, were it to be implemented in browsers (as planned in Firefox) and forgo discouraging semantic alterations, could preserve the DOM (unlike typical stylesheets) while rendering according to a kind of transformation)&lt;br /&gt;
# TEI could potentially be used as is in HTML (though empty self-closing elements will not be treated properly unless changed to &amp;lt;elem&amp;gt;&amp;lt;/elem&amp;gt; form and namespaces will not be present) in addition to true XHTML.&lt;br /&gt;
# If the selectors were changed, the style rules could be applied to an HTML5 serialization of TEI, being in a language already familiar to web developers&lt;br /&gt;
&lt;br /&gt;
==Disadvantages of CSS (compared to XSL)==&lt;br /&gt;
&lt;br /&gt;
# Does not allow transformations such as re-ordering and duplication (thus no automatically generated indexes, tables of contents, etc).&lt;br /&gt;
# Is cumbersome for certain variable structures (e.g., for values varying by integer but not including the integer (e.g., space.extent =&amp;gt; number of spaces) a separate rule must be created for each possible attribute value).&lt;br /&gt;
# Unable to create form controls and some other HTML GUI components.&lt;br /&gt;
# Assumes that the structure of the TEI essentially similar to the desired output (thus no stand-off markup; switching between multiple overlapping hierarchical structures; etc).&lt;br /&gt;
&lt;br /&gt;
==Features of XSL which are impossible to leverage in a CSS stylesheet for TEI==&lt;br /&gt;
&lt;br /&gt;
We will not be able to make equivalents for XSLT templates like rendToClass (e.g., ab) or applyRend (emph), applyRendition (emph) since we cannot (nor do we need to) add an id or class (though @rend or @rendition would be useful to utilize, there is no &amp;quot;eval()&amp;quot;-like code in CSS; however, we could test against predefined values like &amp;quot;bold&amp;quot; (maybe as a global * or at least the elements using these in the stylesheets (emph, hi, ...))).&lt;br /&gt;
&lt;br /&gt;
==Namespaces==&lt;br /&gt;
&lt;br /&gt;
Per CSS Namespaces, one can use either&lt;br /&gt;
 @namespace &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 @namespace tei &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
...but we will use the former since we will presume the stylesheet will be primarily (if not exclusively) for TEI.&lt;br /&gt;
&lt;br /&gt;
==(Level of completion)==&lt;br /&gt;
&lt;br /&gt;
All fields below should be complete for an element, or otherwise noted that it is incomplete, so that it can otherwise be assumed that the CSS has been completely applied as far as possible (besides rend/rendition which may later be done globally for all elements, as these are indeed globals).&lt;br /&gt;
&lt;br /&gt;
==Alphabetical==&lt;br /&gt;
&lt;br /&gt;
===a===&lt;br /&gt;
 ab {display:block;}&lt;br /&gt;
 choice &amp;gt; expan + abbr:before {content:&amp;quot;(&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
 choice &amp;gt; expan + abbr:after {content:&amp;quot;)&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
 accMat {display: block;} accMat:before {content: &amp;quot;Accompanying material: &amp;quot;; font-weight: bold;}&lt;br /&gt;
 history acquisition:before {content: &amp;quot;Acquisition: &amp;quot;;font-weight: bold;} history acquisition {display: block;}&lt;br /&gt;
* activity (XSL has not yet covered (from language module))&lt;br /&gt;
 actor {display:inline; font-style: italic;}&lt;br /&gt;
 add[place=&amp;quot;sup&amp;quot;] {vertical-align:super;} add[place=&amp;quot;sub&amp;quot;] {vertical-align:sub;}&lt;br /&gt;
* addName (XSL has not yet covered (from namesdates module))&lt;br /&gt;
* addSpan&lt;br /&gt;
 additional {padding-top: 3pt; padding-bottom: 2pt; display: block;} additional&amp;gt;listBibl&amp;gt;bibl:after {content: &amp;quot;.&amp;quot;;} additional:before {content: &amp;quot;Additional:&amp;quot;;display: block;font-weight: 600;   font-variant: small-caps;font-size: 120%;} additional&amp;gt;listBibl {display: block;list-style-type: none;margin-top: 10pt;} additional&amp;gt;listBibl:before {content: &amp;quot;Bibliography:&amp;quot;;display: block;font-weight: 600;font-variant: small-caps;font-size: 120%;} additional&amp;gt;listBibl&amp;gt;bibl {text-align: left;display: list-item;margin-left: 30pt;}&lt;br /&gt;
 additions {display: block;} additions:before {content: &amp;quot;Additions: &amp;quot;;font-weight: bold;}&lt;br /&gt;
 addrLine {display:block;}&lt;br /&gt;
 address {display:block; /* font-style:italic; If wish to appear as HTML addresses are rendered by default, at least in Firefox */}&lt;br /&gt;
* adminInfo&lt;br /&gt;
* affiliation&lt;br /&gt;
* age&lt;br /&gt;
* alt&lt;br /&gt;
* altGrp&lt;br /&gt;
* altIdent&lt;br /&gt;
* altIdentifier&lt;br /&gt;
* am&lt;br /&gt;
* analytic&lt;br /&gt;
* anchor&lt;br /&gt;
* app&lt;br /&gt;
* appInfo&lt;br /&gt;
* application&lt;br /&gt;
* arc&lt;br /&gt;
* argument&lt;br /&gt;
 att {display:inline; font-weight:bold;} att:before {content:&amp;quot;@&amp;quot;}&lt;br /&gt;
* attDef&lt;br /&gt;
* attList&lt;br /&gt;
* attRef&lt;br /&gt;
* author&lt;br /&gt;
* authority&lt;br /&gt;
* availability&lt;br /&gt;
&lt;br /&gt;
===b===&lt;br /&gt;
&lt;br /&gt;
* back&lt;br /&gt;
* bibl&lt;br /&gt;
* biblFull&lt;br /&gt;
* biblScope&lt;br /&gt;
* biblStruct&lt;br /&gt;
* bicond&lt;br /&gt;
* binary&lt;br /&gt;
* binaryObject&lt;br /&gt;
* binding&lt;br /&gt;
* bindingDesc&lt;br /&gt;
* birth&lt;br /&gt;
* bloc&lt;br /&gt;
* body&lt;br /&gt;
* broadcast&lt;br /&gt;
 byline {display:block;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===c===&lt;br /&gt;
&lt;br /&gt;
* c&lt;br /&gt;
* cRefPattern&lt;br /&gt;
 caesura:before {display:inline; content:&amp;quot;\a0\a0\a0\a0&amp;quot;; /* could be :after too */}&lt;br /&gt;
 camera {display:inline; font-style: italic;}&lt;br /&gt;
 caption {display:inline; font-style: italic;}&lt;br /&gt;
* case&lt;br /&gt;
* castGroup&lt;br /&gt;
* castItem&lt;br /&gt;
 castList {} /* Note: has additional rules: */&lt;br /&gt;
 castList {display:block;} /* applies whether children are head or not */&lt;br /&gt;
 /* Note: for this to mirror the XSL exactly, head would always need to be preceding other elements as a direct child castList */&lt;br /&gt;
 castList &amp;gt; head {display:inline; font-style:italic;}&lt;br /&gt;
 castList &amp;gt; *:not(head) {margin-left: 40px;} /* If children of castList needed their own indents, then it should be relative to this (if possible) */&lt;br /&gt;
&lt;br /&gt;
* catDesc (Only defined in XSL conditionally if using catRef)&lt;br /&gt;
 catRef {} /* Note: has additional rules: */&lt;br /&gt;
 catRef + catRef:before {'\A'} /* Add line break if preceded by another catRef */&lt;br /&gt;
 catRef:after {content:attr(scheme); display:inline; font-style:italic;} /* Add scheme in italics */&lt;br /&gt;
 /* &lt;br /&gt;
 Commenting out as XPath not currently supported in CSS as needed by third 'after'&lt;br /&gt;
 catRef:after(2) {content:':'}*//* Requires CSS3 to add such additional 'after' content? (Firefox allows content: '123'attr(class)'456' at least); See http://www.w3.org/TR/css3-content/#nesting or http://www.w3.org/TR/css3-content/#inserting0 */&lt;br /&gt;
 /* &lt;br /&gt;
 catRef:after(3) {content: &amp;lt;not possible to reference target's catDesc unless XPath gets added to CSS&amp;gt;} */&lt;br /&gt;
* catchwords&lt;br /&gt;
* category&lt;br /&gt;
* cb&lt;br /&gt;
* cell&lt;br /&gt;
* certainty&lt;br /&gt;
* change&lt;br /&gt;
* channel&lt;br /&gt;
* char&lt;br /&gt;
* charDecl&lt;br /&gt;
* charName&lt;br /&gt;
* charProp&lt;br /&gt;
* choice&lt;br /&gt;
* cit&lt;br /&gt;
* cl&lt;br /&gt;
* classCode (XSL has not yet covered (from header module))&lt;br /&gt;
* classDecl&lt;br /&gt;
* classSpec&lt;br /&gt;
* classes&lt;br /&gt;
* climate&lt;br /&gt;
* closer&lt;br /&gt;
 code {display:inline; font-family:monospace;}&lt;br /&gt;
* collation&lt;br /&gt;
* collection&lt;br /&gt;
* colloc&lt;br /&gt;
* colophon&lt;br /&gt;
* cond&lt;br /&gt;
* condition&lt;br /&gt;
* constitution&lt;br /&gt;
* constraint&lt;br /&gt;
* constraintSpec&lt;br /&gt;
* content&lt;br /&gt;
* corr&lt;br /&gt;
* correction&lt;br /&gt;
* country&lt;br /&gt;
* creation&lt;br /&gt;
* custEvent&lt;br /&gt;
* custodialHist&lt;br /&gt;
&lt;br /&gt;
===d===&lt;br /&gt;
&lt;br /&gt;
* damage&lt;br /&gt;
* damageSpan&lt;br /&gt;
* datatype&lt;br /&gt;
* date&lt;br /&gt;
* dateline&lt;br /&gt;
* death&lt;br /&gt;
* decoDesc&lt;br /&gt;
* decoNote&lt;br /&gt;
* def&lt;br /&gt;
* default&lt;br /&gt;
* defaultVal&lt;br /&gt;
 del {display:inline; text-decoration: line-through;}&lt;br /&gt;
* delSpan&lt;br /&gt;
* depth&lt;br /&gt;
* derivation&lt;br /&gt;
* desc&lt;br /&gt;
* dictScrap&lt;br /&gt;
* dim&lt;br /&gt;
* dimensions&lt;br /&gt;
* distinct&lt;br /&gt;
* distributor&lt;br /&gt;
* district&lt;br /&gt;
* div&lt;br /&gt;
* div1&lt;br /&gt;
* div2&lt;br /&gt;
* div3&lt;br /&gt;
* div4&lt;br /&gt;
* div5&lt;br /&gt;
* div6&lt;br /&gt;
* div7&lt;br /&gt;
* divGen&lt;br /&gt;
* docAuthor&lt;br /&gt;
* docDate&lt;br /&gt;
* docEdition&lt;br /&gt;
* docImprint&lt;br /&gt;
* docTitle&lt;br /&gt;
* domain&lt;br /&gt;
&lt;br /&gt;
===e===&lt;br /&gt;
&lt;br /&gt;
* eLeaf&lt;br /&gt;
* eTree&lt;br /&gt;
* edition&lt;br /&gt;
* editionStmt&lt;br /&gt;
* editor&lt;br /&gt;
* editorialDecl&lt;br /&gt;
* education&lt;br /&gt;
* eg&lt;br /&gt;
* egXML&lt;br /&gt;
* elementSpec&lt;br /&gt;
* email&lt;br /&gt;
 emph {display:inline; font-style:italic;}&lt;br /&gt;
* encodingDesc&lt;br /&gt;
* entry&lt;br /&gt;
* entryFree&lt;br /&gt;
 epigraph {display:block;}&lt;br /&gt;
* epilogue&lt;br /&gt;
* equipment&lt;br /&gt;
* equiv&lt;br /&gt;
* etym&lt;br /&gt;
* event&lt;br /&gt;
* ex&lt;br /&gt;
* exemplum&lt;br /&gt;
 choice &amp;gt; expan + abbr:before {content:&amp;quot;(&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
 choice &amp;gt; expan + abbr:after {content:&amp;quot;)&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
* explicit&lt;br /&gt;
* extent&lt;br /&gt;
&lt;br /&gt;
===f===&lt;br /&gt;
&lt;br /&gt;
* f&lt;br /&gt;
* fDecl&lt;br /&gt;
* fDescr&lt;br /&gt;
* fLib&lt;br /&gt;
* facsimile&lt;br /&gt;
* factuality&lt;br /&gt;
* faith&lt;br /&gt;
* figDesc&lt;br /&gt;
* figure&lt;br /&gt;
* fileDesc&lt;br /&gt;
* filiation&lt;br /&gt;
* finalRubric&lt;br /&gt;
* floatingText&lt;br /&gt;
* floruit&lt;br /&gt;
* foliation&lt;br /&gt;
 foreign {display:inline;}&lt;br /&gt;
* forename&lt;br /&gt;
* forest&lt;br /&gt;
* forestGrp&lt;br /&gt;
* form&lt;br /&gt;
* formula&lt;br /&gt;
* front&lt;br /&gt;
* fs&lt;br /&gt;
* fsConstraints&lt;br /&gt;
* fsDecl&lt;br /&gt;
* fsDescr&lt;br /&gt;
* fsdDecl&lt;br /&gt;
* fsdLink&lt;br /&gt;
* funder&lt;br /&gt;
* fvLib&lt;br /&gt;
* fw&lt;br /&gt;
&lt;br /&gt;
===g===&lt;br /&gt;
&lt;br /&gt;
* g&lt;br /&gt;
* gap&lt;br /&gt;
* gen&lt;br /&gt;
 genName {display:inline;}&lt;br /&gt;
* geo&lt;br /&gt;
* geoDecl&lt;br /&gt;
* geogFeat&lt;br /&gt;
 geogName {display:inline;}&lt;br /&gt;
 gi:before {display:inline;content:&amp;quot;&amp;lt;&amp;quot;}  gi:after {display:inline;content:&amp;quot;&amp;gt;&amp;quot;}&lt;br /&gt;
 gloss {display:inline;}&lt;br /&gt;
* glyph&lt;br /&gt;
* glyphName&lt;br /&gt;
* gram&lt;br /&gt;
* gramGrp&lt;br /&gt;
* graph&lt;br /&gt;
* graphic&lt;br /&gt;
* group&lt;br /&gt;
&lt;br /&gt;
===h===&lt;br /&gt;
&lt;br /&gt;
* handDesc&lt;br /&gt;
* handNote&lt;br /&gt;
* handNotes&lt;br /&gt;
* handShift&lt;br /&gt;
* head&lt;br /&gt;
* headItem&lt;br /&gt;
* headLabel&lt;br /&gt;
* height&lt;br /&gt;
* heraldry&lt;br /&gt;
 hi {display:inline; font-weight:bold;}&lt;br /&gt;
* history&lt;br /&gt;
* hom&lt;br /&gt;
* hyph&lt;br /&gt;
* hyphenation&lt;br /&gt;
&lt;br /&gt;
===i===&lt;br /&gt;
&lt;br /&gt;
* iNode&lt;br /&gt;
* iType&lt;br /&gt;
 ident[type] {display:inline; font-weight:bold;} ident:not([type]) {display:inline; } /* Just as the stylesheet allows for different types; a specific type could be styled by ident[type=&amp;quot;XXX&amp;quot;] */&lt;br /&gt;
* idno&lt;br /&gt;
* if&lt;br /&gt;
* iff&lt;br /&gt;
* imprimatur&lt;br /&gt;
* imprint&lt;br /&gt;
* incident (speech module: XSL has not yet covered)&lt;br /&gt;
* incipit&lt;br /&gt;
* index&lt;br /&gt;
* institution&lt;br /&gt;
* interaction&lt;br /&gt;
* interp&lt;br /&gt;
* interpGrp&lt;br /&gt;
* interpretation&lt;br /&gt;
* item&lt;br /&gt;
&lt;br /&gt;
===j===&lt;br /&gt;
&lt;br /&gt;
* join&lt;br /&gt;
* joinGrp&lt;br /&gt;
&lt;br /&gt;
===k===&lt;br /&gt;
&lt;br /&gt;
* keywords (XSL has not yet covered (from header module))&lt;br /&gt;
* kinesic (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
===l===&lt;br /&gt;
&lt;br /&gt;
 l {display:block;}&lt;br /&gt;
 label {display:inline;}&lt;br /&gt;
* lacunaEnd&lt;br /&gt;
* lacunaStart&lt;br /&gt;
* lang&lt;br /&gt;
* langKnowledge&lt;br /&gt;
* langKnown&lt;br /&gt;
* langUsage&lt;br /&gt;
* language&lt;br /&gt;
* layout&lt;br /&gt;
* layoutDesc&lt;br /&gt;
 lb {display:block;}&lt;br /&gt;
* lbl&lt;br /&gt;
* leaf&lt;br /&gt;
* lem&lt;br /&gt;
 lg {display:block;}&lt;br /&gt;
* link&lt;br /&gt;
* linkGrp&lt;br /&gt;
* list&lt;br /&gt;
* listBibl&lt;br /&gt;
* listEvent&lt;br /&gt;
* listNym&lt;br /&gt;
* listOrg&lt;br /&gt;
* listPerson&lt;br /&gt;
* listPlace&lt;br /&gt;
* listRef&lt;br /&gt;
* listWit&lt;br /&gt;
* localName&lt;br /&gt;
* locale&lt;br /&gt;
* location&lt;br /&gt;
* locus&lt;br /&gt;
* locusGrp&lt;br /&gt;
&lt;br /&gt;
===m===&lt;br /&gt;
&lt;br /&gt;
* m&lt;br /&gt;
* macroSpec&lt;br /&gt;
* mapping&lt;br /&gt;
* material&lt;br /&gt;
* measure&lt;br /&gt;
* measureGrp&lt;br /&gt;
* meeting&lt;br /&gt;
* memberOf&lt;br /&gt;
 mentioned {display:inline;}&lt;br /&gt;
* metDecl&lt;br /&gt;
* metSym&lt;br /&gt;
* milestone&lt;br /&gt;
* moduleRef&lt;br /&gt;
* moduleSpec&lt;br /&gt;
* monogr&lt;br /&gt;
* mood&lt;br /&gt;
* move&lt;br /&gt;
* msContents&lt;br /&gt;
* msDesc&lt;br /&gt;
* msIdentifier&lt;br /&gt;
* msItem&lt;br /&gt;
* msItemStruct&lt;br /&gt;
* msName&lt;br /&gt;
* msPart&lt;br /&gt;
* musicNotation&lt;br /&gt;
&lt;br /&gt;
===n===&lt;br /&gt;
&lt;br /&gt;
 name {display:inline;}&lt;br /&gt;
* nameLink&lt;br /&gt;
* namespace&lt;br /&gt;
* nationality&lt;br /&gt;
* node&lt;br /&gt;
* normalization&lt;br /&gt;
* note&lt;br /&gt;
* notesStmt&lt;br /&gt;
* num&lt;br /&gt;
* number&lt;br /&gt;
* numeric&lt;br /&gt;
* nym&lt;br /&gt;
&lt;br /&gt;
===o===&lt;br /&gt;
&lt;br /&gt;
* oRef&lt;br /&gt;
* oVar&lt;br /&gt;
* objectDesc&lt;br /&gt;
* occupation&lt;br /&gt;
* offset&lt;br /&gt;
* opener&lt;br /&gt;
* org&lt;br /&gt;
* orgName&lt;br /&gt;
* orig&lt;br /&gt;
* origDate&lt;br /&gt;
* origPlace&lt;br /&gt;
* origin&lt;br /&gt;
* orth&lt;br /&gt;
&lt;br /&gt;
===p===&lt;br /&gt;
&lt;br /&gt;
* p&lt;br /&gt;
* pRef&lt;br /&gt;
* pVar&lt;br /&gt;
* particDesc&lt;br /&gt;
* pause (speech module: XSL has not yet covered)&lt;br /&gt;
* pb&lt;br /&gt;
* pc&lt;br /&gt;
* per&lt;br /&gt;
* performance&lt;br /&gt;
 persName {display:inline;}&lt;br /&gt;
* person&lt;br /&gt;
* personGrp&lt;br /&gt;
* phr&lt;br /&gt;
* physDesc&lt;br /&gt;
* place&lt;br /&gt;
 placeName {display:inline;}&lt;br /&gt;
* population&lt;br /&gt;
* pos&lt;br /&gt;
* postBox&lt;br /&gt;
* postCode&lt;br /&gt;
* postscript&lt;br /&gt;
* precision&lt;br /&gt;
* preparedness&lt;br /&gt;
* principal&lt;br /&gt;
* profileDesc&lt;br /&gt;
* projectDesc&lt;br /&gt;
* prologue&lt;br /&gt;
* pron&lt;br /&gt;
* provenance&lt;br /&gt;
* ptr&lt;br /&gt;
* pubPlace&lt;br /&gt;
* publicationStmt&lt;br /&gt;
* publisher&lt;br /&gt;
* purpose&lt;br /&gt;
&lt;br /&gt;
===q===&lt;br /&gt;
&lt;br /&gt;
* q&lt;br /&gt;
* quotation&lt;br /&gt;
* quote&lt;br /&gt;
&lt;br /&gt;
===r===&lt;br /&gt;
&lt;br /&gt;
* rdg&lt;br /&gt;
* rdgGrp&lt;br /&gt;
* re&lt;br /&gt;
* recordHist&lt;br /&gt;
* recording&lt;br /&gt;
* recordingStmt&lt;br /&gt;
* ref&lt;br /&gt;
* refState&lt;br /&gt;
* refsDecl&lt;br /&gt;
* reg&lt;br /&gt;
* region&lt;br /&gt;
* relatedItem&lt;br /&gt;
* relation&lt;br /&gt;
* relationGrp&lt;br /&gt;
* remarks&lt;br /&gt;
* rendition&lt;br /&gt;
* repository&lt;br /&gt;
* residence&lt;br /&gt;
 resp:after {content:&amp;quot; &amp;quot;;}&lt;br /&gt;
 respStmt {display:inline;}&lt;br /&gt;
* respons&lt;br /&gt;
* restore&lt;br /&gt;
* revisionDesc&lt;br /&gt;
* rhyme&lt;br /&gt;
 role {display:inline; font-style: italic;}&lt;br /&gt;
 roleDesc { margin-left: 40px; margin-right: 40px; } roleDesc &amp;gt; *:not(p) {display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
 roleName {display:inline;}&lt;br /&gt;
* root&lt;br /&gt;
* row&lt;br /&gt;
* rs&lt;br /&gt;
* rubric&lt;br /&gt;
&lt;br /&gt;
===s===&lt;br /&gt;
&lt;br /&gt;
* s&lt;br /&gt;
* said&lt;br /&gt;
 salute {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* samplingDecl&lt;br /&gt;
* schemaSpec&lt;br /&gt;
* scriptStmt&lt;br /&gt;
* seal&lt;br /&gt;
* sealDesc&lt;br /&gt;
* secFol&lt;br /&gt;
 seg {display:inline;}&lt;br /&gt;
* segmentation&lt;br /&gt;
* sense&lt;br /&gt;
* series&lt;br /&gt;
* seriesStmt&lt;br /&gt;
 set {display:inline; font-style: italic;}&lt;br /&gt;
* setting&lt;br /&gt;
* settingDesc&lt;br /&gt;
* settlement&lt;br /&gt;
* se x (XSL has not yet covered (namesdates module)) /* space-separated for spam filter! */&lt;br /&gt;
* shift (speech module: XSL has not yet covered)&lt;br /&gt;
 sic {display:inline;} sic:after {content: &amp;quot; (sic)&amp;quot;}&lt;br /&gt;
* signatures&lt;br /&gt;
 signed {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
 soCalled:before {content:'‘'} soCalled {display:inline;} soCalled:after {content:'’'} /* Quote style is parameterized in XSL; note: content can also accept 'open-quote' and 'close-quote', but the default is as already included in the rule */&lt;br /&gt;
* socecStatus&lt;br /&gt;
 sound {display:inline; font-style: italic;}&lt;br /&gt;
* source&lt;br /&gt;
* sourceDesc&lt;br /&gt;
* sp&lt;br /&gt;
* space&lt;br /&gt;
* span&lt;br /&gt;
* spanGrp&lt;br /&gt;
* speaker&lt;br /&gt;
* specDesc&lt;br /&gt;
* specGrp&lt;br /&gt;
* specGrpRef&lt;br /&gt;
* specList&lt;br /&gt;
* sponsor&lt;br /&gt;
 stage {font-style: italic; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* stamp&lt;br /&gt;
* state&lt;br /&gt;
* stdVals&lt;br /&gt;
* street&lt;br /&gt;
* stress&lt;br /&gt;
* string&lt;br /&gt;
* stringVal&lt;br /&gt;
* subc&lt;br /&gt;
* subst&lt;br /&gt;
* summary&lt;br /&gt;
* superEntry&lt;br /&gt;
* supplied&lt;br /&gt;
* support&lt;br /&gt;
* supportDesc&lt;br /&gt;
* surface&lt;br /&gt;
* surname&lt;br /&gt;
* surplus&lt;br /&gt;
* surrogates&lt;br /&gt;
* syll&lt;br /&gt;
* symbol&lt;br /&gt;
&lt;br /&gt;
===t===&lt;br /&gt;
&lt;br /&gt;
* TEI&lt;br /&gt;
* table&lt;br /&gt;
* tag&lt;br /&gt;
* tagUsage&lt;br /&gt;
* tagsDecl&lt;br /&gt;
* taxonomy&lt;br /&gt;
 tech {display:inline; font-style: italic;}&lt;br /&gt;
* teiCorpus&lt;br /&gt;
* teiHeader&lt;br /&gt;
 term {display:inline;}&lt;br /&gt;
* terrain&lt;br /&gt;
* text&lt;br /&gt;
* textClass&lt;br /&gt;
* textDesc&lt;br /&gt;
* textLang&lt;br /&gt;
* then&lt;br /&gt;
* time&lt;br /&gt;
* timeline&lt;br /&gt;
* title&lt;br /&gt;
* titlePage&lt;br /&gt;
* titlePart&lt;br /&gt;
* titleStmt&lt;br /&gt;
* tns&lt;br /&gt;
* trailer&lt;br /&gt;
* trait&lt;br /&gt;
* tree&lt;br /&gt;
* triangle&lt;br /&gt;
* typeDesc&lt;br /&gt;
* typeNote&lt;br /&gt;
&lt;br /&gt;
===u===&lt;br /&gt;
&lt;br /&gt;
* u (speech module: XSL has not yet covered)&lt;br /&gt;
 unclear {display:inline;}&lt;br /&gt;
* unicodeName&lt;br /&gt;
* usg&lt;br /&gt;
&lt;br /&gt;
===v===&lt;br /&gt;
&lt;br /&gt;
* vAlt&lt;br /&gt;
* vColl&lt;br /&gt;
* vDefault&lt;br /&gt;
* vLabel&lt;br /&gt;
* vMerge&lt;br /&gt;
* vNot&lt;br /&gt;
* vRange&lt;br /&gt;
* val&lt;br /&gt;
* valDesc&lt;br /&gt;
* valItem&lt;br /&gt;
* valList&lt;br /&gt;
* value&lt;br /&gt;
* variantEncoding&lt;br /&gt;
 view {display:inline; font-style: italic;}&lt;br /&gt;
* vocal (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
===w===&lt;br /&gt;
&lt;br /&gt;
* w&lt;br /&gt;
* watermark&lt;br /&gt;
* when&lt;br /&gt;
* width&lt;br /&gt;
* wit&lt;br /&gt;
* witDetail&lt;br /&gt;
* witEnd&lt;br /&gt;
* witStart&lt;br /&gt;
* witness&lt;br /&gt;
* writing (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
===x===&lt;br /&gt;
&lt;br /&gt;
* xr&lt;br /&gt;
&lt;br /&gt;
===y===&lt;br /&gt;
&lt;br /&gt;
(none)&lt;br /&gt;
&lt;br /&gt;
===z===&lt;br /&gt;
z&lt;br /&gt;
&lt;br /&gt;
* zone&lt;br /&gt;
&lt;br /&gt;
==References used==&lt;br /&gt;
* http://math.ut.ee/~kaarel/NLP/TEI/visualization/ (on rationales)&lt;br /&gt;
&lt;br /&gt;
[[Category:CSS]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=9501</id>
		<title>Comprehensive CSS Stylesheet</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=9501"/>
		<updated>2011-06-05T15:41:41Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: reordering like items&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following is an attempt to gradually build CSS for each TEI element, paralleling the default TEI stylesheets (while also potentially serving as a kind of discussion center for how the stylesheets ought to operate (see [[Formatting TEI documents]] on how there is a need for this despite TEI being agnostic as to output formatting), at least for issues pertaining solely to formatting as opposed to semantics), by indicating here necessary deviations from the XHTML stylesheets (due to CSS constraints) or potentially desirable alternatives, etc.).&lt;br /&gt;
&lt;br /&gt;
==Advantages of CSS (compared to XSL)==&lt;br /&gt;
&lt;br /&gt;
# Simpler for maintenance/alteration (though CSS can still be combined with simpler XSL as needed)&lt;br /&gt;
# Simpler for communicating the underlying behavior and inviting discussion on assumptions&lt;br /&gt;
# Downloading (and parsing?) is faster&lt;br /&gt;
# Wider browser support (and for browser caching?)&lt;br /&gt;
# Allows DOM and other manipulation directly on semantically-named TEI elements (though admittedly, use of frameworks like jQuery may make traversal of X/HTML as easy or easier and XBL, were it to be implemented in browsers (as planned in Firefox) and forgo discouraging semantic alterations, could preserve the DOM (unlike typical stylesheets) while rendering according to a kind of transformation)&lt;br /&gt;
# TEI could potentially be used as is in HTML (though empty self-closing elements will not be treated properly unless changed to &amp;lt;elem&amp;gt;&amp;lt;/elem&amp;gt; form and namespaces will not be present) in addition to true XHTML.&lt;br /&gt;
# If the selectors were changed, the style rules could be applied to an HTML5 serialization of TEI, being in a language already familiar to web developers&lt;br /&gt;
&lt;br /&gt;
==Disadvantages of CSS (compared to XSL)==&lt;br /&gt;
&lt;br /&gt;
# Does not allow transformations such as re-ordering and duplication (thus no automatically generated indexes, tables of contents, etc).&lt;br /&gt;
# Is cumbersome for certain variable structures (e.g., for values varying by integer but not including the integer (e.g., space.extent =&amp;gt; number of spaces) a separate rule must be created for each possible attribute value).&lt;br /&gt;
# Unable to create form controls and some other HTML GUI components.&lt;br /&gt;
# Assumes that the structure of the TEI essentially similar to the desired output (thus no stand-off markup; switching between multiple overlapping hierarchical structures; etc).&lt;br /&gt;
&lt;br /&gt;
==Features of XSL which are impossible to leverage in a CSS stylesheet for TEI==&lt;br /&gt;
&lt;br /&gt;
We will not be able to make equivalents for XSLT templates like rendToClass (e.g., ab) or applyRend (emph), applyRendition (emph) since we cannot (nor do we need to) add an id or class (though @rend or @rendition would be useful to utilize, there is no &amp;quot;eval()&amp;quot;-like code in CSS; however, we could test against predefined values like &amp;quot;bold&amp;quot; (maybe as a global * or at least the elements using these in the stylesheets (emph, hi, ...))).&lt;br /&gt;
&lt;br /&gt;
==Namespaces==&lt;br /&gt;
&lt;br /&gt;
Per CSS Namespaces, one can use either&lt;br /&gt;
 @namespace &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 @namespace tei &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
...but we will use the former since we will presume the stylesheet will be primarily (if not exclusively) for TEI.&lt;br /&gt;
&lt;br /&gt;
==(Level of completion)==&lt;br /&gt;
&lt;br /&gt;
All fields below should be complete for an element, or otherwise noted that it is incomplete, so that it can otherwise be assumed that the CSS has been completely applied as far as possible (besides rend/rendition which may later be done globally for all elements, as these are indeed globals).&lt;br /&gt;
&lt;br /&gt;
==Alphabetical==&lt;br /&gt;
&lt;br /&gt;
===a===&lt;br /&gt;
 ab {display:block;}&lt;br /&gt;
 choice &amp;gt; expan + abbr:before {content:&amp;quot;(&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
 choice &amp;gt; expan + abbr:after {content:&amp;quot;)&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
 accMat {display: block;} accMat:before {content: &amp;quot;Accompanying material: &amp;quot;; font-weight: bold;}&lt;br /&gt;
 history acquisition:before {content: &amp;quot;Acquisition: &amp;quot;;font-weight: bold;} history acquisition {display: block;}&lt;br /&gt;
* activity (XSL has not yet covered (from language module))&lt;br /&gt;
 actor {display:inline; font-style: italic;}&lt;br /&gt;
 add[place=&amp;quot;sup&amp;quot;] {vertical-align:super;} add[place=&amp;quot;sub&amp;quot;] {vertical-align:sub;}&lt;br /&gt;
* addName (XSL has not yet covered (from namesdates module))&lt;br /&gt;
* addSpan&lt;br /&gt;
 additional {padding-top: 3pt; padding-bottom: 2pt; display: block;} additional&amp;gt;listBibl&amp;gt;bibl:after {content: &amp;quot;.&amp;quot;;} additional:before {content: &amp;quot;Additional:&amp;quot;;display: block;font-weight: 600;   font-variant: small-caps;font-size: 120%;} additional&amp;gt;listBibl {display: block;list-style-type: none;margin-top: 10pt;} additional&amp;gt;listBibl:before {content: &amp;quot;Bibliography:&amp;quot;;display: block;font-weight: 600;font-variant: small-caps;font-size: 120%;} additional&amp;gt;listBibl&amp;gt;bibl {text-align: left;display: list-item;margin-left: 30pt;}&lt;br /&gt;
 additions {display: block;} additions:before {content: &amp;quot;Additions: &amp;quot;;font-weight: bold;}&lt;br /&gt;
 addrLine {display:block;}&lt;br /&gt;
 address {display:block; /* font-style:italic; If wish to appear as HTML addresses are rendered by default, at least in Firefox */}&lt;br /&gt;
* adminInfo&lt;br /&gt;
* affiliation&lt;br /&gt;
* age&lt;br /&gt;
* alt&lt;br /&gt;
* altGrp&lt;br /&gt;
* altIdent&lt;br /&gt;
* altIdentifier&lt;br /&gt;
* am&lt;br /&gt;
* analytic&lt;br /&gt;
* anchor&lt;br /&gt;
* app&lt;br /&gt;
* appInfo&lt;br /&gt;
* application&lt;br /&gt;
* arc&lt;br /&gt;
* argument&lt;br /&gt;
 att {display:inline; font-weight:bold;} att:before {content:&amp;quot;@&amp;quot;}&lt;br /&gt;
* attDef&lt;br /&gt;
* attList&lt;br /&gt;
* attRef&lt;br /&gt;
* author&lt;br /&gt;
* authority&lt;br /&gt;
* availability&lt;br /&gt;
&lt;br /&gt;
===b===&lt;br /&gt;
&lt;br /&gt;
* back&lt;br /&gt;
* bibl&lt;br /&gt;
* biblFull&lt;br /&gt;
* biblScope&lt;br /&gt;
* biblStruct&lt;br /&gt;
* bicond&lt;br /&gt;
* binary&lt;br /&gt;
* binaryObject&lt;br /&gt;
* binding&lt;br /&gt;
* bindingDesc&lt;br /&gt;
* birth&lt;br /&gt;
* bloc&lt;br /&gt;
* body&lt;br /&gt;
* broadcast&lt;br /&gt;
 byline {display:block;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===c===&lt;br /&gt;
&lt;br /&gt;
* c&lt;br /&gt;
* cRefPattern&lt;br /&gt;
 caesura:before {display:inline; content:&amp;quot;\a0\a0\a0\a0&amp;quot;; /* could be :after too */}&lt;br /&gt;
 camera {display:inline; font-style: italic;}&lt;br /&gt;
 caption {display:inline; font-style: italic;}&lt;br /&gt;
* case&lt;br /&gt;
* castGroup&lt;br /&gt;
* castItem&lt;br /&gt;
 castList {} /* Note: has additional rules: */&lt;br /&gt;
 castList {display:block;} /* applies whether children are head or not */&lt;br /&gt;
 /* Note: for this to mirror the XSL exactly, head would always need to be preceding other elements as a direct child castList */&lt;br /&gt;
 castList &amp;gt; head {display:inline; font-style:italic;}&lt;br /&gt;
 castList &amp;gt; *:not(head) {margin-left: 40px;} /* If children of castList needed their own indents, then it should be relative to this (if possible) */&lt;br /&gt;
&lt;br /&gt;
* catDesc (Only defined in XSL conditionally if using catRef)&lt;br /&gt;
 catRef {} /* Note: has additional rules: */&lt;br /&gt;
 catRef + catRef:before {'\A'} /* Add line break if preceded by another catRef */&lt;br /&gt;
 catRef:after {content:attr(scheme); display:inline; font-style:italic;} /* Add scheme in italics */&lt;br /&gt;
 /* &lt;br /&gt;
 Commenting out as XPath not currently supported in CSS as needed by third 'after'&lt;br /&gt;
 catRef:after(2) {content:':'}*//* Requires CSS3 to add such additional 'after' content? (Firefox allows content: '123'attr(class)'456' at least); See http://www.w3.org/TR/css3-content/#nesting or http://www.w3.org/TR/css3-content/#inserting0 */&lt;br /&gt;
 /* &lt;br /&gt;
 catRef:after(3) {content: &amp;lt;not possible to reference target's catDesc unless XPath gets added to CSS&amp;gt;} */&lt;br /&gt;
* catchwords&lt;br /&gt;
* category&lt;br /&gt;
* cb&lt;br /&gt;
* cell&lt;br /&gt;
* certainty&lt;br /&gt;
* change&lt;br /&gt;
* channel&lt;br /&gt;
* char&lt;br /&gt;
* charDecl&lt;br /&gt;
* charName&lt;br /&gt;
* charProp&lt;br /&gt;
* choice&lt;br /&gt;
* cit&lt;br /&gt;
* cl&lt;br /&gt;
* classCode (XSL has not yet covered (from header module))&lt;br /&gt;
* classDecl&lt;br /&gt;
* classSpec&lt;br /&gt;
* classes&lt;br /&gt;
* climate&lt;br /&gt;
* closer&lt;br /&gt;
 code {display:inline; font-family:monospace;}&lt;br /&gt;
* collation&lt;br /&gt;
* collection&lt;br /&gt;
* colloc&lt;br /&gt;
* colophon&lt;br /&gt;
* cond&lt;br /&gt;
* condition&lt;br /&gt;
* constitution&lt;br /&gt;
* constraint&lt;br /&gt;
* constraintSpec&lt;br /&gt;
* content&lt;br /&gt;
* corr&lt;br /&gt;
* correction&lt;br /&gt;
* country&lt;br /&gt;
* creation&lt;br /&gt;
* custEvent&lt;br /&gt;
* custodialHist&lt;br /&gt;
&lt;br /&gt;
===d===&lt;br /&gt;
&lt;br /&gt;
* damage&lt;br /&gt;
* damageSpan&lt;br /&gt;
* datatype&lt;br /&gt;
* date&lt;br /&gt;
* dateline&lt;br /&gt;
* death&lt;br /&gt;
* decoDesc&lt;br /&gt;
* decoNote&lt;br /&gt;
* def&lt;br /&gt;
* default&lt;br /&gt;
* defaultVal&lt;br /&gt;
 del {display:inline; text-decoration: line-through;}&lt;br /&gt;
* delSpan&lt;br /&gt;
* depth&lt;br /&gt;
* derivation&lt;br /&gt;
* desc&lt;br /&gt;
* dictScrap&lt;br /&gt;
* dim&lt;br /&gt;
* dimensions&lt;br /&gt;
* distinct&lt;br /&gt;
* distributor&lt;br /&gt;
* district&lt;br /&gt;
* div&lt;br /&gt;
* div1&lt;br /&gt;
* div2&lt;br /&gt;
* div3&lt;br /&gt;
* div4&lt;br /&gt;
* div5&lt;br /&gt;
* div6&lt;br /&gt;
* div7&lt;br /&gt;
* divGen&lt;br /&gt;
* docAuthor&lt;br /&gt;
* docDate&lt;br /&gt;
* docEdition&lt;br /&gt;
* docImprint&lt;br /&gt;
* docTitle&lt;br /&gt;
* domain&lt;br /&gt;
&lt;br /&gt;
===e===&lt;br /&gt;
&lt;br /&gt;
* eLeaf&lt;br /&gt;
* eTree&lt;br /&gt;
* edition&lt;br /&gt;
* editionStmt&lt;br /&gt;
* editor&lt;br /&gt;
* editorialDecl&lt;br /&gt;
* education&lt;br /&gt;
* eg&lt;br /&gt;
* egXML&lt;br /&gt;
* elementSpec&lt;br /&gt;
* email&lt;br /&gt;
 emph {display:inline; font-style:italic;}&lt;br /&gt;
* encodingDesc&lt;br /&gt;
* entry&lt;br /&gt;
* entryFree&lt;br /&gt;
 epigraph {display:block;}&lt;br /&gt;
* epilogue&lt;br /&gt;
* equipment&lt;br /&gt;
* equiv&lt;br /&gt;
* etym&lt;br /&gt;
* event&lt;br /&gt;
* ex&lt;br /&gt;
* exemplum&lt;br /&gt;
 choice &amp;gt; expan + abbr:before {content:&amp;quot;(&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
 choice &amp;gt; expan + abbr:after {content:&amp;quot;)&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
* explicit&lt;br /&gt;
* extent&lt;br /&gt;
&lt;br /&gt;
===f===&lt;br /&gt;
&lt;br /&gt;
* f&lt;br /&gt;
* fDecl&lt;br /&gt;
* fDescr&lt;br /&gt;
* fLib&lt;br /&gt;
* facsimile&lt;br /&gt;
* factuality&lt;br /&gt;
* faith&lt;br /&gt;
* figDesc&lt;br /&gt;
* figure&lt;br /&gt;
* fileDesc&lt;br /&gt;
* filiation&lt;br /&gt;
* finalRubric&lt;br /&gt;
* floatingText&lt;br /&gt;
* floruit&lt;br /&gt;
* foliation&lt;br /&gt;
 foreign {display:inline;}&lt;br /&gt;
* forename&lt;br /&gt;
* forest&lt;br /&gt;
* forestGrp&lt;br /&gt;
* form&lt;br /&gt;
* formula&lt;br /&gt;
* front&lt;br /&gt;
* fs&lt;br /&gt;
* fsConstraints&lt;br /&gt;
* fsDecl&lt;br /&gt;
* fsDescr&lt;br /&gt;
* fsdDecl&lt;br /&gt;
* fsdLink&lt;br /&gt;
* funder&lt;br /&gt;
* fvLib&lt;br /&gt;
* fw&lt;br /&gt;
&lt;br /&gt;
===g===&lt;br /&gt;
&lt;br /&gt;
* g&lt;br /&gt;
* gap&lt;br /&gt;
* gen&lt;br /&gt;
 genName {display:inline;}&lt;br /&gt;
* geo&lt;br /&gt;
* geoDecl&lt;br /&gt;
* geogFeat&lt;br /&gt;
 geogName {display:inline;}&lt;br /&gt;
 gi:before {display:inline;content:&amp;quot;&amp;lt;&amp;quot;}  gi:after {display:inline;content:&amp;quot;&amp;gt;&amp;quot;}&lt;br /&gt;
 gloss {display:inline;}&lt;br /&gt;
* glyph&lt;br /&gt;
* glyphName&lt;br /&gt;
* gram&lt;br /&gt;
* gramGrp&lt;br /&gt;
* graph&lt;br /&gt;
* graphic&lt;br /&gt;
* group&lt;br /&gt;
&lt;br /&gt;
===h===&lt;br /&gt;
&lt;br /&gt;
* handDesc&lt;br /&gt;
* handNote&lt;br /&gt;
* handNotes&lt;br /&gt;
* handShift&lt;br /&gt;
* head&lt;br /&gt;
* headItem&lt;br /&gt;
* headLabel&lt;br /&gt;
* height&lt;br /&gt;
* heraldry&lt;br /&gt;
 hi {display:inline; font-weight:bold;}&lt;br /&gt;
* history&lt;br /&gt;
* hom&lt;br /&gt;
* hyph&lt;br /&gt;
* hyphenation&lt;br /&gt;
&lt;br /&gt;
===i===&lt;br /&gt;
&lt;br /&gt;
* iNode&lt;br /&gt;
* iType&lt;br /&gt;
 ident[type] {display:inline; font-weight:bold;} ident:not([type]) {display:inline; } /* Just as the stylesheet allows for different types; a specific type could be styled by ident[type=&amp;quot;XXX&amp;quot;] */&lt;br /&gt;
* idno&lt;br /&gt;
* if&lt;br /&gt;
* iff&lt;br /&gt;
* imprimatur&lt;br /&gt;
* imprint&lt;br /&gt;
* incident (speech module: XSL has not yet covered)&lt;br /&gt;
* incipit&lt;br /&gt;
* index&lt;br /&gt;
* institution&lt;br /&gt;
* interaction&lt;br /&gt;
* interp&lt;br /&gt;
* interpGrp&lt;br /&gt;
* interpretation&lt;br /&gt;
* item&lt;br /&gt;
&lt;br /&gt;
===j===&lt;br /&gt;
&lt;br /&gt;
* join&lt;br /&gt;
* joinGrp&lt;br /&gt;
&lt;br /&gt;
===k===&lt;br /&gt;
&lt;br /&gt;
* keywords (XSL has not yet covered (from header module))&lt;br /&gt;
* kinesic (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
===l===&lt;br /&gt;
&lt;br /&gt;
 l {display:block;}&lt;br /&gt;
 label {display:inline;}&lt;br /&gt;
* lacunaEnd&lt;br /&gt;
* lacunaStart&lt;br /&gt;
* lang&lt;br /&gt;
* langKnowledge&lt;br /&gt;
* langKnown&lt;br /&gt;
* langUsage&lt;br /&gt;
* language&lt;br /&gt;
* layout&lt;br /&gt;
* layoutDesc&lt;br /&gt;
 lb {display:block;}&lt;br /&gt;
* lbl&lt;br /&gt;
* leaf&lt;br /&gt;
* lem&lt;br /&gt;
 lg {display:block;}&lt;br /&gt;
* link&lt;br /&gt;
* linkGrp&lt;br /&gt;
* list&lt;br /&gt;
* listBibl&lt;br /&gt;
* listEvent&lt;br /&gt;
* listNym&lt;br /&gt;
* listOrg&lt;br /&gt;
* listPerson&lt;br /&gt;
* listPlace&lt;br /&gt;
* listRef&lt;br /&gt;
* listWit&lt;br /&gt;
* localName&lt;br /&gt;
* locale&lt;br /&gt;
* location&lt;br /&gt;
* locus&lt;br /&gt;
* locusGrp&lt;br /&gt;
&lt;br /&gt;
===m===&lt;br /&gt;
&lt;br /&gt;
* m&lt;br /&gt;
* macroSpec&lt;br /&gt;
* mapping&lt;br /&gt;
* material&lt;br /&gt;
* measure&lt;br /&gt;
* measureGrp&lt;br /&gt;
* meeting&lt;br /&gt;
* memberOf&lt;br /&gt;
 mentioned {display:inline;}&lt;br /&gt;
* metDecl&lt;br /&gt;
* metSym&lt;br /&gt;
* milestone&lt;br /&gt;
* moduleRef&lt;br /&gt;
* moduleSpec&lt;br /&gt;
* monogr&lt;br /&gt;
* mood&lt;br /&gt;
* move&lt;br /&gt;
* msContents&lt;br /&gt;
* msDesc&lt;br /&gt;
* msIdentifier&lt;br /&gt;
* msItem&lt;br /&gt;
* msItemStruct&lt;br /&gt;
* msName&lt;br /&gt;
* msPart&lt;br /&gt;
* musicNotation&lt;br /&gt;
&lt;br /&gt;
===n===&lt;br /&gt;
&lt;br /&gt;
 name {display:inline;}&lt;br /&gt;
* nameLink&lt;br /&gt;
* namespace&lt;br /&gt;
* nationality&lt;br /&gt;
* node&lt;br /&gt;
* normalization&lt;br /&gt;
* note&lt;br /&gt;
* notesStmt&lt;br /&gt;
* num&lt;br /&gt;
* number&lt;br /&gt;
* numeric&lt;br /&gt;
* nym&lt;br /&gt;
&lt;br /&gt;
===o===&lt;br /&gt;
&lt;br /&gt;
* oRef&lt;br /&gt;
* oVar&lt;br /&gt;
* objectDesc&lt;br /&gt;
* occupation&lt;br /&gt;
* offset&lt;br /&gt;
* opener&lt;br /&gt;
* org&lt;br /&gt;
* orgName&lt;br /&gt;
* orig&lt;br /&gt;
* origDate&lt;br /&gt;
* origPlace&lt;br /&gt;
* origin&lt;br /&gt;
* orth&lt;br /&gt;
&lt;br /&gt;
===p===&lt;br /&gt;
&lt;br /&gt;
* p&lt;br /&gt;
* pRef&lt;br /&gt;
* pVar&lt;br /&gt;
* particDesc&lt;br /&gt;
* pause (speech module: XSL has not yet covered)&lt;br /&gt;
* pb&lt;br /&gt;
* pc&lt;br /&gt;
* per&lt;br /&gt;
* performance&lt;br /&gt;
 persName {display:inline;}&lt;br /&gt;
* person&lt;br /&gt;
* personGrp&lt;br /&gt;
* phr&lt;br /&gt;
* physDesc&lt;br /&gt;
* place&lt;br /&gt;
 placeName {display:inline;}&lt;br /&gt;
* population&lt;br /&gt;
* pos&lt;br /&gt;
* postBox&lt;br /&gt;
* postCode&lt;br /&gt;
* postscript&lt;br /&gt;
* precision&lt;br /&gt;
* preparedness&lt;br /&gt;
* principal&lt;br /&gt;
* profileDesc&lt;br /&gt;
* projectDesc&lt;br /&gt;
* prologue&lt;br /&gt;
* pron&lt;br /&gt;
* provenance&lt;br /&gt;
* ptr&lt;br /&gt;
* pubPlace&lt;br /&gt;
* publicationStmt&lt;br /&gt;
* publisher&lt;br /&gt;
* purpose&lt;br /&gt;
&lt;br /&gt;
===q===&lt;br /&gt;
&lt;br /&gt;
* q&lt;br /&gt;
* quotation&lt;br /&gt;
* quote&lt;br /&gt;
&lt;br /&gt;
===r===&lt;br /&gt;
&lt;br /&gt;
* rdg&lt;br /&gt;
* rdgGrp&lt;br /&gt;
* re&lt;br /&gt;
* recordHist&lt;br /&gt;
* recording&lt;br /&gt;
* recordingStmt&lt;br /&gt;
* ref&lt;br /&gt;
* refState&lt;br /&gt;
* refsDecl&lt;br /&gt;
* reg&lt;br /&gt;
* region&lt;br /&gt;
* relatedItem&lt;br /&gt;
* relation&lt;br /&gt;
* relationGrp&lt;br /&gt;
* remarks&lt;br /&gt;
* rendition&lt;br /&gt;
* repository&lt;br /&gt;
* residence&lt;br /&gt;
 resp:after {content:&amp;quot; &amp;quot;;}&lt;br /&gt;
 respStmt {display:inline;}&lt;br /&gt;
* respons&lt;br /&gt;
* restore&lt;br /&gt;
* revisionDesc&lt;br /&gt;
* rhyme&lt;br /&gt;
 role {display:inline; font-style: italic;}&lt;br /&gt;
 roleDesc { margin-left: 40px; margin-right: 40px; } roleDesc &amp;gt; *:not(p) {display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
 roleName {display:inline;}&lt;br /&gt;
* root&lt;br /&gt;
* row&lt;br /&gt;
* rs&lt;br /&gt;
* rubric&lt;br /&gt;
&lt;br /&gt;
===s===&lt;br /&gt;
&lt;br /&gt;
* s&lt;br /&gt;
* said&lt;br /&gt;
 salute {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* samplingDecl&lt;br /&gt;
* schemaSpec&lt;br /&gt;
* scriptStmt&lt;br /&gt;
* seal&lt;br /&gt;
* sealDesc&lt;br /&gt;
* secFol&lt;br /&gt;
 seg {display:inline;}&lt;br /&gt;
* segmentation&lt;br /&gt;
* sense&lt;br /&gt;
* series&lt;br /&gt;
* seriesStmt&lt;br /&gt;
 set {display:inline; font-style: italic;}&lt;br /&gt;
* setting&lt;br /&gt;
* settingDesc&lt;br /&gt;
* settlement&lt;br /&gt;
* se x (XSL has not yet covered (namesdates module)) /* space-separated for spam filter! */&lt;br /&gt;
* shift (speech module: XSL has not yet covered)&lt;br /&gt;
 sic {display:inline;} sic:after {content: &amp;quot; (sic)&amp;quot;}&lt;br /&gt;
* signatures&lt;br /&gt;
 signed {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
 soCalled:before {content:'‘'} soCalled {display:inline;} soCalled:after {content:'’'} /* Quote style is parameterized in XSL; note: content can also accept 'open-quote' and 'close-quote', but the default is as already included in the rule */&lt;br /&gt;
* socecStatus&lt;br /&gt;
 sound {display:inline; font-style: italic;}&lt;br /&gt;
* source&lt;br /&gt;
* sourceDesc&lt;br /&gt;
* sp&lt;br /&gt;
* space&lt;br /&gt;
* span&lt;br /&gt;
* spanGrp&lt;br /&gt;
* speaker&lt;br /&gt;
* specDesc&lt;br /&gt;
* specGrp&lt;br /&gt;
* specGrpRef&lt;br /&gt;
* specList&lt;br /&gt;
* sponsor&lt;br /&gt;
 stage {font-style: italic; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* stamp&lt;br /&gt;
* state&lt;br /&gt;
* stdVals&lt;br /&gt;
* street&lt;br /&gt;
* stress&lt;br /&gt;
* string&lt;br /&gt;
* stringVal&lt;br /&gt;
* subc&lt;br /&gt;
* subst&lt;br /&gt;
* summary&lt;br /&gt;
* superEntry&lt;br /&gt;
* supplied&lt;br /&gt;
* support&lt;br /&gt;
* supportDesc&lt;br /&gt;
* surface&lt;br /&gt;
* surname&lt;br /&gt;
* surplus&lt;br /&gt;
* surrogates&lt;br /&gt;
* syll&lt;br /&gt;
* symbol&lt;br /&gt;
&lt;br /&gt;
===t===&lt;br /&gt;
&lt;br /&gt;
* TEI&lt;br /&gt;
* table&lt;br /&gt;
* tag&lt;br /&gt;
* tagUsage&lt;br /&gt;
* tagsDecl&lt;br /&gt;
* taxonomy&lt;br /&gt;
 tech {display:inline; font-style: italic;}&lt;br /&gt;
* teiCorpus&lt;br /&gt;
* teiHeader&lt;br /&gt;
 term {display:inline;}&lt;br /&gt;
* terrain&lt;br /&gt;
* text&lt;br /&gt;
* textClass&lt;br /&gt;
* textDesc&lt;br /&gt;
* textLang&lt;br /&gt;
* then&lt;br /&gt;
* time&lt;br /&gt;
* timeline&lt;br /&gt;
* title&lt;br /&gt;
* titlePage&lt;br /&gt;
* titlePart&lt;br /&gt;
* titleStmt&lt;br /&gt;
* tns&lt;br /&gt;
* trailer&lt;br /&gt;
* trait&lt;br /&gt;
* tree&lt;br /&gt;
* triangle&lt;br /&gt;
* typeDesc&lt;br /&gt;
* typeNote&lt;br /&gt;
&lt;br /&gt;
===u===&lt;br /&gt;
&lt;br /&gt;
* u (speech module: XSL has not yet covered)&lt;br /&gt;
 unclear {display:inline;}&lt;br /&gt;
* unicodeName&lt;br /&gt;
* usg&lt;br /&gt;
&lt;br /&gt;
===v===&lt;br /&gt;
&lt;br /&gt;
* vAlt&lt;br /&gt;
* vColl&lt;br /&gt;
* vDefault&lt;br /&gt;
* vLabel&lt;br /&gt;
* vMerge&lt;br /&gt;
* vNot&lt;br /&gt;
* vRange&lt;br /&gt;
* val&lt;br /&gt;
* valDesc&lt;br /&gt;
* valItem&lt;br /&gt;
* valList&lt;br /&gt;
* value&lt;br /&gt;
* variantEncoding&lt;br /&gt;
 view {display:inline; font-style: italic;}&lt;br /&gt;
* vocal (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
===w===&lt;br /&gt;
&lt;br /&gt;
* w&lt;br /&gt;
* watermark&lt;br /&gt;
* when&lt;br /&gt;
* width&lt;br /&gt;
* wit&lt;br /&gt;
* witDetail&lt;br /&gt;
* witEnd&lt;br /&gt;
* witStart&lt;br /&gt;
* witness&lt;br /&gt;
* writing (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
===x===&lt;br /&gt;
&lt;br /&gt;
* xr&lt;br /&gt;
&lt;br /&gt;
===y===&lt;br /&gt;
&lt;br /&gt;
(none)&lt;br /&gt;
&lt;br /&gt;
===z===&lt;br /&gt;
z&lt;br /&gt;
&lt;br /&gt;
* zone&lt;br /&gt;
&lt;br /&gt;
===References used===&lt;br /&gt;
* http://math.ut.ee/~kaarel/NLP/TEI/visualization/ (on rationales)&lt;br /&gt;
&lt;br /&gt;
[[Category:CSS]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=9500</id>
		<title>Comprehensive CSS Stylesheet</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=9500"/>
		<updated>2011-06-05T15:40:33Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: structuring page further&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following is an attempt to gradually build CSS for each TEI element, paralleling the default TEI stylesheets (while also potentially serving as a kind of discussion center for how the stylesheets ought to operate (see [[Formatting TEI documents]] on how there is a need for this despite TEI being agnostic as to output formatting), at least for issues pertaining solely to formatting as opposed to semantics), by indicating here necessary deviations from the XHTML stylesheets (due to CSS constraints) or potentially desirable alternatives, etc.).&lt;br /&gt;
&lt;br /&gt;
==Advantages of CSS (compared to XSL)==&lt;br /&gt;
&lt;br /&gt;
# Simpler for maintenance/alteration (though CSS can still be combined with simpler XSL as needed)&lt;br /&gt;
# Simpler for communicating the underlying behavior and inviting discussion on assumptions&lt;br /&gt;
# Downloading (and parsing?) is faster&lt;br /&gt;
# Wider browser support (and for browser caching?)&lt;br /&gt;
# Allows DOM and other manipulation directly on semantically-named TEI elements (though admittedly, use of frameworks like jQuery may make traversal of X/HTML as easy or easier and XBL, were it to be implemented in browsers (as planned in Firefox) and forgo discouraging semantic alterations, could preserve the DOM (unlike typical stylesheets) while rendering according to a kind of transformation)&lt;br /&gt;
# TEI could potentially be used as is in HTML (though empty self-closing elements will not be treated properly unless changed to &amp;lt;elem&amp;gt;&amp;lt;/elem&amp;gt; form and namespaces will not be present) in addition to true XHTML.&lt;br /&gt;
# If the selectors were changed, the style rules could be applied to an HTML5 serialization of TEI, being in a language already familiar to web developers&lt;br /&gt;
&lt;br /&gt;
==Disadvantages of CSS (compared to XSL)==&lt;br /&gt;
&lt;br /&gt;
# Does not allow transformations such as re-ordering and duplication (thus no automatically generated indexes, tables of contents, etc).&lt;br /&gt;
# Is cumbersome for certain variable structures (e.g., for values varying by integer but not including the integer (e.g., space.extent =&amp;gt; number of spaces) a separate rule must be created for each possible attribute value).&lt;br /&gt;
# Unable to create form controls and some other HTML GUI components.&lt;br /&gt;
# Assumes that the structure of the TEI essentially similar to the desired output (thus no stand-off markup; switching between multiple overlapping hierarchical structures; etc).&lt;br /&gt;
&lt;br /&gt;
==Namespaces==&lt;br /&gt;
&lt;br /&gt;
Per CSS Namespaces, one can use either&lt;br /&gt;
 @namespace &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 @namespace tei &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
...but we will use the former since we will presume the stylesheet will be primarily (if not exclusively) for TEI.&lt;br /&gt;
&lt;br /&gt;
==Features of XSL which are impossible to leverage in a CSS stylesheet for TEI==&lt;br /&gt;
&lt;br /&gt;
We will not be able to make equivalents for XSLT templates like rendToClass (e.g., ab) or applyRend (emph), applyRendition (emph) since we cannot (nor do we need to) add an id or class (though @rend or @rendition would be useful to utilize, there is no &amp;quot;eval()&amp;quot;-like code in CSS; however, we could test against predefined values like &amp;quot;bold&amp;quot; (maybe as a global * or at least the elements using these in the stylesheets (emph, hi, ...))).&lt;br /&gt;
&lt;br /&gt;
==(Level of completion)==&lt;br /&gt;
&lt;br /&gt;
All fields below should be complete for an element, or otherwise noted that it is incomplete, so that it can otherwise be assumed that the CSS has been completely applied as far as possible (besides rend/rendition which may later be done globally for all elements, as these are indeed globals).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Alphabetical==&lt;br /&gt;
&lt;br /&gt;
===a===&lt;br /&gt;
 ab {display:block;}&lt;br /&gt;
 choice &amp;gt; expan + abbr:before {content:&amp;quot;(&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
 choice &amp;gt; expan + abbr:after {content:&amp;quot;)&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
 accMat {display: block;} accMat:before {content: &amp;quot;Accompanying material: &amp;quot;; font-weight: bold;}&lt;br /&gt;
 history acquisition:before {content: &amp;quot;Acquisition: &amp;quot;;font-weight: bold;} history acquisition {display: block;}&lt;br /&gt;
* activity (XSL has not yet covered (from language module))&lt;br /&gt;
 actor {display:inline; font-style: italic;}&lt;br /&gt;
 add[place=&amp;quot;sup&amp;quot;] {vertical-align:super;} add[place=&amp;quot;sub&amp;quot;] {vertical-align:sub;}&lt;br /&gt;
* addName (XSL has not yet covered (from namesdates module))&lt;br /&gt;
* addSpan&lt;br /&gt;
 additional {padding-top: 3pt; padding-bottom: 2pt; display: block;} additional&amp;gt;listBibl&amp;gt;bibl:after {content: &amp;quot;.&amp;quot;;} additional:before {content: &amp;quot;Additional:&amp;quot;;display: block;font-weight: 600;   font-variant: small-caps;font-size: 120%;} additional&amp;gt;listBibl {display: block;list-style-type: none;margin-top: 10pt;} additional&amp;gt;listBibl:before {content: &amp;quot;Bibliography:&amp;quot;;display: block;font-weight: 600;font-variant: small-caps;font-size: 120%;} additional&amp;gt;listBibl&amp;gt;bibl {text-align: left;display: list-item;margin-left: 30pt;}&lt;br /&gt;
 additions {display: block;} additions:before {content: &amp;quot;Additions: &amp;quot;;font-weight: bold;}&lt;br /&gt;
 addrLine {display:block;}&lt;br /&gt;
 address {display:block; /* font-style:italic; If wish to appear as HTML addresses are rendered by default, at least in Firefox */}&lt;br /&gt;
* adminInfo&lt;br /&gt;
* affiliation&lt;br /&gt;
* age&lt;br /&gt;
* alt&lt;br /&gt;
* altGrp&lt;br /&gt;
* altIdent&lt;br /&gt;
* altIdentifier&lt;br /&gt;
* am&lt;br /&gt;
* analytic&lt;br /&gt;
* anchor&lt;br /&gt;
* app&lt;br /&gt;
* appInfo&lt;br /&gt;
* application&lt;br /&gt;
* arc&lt;br /&gt;
* argument&lt;br /&gt;
 att {display:inline; font-weight:bold;} att:before {content:&amp;quot;@&amp;quot;}&lt;br /&gt;
* attDef&lt;br /&gt;
* attList&lt;br /&gt;
* attRef&lt;br /&gt;
* author&lt;br /&gt;
* authority&lt;br /&gt;
* availability&lt;br /&gt;
&lt;br /&gt;
===b===&lt;br /&gt;
&lt;br /&gt;
* back&lt;br /&gt;
* bibl&lt;br /&gt;
* biblFull&lt;br /&gt;
* biblScope&lt;br /&gt;
* biblStruct&lt;br /&gt;
* bicond&lt;br /&gt;
* binary&lt;br /&gt;
* binaryObject&lt;br /&gt;
* binding&lt;br /&gt;
* bindingDesc&lt;br /&gt;
* birth&lt;br /&gt;
* bloc&lt;br /&gt;
* body&lt;br /&gt;
* broadcast&lt;br /&gt;
 byline {display:block;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===c===&lt;br /&gt;
&lt;br /&gt;
* c&lt;br /&gt;
* cRefPattern&lt;br /&gt;
 caesura:before {display:inline; content:&amp;quot;\a0\a0\a0\a0&amp;quot;; /* could be :after too */}&lt;br /&gt;
 camera {display:inline; font-style: italic;}&lt;br /&gt;
 caption {display:inline; font-style: italic;}&lt;br /&gt;
* case&lt;br /&gt;
* castGroup&lt;br /&gt;
* castItem&lt;br /&gt;
 castList {} /* Note: has additional rules: */&lt;br /&gt;
 castList {display:block;} /* applies whether children are head or not */&lt;br /&gt;
 /* Note: for this to mirror the XSL exactly, head would always need to be preceding other elements as a direct child castList */&lt;br /&gt;
 castList &amp;gt; head {display:inline; font-style:italic;}&lt;br /&gt;
 castList &amp;gt; *:not(head) {margin-left: 40px;} /* If children of castList needed their own indents, then it should be relative to this (if possible) */&lt;br /&gt;
&lt;br /&gt;
* catDesc (Only defined in XSL conditionally if using catRef)&lt;br /&gt;
 catRef {} /* Note: has additional rules: */&lt;br /&gt;
 catRef + catRef:before {'\A'} /* Add line break if preceded by another catRef */&lt;br /&gt;
 catRef:after {content:attr(scheme); display:inline; font-style:italic;} /* Add scheme in italics */&lt;br /&gt;
 /* &lt;br /&gt;
 Commenting out as XPath not currently supported in CSS as needed by third 'after'&lt;br /&gt;
 catRef:after(2) {content:':'}*//* Requires CSS3 to add such additional 'after' content? (Firefox allows content: '123'attr(class)'456' at least); See http://www.w3.org/TR/css3-content/#nesting or http://www.w3.org/TR/css3-content/#inserting0 */&lt;br /&gt;
 /* &lt;br /&gt;
 catRef:after(3) {content: &amp;lt;not possible to reference target's catDesc unless XPath gets added to CSS&amp;gt;} */&lt;br /&gt;
* catchwords&lt;br /&gt;
* category&lt;br /&gt;
* cb&lt;br /&gt;
* cell&lt;br /&gt;
* certainty&lt;br /&gt;
* change&lt;br /&gt;
* channel&lt;br /&gt;
* char&lt;br /&gt;
* charDecl&lt;br /&gt;
* charName&lt;br /&gt;
* charProp&lt;br /&gt;
* choice&lt;br /&gt;
* cit&lt;br /&gt;
* cl&lt;br /&gt;
* classCode (XSL has not yet covered (from header module))&lt;br /&gt;
* classDecl&lt;br /&gt;
* classSpec&lt;br /&gt;
* classes&lt;br /&gt;
* climate&lt;br /&gt;
* closer&lt;br /&gt;
 code {display:inline; font-family:monospace;}&lt;br /&gt;
* collation&lt;br /&gt;
* collection&lt;br /&gt;
* colloc&lt;br /&gt;
* colophon&lt;br /&gt;
* cond&lt;br /&gt;
* condition&lt;br /&gt;
* constitution&lt;br /&gt;
* constraint&lt;br /&gt;
* constraintSpec&lt;br /&gt;
* content&lt;br /&gt;
* corr&lt;br /&gt;
* correction&lt;br /&gt;
* country&lt;br /&gt;
* creation&lt;br /&gt;
* custEvent&lt;br /&gt;
* custodialHist&lt;br /&gt;
&lt;br /&gt;
===d===&lt;br /&gt;
&lt;br /&gt;
* damage&lt;br /&gt;
* damageSpan&lt;br /&gt;
* datatype&lt;br /&gt;
* date&lt;br /&gt;
* dateline&lt;br /&gt;
* death&lt;br /&gt;
* decoDesc&lt;br /&gt;
* decoNote&lt;br /&gt;
* def&lt;br /&gt;
* default&lt;br /&gt;
* defaultVal&lt;br /&gt;
 del {display:inline; text-decoration: line-through;}&lt;br /&gt;
* delSpan&lt;br /&gt;
* depth&lt;br /&gt;
* derivation&lt;br /&gt;
* desc&lt;br /&gt;
* dictScrap&lt;br /&gt;
* dim&lt;br /&gt;
* dimensions&lt;br /&gt;
* distinct&lt;br /&gt;
* distributor&lt;br /&gt;
* district&lt;br /&gt;
* div&lt;br /&gt;
* div1&lt;br /&gt;
* div2&lt;br /&gt;
* div3&lt;br /&gt;
* div4&lt;br /&gt;
* div5&lt;br /&gt;
* div6&lt;br /&gt;
* div7&lt;br /&gt;
* divGen&lt;br /&gt;
* docAuthor&lt;br /&gt;
* docDate&lt;br /&gt;
* docEdition&lt;br /&gt;
* docImprint&lt;br /&gt;
* docTitle&lt;br /&gt;
* domain&lt;br /&gt;
&lt;br /&gt;
===e===&lt;br /&gt;
&lt;br /&gt;
* eLeaf&lt;br /&gt;
* eTree&lt;br /&gt;
* edition&lt;br /&gt;
* editionStmt&lt;br /&gt;
* editor&lt;br /&gt;
* editorialDecl&lt;br /&gt;
* education&lt;br /&gt;
* eg&lt;br /&gt;
* egXML&lt;br /&gt;
* elementSpec&lt;br /&gt;
* email&lt;br /&gt;
 emph {display:inline; font-style:italic;}&lt;br /&gt;
* encodingDesc&lt;br /&gt;
* entry&lt;br /&gt;
* entryFree&lt;br /&gt;
 epigraph {display:block;}&lt;br /&gt;
* epilogue&lt;br /&gt;
* equipment&lt;br /&gt;
* equiv&lt;br /&gt;
* etym&lt;br /&gt;
* event&lt;br /&gt;
* ex&lt;br /&gt;
* exemplum&lt;br /&gt;
 choice &amp;gt; expan + abbr:before {content:&amp;quot;(&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
 choice &amp;gt; expan + abbr:after {content:&amp;quot;)&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
* explicit&lt;br /&gt;
* extent&lt;br /&gt;
&lt;br /&gt;
===f===&lt;br /&gt;
&lt;br /&gt;
* f&lt;br /&gt;
* fDecl&lt;br /&gt;
* fDescr&lt;br /&gt;
* fLib&lt;br /&gt;
* facsimile&lt;br /&gt;
* factuality&lt;br /&gt;
* faith&lt;br /&gt;
* figDesc&lt;br /&gt;
* figure&lt;br /&gt;
* fileDesc&lt;br /&gt;
* filiation&lt;br /&gt;
* finalRubric&lt;br /&gt;
* floatingText&lt;br /&gt;
* floruit&lt;br /&gt;
* foliation&lt;br /&gt;
 foreign {display:inline;}&lt;br /&gt;
* forename&lt;br /&gt;
* forest&lt;br /&gt;
* forestGrp&lt;br /&gt;
* form&lt;br /&gt;
* formula&lt;br /&gt;
* front&lt;br /&gt;
* fs&lt;br /&gt;
* fsConstraints&lt;br /&gt;
* fsDecl&lt;br /&gt;
* fsDescr&lt;br /&gt;
* fsdDecl&lt;br /&gt;
* fsdLink&lt;br /&gt;
* funder&lt;br /&gt;
* fvLib&lt;br /&gt;
* fw&lt;br /&gt;
&lt;br /&gt;
===g===&lt;br /&gt;
&lt;br /&gt;
* g&lt;br /&gt;
* gap&lt;br /&gt;
* gen&lt;br /&gt;
 genName {display:inline;}&lt;br /&gt;
* geo&lt;br /&gt;
* geoDecl&lt;br /&gt;
* geogFeat&lt;br /&gt;
 geogName {display:inline;}&lt;br /&gt;
 gi:before {display:inline;content:&amp;quot;&amp;lt;&amp;quot;}  gi:after {display:inline;content:&amp;quot;&amp;gt;&amp;quot;}&lt;br /&gt;
 gloss {display:inline;}&lt;br /&gt;
* glyph&lt;br /&gt;
* glyphName&lt;br /&gt;
* gram&lt;br /&gt;
* gramGrp&lt;br /&gt;
* graph&lt;br /&gt;
* graphic&lt;br /&gt;
* group&lt;br /&gt;
&lt;br /&gt;
===h===&lt;br /&gt;
&lt;br /&gt;
* handDesc&lt;br /&gt;
* handNote&lt;br /&gt;
* handNotes&lt;br /&gt;
* handShift&lt;br /&gt;
* head&lt;br /&gt;
* headItem&lt;br /&gt;
* headLabel&lt;br /&gt;
* height&lt;br /&gt;
* heraldry&lt;br /&gt;
 hi {display:inline; font-weight:bold;}&lt;br /&gt;
* history&lt;br /&gt;
* hom&lt;br /&gt;
* hyph&lt;br /&gt;
* hyphenation&lt;br /&gt;
&lt;br /&gt;
===i===&lt;br /&gt;
&lt;br /&gt;
* iNode&lt;br /&gt;
* iType&lt;br /&gt;
 ident[type] {display:inline; font-weight:bold;} ident:not([type]) {display:inline; } /* Just as the stylesheet allows for different types; a specific type could be styled by ident[type=&amp;quot;XXX&amp;quot;] */&lt;br /&gt;
* idno&lt;br /&gt;
* if&lt;br /&gt;
* iff&lt;br /&gt;
* imprimatur&lt;br /&gt;
* imprint&lt;br /&gt;
* incident (speech module: XSL has not yet covered)&lt;br /&gt;
* incipit&lt;br /&gt;
* index&lt;br /&gt;
* institution&lt;br /&gt;
* interaction&lt;br /&gt;
* interp&lt;br /&gt;
* interpGrp&lt;br /&gt;
* interpretation&lt;br /&gt;
* item&lt;br /&gt;
&lt;br /&gt;
===j===&lt;br /&gt;
&lt;br /&gt;
* join&lt;br /&gt;
* joinGrp&lt;br /&gt;
&lt;br /&gt;
===k===&lt;br /&gt;
&lt;br /&gt;
* keywords (XSL has not yet covered (from header module))&lt;br /&gt;
* kinesic (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
===l===&lt;br /&gt;
&lt;br /&gt;
 l {display:block;}&lt;br /&gt;
 label {display:inline;}&lt;br /&gt;
* lacunaEnd&lt;br /&gt;
* lacunaStart&lt;br /&gt;
* lang&lt;br /&gt;
* langKnowledge&lt;br /&gt;
* langKnown&lt;br /&gt;
* langUsage&lt;br /&gt;
* language&lt;br /&gt;
* layout&lt;br /&gt;
* layoutDesc&lt;br /&gt;
 lb {display:block;}&lt;br /&gt;
* lbl&lt;br /&gt;
* leaf&lt;br /&gt;
* lem&lt;br /&gt;
 lg {display:block;}&lt;br /&gt;
* link&lt;br /&gt;
* linkGrp&lt;br /&gt;
* list&lt;br /&gt;
* listBibl&lt;br /&gt;
* listEvent&lt;br /&gt;
* listNym&lt;br /&gt;
* listOrg&lt;br /&gt;
* listPerson&lt;br /&gt;
* listPlace&lt;br /&gt;
* listRef&lt;br /&gt;
* listWit&lt;br /&gt;
* localName&lt;br /&gt;
* locale&lt;br /&gt;
* location&lt;br /&gt;
* locus&lt;br /&gt;
* locusGrp&lt;br /&gt;
&lt;br /&gt;
===m===&lt;br /&gt;
&lt;br /&gt;
* m&lt;br /&gt;
* macroSpec&lt;br /&gt;
* mapping&lt;br /&gt;
* material&lt;br /&gt;
* measure&lt;br /&gt;
* measureGrp&lt;br /&gt;
* meeting&lt;br /&gt;
* memberOf&lt;br /&gt;
 mentioned {display:inline;}&lt;br /&gt;
* metDecl&lt;br /&gt;
* metSym&lt;br /&gt;
* milestone&lt;br /&gt;
* moduleRef&lt;br /&gt;
* moduleSpec&lt;br /&gt;
* monogr&lt;br /&gt;
* mood&lt;br /&gt;
* move&lt;br /&gt;
* msContents&lt;br /&gt;
* msDesc&lt;br /&gt;
* msIdentifier&lt;br /&gt;
* msItem&lt;br /&gt;
* msItemStruct&lt;br /&gt;
* msName&lt;br /&gt;
* msPart&lt;br /&gt;
* musicNotation&lt;br /&gt;
&lt;br /&gt;
===n===&lt;br /&gt;
&lt;br /&gt;
 name {display:inline;}&lt;br /&gt;
* nameLink&lt;br /&gt;
* namespace&lt;br /&gt;
* nationality&lt;br /&gt;
* node&lt;br /&gt;
* normalization&lt;br /&gt;
* note&lt;br /&gt;
* notesStmt&lt;br /&gt;
* num&lt;br /&gt;
* number&lt;br /&gt;
* numeric&lt;br /&gt;
* nym&lt;br /&gt;
&lt;br /&gt;
===o===&lt;br /&gt;
&lt;br /&gt;
* oRef&lt;br /&gt;
* oVar&lt;br /&gt;
* objectDesc&lt;br /&gt;
* occupation&lt;br /&gt;
* offset&lt;br /&gt;
* opener&lt;br /&gt;
* org&lt;br /&gt;
* orgName&lt;br /&gt;
* orig&lt;br /&gt;
* origDate&lt;br /&gt;
* origPlace&lt;br /&gt;
* origin&lt;br /&gt;
* orth&lt;br /&gt;
&lt;br /&gt;
===p===&lt;br /&gt;
&lt;br /&gt;
* p&lt;br /&gt;
* pRef&lt;br /&gt;
* pVar&lt;br /&gt;
* particDesc&lt;br /&gt;
* pause (speech module: XSL has not yet covered)&lt;br /&gt;
* pb&lt;br /&gt;
* pc&lt;br /&gt;
* per&lt;br /&gt;
* performance&lt;br /&gt;
 persName {display:inline;}&lt;br /&gt;
* person&lt;br /&gt;
* personGrp&lt;br /&gt;
* phr&lt;br /&gt;
* physDesc&lt;br /&gt;
* place&lt;br /&gt;
 placeName {display:inline;}&lt;br /&gt;
* population&lt;br /&gt;
* pos&lt;br /&gt;
* postBox&lt;br /&gt;
* postCode&lt;br /&gt;
* postscript&lt;br /&gt;
* precision&lt;br /&gt;
* preparedness&lt;br /&gt;
* principal&lt;br /&gt;
* profileDesc&lt;br /&gt;
* projectDesc&lt;br /&gt;
* prologue&lt;br /&gt;
* pron&lt;br /&gt;
* provenance&lt;br /&gt;
* ptr&lt;br /&gt;
* pubPlace&lt;br /&gt;
* publicationStmt&lt;br /&gt;
* publisher&lt;br /&gt;
* purpose&lt;br /&gt;
&lt;br /&gt;
===q===&lt;br /&gt;
&lt;br /&gt;
* q&lt;br /&gt;
* quotation&lt;br /&gt;
* quote&lt;br /&gt;
&lt;br /&gt;
===r===&lt;br /&gt;
&lt;br /&gt;
* rdg&lt;br /&gt;
* rdgGrp&lt;br /&gt;
* re&lt;br /&gt;
* recordHist&lt;br /&gt;
* recording&lt;br /&gt;
* recordingStmt&lt;br /&gt;
* ref&lt;br /&gt;
* refState&lt;br /&gt;
* refsDecl&lt;br /&gt;
* reg&lt;br /&gt;
* region&lt;br /&gt;
* relatedItem&lt;br /&gt;
* relation&lt;br /&gt;
* relationGrp&lt;br /&gt;
* remarks&lt;br /&gt;
* rendition&lt;br /&gt;
* repository&lt;br /&gt;
* residence&lt;br /&gt;
 resp:after {content:&amp;quot; &amp;quot;;}&lt;br /&gt;
 respStmt {display:inline;}&lt;br /&gt;
* respons&lt;br /&gt;
* restore&lt;br /&gt;
* revisionDesc&lt;br /&gt;
* rhyme&lt;br /&gt;
 role {display:inline; font-style: italic;}&lt;br /&gt;
 roleDesc { margin-left: 40px; margin-right: 40px; } roleDesc &amp;gt; *:not(p) {display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
 roleName {display:inline;}&lt;br /&gt;
* root&lt;br /&gt;
* row&lt;br /&gt;
* rs&lt;br /&gt;
* rubric&lt;br /&gt;
&lt;br /&gt;
===s===&lt;br /&gt;
&lt;br /&gt;
* s&lt;br /&gt;
* said&lt;br /&gt;
 salute {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* samplingDecl&lt;br /&gt;
* schemaSpec&lt;br /&gt;
* scriptStmt&lt;br /&gt;
* seal&lt;br /&gt;
* sealDesc&lt;br /&gt;
* secFol&lt;br /&gt;
 seg {display:inline;}&lt;br /&gt;
* segmentation&lt;br /&gt;
* sense&lt;br /&gt;
* series&lt;br /&gt;
* seriesStmt&lt;br /&gt;
 set {display:inline; font-style: italic;}&lt;br /&gt;
* setting&lt;br /&gt;
* settingDesc&lt;br /&gt;
* settlement&lt;br /&gt;
* se x (XSL has not yet covered (namesdates module)) /* space-separated for spam filter! */&lt;br /&gt;
* shift (speech module: XSL has not yet covered)&lt;br /&gt;
 sic {display:inline;} sic:after {content: &amp;quot; (sic)&amp;quot;}&lt;br /&gt;
* signatures&lt;br /&gt;
 signed {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
 soCalled:before {content:'‘'} soCalled {display:inline;} soCalled:after {content:'’'} /* Quote style is parameterized in XSL; note: content can also accept 'open-quote' and 'close-quote', but the default is as already included in the rule */&lt;br /&gt;
* socecStatus&lt;br /&gt;
 sound {display:inline; font-style: italic;}&lt;br /&gt;
* source&lt;br /&gt;
* sourceDesc&lt;br /&gt;
* sp&lt;br /&gt;
* space&lt;br /&gt;
* span&lt;br /&gt;
* spanGrp&lt;br /&gt;
* speaker&lt;br /&gt;
* specDesc&lt;br /&gt;
* specGrp&lt;br /&gt;
* specGrpRef&lt;br /&gt;
* specList&lt;br /&gt;
* sponsor&lt;br /&gt;
 stage {font-style: italic; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* stamp&lt;br /&gt;
* state&lt;br /&gt;
* stdVals&lt;br /&gt;
* street&lt;br /&gt;
* stress&lt;br /&gt;
* string&lt;br /&gt;
* stringVal&lt;br /&gt;
* subc&lt;br /&gt;
* subst&lt;br /&gt;
* summary&lt;br /&gt;
* superEntry&lt;br /&gt;
* supplied&lt;br /&gt;
* support&lt;br /&gt;
* supportDesc&lt;br /&gt;
* surface&lt;br /&gt;
* surname&lt;br /&gt;
* surplus&lt;br /&gt;
* surrogates&lt;br /&gt;
* syll&lt;br /&gt;
* symbol&lt;br /&gt;
&lt;br /&gt;
===t===&lt;br /&gt;
&lt;br /&gt;
* TEI&lt;br /&gt;
* table&lt;br /&gt;
* tag&lt;br /&gt;
* tagUsage&lt;br /&gt;
* tagsDecl&lt;br /&gt;
* taxonomy&lt;br /&gt;
 tech {display:inline; font-style: italic;}&lt;br /&gt;
* teiCorpus&lt;br /&gt;
* teiHeader&lt;br /&gt;
 term {display:inline;}&lt;br /&gt;
* terrain&lt;br /&gt;
* text&lt;br /&gt;
* textClass&lt;br /&gt;
* textDesc&lt;br /&gt;
* textLang&lt;br /&gt;
* then&lt;br /&gt;
* time&lt;br /&gt;
* timeline&lt;br /&gt;
* title&lt;br /&gt;
* titlePage&lt;br /&gt;
* titlePart&lt;br /&gt;
* titleStmt&lt;br /&gt;
* tns&lt;br /&gt;
* trailer&lt;br /&gt;
* trait&lt;br /&gt;
* tree&lt;br /&gt;
* triangle&lt;br /&gt;
* typeDesc&lt;br /&gt;
* typeNote&lt;br /&gt;
&lt;br /&gt;
===u===&lt;br /&gt;
&lt;br /&gt;
* u (speech module: XSL has not yet covered)&lt;br /&gt;
 unclear {display:inline;}&lt;br /&gt;
* unicodeName&lt;br /&gt;
* usg&lt;br /&gt;
&lt;br /&gt;
===v===&lt;br /&gt;
&lt;br /&gt;
* vAlt&lt;br /&gt;
* vColl&lt;br /&gt;
* vDefault&lt;br /&gt;
* vLabel&lt;br /&gt;
* vMerge&lt;br /&gt;
* vNot&lt;br /&gt;
* vRange&lt;br /&gt;
* val&lt;br /&gt;
* valDesc&lt;br /&gt;
* valItem&lt;br /&gt;
* valList&lt;br /&gt;
* value&lt;br /&gt;
* variantEncoding&lt;br /&gt;
 view {display:inline; font-style: italic;}&lt;br /&gt;
* vocal (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
===w===&lt;br /&gt;
&lt;br /&gt;
* w&lt;br /&gt;
* watermark&lt;br /&gt;
* when&lt;br /&gt;
* width&lt;br /&gt;
* wit&lt;br /&gt;
* witDetail&lt;br /&gt;
* witEnd&lt;br /&gt;
* witStart&lt;br /&gt;
* witness&lt;br /&gt;
* writing (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
===x===&lt;br /&gt;
&lt;br /&gt;
* xr&lt;br /&gt;
&lt;br /&gt;
===y===&lt;br /&gt;
&lt;br /&gt;
(none)&lt;br /&gt;
&lt;br /&gt;
===z===&lt;br /&gt;
z&lt;br /&gt;
&lt;br /&gt;
* zone&lt;br /&gt;
&lt;br /&gt;
===References used===&lt;br /&gt;
* http://math.ut.ee/~kaarel/NLP/TEI/visualization/ (on rationales)&lt;br /&gt;
&lt;br /&gt;
[[Category:CSS]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=9499</id>
		<title>Comprehensive CSS Stylesheet</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=9499"/>
		<updated>2011-06-05T15:35:35Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: +advantage&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following is an attempt to gradually build CSS for each TEI element, paralleling the default TEI stylesheets (while also potentially serving as a kind of discussion center for how the stylesheets ought to operate (see [[Formatting TEI documents]] on how there is a need for this despite TEI being agnostic as to output formatting), at least for issues pertaining solely to formatting as opposed to semantics), by indicating here necessary deviations from the XHTML stylesheets (due to CSS constraints) or potentially desirable alternatives, etc.).&lt;br /&gt;
&lt;br /&gt;
Advantages of CSS over XSL might include:&lt;br /&gt;
# Simpler for maintenance/alteration (though CSS can still be combined with simpler XSL as needed)&lt;br /&gt;
# Simpler for communicating the underlying behavior and inviting discussion on assumptions&lt;br /&gt;
# Downloading (and parsing?) is faster&lt;br /&gt;
# Wider browser support (and for browser caching?)&lt;br /&gt;
# Allows DOM and other manipulation directly on semantically-named TEI elements (though admittedly, use of frameworks like jQuery may make traversal of X/HTML as easy or easier and XBL, were it to be implemented in browsers (as planned in Firefox) and forgo discouraging semantic alterations, could preserve the DOM (unlike typical stylesheets) while rendering according to a kind of transformation)&lt;br /&gt;
# TEI could potentially be used as is in HTML (though empty self-closing elements will not be treated properly unless changed to &amp;lt;elem&amp;gt;&amp;lt;/elem&amp;gt; form and namespaces will not be present) in addition to true XHTML.&lt;br /&gt;
# If the selectors were changed, the style rules could be applied to an HTML5 serialization of TEI, being in a language already familiar to web developers&lt;br /&gt;
&lt;br /&gt;
Disadvantages:&lt;br /&gt;
# Does not allow transformations such as re-ordering and duplication (thus no automatically generated indexes, tables of contents, etc).&lt;br /&gt;
# Is cumbersome for certain variable structures (e.g., for values varying by integer but not including the integer (e.g., space.extent =&amp;gt; number of spaces) a separate rule must be created for each possible attribute value).&lt;br /&gt;
# Unable to create form controls and some other HTML GUI components.&lt;br /&gt;
# Assumes that the structure of the TEI essentially similar to the desired output (thus no stand-off markup; switching between multiple overlapping hierarchical structures; etc).&lt;br /&gt;
&lt;br /&gt;
Per CSS Namespaces, one can use either&lt;br /&gt;
 @namespace &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 @namespace tei &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
...but we will use the former since we will presume the stylesheet will be primarily (if not exclusively) for TEI.&lt;br /&gt;
&lt;br /&gt;
We will not be able to make equivalents for XSLT templates like rendToClass (e.g., ab) or applyRend (emph), applyRendition (emph) since we cannot (nor do we need to) add an id or class (though @rend or @rendition would be useful to utilize, there is no &amp;quot;eval()&amp;quot;-like code in CSS; however, we could test against predefined values like &amp;quot;bold&amp;quot; (maybe as a global * or at least the elements using these in the stylesheets (emph, hi, ...))).&lt;br /&gt;
&lt;br /&gt;
All fields below should be complete for an element, or otherwise noted that it is incomplete, so that it can otherwise be assumed that the CSS has been completely applied as far as possible (besides rend/rendition which may later be done globally for all elements, as these are indeed globals).&lt;br /&gt;
&lt;br /&gt;
==a==&lt;br /&gt;
 ab {display:block;}&lt;br /&gt;
 choice &amp;gt; expan + abbr:before {content:&amp;quot;(&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
 choice &amp;gt; expan + abbr:after {content:&amp;quot;)&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
 accMat {display: block;} accMat:before {content: &amp;quot;Accompanying material: &amp;quot;; font-weight: bold;}&lt;br /&gt;
 history acquisition:before {content: &amp;quot;Acquisition: &amp;quot;;font-weight: bold;} history acquisition {display: block;}&lt;br /&gt;
* activity (XSL has not yet covered (from language module))&lt;br /&gt;
 actor {display:inline; font-style: italic;}&lt;br /&gt;
 add[place=&amp;quot;sup&amp;quot;] {vertical-align:super;} add[place=&amp;quot;sub&amp;quot;] {vertical-align:sub;}&lt;br /&gt;
* addName (XSL has not yet covered (from namesdates module))&lt;br /&gt;
* addSpan&lt;br /&gt;
 additional {padding-top: 3pt; padding-bottom: 2pt; display: block;} additional&amp;gt;listBibl&amp;gt;bibl:after {content: &amp;quot;.&amp;quot;;} additional:before {content: &amp;quot;Additional:&amp;quot;;display: block;font-weight: 600;   font-variant: small-caps;font-size: 120%;} additional&amp;gt;listBibl {display: block;list-style-type: none;margin-top: 10pt;} additional&amp;gt;listBibl:before {content: &amp;quot;Bibliography:&amp;quot;;display: block;font-weight: 600;font-variant: small-caps;font-size: 120%;} additional&amp;gt;listBibl&amp;gt;bibl {text-align: left;display: list-item;margin-left: 30pt;}&lt;br /&gt;
 additions {display: block;} additions:before {content: &amp;quot;Additions: &amp;quot;;font-weight: bold;}&lt;br /&gt;
 addrLine {display:block;}&lt;br /&gt;
 address {display:block; /* font-style:italic; If wish to appear as HTML addresses are rendered by default, at least in Firefox */}&lt;br /&gt;
* adminInfo&lt;br /&gt;
* affiliation&lt;br /&gt;
* age&lt;br /&gt;
* alt&lt;br /&gt;
* altGrp&lt;br /&gt;
* altIdent&lt;br /&gt;
* altIdentifier&lt;br /&gt;
* am&lt;br /&gt;
* analytic&lt;br /&gt;
* anchor&lt;br /&gt;
* app&lt;br /&gt;
* appInfo&lt;br /&gt;
* application&lt;br /&gt;
* arc&lt;br /&gt;
* argument&lt;br /&gt;
 att {display:inline; font-weight:bold;} att:before {content:&amp;quot;@&amp;quot;}&lt;br /&gt;
* attDef&lt;br /&gt;
* attList&lt;br /&gt;
* attRef&lt;br /&gt;
* author&lt;br /&gt;
* authority&lt;br /&gt;
* availability&lt;br /&gt;
&lt;br /&gt;
==b==&lt;br /&gt;
&lt;br /&gt;
* back&lt;br /&gt;
* bibl&lt;br /&gt;
* biblFull&lt;br /&gt;
* biblScope&lt;br /&gt;
* biblStruct&lt;br /&gt;
* bicond&lt;br /&gt;
* binary&lt;br /&gt;
* binaryObject&lt;br /&gt;
* binding&lt;br /&gt;
* bindingDesc&lt;br /&gt;
* birth&lt;br /&gt;
* bloc&lt;br /&gt;
* body&lt;br /&gt;
* broadcast&lt;br /&gt;
 byline {display:block;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==c==&lt;br /&gt;
&lt;br /&gt;
* c&lt;br /&gt;
* cRefPattern&lt;br /&gt;
 caesura:before {display:inline; content:&amp;quot;\a0\a0\a0\a0&amp;quot;; /* could be :after too */}&lt;br /&gt;
 camera {display:inline; font-style: italic;}&lt;br /&gt;
 caption {display:inline; font-style: italic;}&lt;br /&gt;
* case&lt;br /&gt;
* castGroup&lt;br /&gt;
* castItem&lt;br /&gt;
 castList {} /* Note: has additional rules: */&lt;br /&gt;
 castList {display:block;} /* applies whether children are head or not */&lt;br /&gt;
 /* Note: for this to mirror the XSL exactly, head would always need to be preceding other elements as a direct child castList */&lt;br /&gt;
 castList &amp;gt; head {display:inline; font-style:italic;}&lt;br /&gt;
 castList &amp;gt; *:not(head) {margin-left: 40px;} /* If children of castList needed their own indents, then it should be relative to this (if possible) */&lt;br /&gt;
&lt;br /&gt;
* catDesc (Only defined in XSL conditionally if using catRef)&lt;br /&gt;
 catRef {} /* Note: has additional rules: */&lt;br /&gt;
 catRef + catRef:before {'\A'} /* Add line break if preceded by another catRef */&lt;br /&gt;
 catRef:after {content:attr(scheme); display:inline; font-style:italic;} /* Add scheme in italics */&lt;br /&gt;
 /* &lt;br /&gt;
 Commenting out as XPath not currently supported in CSS as needed by third 'after'&lt;br /&gt;
 catRef:after(2) {content:':'}*//* Requires CSS3 to add such additional 'after' content? (Firefox allows content: '123'attr(class)'456' at least); See http://www.w3.org/TR/css3-content/#nesting or http://www.w3.org/TR/css3-content/#inserting0 */&lt;br /&gt;
 /* &lt;br /&gt;
 catRef:after(3) {content: &amp;lt;not possible to reference target's catDesc unless XPath gets added to CSS&amp;gt;} */&lt;br /&gt;
* catchwords&lt;br /&gt;
* category&lt;br /&gt;
* cb&lt;br /&gt;
* cell&lt;br /&gt;
* certainty&lt;br /&gt;
* change&lt;br /&gt;
* channel&lt;br /&gt;
* char&lt;br /&gt;
* charDecl&lt;br /&gt;
* charName&lt;br /&gt;
* charProp&lt;br /&gt;
* choice&lt;br /&gt;
* cit&lt;br /&gt;
* cl&lt;br /&gt;
* classCode (XSL has not yet covered (from header module))&lt;br /&gt;
* classDecl&lt;br /&gt;
* classSpec&lt;br /&gt;
* classes&lt;br /&gt;
* climate&lt;br /&gt;
* closer&lt;br /&gt;
 code {display:inline; font-family:monospace;}&lt;br /&gt;
* collation&lt;br /&gt;
* collection&lt;br /&gt;
* colloc&lt;br /&gt;
* colophon&lt;br /&gt;
* cond&lt;br /&gt;
* condition&lt;br /&gt;
* constitution&lt;br /&gt;
* constraint&lt;br /&gt;
* constraintSpec&lt;br /&gt;
* content&lt;br /&gt;
* corr&lt;br /&gt;
* correction&lt;br /&gt;
* country&lt;br /&gt;
* creation&lt;br /&gt;
* custEvent&lt;br /&gt;
* custodialHist&lt;br /&gt;
&lt;br /&gt;
==d==&lt;br /&gt;
&lt;br /&gt;
* damage&lt;br /&gt;
* damageSpan&lt;br /&gt;
* datatype&lt;br /&gt;
* date&lt;br /&gt;
* dateline&lt;br /&gt;
* death&lt;br /&gt;
* decoDesc&lt;br /&gt;
* decoNote&lt;br /&gt;
* def&lt;br /&gt;
* default&lt;br /&gt;
* defaultVal&lt;br /&gt;
 del {display:inline; text-decoration: line-through;}&lt;br /&gt;
* delSpan&lt;br /&gt;
* depth&lt;br /&gt;
* derivation&lt;br /&gt;
* desc&lt;br /&gt;
* dictScrap&lt;br /&gt;
* dim&lt;br /&gt;
* dimensions&lt;br /&gt;
* distinct&lt;br /&gt;
* distributor&lt;br /&gt;
* district&lt;br /&gt;
* div&lt;br /&gt;
* div1&lt;br /&gt;
* div2&lt;br /&gt;
* div3&lt;br /&gt;
* div4&lt;br /&gt;
* div5&lt;br /&gt;
* div6&lt;br /&gt;
* div7&lt;br /&gt;
* divGen&lt;br /&gt;
* docAuthor&lt;br /&gt;
* docDate&lt;br /&gt;
* docEdition&lt;br /&gt;
* docImprint&lt;br /&gt;
* docTitle&lt;br /&gt;
* domain&lt;br /&gt;
&lt;br /&gt;
==e==&lt;br /&gt;
&lt;br /&gt;
* eLeaf&lt;br /&gt;
* eTree&lt;br /&gt;
* edition&lt;br /&gt;
* editionStmt&lt;br /&gt;
* editor&lt;br /&gt;
* editorialDecl&lt;br /&gt;
* education&lt;br /&gt;
* eg&lt;br /&gt;
* egXML&lt;br /&gt;
* elementSpec&lt;br /&gt;
* email&lt;br /&gt;
 emph {display:inline; font-style:italic;}&lt;br /&gt;
* encodingDesc&lt;br /&gt;
* entry&lt;br /&gt;
* entryFree&lt;br /&gt;
 epigraph {display:block;}&lt;br /&gt;
* epilogue&lt;br /&gt;
* equipment&lt;br /&gt;
* equiv&lt;br /&gt;
* etym&lt;br /&gt;
* event&lt;br /&gt;
* ex&lt;br /&gt;
* exemplum&lt;br /&gt;
 choice &amp;gt; expan + abbr:before {content:&amp;quot;(&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
 choice &amp;gt; expan + abbr:after {content:&amp;quot;)&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
* explicit&lt;br /&gt;
* extent&lt;br /&gt;
&lt;br /&gt;
==f==&lt;br /&gt;
&lt;br /&gt;
* f&lt;br /&gt;
* fDecl&lt;br /&gt;
* fDescr&lt;br /&gt;
* fLib&lt;br /&gt;
* facsimile&lt;br /&gt;
* factuality&lt;br /&gt;
* faith&lt;br /&gt;
* figDesc&lt;br /&gt;
* figure&lt;br /&gt;
* fileDesc&lt;br /&gt;
* filiation&lt;br /&gt;
* finalRubric&lt;br /&gt;
* floatingText&lt;br /&gt;
* floruit&lt;br /&gt;
* foliation&lt;br /&gt;
 foreign {display:inline;}&lt;br /&gt;
* forename&lt;br /&gt;
* forest&lt;br /&gt;
* forestGrp&lt;br /&gt;
* form&lt;br /&gt;
* formula&lt;br /&gt;
* front&lt;br /&gt;
* fs&lt;br /&gt;
* fsConstraints&lt;br /&gt;
* fsDecl&lt;br /&gt;
* fsDescr&lt;br /&gt;
* fsdDecl&lt;br /&gt;
* fsdLink&lt;br /&gt;
* funder&lt;br /&gt;
* fvLib&lt;br /&gt;
* fw&lt;br /&gt;
&lt;br /&gt;
==g==&lt;br /&gt;
&lt;br /&gt;
* g&lt;br /&gt;
* gap&lt;br /&gt;
* gen&lt;br /&gt;
 genName {display:inline;}&lt;br /&gt;
* geo&lt;br /&gt;
* geoDecl&lt;br /&gt;
* geogFeat&lt;br /&gt;
 geogName {display:inline;}&lt;br /&gt;
 gi:before {display:inline;content:&amp;quot;&amp;lt;&amp;quot;}  gi:after {display:inline;content:&amp;quot;&amp;gt;&amp;quot;}&lt;br /&gt;
 gloss {display:inline;}&lt;br /&gt;
* glyph&lt;br /&gt;
* glyphName&lt;br /&gt;
* gram&lt;br /&gt;
* gramGrp&lt;br /&gt;
* graph&lt;br /&gt;
* graphic&lt;br /&gt;
* group&lt;br /&gt;
&lt;br /&gt;
==h==&lt;br /&gt;
&lt;br /&gt;
* handDesc&lt;br /&gt;
* handNote&lt;br /&gt;
* handNotes&lt;br /&gt;
* handShift&lt;br /&gt;
* head&lt;br /&gt;
* headItem&lt;br /&gt;
* headLabel&lt;br /&gt;
* height&lt;br /&gt;
* heraldry&lt;br /&gt;
 hi {display:inline; font-weight:bold;}&lt;br /&gt;
* history&lt;br /&gt;
* hom&lt;br /&gt;
* hyph&lt;br /&gt;
* hyphenation&lt;br /&gt;
&lt;br /&gt;
==i==&lt;br /&gt;
&lt;br /&gt;
* iNode&lt;br /&gt;
* iType&lt;br /&gt;
 ident[type] {display:inline; font-weight:bold;} ident:not([type]) {display:inline; } /* Just as the stylesheet allows for different types; a specific type could be styled by ident[type=&amp;quot;XXX&amp;quot;] */&lt;br /&gt;
* idno&lt;br /&gt;
* if&lt;br /&gt;
* iff&lt;br /&gt;
* imprimatur&lt;br /&gt;
* imprint&lt;br /&gt;
* incident (speech module: XSL has not yet covered)&lt;br /&gt;
* incipit&lt;br /&gt;
* index&lt;br /&gt;
* institution&lt;br /&gt;
* interaction&lt;br /&gt;
* interp&lt;br /&gt;
* interpGrp&lt;br /&gt;
* interpretation&lt;br /&gt;
* item&lt;br /&gt;
&lt;br /&gt;
==j==&lt;br /&gt;
&lt;br /&gt;
* join&lt;br /&gt;
* joinGrp&lt;br /&gt;
&lt;br /&gt;
==k==&lt;br /&gt;
&lt;br /&gt;
* keywords (XSL has not yet covered (from header module))&lt;br /&gt;
* kinesic (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==l==&lt;br /&gt;
&lt;br /&gt;
 l {display:block;}&lt;br /&gt;
 label {display:inline;}&lt;br /&gt;
* lacunaEnd&lt;br /&gt;
* lacunaStart&lt;br /&gt;
* lang&lt;br /&gt;
* langKnowledge&lt;br /&gt;
* langKnown&lt;br /&gt;
* langUsage&lt;br /&gt;
* language&lt;br /&gt;
* layout&lt;br /&gt;
* layoutDesc&lt;br /&gt;
 lb {display:block;}&lt;br /&gt;
* lbl&lt;br /&gt;
* leaf&lt;br /&gt;
* lem&lt;br /&gt;
 lg {display:block;}&lt;br /&gt;
* link&lt;br /&gt;
* linkGrp&lt;br /&gt;
* list&lt;br /&gt;
* listBibl&lt;br /&gt;
* listEvent&lt;br /&gt;
* listNym&lt;br /&gt;
* listOrg&lt;br /&gt;
* listPerson&lt;br /&gt;
* listPlace&lt;br /&gt;
* listRef&lt;br /&gt;
* listWit&lt;br /&gt;
* localName&lt;br /&gt;
* locale&lt;br /&gt;
* location&lt;br /&gt;
* locus&lt;br /&gt;
* locusGrp&lt;br /&gt;
&lt;br /&gt;
==m==&lt;br /&gt;
&lt;br /&gt;
* m&lt;br /&gt;
* macroSpec&lt;br /&gt;
* mapping&lt;br /&gt;
* material&lt;br /&gt;
* measure&lt;br /&gt;
* measureGrp&lt;br /&gt;
* meeting&lt;br /&gt;
* memberOf&lt;br /&gt;
 mentioned {display:inline;}&lt;br /&gt;
* metDecl&lt;br /&gt;
* metSym&lt;br /&gt;
* milestone&lt;br /&gt;
* moduleRef&lt;br /&gt;
* moduleSpec&lt;br /&gt;
* monogr&lt;br /&gt;
* mood&lt;br /&gt;
* move&lt;br /&gt;
* msContents&lt;br /&gt;
* msDesc&lt;br /&gt;
* msIdentifier&lt;br /&gt;
* msItem&lt;br /&gt;
* msItemStruct&lt;br /&gt;
* msName&lt;br /&gt;
* msPart&lt;br /&gt;
* musicNotation&lt;br /&gt;
&lt;br /&gt;
==n==&lt;br /&gt;
&lt;br /&gt;
 name {display:inline;}&lt;br /&gt;
* nameLink&lt;br /&gt;
* namespace&lt;br /&gt;
* nationality&lt;br /&gt;
* node&lt;br /&gt;
* normalization&lt;br /&gt;
* note&lt;br /&gt;
* notesStmt&lt;br /&gt;
* num&lt;br /&gt;
* number&lt;br /&gt;
* numeric&lt;br /&gt;
* nym&lt;br /&gt;
&lt;br /&gt;
==o==&lt;br /&gt;
&lt;br /&gt;
* oRef&lt;br /&gt;
* oVar&lt;br /&gt;
* objectDesc&lt;br /&gt;
* occupation&lt;br /&gt;
* offset&lt;br /&gt;
* opener&lt;br /&gt;
* org&lt;br /&gt;
* orgName&lt;br /&gt;
* orig&lt;br /&gt;
* origDate&lt;br /&gt;
* origPlace&lt;br /&gt;
* origin&lt;br /&gt;
* orth&lt;br /&gt;
&lt;br /&gt;
==p==&lt;br /&gt;
&lt;br /&gt;
* p&lt;br /&gt;
* pRef&lt;br /&gt;
* pVar&lt;br /&gt;
* particDesc&lt;br /&gt;
* pause (speech module: XSL has not yet covered)&lt;br /&gt;
* pb&lt;br /&gt;
* pc&lt;br /&gt;
* per&lt;br /&gt;
* performance&lt;br /&gt;
 persName {display:inline;}&lt;br /&gt;
* person&lt;br /&gt;
* personGrp&lt;br /&gt;
* phr&lt;br /&gt;
* physDesc&lt;br /&gt;
* place&lt;br /&gt;
 placeName {display:inline;}&lt;br /&gt;
* population&lt;br /&gt;
* pos&lt;br /&gt;
* postBox&lt;br /&gt;
* postCode&lt;br /&gt;
* postscript&lt;br /&gt;
* precision&lt;br /&gt;
* preparedness&lt;br /&gt;
* principal&lt;br /&gt;
* profileDesc&lt;br /&gt;
* projectDesc&lt;br /&gt;
* prologue&lt;br /&gt;
* pron&lt;br /&gt;
* provenance&lt;br /&gt;
* ptr&lt;br /&gt;
* pubPlace&lt;br /&gt;
* publicationStmt&lt;br /&gt;
* publisher&lt;br /&gt;
* purpose&lt;br /&gt;
&lt;br /&gt;
==q==&lt;br /&gt;
&lt;br /&gt;
* q&lt;br /&gt;
* quotation&lt;br /&gt;
* quote&lt;br /&gt;
&lt;br /&gt;
==r==&lt;br /&gt;
&lt;br /&gt;
* rdg&lt;br /&gt;
* rdgGrp&lt;br /&gt;
* re&lt;br /&gt;
* recordHist&lt;br /&gt;
* recording&lt;br /&gt;
* recordingStmt&lt;br /&gt;
* ref&lt;br /&gt;
* refState&lt;br /&gt;
* refsDecl&lt;br /&gt;
* reg&lt;br /&gt;
* region&lt;br /&gt;
* relatedItem&lt;br /&gt;
* relation&lt;br /&gt;
* relationGrp&lt;br /&gt;
* remarks&lt;br /&gt;
* rendition&lt;br /&gt;
* repository&lt;br /&gt;
* residence&lt;br /&gt;
 resp:after {content:&amp;quot; &amp;quot;;}&lt;br /&gt;
 respStmt {display:inline;}&lt;br /&gt;
* respons&lt;br /&gt;
* restore&lt;br /&gt;
* revisionDesc&lt;br /&gt;
* rhyme&lt;br /&gt;
 role {display:inline; font-style: italic;}&lt;br /&gt;
 roleDesc { margin-left: 40px; margin-right: 40px; } roleDesc &amp;gt; *:not(p) {display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
 roleName {display:inline;}&lt;br /&gt;
* root&lt;br /&gt;
* row&lt;br /&gt;
* rs&lt;br /&gt;
* rubric&lt;br /&gt;
&lt;br /&gt;
==s==&lt;br /&gt;
&lt;br /&gt;
* s&lt;br /&gt;
* said&lt;br /&gt;
 salute {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* samplingDecl&lt;br /&gt;
* schemaSpec&lt;br /&gt;
* scriptStmt&lt;br /&gt;
* seal&lt;br /&gt;
* sealDesc&lt;br /&gt;
* secFol&lt;br /&gt;
 seg {display:inline;}&lt;br /&gt;
* segmentation&lt;br /&gt;
* sense&lt;br /&gt;
* series&lt;br /&gt;
* seriesStmt&lt;br /&gt;
 set {display:inline; font-style: italic;}&lt;br /&gt;
* setting&lt;br /&gt;
* settingDesc&lt;br /&gt;
* settlement&lt;br /&gt;
* se x (XSL has not yet covered (namesdates module)) /* space-separated for spam filter! */&lt;br /&gt;
* shift (speech module: XSL has not yet covered)&lt;br /&gt;
 sic {display:inline;} sic:after {content: &amp;quot; (sic)&amp;quot;}&lt;br /&gt;
* signatures&lt;br /&gt;
 signed {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
 soCalled:before {content:'‘'} soCalled {display:inline;} soCalled:after {content:'’'} /* Quote style is parameterized in XSL; note: content can also accept 'open-quote' and 'close-quote', but the default is as already included in the rule */&lt;br /&gt;
* socecStatus&lt;br /&gt;
 sound {display:inline; font-style: italic;}&lt;br /&gt;
* source&lt;br /&gt;
* sourceDesc&lt;br /&gt;
* sp&lt;br /&gt;
* space&lt;br /&gt;
* span&lt;br /&gt;
* spanGrp&lt;br /&gt;
* speaker&lt;br /&gt;
* specDesc&lt;br /&gt;
* specGrp&lt;br /&gt;
* specGrpRef&lt;br /&gt;
* specList&lt;br /&gt;
* sponsor&lt;br /&gt;
 stage {font-style: italic; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* stamp&lt;br /&gt;
* state&lt;br /&gt;
* stdVals&lt;br /&gt;
* street&lt;br /&gt;
* stress&lt;br /&gt;
* string&lt;br /&gt;
* stringVal&lt;br /&gt;
* subc&lt;br /&gt;
* subst&lt;br /&gt;
* summary&lt;br /&gt;
* superEntry&lt;br /&gt;
* supplied&lt;br /&gt;
* support&lt;br /&gt;
* supportDesc&lt;br /&gt;
* surface&lt;br /&gt;
* surname&lt;br /&gt;
* surplus&lt;br /&gt;
* surrogates&lt;br /&gt;
* syll&lt;br /&gt;
* symbol&lt;br /&gt;
&lt;br /&gt;
==t==&lt;br /&gt;
&lt;br /&gt;
* TEI&lt;br /&gt;
* table&lt;br /&gt;
* tag&lt;br /&gt;
* tagUsage&lt;br /&gt;
* tagsDecl&lt;br /&gt;
* taxonomy&lt;br /&gt;
 tech {display:inline; font-style: italic;}&lt;br /&gt;
* teiCorpus&lt;br /&gt;
* teiHeader&lt;br /&gt;
 term {display:inline;}&lt;br /&gt;
* terrain&lt;br /&gt;
* text&lt;br /&gt;
* textClass&lt;br /&gt;
* textDesc&lt;br /&gt;
* textLang&lt;br /&gt;
* then&lt;br /&gt;
* time&lt;br /&gt;
* timeline&lt;br /&gt;
* title&lt;br /&gt;
* titlePage&lt;br /&gt;
* titlePart&lt;br /&gt;
* titleStmt&lt;br /&gt;
* tns&lt;br /&gt;
* trailer&lt;br /&gt;
* trait&lt;br /&gt;
* tree&lt;br /&gt;
* triangle&lt;br /&gt;
* typeDesc&lt;br /&gt;
* typeNote&lt;br /&gt;
&lt;br /&gt;
==u==&lt;br /&gt;
&lt;br /&gt;
* u (speech module: XSL has not yet covered)&lt;br /&gt;
 unclear {display:inline;}&lt;br /&gt;
* unicodeName&lt;br /&gt;
* usg&lt;br /&gt;
&lt;br /&gt;
==v==&lt;br /&gt;
&lt;br /&gt;
* vAlt&lt;br /&gt;
* vColl&lt;br /&gt;
* vDefault&lt;br /&gt;
* vLabel&lt;br /&gt;
* vMerge&lt;br /&gt;
* vNot&lt;br /&gt;
* vRange&lt;br /&gt;
* val&lt;br /&gt;
* valDesc&lt;br /&gt;
* valItem&lt;br /&gt;
* valList&lt;br /&gt;
* value&lt;br /&gt;
* variantEncoding&lt;br /&gt;
 view {display:inline; font-style: italic;}&lt;br /&gt;
* vocal (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==w==&lt;br /&gt;
&lt;br /&gt;
* w&lt;br /&gt;
* watermark&lt;br /&gt;
* when&lt;br /&gt;
* width&lt;br /&gt;
* wit&lt;br /&gt;
* witDetail&lt;br /&gt;
* witEnd&lt;br /&gt;
* witStart&lt;br /&gt;
* witness&lt;br /&gt;
* writing (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==x==&lt;br /&gt;
&lt;br /&gt;
* xr&lt;br /&gt;
&lt;br /&gt;
==y==&lt;br /&gt;
&lt;br /&gt;
(none)&lt;br /&gt;
&lt;br /&gt;
==z==&lt;br /&gt;
z&lt;br /&gt;
&lt;br /&gt;
* zone&lt;br /&gt;
&lt;br /&gt;
==References used==&lt;br /&gt;
* http://math.ut.ee/~kaarel/NLP/TEI/visualization/ (on rationales)&lt;br /&gt;
&lt;br /&gt;
[[Category:CSS]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=9498</id>
		<title>Comprehensive CSS Stylesheet</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=9498"/>
		<updated>2011-06-05T15:34:02Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: more advantages of CSS&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following is an attempt to gradually build CSS for each TEI element, paralleling the default TEI stylesheets (while also potentially serving as a kind of discussion center for how the stylesheets ought to operate (see [[Formatting TEI documents]] on how there is a need for this despite TEI being agnostic as to output formatting), at least for issues pertaining solely to formatting as opposed to semantics), by indicating here necessary deviations from the XHTML stylesheets (due to CSS constraints) or potentially desirable alternatives, etc.).&lt;br /&gt;
&lt;br /&gt;
Advantages of CSS over XSL might include:&lt;br /&gt;
# Simpler for maintenance/alteration (though CSS can still be combined with simpler XSL as needed)&lt;br /&gt;
# Simpler for communicating the underlying behavior and inviting discussion on assumptions&lt;br /&gt;
# Downloading (and parsing?) is faster&lt;br /&gt;
# Wider browser support (and for browser caching?)&lt;br /&gt;
# Allows DOM and other manipulation directly on semantically-named TEI elements (though admittedly, use of frameworks like jQuery may make traversal of X/HTML as easy or easier and XBL, were it to be implemented in browsers (as planned in Firefox) and forgo discouraging semantic alterations, could preserve the DOM (unlike typical stylesheets) while rendering according to a kind of transformation)&lt;br /&gt;
# TEI could potentially be used as is in HTML (though empty self-closing elements will not be treated properly unless changed to &amp;lt;elem&amp;gt;&amp;lt;/elem&amp;gt; form and namespaces will not be present) in addition to true XHTML.&lt;br /&gt;
&lt;br /&gt;
Disadvantages:&lt;br /&gt;
# Does not allow transformations such as re-ordering and duplication (thus no automatically generated indexes, tables of contents, etc).&lt;br /&gt;
# Is cumbersome for certain variable structures (e.g., for values varying by integer but not including the integer (e.g., space.extent =&amp;gt; number of spaces) a separate rule must be created for each possible attribute value).&lt;br /&gt;
# Unable to create form controls and some other HTML GUI components.&lt;br /&gt;
# Assumes that the structure of the TEI essentially similar to the desired output (thus no stand-off markup; switching between multiple overlapping hierarchical structures; etc).&lt;br /&gt;
&lt;br /&gt;
Per CSS Namespaces, one can use either&lt;br /&gt;
 @namespace &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 @namespace tei &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
...but we will use the former since we will presume the stylesheet will be primarily (if not exclusively) for TEI.&lt;br /&gt;
&lt;br /&gt;
We will not be able to make equivalents for XSLT templates like rendToClass (e.g., ab) or applyRend (emph), applyRendition (emph) since we cannot (nor do we need to) add an id or class (though @rend or @rendition would be useful to utilize, there is no &amp;quot;eval()&amp;quot;-like code in CSS; however, we could test against predefined values like &amp;quot;bold&amp;quot; (maybe as a global * or at least the elements using these in the stylesheets (emph, hi, ...))).&lt;br /&gt;
&lt;br /&gt;
All fields below should be complete for an element, or otherwise noted that it is incomplete, so that it can otherwise be assumed that the CSS has been completely applied as far as possible (besides rend/rendition which may later be done globally for all elements, as these are indeed globals).&lt;br /&gt;
&lt;br /&gt;
==a==&lt;br /&gt;
 ab {display:block;}&lt;br /&gt;
 choice &amp;gt; expan + abbr:before {content:&amp;quot;(&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
 choice &amp;gt; expan + abbr:after {content:&amp;quot;)&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
 accMat {display: block;} accMat:before {content: &amp;quot;Accompanying material: &amp;quot;; font-weight: bold;}&lt;br /&gt;
 history acquisition:before {content: &amp;quot;Acquisition: &amp;quot;;font-weight: bold;} history acquisition {display: block;}&lt;br /&gt;
* activity (XSL has not yet covered (from language module))&lt;br /&gt;
 actor {display:inline; font-style: italic;}&lt;br /&gt;
 add[place=&amp;quot;sup&amp;quot;] {vertical-align:super;} add[place=&amp;quot;sub&amp;quot;] {vertical-align:sub;}&lt;br /&gt;
* addName (XSL has not yet covered (from namesdates module))&lt;br /&gt;
* addSpan&lt;br /&gt;
 additional {padding-top: 3pt; padding-bottom: 2pt; display: block;} additional&amp;gt;listBibl&amp;gt;bibl:after {content: &amp;quot;.&amp;quot;;} additional:before {content: &amp;quot;Additional:&amp;quot;;display: block;font-weight: 600;   font-variant: small-caps;font-size: 120%;} additional&amp;gt;listBibl {display: block;list-style-type: none;margin-top: 10pt;} additional&amp;gt;listBibl:before {content: &amp;quot;Bibliography:&amp;quot;;display: block;font-weight: 600;font-variant: small-caps;font-size: 120%;} additional&amp;gt;listBibl&amp;gt;bibl {text-align: left;display: list-item;margin-left: 30pt;}&lt;br /&gt;
 additions {display: block;} additions:before {content: &amp;quot;Additions: &amp;quot;;font-weight: bold;}&lt;br /&gt;
 addrLine {display:block;}&lt;br /&gt;
 address {display:block; /* font-style:italic; If wish to appear as HTML addresses are rendered by default, at least in Firefox */}&lt;br /&gt;
* adminInfo&lt;br /&gt;
* affiliation&lt;br /&gt;
* age&lt;br /&gt;
* alt&lt;br /&gt;
* altGrp&lt;br /&gt;
* altIdent&lt;br /&gt;
* altIdentifier&lt;br /&gt;
* am&lt;br /&gt;
* analytic&lt;br /&gt;
* anchor&lt;br /&gt;
* app&lt;br /&gt;
* appInfo&lt;br /&gt;
* application&lt;br /&gt;
* arc&lt;br /&gt;
* argument&lt;br /&gt;
 att {display:inline; font-weight:bold;} att:before {content:&amp;quot;@&amp;quot;}&lt;br /&gt;
* attDef&lt;br /&gt;
* attList&lt;br /&gt;
* attRef&lt;br /&gt;
* author&lt;br /&gt;
* authority&lt;br /&gt;
* availability&lt;br /&gt;
&lt;br /&gt;
==b==&lt;br /&gt;
&lt;br /&gt;
* back&lt;br /&gt;
* bibl&lt;br /&gt;
* biblFull&lt;br /&gt;
* biblScope&lt;br /&gt;
* biblStruct&lt;br /&gt;
* bicond&lt;br /&gt;
* binary&lt;br /&gt;
* binaryObject&lt;br /&gt;
* binding&lt;br /&gt;
* bindingDesc&lt;br /&gt;
* birth&lt;br /&gt;
* bloc&lt;br /&gt;
* body&lt;br /&gt;
* broadcast&lt;br /&gt;
 byline {display:block;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==c==&lt;br /&gt;
&lt;br /&gt;
* c&lt;br /&gt;
* cRefPattern&lt;br /&gt;
 caesura:before {display:inline; content:&amp;quot;\a0\a0\a0\a0&amp;quot;; /* could be :after too */}&lt;br /&gt;
 camera {display:inline; font-style: italic;}&lt;br /&gt;
 caption {display:inline; font-style: italic;}&lt;br /&gt;
* case&lt;br /&gt;
* castGroup&lt;br /&gt;
* castItem&lt;br /&gt;
 castList {} /* Note: has additional rules: */&lt;br /&gt;
 castList {display:block;} /* applies whether children are head or not */&lt;br /&gt;
 /* Note: for this to mirror the XSL exactly, head would always need to be preceding other elements as a direct child castList */&lt;br /&gt;
 castList &amp;gt; head {display:inline; font-style:italic;}&lt;br /&gt;
 castList &amp;gt; *:not(head) {margin-left: 40px;} /* If children of castList needed their own indents, then it should be relative to this (if possible) */&lt;br /&gt;
&lt;br /&gt;
* catDesc (Only defined in XSL conditionally if using catRef)&lt;br /&gt;
 catRef {} /* Note: has additional rules: */&lt;br /&gt;
 catRef + catRef:before {'\A'} /* Add line break if preceded by another catRef */&lt;br /&gt;
 catRef:after {content:attr(scheme); display:inline; font-style:italic;} /* Add scheme in italics */&lt;br /&gt;
 /* &lt;br /&gt;
 Commenting out as XPath not currently supported in CSS as needed by third 'after'&lt;br /&gt;
 catRef:after(2) {content:':'}*//* Requires CSS3 to add such additional 'after' content? (Firefox allows content: '123'attr(class)'456' at least); See http://www.w3.org/TR/css3-content/#nesting or http://www.w3.org/TR/css3-content/#inserting0 */&lt;br /&gt;
 /* &lt;br /&gt;
 catRef:after(3) {content: &amp;lt;not possible to reference target's catDesc unless XPath gets added to CSS&amp;gt;} */&lt;br /&gt;
* catchwords&lt;br /&gt;
* category&lt;br /&gt;
* cb&lt;br /&gt;
* cell&lt;br /&gt;
* certainty&lt;br /&gt;
* change&lt;br /&gt;
* channel&lt;br /&gt;
* char&lt;br /&gt;
* charDecl&lt;br /&gt;
* charName&lt;br /&gt;
* charProp&lt;br /&gt;
* choice&lt;br /&gt;
* cit&lt;br /&gt;
* cl&lt;br /&gt;
* classCode (XSL has not yet covered (from header module))&lt;br /&gt;
* classDecl&lt;br /&gt;
* classSpec&lt;br /&gt;
* classes&lt;br /&gt;
* climate&lt;br /&gt;
* closer&lt;br /&gt;
 code {display:inline; font-family:monospace;}&lt;br /&gt;
* collation&lt;br /&gt;
* collection&lt;br /&gt;
* colloc&lt;br /&gt;
* colophon&lt;br /&gt;
* cond&lt;br /&gt;
* condition&lt;br /&gt;
* constitution&lt;br /&gt;
* constraint&lt;br /&gt;
* constraintSpec&lt;br /&gt;
* content&lt;br /&gt;
* corr&lt;br /&gt;
* correction&lt;br /&gt;
* country&lt;br /&gt;
* creation&lt;br /&gt;
* custEvent&lt;br /&gt;
* custodialHist&lt;br /&gt;
&lt;br /&gt;
==d==&lt;br /&gt;
&lt;br /&gt;
* damage&lt;br /&gt;
* damageSpan&lt;br /&gt;
* datatype&lt;br /&gt;
* date&lt;br /&gt;
* dateline&lt;br /&gt;
* death&lt;br /&gt;
* decoDesc&lt;br /&gt;
* decoNote&lt;br /&gt;
* def&lt;br /&gt;
* default&lt;br /&gt;
* defaultVal&lt;br /&gt;
 del {display:inline; text-decoration: line-through;}&lt;br /&gt;
* delSpan&lt;br /&gt;
* depth&lt;br /&gt;
* derivation&lt;br /&gt;
* desc&lt;br /&gt;
* dictScrap&lt;br /&gt;
* dim&lt;br /&gt;
* dimensions&lt;br /&gt;
* distinct&lt;br /&gt;
* distributor&lt;br /&gt;
* district&lt;br /&gt;
* div&lt;br /&gt;
* div1&lt;br /&gt;
* div2&lt;br /&gt;
* div3&lt;br /&gt;
* div4&lt;br /&gt;
* div5&lt;br /&gt;
* div6&lt;br /&gt;
* div7&lt;br /&gt;
* divGen&lt;br /&gt;
* docAuthor&lt;br /&gt;
* docDate&lt;br /&gt;
* docEdition&lt;br /&gt;
* docImprint&lt;br /&gt;
* docTitle&lt;br /&gt;
* domain&lt;br /&gt;
&lt;br /&gt;
==e==&lt;br /&gt;
&lt;br /&gt;
* eLeaf&lt;br /&gt;
* eTree&lt;br /&gt;
* edition&lt;br /&gt;
* editionStmt&lt;br /&gt;
* editor&lt;br /&gt;
* editorialDecl&lt;br /&gt;
* education&lt;br /&gt;
* eg&lt;br /&gt;
* egXML&lt;br /&gt;
* elementSpec&lt;br /&gt;
* email&lt;br /&gt;
 emph {display:inline; font-style:italic;}&lt;br /&gt;
* encodingDesc&lt;br /&gt;
* entry&lt;br /&gt;
* entryFree&lt;br /&gt;
 epigraph {display:block;}&lt;br /&gt;
* epilogue&lt;br /&gt;
* equipment&lt;br /&gt;
* equiv&lt;br /&gt;
* etym&lt;br /&gt;
* event&lt;br /&gt;
* ex&lt;br /&gt;
* exemplum&lt;br /&gt;
 choice &amp;gt; expan + abbr:before {content:&amp;quot;(&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
 choice &amp;gt; expan + abbr:after {content:&amp;quot;)&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
* explicit&lt;br /&gt;
* extent&lt;br /&gt;
&lt;br /&gt;
==f==&lt;br /&gt;
&lt;br /&gt;
* f&lt;br /&gt;
* fDecl&lt;br /&gt;
* fDescr&lt;br /&gt;
* fLib&lt;br /&gt;
* facsimile&lt;br /&gt;
* factuality&lt;br /&gt;
* faith&lt;br /&gt;
* figDesc&lt;br /&gt;
* figure&lt;br /&gt;
* fileDesc&lt;br /&gt;
* filiation&lt;br /&gt;
* finalRubric&lt;br /&gt;
* floatingText&lt;br /&gt;
* floruit&lt;br /&gt;
* foliation&lt;br /&gt;
 foreign {display:inline;}&lt;br /&gt;
* forename&lt;br /&gt;
* forest&lt;br /&gt;
* forestGrp&lt;br /&gt;
* form&lt;br /&gt;
* formula&lt;br /&gt;
* front&lt;br /&gt;
* fs&lt;br /&gt;
* fsConstraints&lt;br /&gt;
* fsDecl&lt;br /&gt;
* fsDescr&lt;br /&gt;
* fsdDecl&lt;br /&gt;
* fsdLink&lt;br /&gt;
* funder&lt;br /&gt;
* fvLib&lt;br /&gt;
* fw&lt;br /&gt;
&lt;br /&gt;
==g==&lt;br /&gt;
&lt;br /&gt;
* g&lt;br /&gt;
* gap&lt;br /&gt;
* gen&lt;br /&gt;
 genName {display:inline;}&lt;br /&gt;
* geo&lt;br /&gt;
* geoDecl&lt;br /&gt;
* geogFeat&lt;br /&gt;
 geogName {display:inline;}&lt;br /&gt;
 gi:before {display:inline;content:&amp;quot;&amp;lt;&amp;quot;}  gi:after {display:inline;content:&amp;quot;&amp;gt;&amp;quot;}&lt;br /&gt;
 gloss {display:inline;}&lt;br /&gt;
* glyph&lt;br /&gt;
* glyphName&lt;br /&gt;
* gram&lt;br /&gt;
* gramGrp&lt;br /&gt;
* graph&lt;br /&gt;
* graphic&lt;br /&gt;
* group&lt;br /&gt;
&lt;br /&gt;
==h==&lt;br /&gt;
&lt;br /&gt;
* handDesc&lt;br /&gt;
* handNote&lt;br /&gt;
* handNotes&lt;br /&gt;
* handShift&lt;br /&gt;
* head&lt;br /&gt;
* headItem&lt;br /&gt;
* headLabel&lt;br /&gt;
* height&lt;br /&gt;
* heraldry&lt;br /&gt;
 hi {display:inline; font-weight:bold;}&lt;br /&gt;
* history&lt;br /&gt;
* hom&lt;br /&gt;
* hyph&lt;br /&gt;
* hyphenation&lt;br /&gt;
&lt;br /&gt;
==i==&lt;br /&gt;
&lt;br /&gt;
* iNode&lt;br /&gt;
* iType&lt;br /&gt;
 ident[type] {display:inline; font-weight:bold;} ident:not([type]) {display:inline; } /* Just as the stylesheet allows for different types; a specific type could be styled by ident[type=&amp;quot;XXX&amp;quot;] */&lt;br /&gt;
* idno&lt;br /&gt;
* if&lt;br /&gt;
* iff&lt;br /&gt;
* imprimatur&lt;br /&gt;
* imprint&lt;br /&gt;
* incident (speech module: XSL has not yet covered)&lt;br /&gt;
* incipit&lt;br /&gt;
* index&lt;br /&gt;
* institution&lt;br /&gt;
* interaction&lt;br /&gt;
* interp&lt;br /&gt;
* interpGrp&lt;br /&gt;
* interpretation&lt;br /&gt;
* item&lt;br /&gt;
&lt;br /&gt;
==j==&lt;br /&gt;
&lt;br /&gt;
* join&lt;br /&gt;
* joinGrp&lt;br /&gt;
&lt;br /&gt;
==k==&lt;br /&gt;
&lt;br /&gt;
* keywords (XSL has not yet covered (from header module))&lt;br /&gt;
* kinesic (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==l==&lt;br /&gt;
&lt;br /&gt;
 l {display:block;}&lt;br /&gt;
 label {display:inline;}&lt;br /&gt;
* lacunaEnd&lt;br /&gt;
* lacunaStart&lt;br /&gt;
* lang&lt;br /&gt;
* langKnowledge&lt;br /&gt;
* langKnown&lt;br /&gt;
* langUsage&lt;br /&gt;
* language&lt;br /&gt;
* layout&lt;br /&gt;
* layoutDesc&lt;br /&gt;
 lb {display:block;}&lt;br /&gt;
* lbl&lt;br /&gt;
* leaf&lt;br /&gt;
* lem&lt;br /&gt;
 lg {display:block;}&lt;br /&gt;
* link&lt;br /&gt;
* linkGrp&lt;br /&gt;
* list&lt;br /&gt;
* listBibl&lt;br /&gt;
* listEvent&lt;br /&gt;
* listNym&lt;br /&gt;
* listOrg&lt;br /&gt;
* listPerson&lt;br /&gt;
* listPlace&lt;br /&gt;
* listRef&lt;br /&gt;
* listWit&lt;br /&gt;
* localName&lt;br /&gt;
* locale&lt;br /&gt;
* location&lt;br /&gt;
* locus&lt;br /&gt;
* locusGrp&lt;br /&gt;
&lt;br /&gt;
==m==&lt;br /&gt;
&lt;br /&gt;
* m&lt;br /&gt;
* macroSpec&lt;br /&gt;
* mapping&lt;br /&gt;
* material&lt;br /&gt;
* measure&lt;br /&gt;
* measureGrp&lt;br /&gt;
* meeting&lt;br /&gt;
* memberOf&lt;br /&gt;
 mentioned {display:inline;}&lt;br /&gt;
* metDecl&lt;br /&gt;
* metSym&lt;br /&gt;
* milestone&lt;br /&gt;
* moduleRef&lt;br /&gt;
* moduleSpec&lt;br /&gt;
* monogr&lt;br /&gt;
* mood&lt;br /&gt;
* move&lt;br /&gt;
* msContents&lt;br /&gt;
* msDesc&lt;br /&gt;
* msIdentifier&lt;br /&gt;
* msItem&lt;br /&gt;
* msItemStruct&lt;br /&gt;
* msName&lt;br /&gt;
* msPart&lt;br /&gt;
* musicNotation&lt;br /&gt;
&lt;br /&gt;
==n==&lt;br /&gt;
&lt;br /&gt;
 name {display:inline;}&lt;br /&gt;
* nameLink&lt;br /&gt;
* namespace&lt;br /&gt;
* nationality&lt;br /&gt;
* node&lt;br /&gt;
* normalization&lt;br /&gt;
* note&lt;br /&gt;
* notesStmt&lt;br /&gt;
* num&lt;br /&gt;
* number&lt;br /&gt;
* numeric&lt;br /&gt;
* nym&lt;br /&gt;
&lt;br /&gt;
==o==&lt;br /&gt;
&lt;br /&gt;
* oRef&lt;br /&gt;
* oVar&lt;br /&gt;
* objectDesc&lt;br /&gt;
* occupation&lt;br /&gt;
* offset&lt;br /&gt;
* opener&lt;br /&gt;
* org&lt;br /&gt;
* orgName&lt;br /&gt;
* orig&lt;br /&gt;
* origDate&lt;br /&gt;
* origPlace&lt;br /&gt;
* origin&lt;br /&gt;
* orth&lt;br /&gt;
&lt;br /&gt;
==p==&lt;br /&gt;
&lt;br /&gt;
* p&lt;br /&gt;
* pRef&lt;br /&gt;
* pVar&lt;br /&gt;
* particDesc&lt;br /&gt;
* pause (speech module: XSL has not yet covered)&lt;br /&gt;
* pb&lt;br /&gt;
* pc&lt;br /&gt;
* per&lt;br /&gt;
* performance&lt;br /&gt;
 persName {display:inline;}&lt;br /&gt;
* person&lt;br /&gt;
* personGrp&lt;br /&gt;
* phr&lt;br /&gt;
* physDesc&lt;br /&gt;
* place&lt;br /&gt;
 placeName {display:inline;}&lt;br /&gt;
* population&lt;br /&gt;
* pos&lt;br /&gt;
* postBox&lt;br /&gt;
* postCode&lt;br /&gt;
* postscript&lt;br /&gt;
* precision&lt;br /&gt;
* preparedness&lt;br /&gt;
* principal&lt;br /&gt;
* profileDesc&lt;br /&gt;
* projectDesc&lt;br /&gt;
* prologue&lt;br /&gt;
* pron&lt;br /&gt;
* provenance&lt;br /&gt;
* ptr&lt;br /&gt;
* pubPlace&lt;br /&gt;
* publicationStmt&lt;br /&gt;
* publisher&lt;br /&gt;
* purpose&lt;br /&gt;
&lt;br /&gt;
==q==&lt;br /&gt;
&lt;br /&gt;
* q&lt;br /&gt;
* quotation&lt;br /&gt;
* quote&lt;br /&gt;
&lt;br /&gt;
==r==&lt;br /&gt;
&lt;br /&gt;
* rdg&lt;br /&gt;
* rdgGrp&lt;br /&gt;
* re&lt;br /&gt;
* recordHist&lt;br /&gt;
* recording&lt;br /&gt;
* recordingStmt&lt;br /&gt;
* ref&lt;br /&gt;
* refState&lt;br /&gt;
* refsDecl&lt;br /&gt;
* reg&lt;br /&gt;
* region&lt;br /&gt;
* relatedItem&lt;br /&gt;
* relation&lt;br /&gt;
* relationGrp&lt;br /&gt;
* remarks&lt;br /&gt;
* rendition&lt;br /&gt;
* repository&lt;br /&gt;
* residence&lt;br /&gt;
 resp:after {content:&amp;quot; &amp;quot;;}&lt;br /&gt;
 respStmt {display:inline;}&lt;br /&gt;
* respons&lt;br /&gt;
* restore&lt;br /&gt;
* revisionDesc&lt;br /&gt;
* rhyme&lt;br /&gt;
 role {display:inline; font-style: italic;}&lt;br /&gt;
 roleDesc { margin-left: 40px; margin-right: 40px; } roleDesc &amp;gt; *:not(p) {display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
 roleName {display:inline;}&lt;br /&gt;
* root&lt;br /&gt;
* row&lt;br /&gt;
* rs&lt;br /&gt;
* rubric&lt;br /&gt;
&lt;br /&gt;
==s==&lt;br /&gt;
&lt;br /&gt;
* s&lt;br /&gt;
* said&lt;br /&gt;
 salute {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* samplingDecl&lt;br /&gt;
* schemaSpec&lt;br /&gt;
* scriptStmt&lt;br /&gt;
* seal&lt;br /&gt;
* sealDesc&lt;br /&gt;
* secFol&lt;br /&gt;
 seg {display:inline;}&lt;br /&gt;
* segmentation&lt;br /&gt;
* sense&lt;br /&gt;
* series&lt;br /&gt;
* seriesStmt&lt;br /&gt;
 set {display:inline; font-style: italic;}&lt;br /&gt;
* setting&lt;br /&gt;
* settingDesc&lt;br /&gt;
* settlement&lt;br /&gt;
* se x (XSL has not yet covered (namesdates module)) /* space-separated for spam filter! */&lt;br /&gt;
* shift (speech module: XSL has not yet covered)&lt;br /&gt;
 sic {display:inline;} sic:after {content: &amp;quot; (sic)&amp;quot;}&lt;br /&gt;
* signatures&lt;br /&gt;
 signed {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
 soCalled:before {content:'‘'} soCalled {display:inline;} soCalled:after {content:'’'} /* Quote style is parameterized in XSL; note: content can also accept 'open-quote' and 'close-quote', but the default is as already included in the rule */&lt;br /&gt;
* socecStatus&lt;br /&gt;
 sound {display:inline; font-style: italic;}&lt;br /&gt;
* source&lt;br /&gt;
* sourceDesc&lt;br /&gt;
* sp&lt;br /&gt;
* space&lt;br /&gt;
* span&lt;br /&gt;
* spanGrp&lt;br /&gt;
* speaker&lt;br /&gt;
* specDesc&lt;br /&gt;
* specGrp&lt;br /&gt;
* specGrpRef&lt;br /&gt;
* specList&lt;br /&gt;
* sponsor&lt;br /&gt;
 stage {font-style: italic; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* stamp&lt;br /&gt;
* state&lt;br /&gt;
* stdVals&lt;br /&gt;
* street&lt;br /&gt;
* stress&lt;br /&gt;
* string&lt;br /&gt;
* stringVal&lt;br /&gt;
* subc&lt;br /&gt;
* subst&lt;br /&gt;
* summary&lt;br /&gt;
* superEntry&lt;br /&gt;
* supplied&lt;br /&gt;
* support&lt;br /&gt;
* supportDesc&lt;br /&gt;
* surface&lt;br /&gt;
* surname&lt;br /&gt;
* surplus&lt;br /&gt;
* surrogates&lt;br /&gt;
* syll&lt;br /&gt;
* symbol&lt;br /&gt;
&lt;br /&gt;
==t==&lt;br /&gt;
&lt;br /&gt;
* TEI&lt;br /&gt;
* table&lt;br /&gt;
* tag&lt;br /&gt;
* tagUsage&lt;br /&gt;
* tagsDecl&lt;br /&gt;
* taxonomy&lt;br /&gt;
 tech {display:inline; font-style: italic;}&lt;br /&gt;
* teiCorpus&lt;br /&gt;
* teiHeader&lt;br /&gt;
 term {display:inline;}&lt;br /&gt;
* terrain&lt;br /&gt;
* text&lt;br /&gt;
* textClass&lt;br /&gt;
* textDesc&lt;br /&gt;
* textLang&lt;br /&gt;
* then&lt;br /&gt;
* time&lt;br /&gt;
* timeline&lt;br /&gt;
* title&lt;br /&gt;
* titlePage&lt;br /&gt;
* titlePart&lt;br /&gt;
* titleStmt&lt;br /&gt;
* tns&lt;br /&gt;
* trailer&lt;br /&gt;
* trait&lt;br /&gt;
* tree&lt;br /&gt;
* triangle&lt;br /&gt;
* typeDesc&lt;br /&gt;
* typeNote&lt;br /&gt;
&lt;br /&gt;
==u==&lt;br /&gt;
&lt;br /&gt;
* u (speech module: XSL has not yet covered)&lt;br /&gt;
 unclear {display:inline;}&lt;br /&gt;
* unicodeName&lt;br /&gt;
* usg&lt;br /&gt;
&lt;br /&gt;
==v==&lt;br /&gt;
&lt;br /&gt;
* vAlt&lt;br /&gt;
* vColl&lt;br /&gt;
* vDefault&lt;br /&gt;
* vLabel&lt;br /&gt;
* vMerge&lt;br /&gt;
* vNot&lt;br /&gt;
* vRange&lt;br /&gt;
* val&lt;br /&gt;
* valDesc&lt;br /&gt;
* valItem&lt;br /&gt;
* valList&lt;br /&gt;
* value&lt;br /&gt;
* variantEncoding&lt;br /&gt;
 view {display:inline; font-style: italic;}&lt;br /&gt;
* vocal (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==w==&lt;br /&gt;
&lt;br /&gt;
* w&lt;br /&gt;
* watermark&lt;br /&gt;
* when&lt;br /&gt;
* width&lt;br /&gt;
* wit&lt;br /&gt;
* witDetail&lt;br /&gt;
* witEnd&lt;br /&gt;
* witStart&lt;br /&gt;
* witness&lt;br /&gt;
* writing (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==x==&lt;br /&gt;
&lt;br /&gt;
* xr&lt;br /&gt;
&lt;br /&gt;
==y==&lt;br /&gt;
&lt;br /&gt;
(none)&lt;br /&gt;
&lt;br /&gt;
==z==&lt;br /&gt;
z&lt;br /&gt;
&lt;br /&gt;
* zone&lt;br /&gt;
&lt;br /&gt;
==References used==&lt;br /&gt;
* http://math.ut.ee/~kaarel/NLP/TEI/visualization/ (on rationales)&lt;br /&gt;
&lt;br /&gt;
[[Category:CSS]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Formatting_TEI_documents&amp;diff=8054</id>
		<title>Formatting TEI documents</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Formatting_TEI_documents&amp;diff=8054"/>
		<updated>2010-09-15T03:03:11Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: /* Respecting the original formatting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page aims to spell out some considerations when formatting TEI documents or considering how mark-up issues inter-relate with (or should not inter-relate with) output formatting. It is based on a proposed chapter draft at http://www.tei-c.org/Activities/Council/Working/tcw10.xml &lt;br /&gt;
&lt;br /&gt;
Per http://www.tei-c.org/Activities/Council/Meetings/tcm38.xml?style=raw , the TEI &amp;quot;Council reached a consensus that the draft document is not suitable as a formal chapter of the Guidelines, largely because the technologies and procedures used for output rendering change frequently and are not under the control of the TEI Consortium (e.g., XSLT processors, CSS standards, etc.)&amp;quot;, but I wanted to offer it here in case others wish to revise or expand on it.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
While TEI makes no claims about how a document is to be rendered--except to the extent that it allows description of the original formatting and to the extent that publishers wish to reflect that formatting--it is a general expectation that the TEI documents a project is creating can be rendered at some point in a more human-readable manner. While the desired formatting should not prompt one to violate the TEI Abstract model by altering the semantics of a document in order to adjust output formatting, the process of creating formatting output (or even well before doing so), may lead a project to reconsider some aspects of its semantic markup, as well as the more conventional means of adjusting a stylesheet, so the issues raised here go beyond the work of a designer. This chapter will discuss various issues related to formatting a TEI document.&lt;br /&gt;
&lt;br /&gt;
==Respecting the original formatting==&lt;br /&gt;
&lt;br /&gt;
In order to fully respect the original formatting of a document, it is necessary to consider (and thoroughly use) the global @rendition attribute and/or the @render attribute on &amp;lt;tagUsage&amp;gt; elements to point to &amp;lt;rendition&amp;gt; elements and/or the global @rend attribute to provide its own definition without referring elsewhere.&lt;br /&gt;
&lt;br /&gt;
While semantic hooks and reliance on the typical formatting of specific tags for cases where @rend and @rendition are not needed to override typical behaviors might be sufficient to create an output document reflecting the formatting of the original document, if the original rendering is important information to preserve, this can be done more explicitly by ensuring that all elements are given a &amp;lt;tagUsage&amp;gt; element which uses its @render attribute to point to a &amp;lt;rendition&amp;gt; element which contains the styling details that can be applied to all instances of the tag. In this way, there is no ambiguity about how a tag is to be rendered. This is also recommended practice when &amp;lt;tagUsage&amp;gt; elements are provided. (see http://tei.oucs.ox.ac.uk/P5/Guidelines-web/en/html/HD.html#HD57 ).&lt;br /&gt;
&lt;br /&gt;
However, note that &amp;lt;tagUsage&amp;gt; elements do not allow for the specification of a default rendering behavior for element-attribute combinations--only for specific elements regardless of any attributes or attribute values. They also do not allow the specification of a default behavior for an element based on its position (e.g., &amp;lt;quote&amp;gt; within &amp;lt;cit&amp;gt; ), so as this point, it may be inevitable to heavily rely on @rend and @rendition if one must thoroughly indicate this original formatting, independent of a stylesheet.&lt;br /&gt;
&lt;br /&gt;
For maximum specificity in encoding formatting details, the content supplied within &amp;lt;rendition&amp;gt; and @rend ought to use a formal formatting language. However, besides not specifying a particular formatting language that ought to be used, at present TEI does not offer a fail-safe means of translating @rend and &amp;lt;rendition&amp;gt; content into a stylesheet (even though this information could potentially be used to create @style attribute content, or, by using XSLT 2.0, simultaneously create a CSS stylesheet alongside the X/HTML output.&lt;br /&gt;
&lt;br /&gt;
One may use the @scope attribute on &amp;lt;rendition/&amp;gt; to express that a particular style rule should target CSS pseudo-elements (like :before, :after, :first), such as one might wish to do in specifying the addition of distinct content at the beginning or end of a tag (e.g., adding left and right curly quotes to a &amp;lt;q&amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Even where the output does faithfully reflect the original, it should be fairly common to need to optimize the resulting CSS stylesheet, since it would likely be fairly large with there being no means besides &amp;lt;tagUsage&amp;gt; to indicate a behavior to apply to element-attribute combinations or elements in particular positions.&lt;br /&gt;
&lt;br /&gt;
==Original vs. output rendering==&lt;br /&gt;
&lt;br /&gt;
One might find oneself tempted to force the rendition mechansims in TEI (@rend or @rendition or &amp;lt;tagUsage's&amp;gt; @render with &amp;lt;rendition&amp;gt; ) to go beyond their intended use for describing the original rendering of a document. However, it is important to keep in mind that if one wishes to control how the formatting will be output, independently of the original formatting (adding details of formatting not expressed about the original with the TEI render mechanisms or overriding these details), one must not subvert the semantics of a TEI document (at the risk of introducing TEI non-conformance and interoperability issues) for the sake of controlling formatting--that should instead be handled by a stylesheet.&lt;br /&gt;
&lt;br /&gt;
This might necessitate a different stylesheet or, as is probable for most cases, modifications to the default stylesheets provided by TEI, if the parameter options (assuming XSL stylesheets are used) are insufficient to express a project's output requirements. It is, for example, possible to allow the stylesheets to recognize multiple attributes, even at the same time.&lt;br /&gt;
&lt;br /&gt;
==Returning changes to the default stylesheets==&lt;br /&gt;
&lt;br /&gt;
The stylesheets from TEI are evolving with the TEI project, however, so it may be possible that the TEI project might be open to certain changes (whether optional or required) to its default stylesheets, if the changes offered may be of interest to a wider audience and TEI has the resources to implement the changes. Given that the code of these stylesheets is open source, it may benefit both TEI and its users as well as an individual project for stylesheet improvements (or other TEI resources for that matter) to be returned back to the community, as it precludes the individual project from needing to make modifications each time an update occurs.&lt;br /&gt;
&lt;br /&gt;
With more standard (but not standardized) styling expectations (and stylesheet), the more likely that TEI processing applications might be used to render TEI in a familiar format (such as when obtained directly off the web, etc.), even while allowing publishers' full freedom to deviate from such common conventions if they wish.&lt;br /&gt;
&lt;br /&gt;
==Influence of formatting (or accessibility) concerns on markup==&lt;br /&gt;
&lt;br /&gt;
While one should not subvert the semantics of a TEI document in order to control formatting, besides customizing a stylesheet alone, the viewing of a formatted document might prompt a project to consider changes to the original TEI documents, such as:&lt;br /&gt;
&lt;br /&gt;
# giving a more detailed encoding of the original rendering (as that information can be used to produce output rendering, assuming again that the original document being represented indeed possesses this rendering), using &amp;lt;rendition&amp;gt; , &amp;lt;tagUsage&amp;gt; render, @rendition, and @rend&lt;br /&gt;
# adding more semantic &amp;quot;hooks&amp;quot; whether this is the use of hitherto unused elements or attributes such as @n or @type (potentially with the adding of generic elements like &amp;lt;seg&amp;gt; ) which can provide more semantic detail about certain text that can in turn be targeted by a stylesheet to provide more granular control in output formatting. This may also have the benefit of providing more semantic richness to the document (ideally using the more specific elements already recommended for this purpose). Such semantic 'hooks' can also be of the variety that ensures that the output formatting includes sufficient accessibility features such as to make available alternative text along with any graphics or images that could not otherwise be interpreted by a speech browser.&lt;br /&gt;
&lt;br /&gt;
==Semantic information and output formatting==&lt;br /&gt;
&lt;br /&gt;
Besides formatting concerns leading one to add additional semantic distinctions into a TEI document, one may also wish to encode a certain degree of semantic information (to the extent allowed in the output formatting language) into one's formatting output and consider the extent to which output formatting markup is separated from any more generic output structural markup (e.g., creating CSS to hold styles with XHTML used to present the structure or encoding structural and formatting markup together). These are both discussed below.&lt;br /&gt;
&lt;br /&gt;
===Encoding semantic information within formatted output===&lt;br /&gt;
&lt;br /&gt;
While it may often be the case that TEI will be converted to a formatted output in which semantic information is lost, certain output formats allow some if not all semantic information to be retained in some manner. For example, XHTML can use the approach of microformats (http://microformats.org) to use the global and generic XHTML @class attribute to contain information such as the original TEI tag name. While it would likely be too cumbersome to originate documents in such a format (assuming all TEI semantics could be encoded with such an approach), it offers the advantage that one might, for example, use a web browser to obtain a document already pre-rendered, yet use a microformat processor within the browser (possibly available as a browser extension) to search for semantic information.&lt;br /&gt;
&lt;br /&gt;
===Encoding formatting within structural and semantic output===&lt;br /&gt;
&lt;br /&gt;
It has become a generally recommended practice for even XHTML documents on the web to separate their formatting content (as with CSS) into a separate file from the structural content (of paragraphs, generic divisions, etc.). This offers various advantages such as speed in downloading (by browser caching for repeatedly used stylesheet files or by those using speech browsers being able to avoid downloading visually-oriented stylesheets), or flexibility in subsequent style changes. While one might define an XSL stylesheet to create specific XHTML @class attribute values which are associated with those classes targeted in a predefined CSS stylesheet, XSLT 2.0 might be employed to utilize information such as contained within @rend or &amp;lt;rendition&amp;gt; elements to specify the creation of a CSS document while also simultaneously creating the XHTML output document. See the sections on preserving original formatting.&lt;br /&gt;
&lt;br /&gt;
Despite the generally recommended practice of separating styles from structure and semantic information, given the present absence of a means of making queries which utilize style information contained in separate files, it may be conceivable for some to wish to have their formatting output mixed in with structural output (the @style attribute might be harder to parse in a query than if specific XHTML formatting structures were used--even though these may be deprecated in later versions)--just as one might prefer to encode say italic emphasis using &amp;lt;emph n=&amp;quot;italic&amp;quot; rend=&amp;quot;font-style:italic&amp;quot;&amp;gt; rather than use a more formal but correct syntax of &amp;lt;emph rend=&amp;quot;font-style: italic;&amp;quot;&amp;gt; since the former is easier to parse -- so that queries can take advantage of both styling information and/or semantic information. For example, if one views a document and sees that italic text is used for emphasis, one might wish to search for a certain phrase contained within italic text, for example, because one recalled the text occurring there, or because one identified a pattern represented by italic text but where one did not know what the exact name of the pattern was, and thus not knowing what specific tag one must search for to find the desired text.&lt;br /&gt;
&lt;br /&gt;
==General categories of elements to consider in formatting (or not formatting at all)==&lt;br /&gt;
&lt;br /&gt;
Before considering the usual rendering and default rendering options for specific elements (along with any specific attributes), it is worth considering some general issues pertaining to certain types of elements.&lt;br /&gt;
&lt;br /&gt;
===Likelihood of printing out specific elements===&lt;br /&gt;
&lt;br /&gt;
Elements differ in the likelihood a project will wish to render them in a formatted output document. They range from editorial information which might never be printed out for common viewing, to elements which will sometimes be printed out (such as a &amp;lt;choice&amp;gt; listing the original text and a regularized or corrected form) to elements such as paragraphs which almost certainly will be printed out.&lt;br /&gt;
&lt;br /&gt;
For the case of those which will always be printed out, one can make their styling explicit by using &amp;lt;tagUsage&amp;gt; elements with a @render attribute pointing to a &amp;lt;rendition&amp;gt; element with the styling details (and optionally the code). One might optionally even indicate specific elements which should not be displayed (though depending on the stylesheet language, this might not strictly be necessary).&lt;br /&gt;
&lt;br /&gt;
Moreover, a stylesheet might wish to depend on element-specific or global attributes (whether semantic or rendition-related) to target elements with or without these attributes or with specific values to display or not display them selectively.&lt;br /&gt;
&lt;br /&gt;
Elements which occur in the header, will generally not be printed out, though for some project's purposes, display of this information (e.g., bibliographic data) may be useful to include in the formatting output.&lt;br /&gt;
&lt;br /&gt;
While other elements that occur within the running text will generally be printed out, it is important to understand that with TEI--which, as cannot be emphasized enough, is not a formatting language--this will not always be the case. If one has editorial information that should not be printed out within the running text (or at least should not appear alongside the running text), as a project might not wish the encoder-added information to disrupt the flow of the text (e.g., of a narrative) and for which it might even be considered irreverent by some viewers (such as for scriptural works), it will be important to be aware of all such tags that a project might not want printed out so that the stylesheet (possibly in conjunction with special semantic TEI markup if not markup indicating original rendering) does not display those tags' content.&lt;br /&gt;
Elements which are defined by the following macros are generally not to be displayed:&lt;br /&gt;
&lt;br /&gt;
# macro.limitedContent (http://www.tei-c.org/release/doc/tei-p5-doc/html/ref-macro.limitedContent.html ): desc, fDescr, figDesc, fsDescr, meeting, rendition, tagUsage, witness&lt;br /&gt;
# macro.phraseSeq.limited (http://www.tei-c.org/release/doc/tei-p5-doc/html/ref-macro.phraseSeq.limited.html ): activity, age, authority, channel, classCode, constitution, creation. derivation, domain, factuality, funder, interaction, interp, langKnown, language, locale, metSym, preparedness, principal, purpose, resp, span, sponsor, valDesc&lt;br /&gt;
&lt;br /&gt;
Moreover, there are some elements such as those in model.noteLike ( &amp;lt;note&amp;gt; and &amp;lt;witDetail&amp;gt; ) which while they might occur in the outputted document, might also in other cases or within some projects not always be rendered if at all. model.global.meta with members such as alt, altGrp, certainty, fLib, fs, fvLib, index, interp, interpGrp, join, joinGrp, link, linkGrp, respons, span, spanGrp, and timeline as well as elements containing the global @exclude attribute may or may not be output when included within a document.&lt;br /&gt;
&lt;br /&gt;
Still others include items such as may be contained within &amp;lt;choice&amp;gt; : abbr, am, corr, ex, expan, orig, reg, seg, sic, unclear .. A project may need to consider whether to output these elements with both choices being shown in some manner (even as a mere tooltip that is exposed when certain text is hovered over) or whether to only show one of the choices (such as that reflecting the original or some regularization, correction, expansion, or abbreviation).&lt;br /&gt;
&lt;br /&gt;
Likewise with elements belonging to model.pPart.transcriptional: add, app, corr, damage, del, orig, reg, restore, sic, supplied, unclear . One may or may not wish to indicate &amp;lt;supplied&amp;gt; text for example, or choose how to format damaged sections in some particular manner.&lt;br /&gt;
&lt;br /&gt;
(any others????)&lt;br /&gt;
&lt;br /&gt;
Since there is no way of knowing whether some of the elements mentioned above such as &amp;lt;note&amp;gt; refer to text that should be printed out or not, one must rely on other mechanisms to specify or glean this information. One way would be to use attributes, such as @resp to detect whether the note was the responsibility of a markup editor of the document, or whether it was provided by an original annotator of the document. However, as the detection of this might not always be clear (especially if the markup annotator also served as the original annotator), the user of other attributes such as @type, or where @type is not available, possibly @n or even xml:id might be used.&lt;br /&gt;
&lt;br /&gt;
Note that despite its being listed above, an element such as &amp;lt;figDesc&amp;gt; , while it might not normally be displayed immediately to a visual browser, might still nevertheless be important (or even required in some formatting languages or in use with projects needing by law to adhere to accessibility regulations) for the sake of being accessible to those with visual disabilities who might depend on speech browsers or tooltips to be able to get a sense of what a particular graphic, photograph, etc. was displaying. It is certainly good practice to follow such an encoding, both within TEI documents and in the formatted output, where available.&lt;br /&gt;
&lt;br /&gt;
===Behaviour within &amp;lt;corr&amp;gt; and similar elements===&lt;br /&gt;
&lt;br /&gt;
One exception to @rend, @rendition (or their absence) indicating original formatting is that within a &amp;lt;corr&amp;gt; tag.&lt;br /&gt;
&lt;br /&gt;
The addition of a @rend within &amp;lt;corr&amp;gt; (or &amp;lt;reg&amp;gt; ) would apply to an intended output formatting, rather than to the original formatting as it normally does.&lt;br /&gt;
&amp;lt;choice&amp;gt;&amp;lt;sic&amp;gt;&amp;lt;title level=&amp;quot;j&amp;quot; rend=&amp;quot;noitalic&amp;quot;&amp;gt;The Times&amp;lt;/title&amp;gt;&amp;lt;/sic&amp;gt;&amp;lt;corr&amp;gt;&amp;lt;title level=&amp;quot;j&amp;quot; rend=&amp;quot;italic&amp;quot;&amp;gt;The Times&amp;lt;/corr&amp;gt;&amp;lt;/choice&amp;gt;&lt;br /&gt;
Likewise, especially if the default rendering of &amp;lt;title&amp;gt; were specified by a &amp;lt;tagUsage&amp;gt; and &amp;lt;rendition&amp;gt; element (here to indicate a title as being by default in italic), the absence of @rend or @rendition would still imply a change of formatting:&lt;br /&gt;
&amp;lt;choice&amp;gt;&amp;lt;sic&amp;gt;&amp;lt;title level=&amp;quot;j&amp;quot; rend=&amp;quot;noitalic&amp;quot;&amp;gt;The Times&amp;lt;/title&amp;gt;&amp;lt;/sic&amp;gt;&amp;lt;corr&amp;gt;&amp;lt;title level=&amp;quot;j&amp;quot;&amp;gt;The Times&amp;lt;/corr&amp;gt;&amp;lt;/choice&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Items needing replication===&lt;br /&gt;
&lt;br /&gt;
Some elements or elements with certain attributes may need special consideration for output such as @copyOf or &amp;lt;join&amp;gt; , as these might indicate that certain formatting output might need to be created such as might (as with other cases described earlier) not be evident by simply stripping the markup out of the document.&lt;br /&gt;
&lt;br /&gt;
===Text attributes===&lt;br /&gt;
&lt;br /&gt;
Most attributes are used with coded values, as they are not mean to represent human language or to be displayed. Text attributes represent the exception to this, though it is commonly preferred for an XML language to represent these attributes as elements so that further nested subelements representing markup at the phrasal level, etc. can be added within as needed.&lt;br /&gt;
&lt;br /&gt;
Text attributes have generally been removed from TEI, and some of the ones that remain one might not wish to output in a formatted version anyways, but if one wishes to include, for example, @reason in one's output, one will be unable to add styling which depends on child elements for more specific formatting since the information is expressed within an attribute (but one can style differently depending on the element's @xml:lang, as that does apply for text attributes, as well as any other attributes on the element). Likewise for the dictionary attributes, @expand, @norm, @split, @value, and @orig which represent the remaining text attributes????.&lt;br /&gt;
&lt;br /&gt;
((((Syd prepared a list of potential text attributes to review to see if they were still text attributes--it'd be nice to be able to give such an exhaustive list here.))))&lt;br /&gt;
&lt;br /&gt;
I think the element-specific details might be logically incorporated as documentation elements within XSL that could be extracted for automatic inclusion within the TEI reference pages, making clear that the formatting discussed is only that of the default behavior used in TEI-provided stylesheets (though also discussing the range of options that the stylesheet makes available through parameters). I really think giving awareness of these formatting issues in the context of considering these elements would be more helpful than waiting for people to discover them separately in the stylesheets.&lt;br /&gt;
&lt;br /&gt;
==Consideration of default transformation behavior==&lt;br /&gt;
&lt;br /&gt;
While, as mentioned earlier, there is no required mapping of TEI elements and attributes to specific output document structures (e.g., XHTML/CSS, LaTeX, etc.), the fact that TEI provides a default set of stylesheets to work with (albeit a parameterized one) and that these are presumably well-used [by the number of downloads????] indicates that there are a general set of expectations about how most TEI structures will appear when output. The effort required to create one's own stylesheets from scratch for such a large vocabulary as TEI provides, or even to significantly modify existing stylesheets (no less each time as improvements and adjustments are made to the default files), also makes the understanding of how documents will be transformed an imperative for many projects. Thus, it becomes necessary to understand how TEI might commonly be transformed (or understood to be transformed), even beyond the extent to which the stylesheets themselves are documented and express (mostly in technical language) the templates used to transform TEI into a formatting language.&lt;br /&gt;
&lt;br /&gt;
The default stylesheets provided by TEI serve as a good basis for discussion on how formatting can be performed and are documented here for the sake of those who wish to know how each structure they might use in a TEI document might be rendered by default. The stylesheets nor this discussion should be taken as any kind of requirement to use these stylesheets as a base, or even at all.&lt;br /&gt;
&lt;br /&gt;
===Specific formatting for specific elements (and any attributes)===&lt;br /&gt;
&lt;br /&gt;
(to be displayed on reference pages?)&lt;br /&gt;
&lt;br /&gt;
See [[Comprehensive CSS Stylesheet]] for a beginning at describing default styling (attempting to mimic the XSL stylesheets) as expressed in the simple, precise, and usually intuitive, but still technical, language CSS.&lt;br /&gt;
&lt;br /&gt;
===Specific formatting for specific categories of formatting (images, etc.)===&lt;br /&gt;
&lt;br /&gt;
(to be compiled after reference pages have their information fleshed out)&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7902</id>
		<title>Comprehensive CSS Stylesheet</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7902"/>
		<updated>2010-07-12T09:24:05Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: /* a */ +additions&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following is an attempt to gradually build CSS for each TEI element, paralleling the default TEI stylesheets (while also potentially serving as a kind of discussion center for how the stylesheets ought to operate (see [[Formatting TEI documents]] on how there is a need for this despite TEI being agnostic as to output formatting), at least for issues pertaining solely to formatting as opposed to semantics), by indicating here necessary deviations from the XHTML stylesheets (due to CSS constraints) or potentially desirable alternatives, etc.).&lt;br /&gt;
&lt;br /&gt;
Advantages of CSS over XSL might include:&lt;br /&gt;
# Simpler for maintenance/alteration (though CSS can still be combined with simpler XSL as needed)&lt;br /&gt;
# Downloading (and parsing?) is faster&lt;br /&gt;
# Wider browser support (and for browser caching?)&lt;br /&gt;
# Allows DOM and other manipulation directly on semantically-named TEI elements (though admittedly, use of frameworks like jQuery may make traversal of X/HTML as easy or easier)&lt;br /&gt;
# TEI could potentially be used as is in HTML (though empty self-closing elements will not be treated properly unless changed to &amp;lt;elem&amp;gt;&amp;lt;/elem&amp;gt; form and namespaces will not be present) in addition to true XHTML.&lt;br /&gt;
&lt;br /&gt;
Disadvantages:&lt;br /&gt;
# Does not allow for certain kinds of transformations (though again, CSS can be combined with a simple XSL stylesheet which preserves TEI except in cases where needed)&lt;br /&gt;
# Is cumbersome for certain variable structures (e.g., for values varying by integer but not including the integer (e.g., space.extent =&amp;gt; number of spaces) a separate rule must be created for each possible attribute value)&lt;br /&gt;
# (Another disadvantage of CSS in general is being unable to create certain kinds of output such as form controls, but in the case of TEI, we hardly need this.)&lt;br /&gt;
&lt;br /&gt;
Per CSS Namespaces, one can use either&lt;br /&gt;
 @namespace &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 @namespace tei &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
...but we will use the former since we will presume the stylesheet will be primarily (if not exclusively) for TEI.&lt;br /&gt;
&lt;br /&gt;
We will not be able to make equivalents for XSLT templates like rendToClass (e.g., ab) or applyRend (emph), applyRendition (emph) since we cannot (nor do we need to) add an id or class (though @rend or @rendition would be useful to utilize, there is no &amp;quot;eval()&amp;quot;-like code in CSS; however, we could test against predefined values like &amp;quot;bold&amp;quot; (maybe as a global * or at least the elements using these in the stylesheets (emph, hi, ...))).&lt;br /&gt;
&lt;br /&gt;
All fields below should be complete for an element, or otherwise noted that it is incomplete, so that it can otherwise be assumed that the CSS has been completely applied as far as possible (besides rend/rendition which may later be done globally for all elements, as these are indeed globals).&lt;br /&gt;
&lt;br /&gt;
==a==&lt;br /&gt;
 ab {display:block;}&lt;br /&gt;
 choice &amp;gt; expan + abbr:before {content:&amp;quot;(&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
 choice &amp;gt; expan + abbr:after {content:&amp;quot;)&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
 accMat {display: block;} accMat:before {content: &amp;quot;Accompanying material: &amp;quot;; font-weight: bold;}&lt;br /&gt;
 history acquisition:before {content: &amp;quot;Acquisition: &amp;quot;;font-weight: bold;} history acquisition {display: block;}&lt;br /&gt;
* activity (XSL has not yet covered (from language module))&lt;br /&gt;
 actor {display:inline; font-style: italic;}&lt;br /&gt;
 add[place=&amp;quot;sup&amp;quot;] {vertical-align:super;} add[place=&amp;quot;sub&amp;quot;] {vertical-align:sub;}&lt;br /&gt;
* addName (XSL has not yet covered (from namesdates module))&lt;br /&gt;
* addSpan&lt;br /&gt;
 additional {padding-top: 3pt; padding-bottom: 2pt; display: block;} additional&amp;gt;listBibl&amp;gt;bibl:after {content: &amp;quot;.&amp;quot;;} additional:before {content: &amp;quot;Additional:&amp;quot;;display: block;font-weight: 600;   font-variant: small-caps;font-size: 120%;} additional&amp;gt;listBibl {display: block;list-style-type: none;margin-top: 10pt;} additional&amp;gt;listBibl:before {content: &amp;quot;Bibliography:&amp;quot;;display: block;font-weight: 600;font-variant: small-caps;font-size: 120%;} additional&amp;gt;listBibl&amp;gt;bibl {text-align: left;display: list-item;margin-left: 30pt;}&lt;br /&gt;
 additions {display: block;} additions:before {content: &amp;quot;Additions: &amp;quot;;font-weight: bold;}&lt;br /&gt;
 addrLine {display:block;}&lt;br /&gt;
 address {display:block; /* font-style:italic; If wish to appear as HTML addresses are rendered by default, at least in Firefox */}&lt;br /&gt;
* adminInfo&lt;br /&gt;
* affiliation&lt;br /&gt;
* age&lt;br /&gt;
* alt&lt;br /&gt;
* altGrp&lt;br /&gt;
* altIdent&lt;br /&gt;
* altIdentifier&lt;br /&gt;
* am&lt;br /&gt;
* analytic&lt;br /&gt;
* anchor&lt;br /&gt;
* app&lt;br /&gt;
* appInfo&lt;br /&gt;
* application&lt;br /&gt;
* arc&lt;br /&gt;
* argument&lt;br /&gt;
 att {display:inline; font-weight:bold;} att:before {content:&amp;quot;@&amp;quot;}&lt;br /&gt;
* attDef&lt;br /&gt;
* attList&lt;br /&gt;
* attRef&lt;br /&gt;
* author&lt;br /&gt;
* authority&lt;br /&gt;
* availability&lt;br /&gt;
&lt;br /&gt;
==b==&lt;br /&gt;
&lt;br /&gt;
* back&lt;br /&gt;
* bibl&lt;br /&gt;
* biblFull&lt;br /&gt;
* biblScope&lt;br /&gt;
* biblStruct&lt;br /&gt;
* bicond&lt;br /&gt;
* binary&lt;br /&gt;
* binaryObject&lt;br /&gt;
* binding&lt;br /&gt;
* bindingDesc&lt;br /&gt;
* birth&lt;br /&gt;
* bloc&lt;br /&gt;
* body&lt;br /&gt;
* broadcast&lt;br /&gt;
 byline {display:block;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==c==&lt;br /&gt;
&lt;br /&gt;
* c&lt;br /&gt;
* cRefPattern&lt;br /&gt;
 caesura:before {display:inline; content:&amp;quot;\a0\a0\a0\a0&amp;quot;; /* could be :after too */}&lt;br /&gt;
 camera {display:inline; font-style: italic;}&lt;br /&gt;
 caption {display:inline; font-style: italic;}&lt;br /&gt;
* case&lt;br /&gt;
* castGroup&lt;br /&gt;
* castItem&lt;br /&gt;
 castList {} /* Note: has additional rules: */&lt;br /&gt;
 castList {display:block;} /* applies whether children are head or not */&lt;br /&gt;
 /* Note: for this to mirror the XSL exactly, head would always need to be preceding other elements as a direct child castList */&lt;br /&gt;
 castList &amp;gt; head {display:inline; font-style:italic;}&lt;br /&gt;
 castList &amp;gt; *:not(head) {margin-left: 40px;} /* If children of castList needed their own indents, then it should be relative to this (if possible) */&lt;br /&gt;
&lt;br /&gt;
* catDesc (Only defined in XSL conditionally if using catRef)&lt;br /&gt;
 catRef {} /* Note: has additional rules: */&lt;br /&gt;
 catRef + catRef:before {'\A'} /* Add line break if preceded by another catRef */&lt;br /&gt;
 catRef:after {content:attr(scheme); display:inline; font-style:italic;} /* Add scheme in italics */&lt;br /&gt;
 /* &lt;br /&gt;
 Commenting out as XPath not currently supported in CSS as needed by third 'after'&lt;br /&gt;
 catRef:after(2) {content:':'}*//* Requires CSS3 to add such additional 'after' content? (Firefox allows content: '123'attr(class)'456' at least); See http://www.w3.org/TR/css3-content/#nesting or http://www.w3.org/TR/css3-content/#inserting0 */&lt;br /&gt;
 /* &lt;br /&gt;
 catRef:after(3) {content: &amp;lt;not possible to reference target's catDesc unless XPath gets added to CSS&amp;gt;} */&lt;br /&gt;
* catchwords&lt;br /&gt;
* category&lt;br /&gt;
* cb&lt;br /&gt;
* cell&lt;br /&gt;
* certainty&lt;br /&gt;
* change&lt;br /&gt;
* channel&lt;br /&gt;
* char&lt;br /&gt;
* charDecl&lt;br /&gt;
* charName&lt;br /&gt;
* charProp&lt;br /&gt;
* choice&lt;br /&gt;
* cit&lt;br /&gt;
* cl&lt;br /&gt;
* classCode (XSL has not yet covered (from header module))&lt;br /&gt;
* classDecl&lt;br /&gt;
* classSpec&lt;br /&gt;
* classes&lt;br /&gt;
* climate&lt;br /&gt;
* closer&lt;br /&gt;
 code {display:inline; font-family:monospace;}&lt;br /&gt;
* collation&lt;br /&gt;
* collection&lt;br /&gt;
* colloc&lt;br /&gt;
* colophon&lt;br /&gt;
* cond&lt;br /&gt;
* condition&lt;br /&gt;
* constitution&lt;br /&gt;
* constraint&lt;br /&gt;
* constraintSpec&lt;br /&gt;
* content&lt;br /&gt;
* corr&lt;br /&gt;
* correction&lt;br /&gt;
* country&lt;br /&gt;
* creation&lt;br /&gt;
* custEvent&lt;br /&gt;
* custodialHist&lt;br /&gt;
&lt;br /&gt;
==d==&lt;br /&gt;
&lt;br /&gt;
* damage&lt;br /&gt;
* damageSpan&lt;br /&gt;
* datatype&lt;br /&gt;
* date&lt;br /&gt;
* dateline&lt;br /&gt;
* death&lt;br /&gt;
* decoDesc&lt;br /&gt;
* decoNote&lt;br /&gt;
* def&lt;br /&gt;
* default&lt;br /&gt;
* defaultVal&lt;br /&gt;
 del {display:inline; text-decoration: line-through;}&lt;br /&gt;
* delSpan&lt;br /&gt;
* depth&lt;br /&gt;
* derivation&lt;br /&gt;
* desc&lt;br /&gt;
* dictScrap&lt;br /&gt;
* dim&lt;br /&gt;
* dimensions&lt;br /&gt;
* distinct&lt;br /&gt;
* distributor&lt;br /&gt;
* district&lt;br /&gt;
* div&lt;br /&gt;
* div1&lt;br /&gt;
* div2&lt;br /&gt;
* div3&lt;br /&gt;
* div4&lt;br /&gt;
* div5&lt;br /&gt;
* div6&lt;br /&gt;
* div7&lt;br /&gt;
* divGen&lt;br /&gt;
* docAuthor&lt;br /&gt;
* docDate&lt;br /&gt;
* docEdition&lt;br /&gt;
* docImprint&lt;br /&gt;
* docTitle&lt;br /&gt;
* domain&lt;br /&gt;
&lt;br /&gt;
==e==&lt;br /&gt;
&lt;br /&gt;
* eLeaf&lt;br /&gt;
* eTree&lt;br /&gt;
* edition&lt;br /&gt;
* editionStmt&lt;br /&gt;
* editor&lt;br /&gt;
* editorialDecl&lt;br /&gt;
* education&lt;br /&gt;
* eg&lt;br /&gt;
* egXML&lt;br /&gt;
* elementSpec&lt;br /&gt;
* email&lt;br /&gt;
 emph {display:inline; font-style:italic;}&lt;br /&gt;
* encodingDesc&lt;br /&gt;
* entry&lt;br /&gt;
* entryFree&lt;br /&gt;
 epigraph {display:block;}&lt;br /&gt;
* epilogue&lt;br /&gt;
* equipment&lt;br /&gt;
* equiv&lt;br /&gt;
* etym&lt;br /&gt;
* event&lt;br /&gt;
* ex&lt;br /&gt;
* exemplum&lt;br /&gt;
 choice &amp;gt; expan + abbr:before {content:&amp;quot;(&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
 choice &amp;gt; expan + abbr:after {content:&amp;quot;)&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
* explicit&lt;br /&gt;
* extent&lt;br /&gt;
&lt;br /&gt;
==f==&lt;br /&gt;
&lt;br /&gt;
* f&lt;br /&gt;
* fDecl&lt;br /&gt;
* fDescr&lt;br /&gt;
* fLib&lt;br /&gt;
* facsimile&lt;br /&gt;
* factuality&lt;br /&gt;
* faith&lt;br /&gt;
* figDesc&lt;br /&gt;
* figure&lt;br /&gt;
* fileDesc&lt;br /&gt;
* filiation&lt;br /&gt;
* finalRubric&lt;br /&gt;
* floatingText&lt;br /&gt;
* floruit&lt;br /&gt;
* foliation&lt;br /&gt;
 foreign {display:inline;}&lt;br /&gt;
* forename&lt;br /&gt;
* forest&lt;br /&gt;
* forestGrp&lt;br /&gt;
* form&lt;br /&gt;
* formula&lt;br /&gt;
* front&lt;br /&gt;
* fs&lt;br /&gt;
* fsConstraints&lt;br /&gt;
* fsDecl&lt;br /&gt;
* fsDescr&lt;br /&gt;
* fsdDecl&lt;br /&gt;
* fsdLink&lt;br /&gt;
* funder&lt;br /&gt;
* fvLib&lt;br /&gt;
* fw&lt;br /&gt;
&lt;br /&gt;
==g==&lt;br /&gt;
&lt;br /&gt;
* g&lt;br /&gt;
* gap&lt;br /&gt;
* gen&lt;br /&gt;
 genName {display:inline;}&lt;br /&gt;
* geo&lt;br /&gt;
* geoDecl&lt;br /&gt;
* geogFeat&lt;br /&gt;
 geogName {display:inline;}&lt;br /&gt;
 gi:before {display:inline;content:&amp;quot;&amp;lt;&amp;quot;}  gi:after {display:inline;content:&amp;quot;&amp;gt;&amp;quot;}&lt;br /&gt;
 gloss {display:inline;}&lt;br /&gt;
* glyph&lt;br /&gt;
* glyphName&lt;br /&gt;
* gram&lt;br /&gt;
* gramGrp&lt;br /&gt;
* graph&lt;br /&gt;
* graphic&lt;br /&gt;
* group&lt;br /&gt;
&lt;br /&gt;
==h==&lt;br /&gt;
&lt;br /&gt;
* handDesc&lt;br /&gt;
* handNote&lt;br /&gt;
* handNotes&lt;br /&gt;
* handShift&lt;br /&gt;
* head&lt;br /&gt;
* headItem&lt;br /&gt;
* headLabel&lt;br /&gt;
* height&lt;br /&gt;
* heraldry&lt;br /&gt;
 hi {display:inline; font-weight:bold;}&lt;br /&gt;
* history&lt;br /&gt;
* hom&lt;br /&gt;
* hyph&lt;br /&gt;
* hyphenation&lt;br /&gt;
&lt;br /&gt;
==i==&lt;br /&gt;
&lt;br /&gt;
* iNode&lt;br /&gt;
* iType&lt;br /&gt;
 ident[type] {display:inline; font-weight:bold;} ident:not([type]) {display:inline; } /* Just as the stylesheet allows for different types; a specific type could be styled by ident[type=&amp;quot;XXX&amp;quot;] */&lt;br /&gt;
* idno&lt;br /&gt;
* if&lt;br /&gt;
* iff&lt;br /&gt;
* imprimatur&lt;br /&gt;
* imprint&lt;br /&gt;
* incident (speech module: XSL has not yet covered)&lt;br /&gt;
* incipit&lt;br /&gt;
* index&lt;br /&gt;
* institution&lt;br /&gt;
* interaction&lt;br /&gt;
* interp&lt;br /&gt;
* interpGrp&lt;br /&gt;
* interpretation&lt;br /&gt;
* item&lt;br /&gt;
&lt;br /&gt;
==j==&lt;br /&gt;
&lt;br /&gt;
* join&lt;br /&gt;
* joinGrp&lt;br /&gt;
&lt;br /&gt;
==k==&lt;br /&gt;
&lt;br /&gt;
* keywords (XSL has not yet covered (from header module))&lt;br /&gt;
* kinesic (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==l==&lt;br /&gt;
&lt;br /&gt;
 l {display:block;}&lt;br /&gt;
 label {display:inline;}&lt;br /&gt;
* lacunaEnd&lt;br /&gt;
* lacunaStart&lt;br /&gt;
* lang&lt;br /&gt;
* langKnowledge&lt;br /&gt;
* langKnown&lt;br /&gt;
* langUsage&lt;br /&gt;
* language&lt;br /&gt;
* layout&lt;br /&gt;
* layoutDesc&lt;br /&gt;
 lb {display:block;}&lt;br /&gt;
* lbl&lt;br /&gt;
* leaf&lt;br /&gt;
* lem&lt;br /&gt;
 lg {display:block;}&lt;br /&gt;
* link&lt;br /&gt;
* linkGrp&lt;br /&gt;
* list&lt;br /&gt;
* listBibl&lt;br /&gt;
* listEvent&lt;br /&gt;
* listNym&lt;br /&gt;
* listOrg&lt;br /&gt;
* listPerson&lt;br /&gt;
* listPlace&lt;br /&gt;
* listRef&lt;br /&gt;
* listWit&lt;br /&gt;
* localName&lt;br /&gt;
* locale&lt;br /&gt;
* location&lt;br /&gt;
* locus&lt;br /&gt;
* locusGrp&lt;br /&gt;
&lt;br /&gt;
==m==&lt;br /&gt;
&lt;br /&gt;
* m&lt;br /&gt;
* macroSpec&lt;br /&gt;
* mapping&lt;br /&gt;
* material&lt;br /&gt;
* measure&lt;br /&gt;
* measureGrp&lt;br /&gt;
* meeting&lt;br /&gt;
* memberOf&lt;br /&gt;
 mentioned {display:inline;}&lt;br /&gt;
* metDecl&lt;br /&gt;
* metSym&lt;br /&gt;
* milestone&lt;br /&gt;
* moduleRef&lt;br /&gt;
* moduleSpec&lt;br /&gt;
* monogr&lt;br /&gt;
* mood&lt;br /&gt;
* move&lt;br /&gt;
* msContents&lt;br /&gt;
* msDesc&lt;br /&gt;
* msIdentifier&lt;br /&gt;
* msItem&lt;br /&gt;
* msItemStruct&lt;br /&gt;
* msName&lt;br /&gt;
* msPart&lt;br /&gt;
* musicNotation&lt;br /&gt;
&lt;br /&gt;
==n==&lt;br /&gt;
&lt;br /&gt;
 name {display:inline;}&lt;br /&gt;
* nameLink&lt;br /&gt;
* namespace&lt;br /&gt;
* nationality&lt;br /&gt;
* node&lt;br /&gt;
* normalization&lt;br /&gt;
* note&lt;br /&gt;
* notesStmt&lt;br /&gt;
* num&lt;br /&gt;
* number&lt;br /&gt;
* numeric&lt;br /&gt;
* nym&lt;br /&gt;
&lt;br /&gt;
==o==&lt;br /&gt;
&lt;br /&gt;
* oRef&lt;br /&gt;
* oVar&lt;br /&gt;
* objectDesc&lt;br /&gt;
* occupation&lt;br /&gt;
* offset&lt;br /&gt;
* opener&lt;br /&gt;
* org&lt;br /&gt;
* orgName&lt;br /&gt;
* orig&lt;br /&gt;
* origDate&lt;br /&gt;
* origPlace&lt;br /&gt;
* origin&lt;br /&gt;
* orth&lt;br /&gt;
&lt;br /&gt;
==p==&lt;br /&gt;
&lt;br /&gt;
* p&lt;br /&gt;
* pRef&lt;br /&gt;
* pVar&lt;br /&gt;
* particDesc&lt;br /&gt;
* pause (speech module: XSL has not yet covered)&lt;br /&gt;
* pb&lt;br /&gt;
* pc&lt;br /&gt;
* per&lt;br /&gt;
* performance&lt;br /&gt;
 persName {display:inline;}&lt;br /&gt;
* person&lt;br /&gt;
* personGrp&lt;br /&gt;
* phr&lt;br /&gt;
* physDesc&lt;br /&gt;
* place&lt;br /&gt;
 placeName {display:inline;}&lt;br /&gt;
* population&lt;br /&gt;
* pos&lt;br /&gt;
* postBox&lt;br /&gt;
* postCode&lt;br /&gt;
* postscript&lt;br /&gt;
* precision&lt;br /&gt;
* preparedness&lt;br /&gt;
* principal&lt;br /&gt;
* profileDesc&lt;br /&gt;
* projectDesc&lt;br /&gt;
* prologue&lt;br /&gt;
* pron&lt;br /&gt;
* provenance&lt;br /&gt;
* ptr&lt;br /&gt;
* pubPlace&lt;br /&gt;
* publicationStmt&lt;br /&gt;
* publisher&lt;br /&gt;
* purpose&lt;br /&gt;
&lt;br /&gt;
==q==&lt;br /&gt;
&lt;br /&gt;
* q&lt;br /&gt;
* quotation&lt;br /&gt;
* quote&lt;br /&gt;
&lt;br /&gt;
==r==&lt;br /&gt;
&lt;br /&gt;
* rdg&lt;br /&gt;
* rdgGrp&lt;br /&gt;
* re&lt;br /&gt;
* recordHist&lt;br /&gt;
* recording&lt;br /&gt;
* recordingStmt&lt;br /&gt;
* ref&lt;br /&gt;
* refState&lt;br /&gt;
* refsDecl&lt;br /&gt;
* reg&lt;br /&gt;
* region&lt;br /&gt;
* relatedItem&lt;br /&gt;
* relation&lt;br /&gt;
* relationGrp&lt;br /&gt;
* remarks&lt;br /&gt;
* rendition&lt;br /&gt;
* repository&lt;br /&gt;
* residence&lt;br /&gt;
 resp:after {content:&amp;quot; &amp;quot;;}&lt;br /&gt;
 respStmt {display:inline;}&lt;br /&gt;
* respons&lt;br /&gt;
* restore&lt;br /&gt;
* revisionDesc&lt;br /&gt;
* rhyme&lt;br /&gt;
 role {display:inline; font-style: italic;}&lt;br /&gt;
 roleDesc { margin-left: 40px; margin-right: 40px; } roleDesc &amp;gt; *:not(p) {display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
 roleName {display:inline;}&lt;br /&gt;
* root&lt;br /&gt;
* row&lt;br /&gt;
* rs&lt;br /&gt;
* rubric&lt;br /&gt;
&lt;br /&gt;
==s==&lt;br /&gt;
&lt;br /&gt;
* s&lt;br /&gt;
* said&lt;br /&gt;
 salute {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* samplingDecl&lt;br /&gt;
* schemaSpec&lt;br /&gt;
* scriptStmt&lt;br /&gt;
* seal&lt;br /&gt;
* sealDesc&lt;br /&gt;
* secFol&lt;br /&gt;
 seg {display:inline;}&lt;br /&gt;
* segmentation&lt;br /&gt;
* sense&lt;br /&gt;
* series&lt;br /&gt;
* seriesStmt&lt;br /&gt;
 set {display:inline; font-style: italic;}&lt;br /&gt;
* setting&lt;br /&gt;
* settingDesc&lt;br /&gt;
* settlement&lt;br /&gt;
* se x (XSL has not yet covered (namesdates module)) /* space-separated for spam filter! */&lt;br /&gt;
* shift (speech module: XSL has not yet covered)&lt;br /&gt;
 sic {display:inline;} sic:after {content: &amp;quot; (sic)&amp;quot;}&lt;br /&gt;
* signatures&lt;br /&gt;
 signed {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
 soCalled:before {content:'‘'} soCalled {display:inline;} soCalled:after {content:'’'} /* Quote style is parameterized in XSL; note: content can also accept 'open-quote' and 'close-quote', but the default is as already included in the rule */&lt;br /&gt;
* socecStatus&lt;br /&gt;
 sound {display:inline; font-style: italic;}&lt;br /&gt;
* source&lt;br /&gt;
* sourceDesc&lt;br /&gt;
* sp&lt;br /&gt;
* space&lt;br /&gt;
* span&lt;br /&gt;
* spanGrp&lt;br /&gt;
* speaker&lt;br /&gt;
* specDesc&lt;br /&gt;
* specGrp&lt;br /&gt;
* specGrpRef&lt;br /&gt;
* specList&lt;br /&gt;
* sponsor&lt;br /&gt;
 stage {font-style: italic; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* stamp&lt;br /&gt;
* state&lt;br /&gt;
* stdVals&lt;br /&gt;
* street&lt;br /&gt;
* stress&lt;br /&gt;
* string&lt;br /&gt;
* stringVal&lt;br /&gt;
* subc&lt;br /&gt;
* subst&lt;br /&gt;
* summary&lt;br /&gt;
* superEntry&lt;br /&gt;
* supplied&lt;br /&gt;
* support&lt;br /&gt;
* supportDesc&lt;br /&gt;
* surface&lt;br /&gt;
* surname&lt;br /&gt;
* surplus&lt;br /&gt;
* surrogates&lt;br /&gt;
* syll&lt;br /&gt;
* symbol&lt;br /&gt;
&lt;br /&gt;
==t==&lt;br /&gt;
&lt;br /&gt;
* TEI&lt;br /&gt;
* table&lt;br /&gt;
* tag&lt;br /&gt;
* tagUsage&lt;br /&gt;
* tagsDecl&lt;br /&gt;
* taxonomy&lt;br /&gt;
 tech {display:inline; font-style: italic;}&lt;br /&gt;
* teiCorpus&lt;br /&gt;
* teiHeader&lt;br /&gt;
 term {display:inline;}&lt;br /&gt;
* terrain&lt;br /&gt;
* text&lt;br /&gt;
* textClass&lt;br /&gt;
* textDesc&lt;br /&gt;
* textLang&lt;br /&gt;
* then&lt;br /&gt;
* time&lt;br /&gt;
* timeline&lt;br /&gt;
* title&lt;br /&gt;
* titlePage&lt;br /&gt;
* titlePart&lt;br /&gt;
* titleStmt&lt;br /&gt;
* tns&lt;br /&gt;
* trailer&lt;br /&gt;
* trait&lt;br /&gt;
* tree&lt;br /&gt;
* triangle&lt;br /&gt;
* typeDesc&lt;br /&gt;
* typeNote&lt;br /&gt;
&lt;br /&gt;
==u==&lt;br /&gt;
&lt;br /&gt;
* u (speech module: XSL has not yet covered)&lt;br /&gt;
 unclear {display:inline;}&lt;br /&gt;
* unicodeName&lt;br /&gt;
* usg&lt;br /&gt;
&lt;br /&gt;
==v==&lt;br /&gt;
&lt;br /&gt;
* vAlt&lt;br /&gt;
* vColl&lt;br /&gt;
* vDefault&lt;br /&gt;
* vLabel&lt;br /&gt;
* vMerge&lt;br /&gt;
* vNot&lt;br /&gt;
* vRange&lt;br /&gt;
* val&lt;br /&gt;
* valDesc&lt;br /&gt;
* valItem&lt;br /&gt;
* valList&lt;br /&gt;
* value&lt;br /&gt;
* variantEncoding&lt;br /&gt;
 view {display:inline; font-style: italic;}&lt;br /&gt;
* vocal (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==w==&lt;br /&gt;
&lt;br /&gt;
* w&lt;br /&gt;
* watermark&lt;br /&gt;
* when&lt;br /&gt;
* width&lt;br /&gt;
* wit&lt;br /&gt;
* witDetail&lt;br /&gt;
* witEnd&lt;br /&gt;
* witStart&lt;br /&gt;
* witness&lt;br /&gt;
* writing (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==x==&lt;br /&gt;
&lt;br /&gt;
* xr&lt;br /&gt;
&lt;br /&gt;
==y==&lt;br /&gt;
&lt;br /&gt;
(none)&lt;br /&gt;
&lt;br /&gt;
==z==&lt;br /&gt;
z&lt;br /&gt;
&lt;br /&gt;
* zone&lt;br /&gt;
&lt;br /&gt;
==References used==&lt;br /&gt;
* http://math.ut.ee/~kaarel/NLP/TEI/visualization/ (on rationales)&lt;br /&gt;
&lt;br /&gt;
[[Category:CSS]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7901</id>
		<title>Comprehensive CSS Stylesheet</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7901"/>
		<updated>2010-07-12T09:22:20Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: /* a */ add, addName comment&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following is an attempt to gradually build CSS for each TEI element, paralleling the default TEI stylesheets (while also potentially serving as a kind of discussion center for how the stylesheets ought to operate (see [[Formatting TEI documents]] on how there is a need for this despite TEI being agnostic as to output formatting), at least for issues pertaining solely to formatting as opposed to semantics), by indicating here necessary deviations from the XHTML stylesheets (due to CSS constraints) or potentially desirable alternatives, etc.).&lt;br /&gt;
&lt;br /&gt;
Advantages of CSS over XSL might include:&lt;br /&gt;
# Simpler for maintenance/alteration (though CSS can still be combined with simpler XSL as needed)&lt;br /&gt;
# Downloading (and parsing?) is faster&lt;br /&gt;
# Wider browser support (and for browser caching?)&lt;br /&gt;
# Allows DOM and other manipulation directly on semantically-named TEI elements (though admittedly, use of frameworks like jQuery may make traversal of X/HTML as easy or easier)&lt;br /&gt;
# TEI could potentially be used as is in HTML (though empty self-closing elements will not be treated properly unless changed to &amp;lt;elem&amp;gt;&amp;lt;/elem&amp;gt; form and namespaces will not be present) in addition to true XHTML.&lt;br /&gt;
&lt;br /&gt;
Disadvantages:&lt;br /&gt;
# Does not allow for certain kinds of transformations (though again, CSS can be combined with a simple XSL stylesheet which preserves TEI except in cases where needed)&lt;br /&gt;
# Is cumbersome for certain variable structures (e.g., for values varying by integer but not including the integer (e.g., space.extent =&amp;gt; number of spaces) a separate rule must be created for each possible attribute value)&lt;br /&gt;
# (Another disadvantage of CSS in general is being unable to create certain kinds of output such as form controls, but in the case of TEI, we hardly need this.)&lt;br /&gt;
&lt;br /&gt;
Per CSS Namespaces, one can use either&lt;br /&gt;
 @namespace &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 @namespace tei &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
...but we will use the former since we will presume the stylesheet will be primarily (if not exclusively) for TEI.&lt;br /&gt;
&lt;br /&gt;
We will not be able to make equivalents for XSLT templates like rendToClass (e.g., ab) or applyRend (emph), applyRendition (emph) since we cannot (nor do we need to) add an id or class (though @rend or @rendition would be useful to utilize, there is no &amp;quot;eval()&amp;quot;-like code in CSS; however, we could test against predefined values like &amp;quot;bold&amp;quot; (maybe as a global * or at least the elements using these in the stylesheets (emph, hi, ...))).&lt;br /&gt;
&lt;br /&gt;
All fields below should be complete for an element, or otherwise noted that it is incomplete, so that it can otherwise be assumed that the CSS has been completely applied as far as possible (besides rend/rendition which may later be done globally for all elements, as these are indeed globals).&lt;br /&gt;
&lt;br /&gt;
==a==&lt;br /&gt;
 ab {display:block;}&lt;br /&gt;
 choice &amp;gt; expan + abbr:before {content:&amp;quot;(&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
 choice &amp;gt; expan + abbr:after {content:&amp;quot;)&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
 accMat {display: block;} accMat:before {content: &amp;quot;Accompanying material: &amp;quot;; font-weight: bold;}&lt;br /&gt;
 history acquisition:before {content: &amp;quot;Acquisition: &amp;quot;;font-weight: bold;} history acquisition {display: block;}&lt;br /&gt;
* activity (XSL has not yet covered (from language module))&lt;br /&gt;
 actor {display:inline; font-style: italic;}&lt;br /&gt;
 add[place=&amp;quot;sup&amp;quot;] {vertical-align:super;} add[place=&amp;quot;sub&amp;quot;] {vertical-align:sub;}&lt;br /&gt;
* addName (XSL has not yet covered (from namesdates module))&lt;br /&gt;
* addSpan&lt;br /&gt;
 additional {padding-top: 3pt; padding-bottom: 2pt; display: block;} additional&amp;gt;listBibl&amp;gt;bibl:after {content: &amp;quot;.&amp;quot;;} additional:before {content: &amp;quot;Additional:&amp;quot;;display: block;font-weight: 600;   font-variant: small-caps;font-size: 120%;} additional&amp;gt;listBibl {display: block;list-style-type: none;margin-top: 10pt;} additional&amp;gt;listBibl:before {content: &amp;quot;Bibliography:&amp;quot;;display: block;font-weight: 600;font-variant: small-caps;font-size: 120%;} additional&amp;gt;listBibl&amp;gt;bibl {text-align: left;display: list-item;margin-left: 30pt;}&lt;br /&gt;
* additions&lt;br /&gt;
 addrLine {display:block;}&lt;br /&gt;
 address {display:block; /* font-style:italic; If wish to appear as HTML addresses are rendered by default, at least in Firefox */}&lt;br /&gt;
* adminInfo&lt;br /&gt;
* affiliation&lt;br /&gt;
* age&lt;br /&gt;
* alt&lt;br /&gt;
* altGrp&lt;br /&gt;
* altIdent&lt;br /&gt;
* altIdentifier&lt;br /&gt;
* am&lt;br /&gt;
* analytic&lt;br /&gt;
* anchor&lt;br /&gt;
* app&lt;br /&gt;
* appInfo&lt;br /&gt;
* application&lt;br /&gt;
* arc&lt;br /&gt;
* argument&lt;br /&gt;
 att {display:inline; font-weight:bold;} att:before {content:&amp;quot;@&amp;quot;}&lt;br /&gt;
* attDef&lt;br /&gt;
* attList&lt;br /&gt;
* attRef&lt;br /&gt;
* author&lt;br /&gt;
* authority&lt;br /&gt;
* availability&lt;br /&gt;
&lt;br /&gt;
==b==&lt;br /&gt;
&lt;br /&gt;
* back&lt;br /&gt;
* bibl&lt;br /&gt;
* biblFull&lt;br /&gt;
* biblScope&lt;br /&gt;
* biblStruct&lt;br /&gt;
* bicond&lt;br /&gt;
* binary&lt;br /&gt;
* binaryObject&lt;br /&gt;
* binding&lt;br /&gt;
* bindingDesc&lt;br /&gt;
* birth&lt;br /&gt;
* bloc&lt;br /&gt;
* body&lt;br /&gt;
* broadcast&lt;br /&gt;
 byline {display:block;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==c==&lt;br /&gt;
&lt;br /&gt;
* c&lt;br /&gt;
* cRefPattern&lt;br /&gt;
 caesura:before {display:inline; content:&amp;quot;\a0\a0\a0\a0&amp;quot;; /* could be :after too */}&lt;br /&gt;
 camera {display:inline; font-style: italic;}&lt;br /&gt;
 caption {display:inline; font-style: italic;}&lt;br /&gt;
* case&lt;br /&gt;
* castGroup&lt;br /&gt;
* castItem&lt;br /&gt;
 castList {} /* Note: has additional rules: */&lt;br /&gt;
 castList {display:block;} /* applies whether children are head or not */&lt;br /&gt;
 /* Note: for this to mirror the XSL exactly, head would always need to be preceding other elements as a direct child castList */&lt;br /&gt;
 castList &amp;gt; head {display:inline; font-style:italic;}&lt;br /&gt;
 castList &amp;gt; *:not(head) {margin-left: 40px;} /* If children of castList needed their own indents, then it should be relative to this (if possible) */&lt;br /&gt;
&lt;br /&gt;
* catDesc (Only defined in XSL conditionally if using catRef)&lt;br /&gt;
 catRef {} /* Note: has additional rules: */&lt;br /&gt;
 catRef + catRef:before {'\A'} /* Add line break if preceded by another catRef */&lt;br /&gt;
 catRef:after {content:attr(scheme); display:inline; font-style:italic;} /* Add scheme in italics */&lt;br /&gt;
 /* &lt;br /&gt;
 Commenting out as XPath not currently supported in CSS as needed by third 'after'&lt;br /&gt;
 catRef:after(2) {content:':'}*//* Requires CSS3 to add such additional 'after' content? (Firefox allows content: '123'attr(class)'456' at least); See http://www.w3.org/TR/css3-content/#nesting or http://www.w3.org/TR/css3-content/#inserting0 */&lt;br /&gt;
 /* &lt;br /&gt;
 catRef:after(3) {content: &amp;lt;not possible to reference target's catDesc unless XPath gets added to CSS&amp;gt;} */&lt;br /&gt;
* catchwords&lt;br /&gt;
* category&lt;br /&gt;
* cb&lt;br /&gt;
* cell&lt;br /&gt;
* certainty&lt;br /&gt;
* change&lt;br /&gt;
* channel&lt;br /&gt;
* char&lt;br /&gt;
* charDecl&lt;br /&gt;
* charName&lt;br /&gt;
* charProp&lt;br /&gt;
* choice&lt;br /&gt;
* cit&lt;br /&gt;
* cl&lt;br /&gt;
* classCode (XSL has not yet covered (from header module))&lt;br /&gt;
* classDecl&lt;br /&gt;
* classSpec&lt;br /&gt;
* classes&lt;br /&gt;
* climate&lt;br /&gt;
* closer&lt;br /&gt;
 code {display:inline; font-family:monospace;}&lt;br /&gt;
* collation&lt;br /&gt;
* collection&lt;br /&gt;
* colloc&lt;br /&gt;
* colophon&lt;br /&gt;
* cond&lt;br /&gt;
* condition&lt;br /&gt;
* constitution&lt;br /&gt;
* constraint&lt;br /&gt;
* constraintSpec&lt;br /&gt;
* content&lt;br /&gt;
* corr&lt;br /&gt;
* correction&lt;br /&gt;
* country&lt;br /&gt;
* creation&lt;br /&gt;
* custEvent&lt;br /&gt;
* custodialHist&lt;br /&gt;
&lt;br /&gt;
==d==&lt;br /&gt;
&lt;br /&gt;
* damage&lt;br /&gt;
* damageSpan&lt;br /&gt;
* datatype&lt;br /&gt;
* date&lt;br /&gt;
* dateline&lt;br /&gt;
* death&lt;br /&gt;
* decoDesc&lt;br /&gt;
* decoNote&lt;br /&gt;
* def&lt;br /&gt;
* default&lt;br /&gt;
* defaultVal&lt;br /&gt;
 del {display:inline; text-decoration: line-through;}&lt;br /&gt;
* delSpan&lt;br /&gt;
* depth&lt;br /&gt;
* derivation&lt;br /&gt;
* desc&lt;br /&gt;
* dictScrap&lt;br /&gt;
* dim&lt;br /&gt;
* dimensions&lt;br /&gt;
* distinct&lt;br /&gt;
* distributor&lt;br /&gt;
* district&lt;br /&gt;
* div&lt;br /&gt;
* div1&lt;br /&gt;
* div2&lt;br /&gt;
* div3&lt;br /&gt;
* div4&lt;br /&gt;
* div5&lt;br /&gt;
* div6&lt;br /&gt;
* div7&lt;br /&gt;
* divGen&lt;br /&gt;
* docAuthor&lt;br /&gt;
* docDate&lt;br /&gt;
* docEdition&lt;br /&gt;
* docImprint&lt;br /&gt;
* docTitle&lt;br /&gt;
* domain&lt;br /&gt;
&lt;br /&gt;
==e==&lt;br /&gt;
&lt;br /&gt;
* eLeaf&lt;br /&gt;
* eTree&lt;br /&gt;
* edition&lt;br /&gt;
* editionStmt&lt;br /&gt;
* editor&lt;br /&gt;
* editorialDecl&lt;br /&gt;
* education&lt;br /&gt;
* eg&lt;br /&gt;
* egXML&lt;br /&gt;
* elementSpec&lt;br /&gt;
* email&lt;br /&gt;
 emph {display:inline; font-style:italic;}&lt;br /&gt;
* encodingDesc&lt;br /&gt;
* entry&lt;br /&gt;
* entryFree&lt;br /&gt;
 epigraph {display:block;}&lt;br /&gt;
* epilogue&lt;br /&gt;
* equipment&lt;br /&gt;
* equiv&lt;br /&gt;
* etym&lt;br /&gt;
* event&lt;br /&gt;
* ex&lt;br /&gt;
* exemplum&lt;br /&gt;
 choice &amp;gt; expan + abbr:before {content:&amp;quot;(&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
 choice &amp;gt; expan + abbr:after {content:&amp;quot;)&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
* explicit&lt;br /&gt;
* extent&lt;br /&gt;
&lt;br /&gt;
==f==&lt;br /&gt;
&lt;br /&gt;
* f&lt;br /&gt;
* fDecl&lt;br /&gt;
* fDescr&lt;br /&gt;
* fLib&lt;br /&gt;
* facsimile&lt;br /&gt;
* factuality&lt;br /&gt;
* faith&lt;br /&gt;
* figDesc&lt;br /&gt;
* figure&lt;br /&gt;
* fileDesc&lt;br /&gt;
* filiation&lt;br /&gt;
* finalRubric&lt;br /&gt;
* floatingText&lt;br /&gt;
* floruit&lt;br /&gt;
* foliation&lt;br /&gt;
 foreign {display:inline;}&lt;br /&gt;
* forename&lt;br /&gt;
* forest&lt;br /&gt;
* forestGrp&lt;br /&gt;
* form&lt;br /&gt;
* formula&lt;br /&gt;
* front&lt;br /&gt;
* fs&lt;br /&gt;
* fsConstraints&lt;br /&gt;
* fsDecl&lt;br /&gt;
* fsDescr&lt;br /&gt;
* fsdDecl&lt;br /&gt;
* fsdLink&lt;br /&gt;
* funder&lt;br /&gt;
* fvLib&lt;br /&gt;
* fw&lt;br /&gt;
&lt;br /&gt;
==g==&lt;br /&gt;
&lt;br /&gt;
* g&lt;br /&gt;
* gap&lt;br /&gt;
* gen&lt;br /&gt;
 genName {display:inline;}&lt;br /&gt;
* geo&lt;br /&gt;
* geoDecl&lt;br /&gt;
* geogFeat&lt;br /&gt;
 geogName {display:inline;}&lt;br /&gt;
 gi:before {display:inline;content:&amp;quot;&amp;lt;&amp;quot;}  gi:after {display:inline;content:&amp;quot;&amp;gt;&amp;quot;}&lt;br /&gt;
 gloss {display:inline;}&lt;br /&gt;
* glyph&lt;br /&gt;
* glyphName&lt;br /&gt;
* gram&lt;br /&gt;
* gramGrp&lt;br /&gt;
* graph&lt;br /&gt;
* graphic&lt;br /&gt;
* group&lt;br /&gt;
&lt;br /&gt;
==h==&lt;br /&gt;
&lt;br /&gt;
* handDesc&lt;br /&gt;
* handNote&lt;br /&gt;
* handNotes&lt;br /&gt;
* handShift&lt;br /&gt;
* head&lt;br /&gt;
* headItem&lt;br /&gt;
* headLabel&lt;br /&gt;
* height&lt;br /&gt;
* heraldry&lt;br /&gt;
 hi {display:inline; font-weight:bold;}&lt;br /&gt;
* history&lt;br /&gt;
* hom&lt;br /&gt;
* hyph&lt;br /&gt;
* hyphenation&lt;br /&gt;
&lt;br /&gt;
==i==&lt;br /&gt;
&lt;br /&gt;
* iNode&lt;br /&gt;
* iType&lt;br /&gt;
 ident[type] {display:inline; font-weight:bold;} ident:not([type]) {display:inline; } /* Just as the stylesheet allows for different types; a specific type could be styled by ident[type=&amp;quot;XXX&amp;quot;] */&lt;br /&gt;
* idno&lt;br /&gt;
* if&lt;br /&gt;
* iff&lt;br /&gt;
* imprimatur&lt;br /&gt;
* imprint&lt;br /&gt;
* incident (speech module: XSL has not yet covered)&lt;br /&gt;
* incipit&lt;br /&gt;
* index&lt;br /&gt;
* institution&lt;br /&gt;
* interaction&lt;br /&gt;
* interp&lt;br /&gt;
* interpGrp&lt;br /&gt;
* interpretation&lt;br /&gt;
* item&lt;br /&gt;
&lt;br /&gt;
==j==&lt;br /&gt;
&lt;br /&gt;
* join&lt;br /&gt;
* joinGrp&lt;br /&gt;
&lt;br /&gt;
==k==&lt;br /&gt;
&lt;br /&gt;
* keywords (XSL has not yet covered (from header module))&lt;br /&gt;
* kinesic (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==l==&lt;br /&gt;
&lt;br /&gt;
 l {display:block;}&lt;br /&gt;
 label {display:inline;}&lt;br /&gt;
* lacunaEnd&lt;br /&gt;
* lacunaStart&lt;br /&gt;
* lang&lt;br /&gt;
* langKnowledge&lt;br /&gt;
* langKnown&lt;br /&gt;
* langUsage&lt;br /&gt;
* language&lt;br /&gt;
* layout&lt;br /&gt;
* layoutDesc&lt;br /&gt;
 lb {display:block;}&lt;br /&gt;
* lbl&lt;br /&gt;
* leaf&lt;br /&gt;
* lem&lt;br /&gt;
 lg {display:block;}&lt;br /&gt;
* link&lt;br /&gt;
* linkGrp&lt;br /&gt;
* list&lt;br /&gt;
* listBibl&lt;br /&gt;
* listEvent&lt;br /&gt;
* listNym&lt;br /&gt;
* listOrg&lt;br /&gt;
* listPerson&lt;br /&gt;
* listPlace&lt;br /&gt;
* listRef&lt;br /&gt;
* listWit&lt;br /&gt;
* localName&lt;br /&gt;
* locale&lt;br /&gt;
* location&lt;br /&gt;
* locus&lt;br /&gt;
* locusGrp&lt;br /&gt;
&lt;br /&gt;
==m==&lt;br /&gt;
&lt;br /&gt;
* m&lt;br /&gt;
* macroSpec&lt;br /&gt;
* mapping&lt;br /&gt;
* material&lt;br /&gt;
* measure&lt;br /&gt;
* measureGrp&lt;br /&gt;
* meeting&lt;br /&gt;
* memberOf&lt;br /&gt;
 mentioned {display:inline;}&lt;br /&gt;
* metDecl&lt;br /&gt;
* metSym&lt;br /&gt;
* milestone&lt;br /&gt;
* moduleRef&lt;br /&gt;
* moduleSpec&lt;br /&gt;
* monogr&lt;br /&gt;
* mood&lt;br /&gt;
* move&lt;br /&gt;
* msContents&lt;br /&gt;
* msDesc&lt;br /&gt;
* msIdentifier&lt;br /&gt;
* msItem&lt;br /&gt;
* msItemStruct&lt;br /&gt;
* msName&lt;br /&gt;
* msPart&lt;br /&gt;
* musicNotation&lt;br /&gt;
&lt;br /&gt;
==n==&lt;br /&gt;
&lt;br /&gt;
 name {display:inline;}&lt;br /&gt;
* nameLink&lt;br /&gt;
* namespace&lt;br /&gt;
* nationality&lt;br /&gt;
* node&lt;br /&gt;
* normalization&lt;br /&gt;
* note&lt;br /&gt;
* notesStmt&lt;br /&gt;
* num&lt;br /&gt;
* number&lt;br /&gt;
* numeric&lt;br /&gt;
* nym&lt;br /&gt;
&lt;br /&gt;
==o==&lt;br /&gt;
&lt;br /&gt;
* oRef&lt;br /&gt;
* oVar&lt;br /&gt;
* objectDesc&lt;br /&gt;
* occupation&lt;br /&gt;
* offset&lt;br /&gt;
* opener&lt;br /&gt;
* org&lt;br /&gt;
* orgName&lt;br /&gt;
* orig&lt;br /&gt;
* origDate&lt;br /&gt;
* origPlace&lt;br /&gt;
* origin&lt;br /&gt;
* orth&lt;br /&gt;
&lt;br /&gt;
==p==&lt;br /&gt;
&lt;br /&gt;
* p&lt;br /&gt;
* pRef&lt;br /&gt;
* pVar&lt;br /&gt;
* particDesc&lt;br /&gt;
* pause (speech module: XSL has not yet covered)&lt;br /&gt;
* pb&lt;br /&gt;
* pc&lt;br /&gt;
* per&lt;br /&gt;
* performance&lt;br /&gt;
 persName {display:inline;}&lt;br /&gt;
* person&lt;br /&gt;
* personGrp&lt;br /&gt;
* phr&lt;br /&gt;
* physDesc&lt;br /&gt;
* place&lt;br /&gt;
 placeName {display:inline;}&lt;br /&gt;
* population&lt;br /&gt;
* pos&lt;br /&gt;
* postBox&lt;br /&gt;
* postCode&lt;br /&gt;
* postscript&lt;br /&gt;
* precision&lt;br /&gt;
* preparedness&lt;br /&gt;
* principal&lt;br /&gt;
* profileDesc&lt;br /&gt;
* projectDesc&lt;br /&gt;
* prologue&lt;br /&gt;
* pron&lt;br /&gt;
* provenance&lt;br /&gt;
* ptr&lt;br /&gt;
* pubPlace&lt;br /&gt;
* publicationStmt&lt;br /&gt;
* publisher&lt;br /&gt;
* purpose&lt;br /&gt;
&lt;br /&gt;
==q==&lt;br /&gt;
&lt;br /&gt;
* q&lt;br /&gt;
* quotation&lt;br /&gt;
* quote&lt;br /&gt;
&lt;br /&gt;
==r==&lt;br /&gt;
&lt;br /&gt;
* rdg&lt;br /&gt;
* rdgGrp&lt;br /&gt;
* re&lt;br /&gt;
* recordHist&lt;br /&gt;
* recording&lt;br /&gt;
* recordingStmt&lt;br /&gt;
* ref&lt;br /&gt;
* refState&lt;br /&gt;
* refsDecl&lt;br /&gt;
* reg&lt;br /&gt;
* region&lt;br /&gt;
* relatedItem&lt;br /&gt;
* relation&lt;br /&gt;
* relationGrp&lt;br /&gt;
* remarks&lt;br /&gt;
* rendition&lt;br /&gt;
* repository&lt;br /&gt;
* residence&lt;br /&gt;
 resp:after {content:&amp;quot; &amp;quot;;}&lt;br /&gt;
 respStmt {display:inline;}&lt;br /&gt;
* respons&lt;br /&gt;
* restore&lt;br /&gt;
* revisionDesc&lt;br /&gt;
* rhyme&lt;br /&gt;
 role {display:inline; font-style: italic;}&lt;br /&gt;
 roleDesc { margin-left: 40px; margin-right: 40px; } roleDesc &amp;gt; *:not(p) {display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
 roleName {display:inline;}&lt;br /&gt;
* root&lt;br /&gt;
* row&lt;br /&gt;
* rs&lt;br /&gt;
* rubric&lt;br /&gt;
&lt;br /&gt;
==s==&lt;br /&gt;
&lt;br /&gt;
* s&lt;br /&gt;
* said&lt;br /&gt;
 salute {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* samplingDecl&lt;br /&gt;
* schemaSpec&lt;br /&gt;
* scriptStmt&lt;br /&gt;
* seal&lt;br /&gt;
* sealDesc&lt;br /&gt;
* secFol&lt;br /&gt;
 seg {display:inline;}&lt;br /&gt;
* segmentation&lt;br /&gt;
* sense&lt;br /&gt;
* series&lt;br /&gt;
* seriesStmt&lt;br /&gt;
 set {display:inline; font-style: italic;}&lt;br /&gt;
* setting&lt;br /&gt;
* settingDesc&lt;br /&gt;
* settlement&lt;br /&gt;
* se x (XSL has not yet covered (namesdates module)) /* space-separated for spam filter! */&lt;br /&gt;
* shift (speech module: XSL has not yet covered)&lt;br /&gt;
 sic {display:inline;} sic:after {content: &amp;quot; (sic)&amp;quot;}&lt;br /&gt;
* signatures&lt;br /&gt;
 signed {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
 soCalled:before {content:'‘'} soCalled {display:inline;} soCalled:after {content:'’'} /* Quote style is parameterized in XSL; note: content can also accept 'open-quote' and 'close-quote', but the default is as already included in the rule */&lt;br /&gt;
* socecStatus&lt;br /&gt;
 sound {display:inline; font-style: italic;}&lt;br /&gt;
* source&lt;br /&gt;
* sourceDesc&lt;br /&gt;
* sp&lt;br /&gt;
* space&lt;br /&gt;
* span&lt;br /&gt;
* spanGrp&lt;br /&gt;
* speaker&lt;br /&gt;
* specDesc&lt;br /&gt;
* specGrp&lt;br /&gt;
* specGrpRef&lt;br /&gt;
* specList&lt;br /&gt;
* sponsor&lt;br /&gt;
 stage {font-style: italic; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* stamp&lt;br /&gt;
* state&lt;br /&gt;
* stdVals&lt;br /&gt;
* street&lt;br /&gt;
* stress&lt;br /&gt;
* string&lt;br /&gt;
* stringVal&lt;br /&gt;
* subc&lt;br /&gt;
* subst&lt;br /&gt;
* summary&lt;br /&gt;
* superEntry&lt;br /&gt;
* supplied&lt;br /&gt;
* support&lt;br /&gt;
* supportDesc&lt;br /&gt;
* surface&lt;br /&gt;
* surname&lt;br /&gt;
* surplus&lt;br /&gt;
* surrogates&lt;br /&gt;
* syll&lt;br /&gt;
* symbol&lt;br /&gt;
&lt;br /&gt;
==t==&lt;br /&gt;
&lt;br /&gt;
* TEI&lt;br /&gt;
* table&lt;br /&gt;
* tag&lt;br /&gt;
* tagUsage&lt;br /&gt;
* tagsDecl&lt;br /&gt;
* taxonomy&lt;br /&gt;
 tech {display:inline; font-style: italic;}&lt;br /&gt;
* teiCorpus&lt;br /&gt;
* teiHeader&lt;br /&gt;
 term {display:inline;}&lt;br /&gt;
* terrain&lt;br /&gt;
* text&lt;br /&gt;
* textClass&lt;br /&gt;
* textDesc&lt;br /&gt;
* textLang&lt;br /&gt;
* then&lt;br /&gt;
* time&lt;br /&gt;
* timeline&lt;br /&gt;
* title&lt;br /&gt;
* titlePage&lt;br /&gt;
* titlePart&lt;br /&gt;
* titleStmt&lt;br /&gt;
* tns&lt;br /&gt;
* trailer&lt;br /&gt;
* trait&lt;br /&gt;
* tree&lt;br /&gt;
* triangle&lt;br /&gt;
* typeDesc&lt;br /&gt;
* typeNote&lt;br /&gt;
&lt;br /&gt;
==u==&lt;br /&gt;
&lt;br /&gt;
* u (speech module: XSL has not yet covered)&lt;br /&gt;
 unclear {display:inline;}&lt;br /&gt;
* unicodeName&lt;br /&gt;
* usg&lt;br /&gt;
&lt;br /&gt;
==v==&lt;br /&gt;
&lt;br /&gt;
* vAlt&lt;br /&gt;
* vColl&lt;br /&gt;
* vDefault&lt;br /&gt;
* vLabel&lt;br /&gt;
* vMerge&lt;br /&gt;
* vNot&lt;br /&gt;
* vRange&lt;br /&gt;
* val&lt;br /&gt;
* valDesc&lt;br /&gt;
* valItem&lt;br /&gt;
* valList&lt;br /&gt;
* value&lt;br /&gt;
* variantEncoding&lt;br /&gt;
 view {display:inline; font-style: italic;}&lt;br /&gt;
* vocal (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==w==&lt;br /&gt;
&lt;br /&gt;
* w&lt;br /&gt;
* watermark&lt;br /&gt;
* when&lt;br /&gt;
* width&lt;br /&gt;
* wit&lt;br /&gt;
* witDetail&lt;br /&gt;
* witEnd&lt;br /&gt;
* witStart&lt;br /&gt;
* witness&lt;br /&gt;
* writing (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==x==&lt;br /&gt;
&lt;br /&gt;
* xr&lt;br /&gt;
&lt;br /&gt;
==y==&lt;br /&gt;
&lt;br /&gt;
(none)&lt;br /&gt;
&lt;br /&gt;
==z==&lt;br /&gt;
z&lt;br /&gt;
&lt;br /&gt;
* zone&lt;br /&gt;
&lt;br /&gt;
==References used==&lt;br /&gt;
* http://math.ut.ee/~kaarel/NLP/TEI/visualization/ (on rationales)&lt;br /&gt;
&lt;br /&gt;
[[Category:CSS]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7900</id>
		<title>Comprehensive CSS Stylesheet</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7900"/>
		<updated>2010-07-12T09:09:49Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: /* a */ additional fixes&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following is an attempt to gradually build CSS for each TEI element, paralleling the default TEI stylesheets (while also potentially serving as a kind of discussion center for how the stylesheets ought to operate (see [[Formatting TEI documents]] on how there is a need for this despite TEI being agnostic as to output formatting), at least for issues pertaining solely to formatting as opposed to semantics), by indicating here necessary deviations from the XHTML stylesheets (due to CSS constraints) or potentially desirable alternatives, etc.).&lt;br /&gt;
&lt;br /&gt;
Advantages of CSS over XSL might include:&lt;br /&gt;
# Simpler for maintenance/alteration (though CSS can still be combined with simpler XSL as needed)&lt;br /&gt;
# Downloading (and parsing?) is faster&lt;br /&gt;
# Wider browser support (and for browser caching?)&lt;br /&gt;
# Allows DOM and other manipulation directly on semantically-named TEI elements (though admittedly, use of frameworks like jQuery may make traversal of X/HTML as easy or easier)&lt;br /&gt;
# TEI could potentially be used as is in HTML (though empty self-closing elements will not be treated properly unless changed to &amp;lt;elem&amp;gt;&amp;lt;/elem&amp;gt; form and namespaces will not be present) in addition to true XHTML.&lt;br /&gt;
&lt;br /&gt;
Disadvantages:&lt;br /&gt;
# Does not allow for certain kinds of transformations (though again, CSS can be combined with a simple XSL stylesheet which preserves TEI except in cases where needed)&lt;br /&gt;
# Is cumbersome for certain variable structures (e.g., for values varying by integer but not including the integer (e.g., space.extent =&amp;gt; number of spaces) a separate rule must be created for each possible attribute value)&lt;br /&gt;
# (Another disadvantage of CSS in general is being unable to create certain kinds of output such as form controls, but in the case of TEI, we hardly need this.)&lt;br /&gt;
&lt;br /&gt;
Per CSS Namespaces, one can use either&lt;br /&gt;
 @namespace &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 @namespace tei &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
...but we will use the former since we will presume the stylesheet will be primarily (if not exclusively) for TEI.&lt;br /&gt;
&lt;br /&gt;
We will not be able to make equivalents for XSLT templates like rendToClass (e.g., ab) or applyRend (emph), applyRendition (emph) since we cannot (nor do we need to) add an id or class (though @rend or @rendition would be useful to utilize, there is no &amp;quot;eval()&amp;quot;-like code in CSS; however, we could test against predefined values like &amp;quot;bold&amp;quot; (maybe as a global * or at least the elements using these in the stylesheets (emph, hi, ...))).&lt;br /&gt;
&lt;br /&gt;
All fields below should be complete for an element, or otherwise noted that it is incomplete, so that it can otherwise be assumed that the CSS has been completely applied as far as possible (besides rend/rendition which may later be done globally for all elements, as these are indeed globals).&lt;br /&gt;
&lt;br /&gt;
==a==&lt;br /&gt;
 ab {display:block;}&lt;br /&gt;
 choice &amp;gt; expan + abbr:before {content:&amp;quot;(&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
 choice &amp;gt; expan + abbr:after {content:&amp;quot;)&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
 accMat {display: block;} accMat:before {content: &amp;quot;Accompanying material: &amp;quot;; font-weight: bold;}&lt;br /&gt;
 history acquisition:before {content: &amp;quot;Acquisition: &amp;quot;;font-weight: bold;} history acquisition {display: block;}&lt;br /&gt;
* activity (XSL has not yet covered (from language module)) &lt;br /&gt;
 actor {display:inline; font-style: italic;}&lt;br /&gt;
* add&lt;br /&gt;
* addName&lt;br /&gt;
* addSpan&lt;br /&gt;
 additional {padding-top: 3pt; padding-bottom: 2pt; display: block;} additional&amp;gt;listBibl&amp;gt;bibl:after {content: &amp;quot;.&amp;quot;;} additional:before {content: &amp;quot;Additional:&amp;quot;;display: block;font-weight: 600;   font-variant: small-caps;font-size: 120%;} additional&amp;gt;listBibl {display: block;list-style-type: none;margin-top: 10pt;} additional&amp;gt;listBibl:before {content: &amp;quot;Bibliography:&amp;quot;;display: block;font-weight: 600;font-variant: small-caps;font-size: 120%;} additional&amp;gt;listBibl&amp;gt;bibl {text-align: left;display: list-item;margin-left: 30pt;}&lt;br /&gt;
* additions&lt;br /&gt;
 addrLine {display:block;}&lt;br /&gt;
 address {display:block; /* font-style:italic; If wish to appear as HTML addresses are rendered by default, at least in Firefox */}&lt;br /&gt;
* adminInfo&lt;br /&gt;
* affiliation&lt;br /&gt;
* age&lt;br /&gt;
* alt&lt;br /&gt;
* altGrp&lt;br /&gt;
* altIdent&lt;br /&gt;
* altIdentifier&lt;br /&gt;
* am&lt;br /&gt;
* analytic&lt;br /&gt;
* anchor&lt;br /&gt;
* app&lt;br /&gt;
* appInfo&lt;br /&gt;
* application&lt;br /&gt;
* arc&lt;br /&gt;
* argument&lt;br /&gt;
 att {display:inline; font-weight:bold;} att:before {content:&amp;quot;@&amp;quot;}&lt;br /&gt;
* attDef&lt;br /&gt;
* attList&lt;br /&gt;
* attRef&lt;br /&gt;
* author&lt;br /&gt;
* authority&lt;br /&gt;
* availability&lt;br /&gt;
&lt;br /&gt;
==b==&lt;br /&gt;
&lt;br /&gt;
* back&lt;br /&gt;
* bibl&lt;br /&gt;
* biblFull&lt;br /&gt;
* biblScope&lt;br /&gt;
* biblStruct&lt;br /&gt;
* bicond&lt;br /&gt;
* binary&lt;br /&gt;
* binaryObject&lt;br /&gt;
* binding&lt;br /&gt;
* bindingDesc&lt;br /&gt;
* birth&lt;br /&gt;
* bloc&lt;br /&gt;
* body&lt;br /&gt;
* broadcast&lt;br /&gt;
 byline {display:block;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==c==&lt;br /&gt;
&lt;br /&gt;
* c&lt;br /&gt;
* cRefPattern&lt;br /&gt;
 caesura:before {display:inline; content:&amp;quot;\a0\a0\a0\a0&amp;quot;; /* could be :after too */}&lt;br /&gt;
 camera {display:inline; font-style: italic;}&lt;br /&gt;
 caption {display:inline; font-style: italic;}&lt;br /&gt;
* case&lt;br /&gt;
* castGroup&lt;br /&gt;
* castItem&lt;br /&gt;
 castList {} /* Note: has additional rules: */&lt;br /&gt;
 castList {display:block;} /* applies whether children are head or not */&lt;br /&gt;
 /* Note: for this to mirror the XSL exactly, head would always need to be preceding other elements as a direct child castList */&lt;br /&gt;
 castList &amp;gt; head {display:inline; font-style:italic;}&lt;br /&gt;
 castList &amp;gt; *:not(head) {margin-left: 40px;} /* If children of castList needed their own indents, then it should be relative to this (if possible) */&lt;br /&gt;
&lt;br /&gt;
* catDesc (Only defined in XSL conditionally if using catRef)&lt;br /&gt;
 catRef {} /* Note: has additional rules: */&lt;br /&gt;
 catRef + catRef:before {'\A'} /* Add line break if preceded by another catRef */&lt;br /&gt;
 catRef:after {content:attr(scheme); display:inline; font-style:italic;} /* Add scheme in italics */&lt;br /&gt;
 /* &lt;br /&gt;
 Commenting out as XPath not currently supported in CSS as needed by third 'after'&lt;br /&gt;
 catRef:after(2) {content:':'}*//* Requires CSS3 to add such additional 'after' content? (Firefox allows content: '123'attr(class)'456' at least); See http://www.w3.org/TR/css3-content/#nesting or http://www.w3.org/TR/css3-content/#inserting0 */&lt;br /&gt;
 /* &lt;br /&gt;
 catRef:after(3) {content: &amp;lt;not possible to reference target's catDesc unless XPath gets added to CSS&amp;gt;} */&lt;br /&gt;
* catchwords&lt;br /&gt;
* category&lt;br /&gt;
* cb&lt;br /&gt;
* cell&lt;br /&gt;
* certainty&lt;br /&gt;
* change&lt;br /&gt;
* channel&lt;br /&gt;
* char&lt;br /&gt;
* charDecl&lt;br /&gt;
* charName&lt;br /&gt;
* charProp&lt;br /&gt;
* choice&lt;br /&gt;
* cit&lt;br /&gt;
* cl&lt;br /&gt;
* classCode (XSL has not yet covered (from header module))&lt;br /&gt;
* classDecl&lt;br /&gt;
* classSpec&lt;br /&gt;
* classes&lt;br /&gt;
* climate&lt;br /&gt;
* closer&lt;br /&gt;
 code {display:inline; font-family:monospace;}&lt;br /&gt;
* collation&lt;br /&gt;
* collection&lt;br /&gt;
* colloc&lt;br /&gt;
* colophon&lt;br /&gt;
* cond&lt;br /&gt;
* condition&lt;br /&gt;
* constitution&lt;br /&gt;
* constraint&lt;br /&gt;
* constraintSpec&lt;br /&gt;
* content&lt;br /&gt;
* corr&lt;br /&gt;
* correction&lt;br /&gt;
* country&lt;br /&gt;
* creation&lt;br /&gt;
* custEvent&lt;br /&gt;
* custodialHist&lt;br /&gt;
&lt;br /&gt;
==d==&lt;br /&gt;
&lt;br /&gt;
* damage&lt;br /&gt;
* damageSpan&lt;br /&gt;
* datatype&lt;br /&gt;
* date&lt;br /&gt;
* dateline&lt;br /&gt;
* death&lt;br /&gt;
* decoDesc&lt;br /&gt;
* decoNote&lt;br /&gt;
* def&lt;br /&gt;
* default&lt;br /&gt;
* defaultVal&lt;br /&gt;
 del {display:inline; text-decoration: line-through;}&lt;br /&gt;
* delSpan&lt;br /&gt;
* depth&lt;br /&gt;
* derivation&lt;br /&gt;
* desc&lt;br /&gt;
* dictScrap&lt;br /&gt;
* dim&lt;br /&gt;
* dimensions&lt;br /&gt;
* distinct&lt;br /&gt;
* distributor&lt;br /&gt;
* district&lt;br /&gt;
* div&lt;br /&gt;
* div1&lt;br /&gt;
* div2&lt;br /&gt;
* div3&lt;br /&gt;
* div4&lt;br /&gt;
* div5&lt;br /&gt;
* div6&lt;br /&gt;
* div7&lt;br /&gt;
* divGen&lt;br /&gt;
* docAuthor&lt;br /&gt;
* docDate&lt;br /&gt;
* docEdition&lt;br /&gt;
* docImprint&lt;br /&gt;
* docTitle&lt;br /&gt;
* domain&lt;br /&gt;
&lt;br /&gt;
==e==&lt;br /&gt;
&lt;br /&gt;
* eLeaf&lt;br /&gt;
* eTree&lt;br /&gt;
* edition&lt;br /&gt;
* editionStmt&lt;br /&gt;
* editor&lt;br /&gt;
* editorialDecl&lt;br /&gt;
* education&lt;br /&gt;
* eg&lt;br /&gt;
* egXML&lt;br /&gt;
* elementSpec&lt;br /&gt;
* email&lt;br /&gt;
 emph {display:inline; font-style:italic;}&lt;br /&gt;
* encodingDesc&lt;br /&gt;
* entry&lt;br /&gt;
* entryFree&lt;br /&gt;
 epigraph {display:block;}&lt;br /&gt;
* epilogue&lt;br /&gt;
* equipment&lt;br /&gt;
* equiv&lt;br /&gt;
* etym&lt;br /&gt;
* event&lt;br /&gt;
* ex&lt;br /&gt;
* exemplum&lt;br /&gt;
 choice &amp;gt; expan + abbr:before {content:&amp;quot;(&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
 choice &amp;gt; expan + abbr:after {content:&amp;quot;)&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
* explicit&lt;br /&gt;
* extent&lt;br /&gt;
&lt;br /&gt;
==f==&lt;br /&gt;
&lt;br /&gt;
* f&lt;br /&gt;
* fDecl&lt;br /&gt;
* fDescr&lt;br /&gt;
* fLib&lt;br /&gt;
* facsimile&lt;br /&gt;
* factuality&lt;br /&gt;
* faith&lt;br /&gt;
* figDesc&lt;br /&gt;
* figure&lt;br /&gt;
* fileDesc&lt;br /&gt;
* filiation&lt;br /&gt;
* finalRubric&lt;br /&gt;
* floatingText&lt;br /&gt;
* floruit&lt;br /&gt;
* foliation&lt;br /&gt;
 foreign {display:inline;}&lt;br /&gt;
* forename&lt;br /&gt;
* forest&lt;br /&gt;
* forestGrp&lt;br /&gt;
* form&lt;br /&gt;
* formula&lt;br /&gt;
* front&lt;br /&gt;
* fs&lt;br /&gt;
* fsConstraints&lt;br /&gt;
* fsDecl&lt;br /&gt;
* fsDescr&lt;br /&gt;
* fsdDecl&lt;br /&gt;
* fsdLink&lt;br /&gt;
* funder&lt;br /&gt;
* fvLib&lt;br /&gt;
* fw&lt;br /&gt;
&lt;br /&gt;
==g==&lt;br /&gt;
&lt;br /&gt;
* g&lt;br /&gt;
* gap&lt;br /&gt;
* gen&lt;br /&gt;
 genName {display:inline;}&lt;br /&gt;
* geo&lt;br /&gt;
* geoDecl&lt;br /&gt;
* geogFeat&lt;br /&gt;
 geogName {display:inline;}&lt;br /&gt;
 gi:before {display:inline;content:&amp;quot;&amp;lt;&amp;quot;}  gi:after {display:inline;content:&amp;quot;&amp;gt;&amp;quot;}&lt;br /&gt;
 gloss {display:inline;}&lt;br /&gt;
* glyph&lt;br /&gt;
* glyphName&lt;br /&gt;
* gram&lt;br /&gt;
* gramGrp&lt;br /&gt;
* graph&lt;br /&gt;
* graphic&lt;br /&gt;
* group&lt;br /&gt;
&lt;br /&gt;
==h==&lt;br /&gt;
&lt;br /&gt;
* handDesc&lt;br /&gt;
* handNote&lt;br /&gt;
* handNotes&lt;br /&gt;
* handShift&lt;br /&gt;
* head&lt;br /&gt;
* headItem&lt;br /&gt;
* headLabel&lt;br /&gt;
* height&lt;br /&gt;
* heraldry&lt;br /&gt;
 hi {display:inline; font-weight:bold;}&lt;br /&gt;
* history&lt;br /&gt;
* hom&lt;br /&gt;
* hyph&lt;br /&gt;
* hyphenation&lt;br /&gt;
&lt;br /&gt;
==i==&lt;br /&gt;
&lt;br /&gt;
* iNode&lt;br /&gt;
* iType&lt;br /&gt;
 ident[type] {display:inline; font-weight:bold;} ident:not([type]) {display:inline; } /* Just as the stylesheet allows for different types; a specific type could be styled by ident[type=&amp;quot;XXX&amp;quot;] */&lt;br /&gt;
* idno&lt;br /&gt;
* if&lt;br /&gt;
* iff&lt;br /&gt;
* imprimatur&lt;br /&gt;
* imprint&lt;br /&gt;
* incident (speech module: XSL has not yet covered)&lt;br /&gt;
* incipit&lt;br /&gt;
* index&lt;br /&gt;
* institution&lt;br /&gt;
* interaction&lt;br /&gt;
* interp&lt;br /&gt;
* interpGrp&lt;br /&gt;
* interpretation&lt;br /&gt;
* item&lt;br /&gt;
&lt;br /&gt;
==j==&lt;br /&gt;
&lt;br /&gt;
* join&lt;br /&gt;
* joinGrp&lt;br /&gt;
&lt;br /&gt;
==k==&lt;br /&gt;
&lt;br /&gt;
* keywords (XSL has not yet covered (from header module))&lt;br /&gt;
* kinesic (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==l==&lt;br /&gt;
&lt;br /&gt;
 l {display:block;}&lt;br /&gt;
 label {display:inline;}&lt;br /&gt;
* lacunaEnd&lt;br /&gt;
* lacunaStart&lt;br /&gt;
* lang&lt;br /&gt;
* langKnowledge&lt;br /&gt;
* langKnown&lt;br /&gt;
* langUsage&lt;br /&gt;
* language&lt;br /&gt;
* layout&lt;br /&gt;
* layoutDesc&lt;br /&gt;
 lb {display:block;}&lt;br /&gt;
* lbl&lt;br /&gt;
* leaf&lt;br /&gt;
* lem&lt;br /&gt;
 lg {display:block;}&lt;br /&gt;
* link&lt;br /&gt;
* linkGrp&lt;br /&gt;
* list&lt;br /&gt;
* listBibl&lt;br /&gt;
* listEvent&lt;br /&gt;
* listNym&lt;br /&gt;
* listOrg&lt;br /&gt;
* listPerson&lt;br /&gt;
* listPlace&lt;br /&gt;
* listRef&lt;br /&gt;
* listWit&lt;br /&gt;
* localName&lt;br /&gt;
* locale&lt;br /&gt;
* location&lt;br /&gt;
* locus&lt;br /&gt;
* locusGrp&lt;br /&gt;
&lt;br /&gt;
==m==&lt;br /&gt;
&lt;br /&gt;
* m&lt;br /&gt;
* macroSpec&lt;br /&gt;
* mapping&lt;br /&gt;
* material&lt;br /&gt;
* measure&lt;br /&gt;
* measureGrp&lt;br /&gt;
* meeting&lt;br /&gt;
* memberOf&lt;br /&gt;
 mentioned {display:inline;}&lt;br /&gt;
* metDecl&lt;br /&gt;
* metSym&lt;br /&gt;
* milestone&lt;br /&gt;
* moduleRef&lt;br /&gt;
* moduleSpec&lt;br /&gt;
* monogr&lt;br /&gt;
* mood&lt;br /&gt;
* move&lt;br /&gt;
* msContents&lt;br /&gt;
* msDesc&lt;br /&gt;
* msIdentifier&lt;br /&gt;
* msItem&lt;br /&gt;
* msItemStruct&lt;br /&gt;
* msName&lt;br /&gt;
* msPart&lt;br /&gt;
* musicNotation&lt;br /&gt;
&lt;br /&gt;
==n==&lt;br /&gt;
&lt;br /&gt;
 name {display:inline;}&lt;br /&gt;
* nameLink&lt;br /&gt;
* namespace&lt;br /&gt;
* nationality&lt;br /&gt;
* node&lt;br /&gt;
* normalization&lt;br /&gt;
* note&lt;br /&gt;
* notesStmt&lt;br /&gt;
* num&lt;br /&gt;
* number&lt;br /&gt;
* numeric&lt;br /&gt;
* nym&lt;br /&gt;
&lt;br /&gt;
==o==&lt;br /&gt;
&lt;br /&gt;
* oRef&lt;br /&gt;
* oVar&lt;br /&gt;
* objectDesc&lt;br /&gt;
* occupation&lt;br /&gt;
* offset&lt;br /&gt;
* opener&lt;br /&gt;
* org&lt;br /&gt;
* orgName&lt;br /&gt;
* orig&lt;br /&gt;
* origDate&lt;br /&gt;
* origPlace&lt;br /&gt;
* origin&lt;br /&gt;
* orth&lt;br /&gt;
&lt;br /&gt;
==p==&lt;br /&gt;
&lt;br /&gt;
* p&lt;br /&gt;
* pRef&lt;br /&gt;
* pVar&lt;br /&gt;
* particDesc&lt;br /&gt;
* pause (speech module: XSL has not yet covered)&lt;br /&gt;
* pb&lt;br /&gt;
* pc&lt;br /&gt;
* per&lt;br /&gt;
* performance&lt;br /&gt;
 persName {display:inline;}&lt;br /&gt;
* person&lt;br /&gt;
* personGrp&lt;br /&gt;
* phr&lt;br /&gt;
* physDesc&lt;br /&gt;
* place&lt;br /&gt;
 placeName {display:inline;}&lt;br /&gt;
* population&lt;br /&gt;
* pos&lt;br /&gt;
* postBox&lt;br /&gt;
* postCode&lt;br /&gt;
* postscript&lt;br /&gt;
* precision&lt;br /&gt;
* preparedness&lt;br /&gt;
* principal&lt;br /&gt;
* profileDesc&lt;br /&gt;
* projectDesc&lt;br /&gt;
* prologue&lt;br /&gt;
* pron&lt;br /&gt;
* provenance&lt;br /&gt;
* ptr&lt;br /&gt;
* pubPlace&lt;br /&gt;
* publicationStmt&lt;br /&gt;
* publisher&lt;br /&gt;
* purpose&lt;br /&gt;
&lt;br /&gt;
==q==&lt;br /&gt;
&lt;br /&gt;
* q&lt;br /&gt;
* quotation&lt;br /&gt;
* quote&lt;br /&gt;
&lt;br /&gt;
==r==&lt;br /&gt;
&lt;br /&gt;
* rdg&lt;br /&gt;
* rdgGrp&lt;br /&gt;
* re&lt;br /&gt;
* recordHist&lt;br /&gt;
* recording&lt;br /&gt;
* recordingStmt&lt;br /&gt;
* ref&lt;br /&gt;
* refState&lt;br /&gt;
* refsDecl&lt;br /&gt;
* reg&lt;br /&gt;
* region&lt;br /&gt;
* relatedItem&lt;br /&gt;
* relation&lt;br /&gt;
* relationGrp&lt;br /&gt;
* remarks&lt;br /&gt;
* rendition&lt;br /&gt;
* repository&lt;br /&gt;
* residence&lt;br /&gt;
 resp:after {content:&amp;quot; &amp;quot;;}&lt;br /&gt;
 respStmt {display:inline;}&lt;br /&gt;
* respons&lt;br /&gt;
* restore&lt;br /&gt;
* revisionDesc&lt;br /&gt;
* rhyme&lt;br /&gt;
 role {display:inline; font-style: italic;}&lt;br /&gt;
 roleDesc { margin-left: 40px; margin-right: 40px; } roleDesc &amp;gt; *:not(p) {display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
 roleName {display:inline;}&lt;br /&gt;
* root&lt;br /&gt;
* row&lt;br /&gt;
* rs&lt;br /&gt;
* rubric&lt;br /&gt;
&lt;br /&gt;
==s==&lt;br /&gt;
&lt;br /&gt;
* s&lt;br /&gt;
* said&lt;br /&gt;
 salute {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* samplingDecl&lt;br /&gt;
* schemaSpec&lt;br /&gt;
* scriptStmt&lt;br /&gt;
* seal&lt;br /&gt;
* sealDesc&lt;br /&gt;
* secFol&lt;br /&gt;
 seg {display:inline;}&lt;br /&gt;
* segmentation&lt;br /&gt;
* sense&lt;br /&gt;
* series&lt;br /&gt;
* seriesStmt&lt;br /&gt;
 set {display:inline; font-style: italic;}&lt;br /&gt;
* setting&lt;br /&gt;
* settingDesc&lt;br /&gt;
* settlement&lt;br /&gt;
* se x (XSL has not yet covered (namesdates module)) /* space-separated for spam filter! */&lt;br /&gt;
* shift (speech module: XSL has not yet covered)&lt;br /&gt;
 sic {display:inline;} sic:after {content: &amp;quot; (sic)&amp;quot;}&lt;br /&gt;
* signatures&lt;br /&gt;
 signed {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
 soCalled:before {content:'‘'} soCalled {display:inline;} soCalled:after {content:'’'} /* Quote style is parameterized in XSL; note: content can also accept 'open-quote' and 'close-quote', but the default is as already included in the rule */&lt;br /&gt;
* socecStatus&lt;br /&gt;
 sound {display:inline; font-style: italic;}&lt;br /&gt;
* source&lt;br /&gt;
* sourceDesc&lt;br /&gt;
* sp&lt;br /&gt;
* space&lt;br /&gt;
* span&lt;br /&gt;
* spanGrp&lt;br /&gt;
* speaker&lt;br /&gt;
* specDesc&lt;br /&gt;
* specGrp&lt;br /&gt;
* specGrpRef&lt;br /&gt;
* specList&lt;br /&gt;
* sponsor&lt;br /&gt;
 stage {font-style: italic; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* stamp&lt;br /&gt;
* state&lt;br /&gt;
* stdVals&lt;br /&gt;
* street&lt;br /&gt;
* stress&lt;br /&gt;
* string&lt;br /&gt;
* stringVal&lt;br /&gt;
* subc&lt;br /&gt;
* subst&lt;br /&gt;
* summary&lt;br /&gt;
* superEntry&lt;br /&gt;
* supplied&lt;br /&gt;
* support&lt;br /&gt;
* supportDesc&lt;br /&gt;
* surface&lt;br /&gt;
* surname&lt;br /&gt;
* surplus&lt;br /&gt;
* surrogates&lt;br /&gt;
* syll&lt;br /&gt;
* symbol&lt;br /&gt;
&lt;br /&gt;
==t==&lt;br /&gt;
&lt;br /&gt;
* TEI&lt;br /&gt;
* table&lt;br /&gt;
* tag&lt;br /&gt;
* tagUsage&lt;br /&gt;
* tagsDecl&lt;br /&gt;
* taxonomy&lt;br /&gt;
 tech {display:inline; font-style: italic;}&lt;br /&gt;
* teiCorpus&lt;br /&gt;
* teiHeader&lt;br /&gt;
 term {display:inline;}&lt;br /&gt;
* terrain&lt;br /&gt;
* text&lt;br /&gt;
* textClass&lt;br /&gt;
* textDesc&lt;br /&gt;
* textLang&lt;br /&gt;
* then&lt;br /&gt;
* time&lt;br /&gt;
* timeline&lt;br /&gt;
* title&lt;br /&gt;
* titlePage&lt;br /&gt;
* titlePart&lt;br /&gt;
* titleStmt&lt;br /&gt;
* tns&lt;br /&gt;
* trailer&lt;br /&gt;
* trait&lt;br /&gt;
* tree&lt;br /&gt;
* triangle&lt;br /&gt;
* typeDesc&lt;br /&gt;
* typeNote&lt;br /&gt;
&lt;br /&gt;
==u==&lt;br /&gt;
&lt;br /&gt;
* u (speech module: XSL has not yet covered)&lt;br /&gt;
 unclear {display:inline;}&lt;br /&gt;
* unicodeName&lt;br /&gt;
* usg&lt;br /&gt;
&lt;br /&gt;
==v==&lt;br /&gt;
&lt;br /&gt;
* vAlt&lt;br /&gt;
* vColl&lt;br /&gt;
* vDefault&lt;br /&gt;
* vLabel&lt;br /&gt;
* vMerge&lt;br /&gt;
* vNot&lt;br /&gt;
* vRange&lt;br /&gt;
* val&lt;br /&gt;
* valDesc&lt;br /&gt;
* valItem&lt;br /&gt;
* valList&lt;br /&gt;
* value&lt;br /&gt;
* variantEncoding&lt;br /&gt;
 view {display:inline; font-style: italic;}&lt;br /&gt;
* vocal (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==w==&lt;br /&gt;
&lt;br /&gt;
* w&lt;br /&gt;
* watermark&lt;br /&gt;
* when&lt;br /&gt;
* width&lt;br /&gt;
* wit&lt;br /&gt;
* witDetail&lt;br /&gt;
* witEnd&lt;br /&gt;
* witStart&lt;br /&gt;
* witness&lt;br /&gt;
* writing (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==x==&lt;br /&gt;
&lt;br /&gt;
* xr&lt;br /&gt;
&lt;br /&gt;
==y==&lt;br /&gt;
&lt;br /&gt;
(none)&lt;br /&gt;
&lt;br /&gt;
==z==&lt;br /&gt;
z&lt;br /&gt;
&lt;br /&gt;
* zone&lt;br /&gt;
&lt;br /&gt;
==References used==&lt;br /&gt;
* http://math.ut.ee/~kaarel/NLP/TEI/visualization/ (on rationales)&lt;br /&gt;
&lt;br /&gt;
[[Category:CSS]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7899</id>
		<title>Comprehensive CSS Stylesheet</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7899"/>
		<updated>2010-07-12T09:09:08Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: /* a */ +additional&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following is an attempt to gradually build CSS for each TEI element, paralleling the default TEI stylesheets (while also potentially serving as a kind of discussion center for how the stylesheets ought to operate (see [[Formatting TEI documents]] on how there is a need for this despite TEI being agnostic as to output formatting), at least for issues pertaining solely to formatting as opposed to semantics), by indicating here necessary deviations from the XHTML stylesheets (due to CSS constraints) or potentially desirable alternatives, etc.).&lt;br /&gt;
&lt;br /&gt;
Advantages of CSS over XSL might include:&lt;br /&gt;
# Simpler for maintenance/alteration (though CSS can still be combined with simpler XSL as needed)&lt;br /&gt;
# Downloading (and parsing?) is faster&lt;br /&gt;
# Wider browser support (and for browser caching?)&lt;br /&gt;
# Allows DOM and other manipulation directly on semantically-named TEI elements (though admittedly, use of frameworks like jQuery may make traversal of X/HTML as easy or easier)&lt;br /&gt;
# TEI could potentially be used as is in HTML (though empty self-closing elements will not be treated properly unless changed to &amp;lt;elem&amp;gt;&amp;lt;/elem&amp;gt; form and namespaces will not be present) in addition to true XHTML.&lt;br /&gt;
&lt;br /&gt;
Disadvantages:&lt;br /&gt;
# Does not allow for certain kinds of transformations (though again, CSS can be combined with a simple XSL stylesheet which preserves TEI except in cases where needed)&lt;br /&gt;
# Is cumbersome for certain variable structures (e.g., for values varying by integer but not including the integer (e.g., space.extent =&amp;gt; number of spaces) a separate rule must be created for each possible attribute value)&lt;br /&gt;
# (Another disadvantage of CSS in general is being unable to create certain kinds of output such as form controls, but in the case of TEI, we hardly need this.)&lt;br /&gt;
&lt;br /&gt;
Per CSS Namespaces, one can use either&lt;br /&gt;
 @namespace &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 @namespace tei &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
...but we will use the former since we will presume the stylesheet will be primarily (if not exclusively) for TEI.&lt;br /&gt;
&lt;br /&gt;
We will not be able to make equivalents for XSLT templates like rendToClass (e.g., ab) or applyRend (emph), applyRendition (emph) since we cannot (nor do we need to) add an id or class (though @rend or @rendition would be useful to utilize, there is no &amp;quot;eval()&amp;quot;-like code in CSS; however, we could test against predefined values like &amp;quot;bold&amp;quot; (maybe as a global * or at least the elements using these in the stylesheets (emph, hi, ...))).&lt;br /&gt;
&lt;br /&gt;
All fields below should be complete for an element, or otherwise noted that it is incomplete, so that it can otherwise be assumed that the CSS has been completely applied as far as possible (besides rend/rendition which may later be done globally for all elements, as these are indeed globals).&lt;br /&gt;
&lt;br /&gt;
==a==&lt;br /&gt;
 ab {display:block;}&lt;br /&gt;
 choice &amp;gt; expan + abbr:before {content:&amp;quot;(&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
 choice &amp;gt; expan + abbr:after {content:&amp;quot;)&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
 accMat {display: block;} accMat:before {content: &amp;quot;Accompanying material: &amp;quot;; font-weight: bold;}&lt;br /&gt;
 history acquisition:before {content: &amp;quot;Acquisition: &amp;quot;;font-weight: bold;} history acquisition {display: block;}&lt;br /&gt;
* activity (XSL has not yet covered (from language module)) &lt;br /&gt;
 actor {display:inline; font-style: italic;}&lt;br /&gt;
* add&lt;br /&gt;
* addName&lt;br /&gt;
* addSpan&lt;br /&gt;
 additional {padding-top: 3pt; padding-bottom: 2pt; display: block;} additional&amp;gt;listBibl&amp;gt;bibl:after {content: &amp;quot;.&amp;quot;;}&lt;br /&gt;
additional:before {content: &amp;quot;Additional:&amp;quot;;display: block;font-weight: 600;   font-variant: small-caps;font-size: 120%;}&lt;br /&gt;
additional&amp;gt;listBibl {display: block;list-style-type: none;margin-top: 10pt;}&lt;br /&gt;
additional&amp;gt;listBibl:before {content: &amp;quot;Bibliography:&amp;quot;;display: block;font-weight: 600;font-variant: small-caps;font-size: 120%;}&lt;br /&gt;
additional&amp;gt;listBibl&amp;gt;bibl {text-align: left;display: list-item;margin-left: 30pt;}&lt;br /&gt;
* additions&lt;br /&gt;
 addrLine {display:block;}&lt;br /&gt;
 address {display:block; /* font-style:italic; If wish to appear as HTML addresses are rendered by default, at least in Firefox */}&lt;br /&gt;
* adminInfo&lt;br /&gt;
* affiliation&lt;br /&gt;
* age&lt;br /&gt;
* alt&lt;br /&gt;
* altGrp&lt;br /&gt;
* altIdent&lt;br /&gt;
* altIdentifier&lt;br /&gt;
* am&lt;br /&gt;
* analytic&lt;br /&gt;
* anchor&lt;br /&gt;
* app&lt;br /&gt;
* appInfo&lt;br /&gt;
* application&lt;br /&gt;
* arc&lt;br /&gt;
* argument&lt;br /&gt;
 att {display:inline; font-weight:bold;} att:before {content:&amp;quot;@&amp;quot;}&lt;br /&gt;
* attDef&lt;br /&gt;
* attList&lt;br /&gt;
* attRef&lt;br /&gt;
* author&lt;br /&gt;
* authority&lt;br /&gt;
* availability&lt;br /&gt;
&lt;br /&gt;
==b==&lt;br /&gt;
&lt;br /&gt;
* back&lt;br /&gt;
* bibl&lt;br /&gt;
* biblFull&lt;br /&gt;
* biblScope&lt;br /&gt;
* biblStruct&lt;br /&gt;
* bicond&lt;br /&gt;
* binary&lt;br /&gt;
* binaryObject&lt;br /&gt;
* binding&lt;br /&gt;
* bindingDesc&lt;br /&gt;
* birth&lt;br /&gt;
* bloc&lt;br /&gt;
* body&lt;br /&gt;
* broadcast&lt;br /&gt;
 byline {display:block;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==c==&lt;br /&gt;
&lt;br /&gt;
* c&lt;br /&gt;
* cRefPattern&lt;br /&gt;
 caesura:before {display:inline; content:&amp;quot;\a0\a0\a0\a0&amp;quot;; /* could be :after too */}&lt;br /&gt;
 camera {display:inline; font-style: italic;}&lt;br /&gt;
 caption {display:inline; font-style: italic;}&lt;br /&gt;
* case&lt;br /&gt;
* castGroup&lt;br /&gt;
* castItem&lt;br /&gt;
 castList {} /* Note: has additional rules: */&lt;br /&gt;
 castList {display:block;} /* applies whether children are head or not */&lt;br /&gt;
 /* Note: for this to mirror the XSL exactly, head would always need to be preceding other elements as a direct child castList */&lt;br /&gt;
 castList &amp;gt; head {display:inline; font-style:italic;}&lt;br /&gt;
 castList &amp;gt; *:not(head) {margin-left: 40px;} /* If children of castList needed their own indents, then it should be relative to this (if possible) */&lt;br /&gt;
&lt;br /&gt;
* catDesc (Only defined in XSL conditionally if using catRef)&lt;br /&gt;
 catRef {} /* Note: has additional rules: */&lt;br /&gt;
 catRef + catRef:before {'\A'} /* Add line break if preceded by another catRef */&lt;br /&gt;
 catRef:after {content:attr(scheme); display:inline; font-style:italic;} /* Add scheme in italics */&lt;br /&gt;
 /* &lt;br /&gt;
 Commenting out as XPath not currently supported in CSS as needed by third 'after'&lt;br /&gt;
 catRef:after(2) {content:':'}*//* Requires CSS3 to add such additional 'after' content? (Firefox allows content: '123'attr(class)'456' at least); See http://www.w3.org/TR/css3-content/#nesting or http://www.w3.org/TR/css3-content/#inserting0 */&lt;br /&gt;
 /* &lt;br /&gt;
 catRef:after(3) {content: &amp;lt;not possible to reference target's catDesc unless XPath gets added to CSS&amp;gt;} */&lt;br /&gt;
* catchwords&lt;br /&gt;
* category&lt;br /&gt;
* cb&lt;br /&gt;
* cell&lt;br /&gt;
* certainty&lt;br /&gt;
* change&lt;br /&gt;
* channel&lt;br /&gt;
* char&lt;br /&gt;
* charDecl&lt;br /&gt;
* charName&lt;br /&gt;
* charProp&lt;br /&gt;
* choice&lt;br /&gt;
* cit&lt;br /&gt;
* cl&lt;br /&gt;
* classCode (XSL has not yet covered (from header module))&lt;br /&gt;
* classDecl&lt;br /&gt;
* classSpec&lt;br /&gt;
* classes&lt;br /&gt;
* climate&lt;br /&gt;
* closer&lt;br /&gt;
 code {display:inline; font-family:monospace;}&lt;br /&gt;
* collation&lt;br /&gt;
* collection&lt;br /&gt;
* colloc&lt;br /&gt;
* colophon&lt;br /&gt;
* cond&lt;br /&gt;
* condition&lt;br /&gt;
* constitution&lt;br /&gt;
* constraint&lt;br /&gt;
* constraintSpec&lt;br /&gt;
* content&lt;br /&gt;
* corr&lt;br /&gt;
* correction&lt;br /&gt;
* country&lt;br /&gt;
* creation&lt;br /&gt;
* custEvent&lt;br /&gt;
* custodialHist&lt;br /&gt;
&lt;br /&gt;
==d==&lt;br /&gt;
&lt;br /&gt;
* damage&lt;br /&gt;
* damageSpan&lt;br /&gt;
* datatype&lt;br /&gt;
* date&lt;br /&gt;
* dateline&lt;br /&gt;
* death&lt;br /&gt;
* decoDesc&lt;br /&gt;
* decoNote&lt;br /&gt;
* def&lt;br /&gt;
* default&lt;br /&gt;
* defaultVal&lt;br /&gt;
 del {display:inline; text-decoration: line-through;}&lt;br /&gt;
* delSpan&lt;br /&gt;
* depth&lt;br /&gt;
* derivation&lt;br /&gt;
* desc&lt;br /&gt;
* dictScrap&lt;br /&gt;
* dim&lt;br /&gt;
* dimensions&lt;br /&gt;
* distinct&lt;br /&gt;
* distributor&lt;br /&gt;
* district&lt;br /&gt;
* div&lt;br /&gt;
* div1&lt;br /&gt;
* div2&lt;br /&gt;
* div3&lt;br /&gt;
* div4&lt;br /&gt;
* div5&lt;br /&gt;
* div6&lt;br /&gt;
* div7&lt;br /&gt;
* divGen&lt;br /&gt;
* docAuthor&lt;br /&gt;
* docDate&lt;br /&gt;
* docEdition&lt;br /&gt;
* docImprint&lt;br /&gt;
* docTitle&lt;br /&gt;
* domain&lt;br /&gt;
&lt;br /&gt;
==e==&lt;br /&gt;
&lt;br /&gt;
* eLeaf&lt;br /&gt;
* eTree&lt;br /&gt;
* edition&lt;br /&gt;
* editionStmt&lt;br /&gt;
* editor&lt;br /&gt;
* editorialDecl&lt;br /&gt;
* education&lt;br /&gt;
* eg&lt;br /&gt;
* egXML&lt;br /&gt;
* elementSpec&lt;br /&gt;
* email&lt;br /&gt;
 emph {display:inline; font-style:italic;}&lt;br /&gt;
* encodingDesc&lt;br /&gt;
* entry&lt;br /&gt;
* entryFree&lt;br /&gt;
 epigraph {display:block;}&lt;br /&gt;
* epilogue&lt;br /&gt;
* equipment&lt;br /&gt;
* equiv&lt;br /&gt;
* etym&lt;br /&gt;
* event&lt;br /&gt;
* ex&lt;br /&gt;
* exemplum&lt;br /&gt;
 choice &amp;gt; expan + abbr:before {content:&amp;quot;(&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
 choice &amp;gt; expan + abbr:after {content:&amp;quot;)&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
* explicit&lt;br /&gt;
* extent&lt;br /&gt;
&lt;br /&gt;
==f==&lt;br /&gt;
&lt;br /&gt;
* f&lt;br /&gt;
* fDecl&lt;br /&gt;
* fDescr&lt;br /&gt;
* fLib&lt;br /&gt;
* facsimile&lt;br /&gt;
* factuality&lt;br /&gt;
* faith&lt;br /&gt;
* figDesc&lt;br /&gt;
* figure&lt;br /&gt;
* fileDesc&lt;br /&gt;
* filiation&lt;br /&gt;
* finalRubric&lt;br /&gt;
* floatingText&lt;br /&gt;
* floruit&lt;br /&gt;
* foliation&lt;br /&gt;
 foreign {display:inline;}&lt;br /&gt;
* forename&lt;br /&gt;
* forest&lt;br /&gt;
* forestGrp&lt;br /&gt;
* form&lt;br /&gt;
* formula&lt;br /&gt;
* front&lt;br /&gt;
* fs&lt;br /&gt;
* fsConstraints&lt;br /&gt;
* fsDecl&lt;br /&gt;
* fsDescr&lt;br /&gt;
* fsdDecl&lt;br /&gt;
* fsdLink&lt;br /&gt;
* funder&lt;br /&gt;
* fvLib&lt;br /&gt;
* fw&lt;br /&gt;
&lt;br /&gt;
==g==&lt;br /&gt;
&lt;br /&gt;
* g&lt;br /&gt;
* gap&lt;br /&gt;
* gen&lt;br /&gt;
 genName {display:inline;}&lt;br /&gt;
* geo&lt;br /&gt;
* geoDecl&lt;br /&gt;
* geogFeat&lt;br /&gt;
 geogName {display:inline;}&lt;br /&gt;
 gi:before {display:inline;content:&amp;quot;&amp;lt;&amp;quot;}  gi:after {display:inline;content:&amp;quot;&amp;gt;&amp;quot;}&lt;br /&gt;
 gloss {display:inline;}&lt;br /&gt;
* glyph&lt;br /&gt;
* glyphName&lt;br /&gt;
* gram&lt;br /&gt;
* gramGrp&lt;br /&gt;
* graph&lt;br /&gt;
* graphic&lt;br /&gt;
* group&lt;br /&gt;
&lt;br /&gt;
==h==&lt;br /&gt;
&lt;br /&gt;
* handDesc&lt;br /&gt;
* handNote&lt;br /&gt;
* handNotes&lt;br /&gt;
* handShift&lt;br /&gt;
* head&lt;br /&gt;
* headItem&lt;br /&gt;
* headLabel&lt;br /&gt;
* height&lt;br /&gt;
* heraldry&lt;br /&gt;
 hi {display:inline; font-weight:bold;}&lt;br /&gt;
* history&lt;br /&gt;
* hom&lt;br /&gt;
* hyph&lt;br /&gt;
* hyphenation&lt;br /&gt;
&lt;br /&gt;
==i==&lt;br /&gt;
&lt;br /&gt;
* iNode&lt;br /&gt;
* iType&lt;br /&gt;
 ident[type] {display:inline; font-weight:bold;} ident:not([type]) {display:inline; } /* Just as the stylesheet allows for different types; a specific type could be styled by ident[type=&amp;quot;XXX&amp;quot;] */&lt;br /&gt;
* idno&lt;br /&gt;
* if&lt;br /&gt;
* iff&lt;br /&gt;
* imprimatur&lt;br /&gt;
* imprint&lt;br /&gt;
* incident (speech module: XSL has not yet covered)&lt;br /&gt;
* incipit&lt;br /&gt;
* index&lt;br /&gt;
* institution&lt;br /&gt;
* interaction&lt;br /&gt;
* interp&lt;br /&gt;
* interpGrp&lt;br /&gt;
* interpretation&lt;br /&gt;
* item&lt;br /&gt;
&lt;br /&gt;
==j==&lt;br /&gt;
&lt;br /&gt;
* join&lt;br /&gt;
* joinGrp&lt;br /&gt;
&lt;br /&gt;
==k==&lt;br /&gt;
&lt;br /&gt;
* keywords (XSL has not yet covered (from header module))&lt;br /&gt;
* kinesic (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==l==&lt;br /&gt;
&lt;br /&gt;
 l {display:block;}&lt;br /&gt;
 label {display:inline;}&lt;br /&gt;
* lacunaEnd&lt;br /&gt;
* lacunaStart&lt;br /&gt;
* lang&lt;br /&gt;
* langKnowledge&lt;br /&gt;
* langKnown&lt;br /&gt;
* langUsage&lt;br /&gt;
* language&lt;br /&gt;
* layout&lt;br /&gt;
* layoutDesc&lt;br /&gt;
 lb {display:block;}&lt;br /&gt;
* lbl&lt;br /&gt;
* leaf&lt;br /&gt;
* lem&lt;br /&gt;
 lg {display:block;}&lt;br /&gt;
* link&lt;br /&gt;
* linkGrp&lt;br /&gt;
* list&lt;br /&gt;
* listBibl&lt;br /&gt;
* listEvent&lt;br /&gt;
* listNym&lt;br /&gt;
* listOrg&lt;br /&gt;
* listPerson&lt;br /&gt;
* listPlace&lt;br /&gt;
* listRef&lt;br /&gt;
* listWit&lt;br /&gt;
* localName&lt;br /&gt;
* locale&lt;br /&gt;
* location&lt;br /&gt;
* locus&lt;br /&gt;
* locusGrp&lt;br /&gt;
&lt;br /&gt;
==m==&lt;br /&gt;
&lt;br /&gt;
* m&lt;br /&gt;
* macroSpec&lt;br /&gt;
* mapping&lt;br /&gt;
* material&lt;br /&gt;
* measure&lt;br /&gt;
* measureGrp&lt;br /&gt;
* meeting&lt;br /&gt;
* memberOf&lt;br /&gt;
 mentioned {display:inline;}&lt;br /&gt;
* metDecl&lt;br /&gt;
* metSym&lt;br /&gt;
* milestone&lt;br /&gt;
* moduleRef&lt;br /&gt;
* moduleSpec&lt;br /&gt;
* monogr&lt;br /&gt;
* mood&lt;br /&gt;
* move&lt;br /&gt;
* msContents&lt;br /&gt;
* msDesc&lt;br /&gt;
* msIdentifier&lt;br /&gt;
* msItem&lt;br /&gt;
* msItemStruct&lt;br /&gt;
* msName&lt;br /&gt;
* msPart&lt;br /&gt;
* musicNotation&lt;br /&gt;
&lt;br /&gt;
==n==&lt;br /&gt;
&lt;br /&gt;
 name {display:inline;}&lt;br /&gt;
* nameLink&lt;br /&gt;
* namespace&lt;br /&gt;
* nationality&lt;br /&gt;
* node&lt;br /&gt;
* normalization&lt;br /&gt;
* note&lt;br /&gt;
* notesStmt&lt;br /&gt;
* num&lt;br /&gt;
* number&lt;br /&gt;
* numeric&lt;br /&gt;
* nym&lt;br /&gt;
&lt;br /&gt;
==o==&lt;br /&gt;
&lt;br /&gt;
* oRef&lt;br /&gt;
* oVar&lt;br /&gt;
* objectDesc&lt;br /&gt;
* occupation&lt;br /&gt;
* offset&lt;br /&gt;
* opener&lt;br /&gt;
* org&lt;br /&gt;
* orgName&lt;br /&gt;
* orig&lt;br /&gt;
* origDate&lt;br /&gt;
* origPlace&lt;br /&gt;
* origin&lt;br /&gt;
* orth&lt;br /&gt;
&lt;br /&gt;
==p==&lt;br /&gt;
&lt;br /&gt;
* p&lt;br /&gt;
* pRef&lt;br /&gt;
* pVar&lt;br /&gt;
* particDesc&lt;br /&gt;
* pause (speech module: XSL has not yet covered)&lt;br /&gt;
* pb&lt;br /&gt;
* pc&lt;br /&gt;
* per&lt;br /&gt;
* performance&lt;br /&gt;
 persName {display:inline;}&lt;br /&gt;
* person&lt;br /&gt;
* personGrp&lt;br /&gt;
* phr&lt;br /&gt;
* physDesc&lt;br /&gt;
* place&lt;br /&gt;
 placeName {display:inline;}&lt;br /&gt;
* population&lt;br /&gt;
* pos&lt;br /&gt;
* postBox&lt;br /&gt;
* postCode&lt;br /&gt;
* postscript&lt;br /&gt;
* precision&lt;br /&gt;
* preparedness&lt;br /&gt;
* principal&lt;br /&gt;
* profileDesc&lt;br /&gt;
* projectDesc&lt;br /&gt;
* prologue&lt;br /&gt;
* pron&lt;br /&gt;
* provenance&lt;br /&gt;
* ptr&lt;br /&gt;
* pubPlace&lt;br /&gt;
* publicationStmt&lt;br /&gt;
* publisher&lt;br /&gt;
* purpose&lt;br /&gt;
&lt;br /&gt;
==q==&lt;br /&gt;
&lt;br /&gt;
* q&lt;br /&gt;
* quotation&lt;br /&gt;
* quote&lt;br /&gt;
&lt;br /&gt;
==r==&lt;br /&gt;
&lt;br /&gt;
* rdg&lt;br /&gt;
* rdgGrp&lt;br /&gt;
* re&lt;br /&gt;
* recordHist&lt;br /&gt;
* recording&lt;br /&gt;
* recordingStmt&lt;br /&gt;
* ref&lt;br /&gt;
* refState&lt;br /&gt;
* refsDecl&lt;br /&gt;
* reg&lt;br /&gt;
* region&lt;br /&gt;
* relatedItem&lt;br /&gt;
* relation&lt;br /&gt;
* relationGrp&lt;br /&gt;
* remarks&lt;br /&gt;
* rendition&lt;br /&gt;
* repository&lt;br /&gt;
* residence&lt;br /&gt;
 resp:after {content:&amp;quot; &amp;quot;;}&lt;br /&gt;
 respStmt {display:inline;}&lt;br /&gt;
* respons&lt;br /&gt;
* restore&lt;br /&gt;
* revisionDesc&lt;br /&gt;
* rhyme&lt;br /&gt;
 role {display:inline; font-style: italic;}&lt;br /&gt;
 roleDesc { margin-left: 40px; margin-right: 40px; } roleDesc &amp;gt; *:not(p) {display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
 roleName {display:inline;}&lt;br /&gt;
* root&lt;br /&gt;
* row&lt;br /&gt;
* rs&lt;br /&gt;
* rubric&lt;br /&gt;
&lt;br /&gt;
==s==&lt;br /&gt;
&lt;br /&gt;
* s&lt;br /&gt;
* said&lt;br /&gt;
 salute {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* samplingDecl&lt;br /&gt;
* schemaSpec&lt;br /&gt;
* scriptStmt&lt;br /&gt;
* seal&lt;br /&gt;
* sealDesc&lt;br /&gt;
* secFol&lt;br /&gt;
 seg {display:inline;}&lt;br /&gt;
* segmentation&lt;br /&gt;
* sense&lt;br /&gt;
* series&lt;br /&gt;
* seriesStmt&lt;br /&gt;
 set {display:inline; font-style: italic;}&lt;br /&gt;
* setting&lt;br /&gt;
* settingDesc&lt;br /&gt;
* settlement&lt;br /&gt;
* se x (XSL has not yet covered (namesdates module)) /* space-separated for spam filter! */&lt;br /&gt;
* shift (speech module: XSL has not yet covered)&lt;br /&gt;
 sic {display:inline;} sic:after {content: &amp;quot; (sic)&amp;quot;}&lt;br /&gt;
* signatures&lt;br /&gt;
 signed {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
 soCalled:before {content:'‘'} soCalled {display:inline;} soCalled:after {content:'’'} /* Quote style is parameterized in XSL; note: content can also accept 'open-quote' and 'close-quote', but the default is as already included in the rule */&lt;br /&gt;
* socecStatus&lt;br /&gt;
 sound {display:inline; font-style: italic;}&lt;br /&gt;
* source&lt;br /&gt;
* sourceDesc&lt;br /&gt;
* sp&lt;br /&gt;
* space&lt;br /&gt;
* span&lt;br /&gt;
* spanGrp&lt;br /&gt;
* speaker&lt;br /&gt;
* specDesc&lt;br /&gt;
* specGrp&lt;br /&gt;
* specGrpRef&lt;br /&gt;
* specList&lt;br /&gt;
* sponsor&lt;br /&gt;
 stage {font-style: italic; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* stamp&lt;br /&gt;
* state&lt;br /&gt;
* stdVals&lt;br /&gt;
* street&lt;br /&gt;
* stress&lt;br /&gt;
* string&lt;br /&gt;
* stringVal&lt;br /&gt;
* subc&lt;br /&gt;
* subst&lt;br /&gt;
* summary&lt;br /&gt;
* superEntry&lt;br /&gt;
* supplied&lt;br /&gt;
* support&lt;br /&gt;
* supportDesc&lt;br /&gt;
* surface&lt;br /&gt;
* surname&lt;br /&gt;
* surplus&lt;br /&gt;
* surrogates&lt;br /&gt;
* syll&lt;br /&gt;
* symbol&lt;br /&gt;
&lt;br /&gt;
==t==&lt;br /&gt;
&lt;br /&gt;
* TEI&lt;br /&gt;
* table&lt;br /&gt;
* tag&lt;br /&gt;
* tagUsage&lt;br /&gt;
* tagsDecl&lt;br /&gt;
* taxonomy&lt;br /&gt;
 tech {display:inline; font-style: italic;}&lt;br /&gt;
* teiCorpus&lt;br /&gt;
* teiHeader&lt;br /&gt;
 term {display:inline;}&lt;br /&gt;
* terrain&lt;br /&gt;
* text&lt;br /&gt;
* textClass&lt;br /&gt;
* textDesc&lt;br /&gt;
* textLang&lt;br /&gt;
* then&lt;br /&gt;
* time&lt;br /&gt;
* timeline&lt;br /&gt;
* title&lt;br /&gt;
* titlePage&lt;br /&gt;
* titlePart&lt;br /&gt;
* titleStmt&lt;br /&gt;
* tns&lt;br /&gt;
* trailer&lt;br /&gt;
* trait&lt;br /&gt;
* tree&lt;br /&gt;
* triangle&lt;br /&gt;
* typeDesc&lt;br /&gt;
* typeNote&lt;br /&gt;
&lt;br /&gt;
==u==&lt;br /&gt;
&lt;br /&gt;
* u (speech module: XSL has not yet covered)&lt;br /&gt;
 unclear {display:inline;}&lt;br /&gt;
* unicodeName&lt;br /&gt;
* usg&lt;br /&gt;
&lt;br /&gt;
==v==&lt;br /&gt;
&lt;br /&gt;
* vAlt&lt;br /&gt;
* vColl&lt;br /&gt;
* vDefault&lt;br /&gt;
* vLabel&lt;br /&gt;
* vMerge&lt;br /&gt;
* vNot&lt;br /&gt;
* vRange&lt;br /&gt;
* val&lt;br /&gt;
* valDesc&lt;br /&gt;
* valItem&lt;br /&gt;
* valList&lt;br /&gt;
* value&lt;br /&gt;
* variantEncoding&lt;br /&gt;
 view {display:inline; font-style: italic;}&lt;br /&gt;
* vocal (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==w==&lt;br /&gt;
&lt;br /&gt;
* w&lt;br /&gt;
* watermark&lt;br /&gt;
* when&lt;br /&gt;
* width&lt;br /&gt;
* wit&lt;br /&gt;
* witDetail&lt;br /&gt;
* witEnd&lt;br /&gt;
* witStart&lt;br /&gt;
* witness&lt;br /&gt;
* writing (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==x==&lt;br /&gt;
&lt;br /&gt;
* xr&lt;br /&gt;
&lt;br /&gt;
==y==&lt;br /&gt;
&lt;br /&gt;
(none)&lt;br /&gt;
&lt;br /&gt;
==z==&lt;br /&gt;
z&lt;br /&gt;
&lt;br /&gt;
* zone&lt;br /&gt;
&lt;br /&gt;
==References used==&lt;br /&gt;
* http://math.ut.ee/~kaarel/NLP/TEI/visualization/ (on rationales)&lt;br /&gt;
&lt;br /&gt;
[[Category:CSS]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7898</id>
		<title>Comprehensive CSS Stylesheet</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7898"/>
		<updated>2010-07-12T09:02:02Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: /* a */ acquisition&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following is an attempt to gradually build CSS for each TEI element, paralleling the default TEI stylesheets (while also potentially serving as a kind of discussion center for how the stylesheets ought to operate (see [[Formatting TEI documents]] on how there is a need for this despite TEI being agnostic as to output formatting), at least for issues pertaining solely to formatting as opposed to semantics), by indicating here necessary deviations from the XHTML stylesheets (due to CSS constraints) or potentially desirable alternatives, etc.).&lt;br /&gt;
&lt;br /&gt;
Advantages of CSS over XSL might include:&lt;br /&gt;
# Simpler for maintenance/alteration (though CSS can still be combined with simpler XSL as needed)&lt;br /&gt;
# Downloading (and parsing?) is faster&lt;br /&gt;
# Wider browser support (and for browser caching?)&lt;br /&gt;
# Allows DOM and other manipulation directly on semantically-named TEI elements (though admittedly, use of frameworks like jQuery may make traversal of X/HTML as easy or easier)&lt;br /&gt;
# TEI could potentially be used as is in HTML (though empty self-closing elements will not be treated properly unless changed to &amp;lt;elem&amp;gt;&amp;lt;/elem&amp;gt; form and namespaces will not be present) in addition to true XHTML.&lt;br /&gt;
&lt;br /&gt;
Disadvantages:&lt;br /&gt;
# Does not allow for certain kinds of transformations (though again, CSS can be combined with a simple XSL stylesheet which preserves TEI except in cases where needed)&lt;br /&gt;
# Is cumbersome for certain variable structures (e.g., for values varying by integer but not including the integer (e.g., space.extent =&amp;gt; number of spaces) a separate rule must be created for each possible attribute value)&lt;br /&gt;
# (Another disadvantage of CSS in general is being unable to create certain kinds of output such as form controls, but in the case of TEI, we hardly need this.)&lt;br /&gt;
&lt;br /&gt;
Per CSS Namespaces, one can use either&lt;br /&gt;
 @namespace &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 @namespace tei &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
...but we will use the former since we will presume the stylesheet will be primarily (if not exclusively) for TEI.&lt;br /&gt;
&lt;br /&gt;
We will not be able to make equivalents for XSLT templates like rendToClass (e.g., ab) or applyRend (emph), applyRendition (emph) since we cannot (nor do we need to) add an id or class (though @rend or @rendition would be useful to utilize, there is no &amp;quot;eval()&amp;quot;-like code in CSS; however, we could test against predefined values like &amp;quot;bold&amp;quot; (maybe as a global * or at least the elements using these in the stylesheets (emph, hi, ...))).&lt;br /&gt;
&lt;br /&gt;
All fields below should be complete for an element, or otherwise noted that it is incomplete, so that it can otherwise be assumed that the CSS has been completely applied as far as possible (besides rend/rendition which may later be done globally for all elements, as these are indeed globals).&lt;br /&gt;
&lt;br /&gt;
==a==&lt;br /&gt;
 ab {display:block;}&lt;br /&gt;
 choice &amp;gt; expan + abbr:before {content:&amp;quot;(&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
 choice &amp;gt; expan + abbr:after {content:&amp;quot;)&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
 accMat {display: block;} accMat:before {content: &amp;quot;Accompanying material: &amp;quot;; font-weight: bold;}&lt;br /&gt;
 history acquisition:before {content: &amp;quot;Acquisition: &amp;quot;;font-weight: bold;} history acquisition {display: block;}&lt;br /&gt;
* activity&lt;br /&gt;
 actor {display:inline; font-style: italic;}&lt;br /&gt;
* add&lt;br /&gt;
* addName&lt;br /&gt;
* addSpan&lt;br /&gt;
* additional&lt;br /&gt;
* additions&lt;br /&gt;
 addrLine {display:block;}&lt;br /&gt;
 address {display:block; /* font-style:italic; If wish to appear as HTML addresses are rendered by default, at least in Firefox */}&lt;br /&gt;
* adminInfo&lt;br /&gt;
* affiliation&lt;br /&gt;
* age&lt;br /&gt;
* alt&lt;br /&gt;
* altGrp&lt;br /&gt;
* altIdent&lt;br /&gt;
* altIdentifier&lt;br /&gt;
* am&lt;br /&gt;
* analytic&lt;br /&gt;
* anchor&lt;br /&gt;
* app&lt;br /&gt;
* appInfo&lt;br /&gt;
* application&lt;br /&gt;
* arc&lt;br /&gt;
* argument&lt;br /&gt;
 att {display:inline; font-weight:bold;} att:before {content:&amp;quot;@&amp;quot;}&lt;br /&gt;
* attDef&lt;br /&gt;
* attList&lt;br /&gt;
* attRef&lt;br /&gt;
* author&lt;br /&gt;
* authority&lt;br /&gt;
* availability&lt;br /&gt;
&lt;br /&gt;
==b==&lt;br /&gt;
&lt;br /&gt;
* back&lt;br /&gt;
* bibl&lt;br /&gt;
* biblFull&lt;br /&gt;
* biblScope&lt;br /&gt;
* biblStruct&lt;br /&gt;
* bicond&lt;br /&gt;
* binary&lt;br /&gt;
* binaryObject&lt;br /&gt;
* binding&lt;br /&gt;
* bindingDesc&lt;br /&gt;
* birth&lt;br /&gt;
* bloc&lt;br /&gt;
* body&lt;br /&gt;
* broadcast&lt;br /&gt;
 byline {display:block;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==c==&lt;br /&gt;
&lt;br /&gt;
* c&lt;br /&gt;
* cRefPattern&lt;br /&gt;
 caesura:before {display:inline; content:&amp;quot;\a0\a0\a0\a0&amp;quot;; /* could be :after too */}&lt;br /&gt;
 camera {display:inline; font-style: italic;}&lt;br /&gt;
 caption {display:inline; font-style: italic;}&lt;br /&gt;
* case&lt;br /&gt;
* castGroup&lt;br /&gt;
* castItem&lt;br /&gt;
 castList {} /* Note: has additional rules: */&lt;br /&gt;
 castList {display:block;} /* applies whether children are head or not */&lt;br /&gt;
 /* Note: for this to mirror the XSL exactly, head would always need to be preceding other elements as a direct child castList */&lt;br /&gt;
 castList &amp;gt; head {display:inline; font-style:italic;}&lt;br /&gt;
 castList &amp;gt; *:not(head) {margin-left: 40px;} /* If children of castList needed their own indents, then it should be relative to this (if possible) */&lt;br /&gt;
&lt;br /&gt;
* catDesc (Only defined in XSL conditionally if using catRef)&lt;br /&gt;
 catRef {} /* Note: has additional rules: */&lt;br /&gt;
 catRef + catRef:before {'\A'} /* Add line break if preceded by another catRef */&lt;br /&gt;
 catRef:after {content:attr(scheme); display:inline; font-style:italic;} /* Add scheme in italics */&lt;br /&gt;
 /* &lt;br /&gt;
 Commenting out as XPath not currently supported in CSS as needed by third 'after'&lt;br /&gt;
 catRef:after(2) {content:':'}*//* Requires CSS3 to add such additional 'after' content? (Firefox allows content: '123'attr(class)'456' at least); See http://www.w3.org/TR/css3-content/#nesting or http://www.w3.org/TR/css3-content/#inserting0 */&lt;br /&gt;
 /* &lt;br /&gt;
 catRef:after(3) {content: &amp;lt;not possible to reference target's catDesc unless XPath gets added to CSS&amp;gt;} */&lt;br /&gt;
* catchwords&lt;br /&gt;
* category&lt;br /&gt;
* cb&lt;br /&gt;
* cell&lt;br /&gt;
* certainty&lt;br /&gt;
* change&lt;br /&gt;
* channel&lt;br /&gt;
* char&lt;br /&gt;
* charDecl&lt;br /&gt;
* charName&lt;br /&gt;
* charProp&lt;br /&gt;
* choice&lt;br /&gt;
* cit&lt;br /&gt;
* cl&lt;br /&gt;
* classCode (XSL has not yet covered (from header module))&lt;br /&gt;
* classDecl&lt;br /&gt;
* classSpec&lt;br /&gt;
* classes&lt;br /&gt;
* climate&lt;br /&gt;
* closer&lt;br /&gt;
 code {display:inline; font-family:monospace;}&lt;br /&gt;
* collation&lt;br /&gt;
* collection&lt;br /&gt;
* colloc&lt;br /&gt;
* colophon&lt;br /&gt;
* cond&lt;br /&gt;
* condition&lt;br /&gt;
* constitution&lt;br /&gt;
* constraint&lt;br /&gt;
* constraintSpec&lt;br /&gt;
* content&lt;br /&gt;
* corr&lt;br /&gt;
* correction&lt;br /&gt;
* country&lt;br /&gt;
* creation&lt;br /&gt;
* custEvent&lt;br /&gt;
* custodialHist&lt;br /&gt;
&lt;br /&gt;
==d==&lt;br /&gt;
&lt;br /&gt;
* damage&lt;br /&gt;
* damageSpan&lt;br /&gt;
* datatype&lt;br /&gt;
* date&lt;br /&gt;
* dateline&lt;br /&gt;
* death&lt;br /&gt;
* decoDesc&lt;br /&gt;
* decoNote&lt;br /&gt;
* def&lt;br /&gt;
* default&lt;br /&gt;
* defaultVal&lt;br /&gt;
 del {display:inline; text-decoration: line-through;}&lt;br /&gt;
* delSpan&lt;br /&gt;
* depth&lt;br /&gt;
* derivation&lt;br /&gt;
* desc&lt;br /&gt;
* dictScrap&lt;br /&gt;
* dim&lt;br /&gt;
* dimensions&lt;br /&gt;
* distinct&lt;br /&gt;
* distributor&lt;br /&gt;
* district&lt;br /&gt;
* div&lt;br /&gt;
* div1&lt;br /&gt;
* div2&lt;br /&gt;
* div3&lt;br /&gt;
* div4&lt;br /&gt;
* div5&lt;br /&gt;
* div6&lt;br /&gt;
* div7&lt;br /&gt;
* divGen&lt;br /&gt;
* docAuthor&lt;br /&gt;
* docDate&lt;br /&gt;
* docEdition&lt;br /&gt;
* docImprint&lt;br /&gt;
* docTitle&lt;br /&gt;
* domain&lt;br /&gt;
&lt;br /&gt;
==e==&lt;br /&gt;
&lt;br /&gt;
* eLeaf&lt;br /&gt;
* eTree&lt;br /&gt;
* edition&lt;br /&gt;
* editionStmt&lt;br /&gt;
* editor&lt;br /&gt;
* editorialDecl&lt;br /&gt;
* education&lt;br /&gt;
* eg&lt;br /&gt;
* egXML&lt;br /&gt;
* elementSpec&lt;br /&gt;
* email&lt;br /&gt;
 emph {display:inline; font-style:italic;}&lt;br /&gt;
* encodingDesc&lt;br /&gt;
* entry&lt;br /&gt;
* entryFree&lt;br /&gt;
 epigraph {display:block;}&lt;br /&gt;
* epilogue&lt;br /&gt;
* equipment&lt;br /&gt;
* equiv&lt;br /&gt;
* etym&lt;br /&gt;
* event&lt;br /&gt;
* ex&lt;br /&gt;
* exemplum&lt;br /&gt;
 choice &amp;gt; expan + abbr:before {content:&amp;quot;(&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
 choice &amp;gt; expan + abbr:after {content:&amp;quot;)&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
* explicit&lt;br /&gt;
* extent&lt;br /&gt;
&lt;br /&gt;
==f==&lt;br /&gt;
&lt;br /&gt;
* f&lt;br /&gt;
* fDecl&lt;br /&gt;
* fDescr&lt;br /&gt;
* fLib&lt;br /&gt;
* facsimile&lt;br /&gt;
* factuality&lt;br /&gt;
* faith&lt;br /&gt;
* figDesc&lt;br /&gt;
* figure&lt;br /&gt;
* fileDesc&lt;br /&gt;
* filiation&lt;br /&gt;
* finalRubric&lt;br /&gt;
* floatingText&lt;br /&gt;
* floruit&lt;br /&gt;
* foliation&lt;br /&gt;
 foreign {display:inline;}&lt;br /&gt;
* forename&lt;br /&gt;
* forest&lt;br /&gt;
* forestGrp&lt;br /&gt;
* form&lt;br /&gt;
* formula&lt;br /&gt;
* front&lt;br /&gt;
* fs&lt;br /&gt;
* fsConstraints&lt;br /&gt;
* fsDecl&lt;br /&gt;
* fsDescr&lt;br /&gt;
* fsdDecl&lt;br /&gt;
* fsdLink&lt;br /&gt;
* funder&lt;br /&gt;
* fvLib&lt;br /&gt;
* fw&lt;br /&gt;
&lt;br /&gt;
==g==&lt;br /&gt;
&lt;br /&gt;
* g&lt;br /&gt;
* gap&lt;br /&gt;
* gen&lt;br /&gt;
 genName {display:inline;}&lt;br /&gt;
* geo&lt;br /&gt;
* geoDecl&lt;br /&gt;
* geogFeat&lt;br /&gt;
 geogName {display:inline;}&lt;br /&gt;
 gi:before {display:inline;content:&amp;quot;&amp;lt;&amp;quot;}  gi:after {display:inline;content:&amp;quot;&amp;gt;&amp;quot;}&lt;br /&gt;
 gloss {display:inline;}&lt;br /&gt;
* glyph&lt;br /&gt;
* glyphName&lt;br /&gt;
* gram&lt;br /&gt;
* gramGrp&lt;br /&gt;
* graph&lt;br /&gt;
* graphic&lt;br /&gt;
* group&lt;br /&gt;
&lt;br /&gt;
==h==&lt;br /&gt;
&lt;br /&gt;
* handDesc&lt;br /&gt;
* handNote&lt;br /&gt;
* handNotes&lt;br /&gt;
* handShift&lt;br /&gt;
* head&lt;br /&gt;
* headItem&lt;br /&gt;
* headLabel&lt;br /&gt;
* height&lt;br /&gt;
* heraldry&lt;br /&gt;
 hi {display:inline; font-weight:bold;}&lt;br /&gt;
* history&lt;br /&gt;
* hom&lt;br /&gt;
* hyph&lt;br /&gt;
* hyphenation&lt;br /&gt;
&lt;br /&gt;
==i==&lt;br /&gt;
&lt;br /&gt;
* iNode&lt;br /&gt;
* iType&lt;br /&gt;
 ident[type] {display:inline; font-weight:bold;} ident:not([type]) {display:inline; } /* Just as the stylesheet allows for different types; a specific type could be styled by ident[type=&amp;quot;XXX&amp;quot;] */&lt;br /&gt;
* idno&lt;br /&gt;
* if&lt;br /&gt;
* iff&lt;br /&gt;
* imprimatur&lt;br /&gt;
* imprint&lt;br /&gt;
* incident (speech module: XSL has not yet covered)&lt;br /&gt;
* incipit&lt;br /&gt;
* index&lt;br /&gt;
* institution&lt;br /&gt;
* interaction&lt;br /&gt;
* interp&lt;br /&gt;
* interpGrp&lt;br /&gt;
* interpretation&lt;br /&gt;
* item&lt;br /&gt;
&lt;br /&gt;
==j==&lt;br /&gt;
&lt;br /&gt;
* join&lt;br /&gt;
* joinGrp&lt;br /&gt;
&lt;br /&gt;
==k==&lt;br /&gt;
&lt;br /&gt;
* keywords (XSL has not yet covered (from header module))&lt;br /&gt;
* kinesic (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==l==&lt;br /&gt;
&lt;br /&gt;
 l {display:block;}&lt;br /&gt;
 label {display:inline;}&lt;br /&gt;
* lacunaEnd&lt;br /&gt;
* lacunaStart&lt;br /&gt;
* lang&lt;br /&gt;
* langKnowledge&lt;br /&gt;
* langKnown&lt;br /&gt;
* langUsage&lt;br /&gt;
* language&lt;br /&gt;
* layout&lt;br /&gt;
* layoutDesc&lt;br /&gt;
 lb {display:block;}&lt;br /&gt;
* lbl&lt;br /&gt;
* leaf&lt;br /&gt;
* lem&lt;br /&gt;
 lg {display:block;}&lt;br /&gt;
* link&lt;br /&gt;
* linkGrp&lt;br /&gt;
* list&lt;br /&gt;
* listBibl&lt;br /&gt;
* listEvent&lt;br /&gt;
* listNym&lt;br /&gt;
* listOrg&lt;br /&gt;
* listPerson&lt;br /&gt;
* listPlace&lt;br /&gt;
* listRef&lt;br /&gt;
* listWit&lt;br /&gt;
* localName&lt;br /&gt;
* locale&lt;br /&gt;
* location&lt;br /&gt;
* locus&lt;br /&gt;
* locusGrp&lt;br /&gt;
&lt;br /&gt;
==m==&lt;br /&gt;
&lt;br /&gt;
* m&lt;br /&gt;
* macroSpec&lt;br /&gt;
* mapping&lt;br /&gt;
* material&lt;br /&gt;
* measure&lt;br /&gt;
* measureGrp&lt;br /&gt;
* meeting&lt;br /&gt;
* memberOf&lt;br /&gt;
 mentioned {display:inline;}&lt;br /&gt;
* metDecl&lt;br /&gt;
* metSym&lt;br /&gt;
* milestone&lt;br /&gt;
* moduleRef&lt;br /&gt;
* moduleSpec&lt;br /&gt;
* monogr&lt;br /&gt;
* mood&lt;br /&gt;
* move&lt;br /&gt;
* msContents&lt;br /&gt;
* msDesc&lt;br /&gt;
* msIdentifier&lt;br /&gt;
* msItem&lt;br /&gt;
* msItemStruct&lt;br /&gt;
* msName&lt;br /&gt;
* msPart&lt;br /&gt;
* musicNotation&lt;br /&gt;
&lt;br /&gt;
==n==&lt;br /&gt;
&lt;br /&gt;
 name {display:inline;}&lt;br /&gt;
* nameLink&lt;br /&gt;
* namespace&lt;br /&gt;
* nationality&lt;br /&gt;
* node&lt;br /&gt;
* normalization&lt;br /&gt;
* note&lt;br /&gt;
* notesStmt&lt;br /&gt;
* num&lt;br /&gt;
* number&lt;br /&gt;
* numeric&lt;br /&gt;
* nym&lt;br /&gt;
&lt;br /&gt;
==o==&lt;br /&gt;
&lt;br /&gt;
* oRef&lt;br /&gt;
* oVar&lt;br /&gt;
* objectDesc&lt;br /&gt;
* occupation&lt;br /&gt;
* offset&lt;br /&gt;
* opener&lt;br /&gt;
* org&lt;br /&gt;
* orgName&lt;br /&gt;
* orig&lt;br /&gt;
* origDate&lt;br /&gt;
* origPlace&lt;br /&gt;
* origin&lt;br /&gt;
* orth&lt;br /&gt;
&lt;br /&gt;
==p==&lt;br /&gt;
&lt;br /&gt;
* p&lt;br /&gt;
* pRef&lt;br /&gt;
* pVar&lt;br /&gt;
* particDesc&lt;br /&gt;
* pause (speech module: XSL has not yet covered)&lt;br /&gt;
* pb&lt;br /&gt;
* pc&lt;br /&gt;
* per&lt;br /&gt;
* performance&lt;br /&gt;
 persName {display:inline;}&lt;br /&gt;
* person&lt;br /&gt;
* personGrp&lt;br /&gt;
* phr&lt;br /&gt;
* physDesc&lt;br /&gt;
* place&lt;br /&gt;
 placeName {display:inline;}&lt;br /&gt;
* population&lt;br /&gt;
* pos&lt;br /&gt;
* postBox&lt;br /&gt;
* postCode&lt;br /&gt;
* postscript&lt;br /&gt;
* precision&lt;br /&gt;
* preparedness&lt;br /&gt;
* principal&lt;br /&gt;
* profileDesc&lt;br /&gt;
* projectDesc&lt;br /&gt;
* prologue&lt;br /&gt;
* pron&lt;br /&gt;
* provenance&lt;br /&gt;
* ptr&lt;br /&gt;
* pubPlace&lt;br /&gt;
* publicationStmt&lt;br /&gt;
* publisher&lt;br /&gt;
* purpose&lt;br /&gt;
&lt;br /&gt;
==q==&lt;br /&gt;
&lt;br /&gt;
* q&lt;br /&gt;
* quotation&lt;br /&gt;
* quote&lt;br /&gt;
&lt;br /&gt;
==r==&lt;br /&gt;
&lt;br /&gt;
* rdg&lt;br /&gt;
* rdgGrp&lt;br /&gt;
* re&lt;br /&gt;
* recordHist&lt;br /&gt;
* recording&lt;br /&gt;
* recordingStmt&lt;br /&gt;
* ref&lt;br /&gt;
* refState&lt;br /&gt;
* refsDecl&lt;br /&gt;
* reg&lt;br /&gt;
* region&lt;br /&gt;
* relatedItem&lt;br /&gt;
* relation&lt;br /&gt;
* relationGrp&lt;br /&gt;
* remarks&lt;br /&gt;
* rendition&lt;br /&gt;
* repository&lt;br /&gt;
* residence&lt;br /&gt;
 resp:after {content:&amp;quot; &amp;quot;;}&lt;br /&gt;
 respStmt {display:inline;}&lt;br /&gt;
* respons&lt;br /&gt;
* restore&lt;br /&gt;
* revisionDesc&lt;br /&gt;
* rhyme&lt;br /&gt;
 role {display:inline; font-style: italic;}&lt;br /&gt;
 roleDesc { margin-left: 40px; margin-right: 40px; } roleDesc &amp;gt; *:not(p) {display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
 roleName {display:inline;}&lt;br /&gt;
* root&lt;br /&gt;
* row&lt;br /&gt;
* rs&lt;br /&gt;
* rubric&lt;br /&gt;
&lt;br /&gt;
==s==&lt;br /&gt;
&lt;br /&gt;
* s&lt;br /&gt;
* said&lt;br /&gt;
 salute {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* samplingDecl&lt;br /&gt;
* schemaSpec&lt;br /&gt;
* scriptStmt&lt;br /&gt;
* seal&lt;br /&gt;
* sealDesc&lt;br /&gt;
* secFol&lt;br /&gt;
 seg {display:inline;}&lt;br /&gt;
* segmentation&lt;br /&gt;
* sense&lt;br /&gt;
* series&lt;br /&gt;
* seriesStmt&lt;br /&gt;
 set {display:inline; font-style: italic;}&lt;br /&gt;
* setting&lt;br /&gt;
* settingDesc&lt;br /&gt;
* settlement&lt;br /&gt;
* se x (XSL has not yet covered (namesdates module)) /* space-separated for spam filter! */&lt;br /&gt;
* shift (speech module: XSL has not yet covered)&lt;br /&gt;
 sic {display:inline;} sic:after {content: &amp;quot; (sic)&amp;quot;}&lt;br /&gt;
* signatures&lt;br /&gt;
 signed {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
 soCalled:before {content:'‘'} soCalled {display:inline;} soCalled:after {content:'’'} /* Quote style is parameterized in XSL; note: content can also accept 'open-quote' and 'close-quote', but the default is as already included in the rule */&lt;br /&gt;
* socecStatus&lt;br /&gt;
 sound {display:inline; font-style: italic;}&lt;br /&gt;
* source&lt;br /&gt;
* sourceDesc&lt;br /&gt;
* sp&lt;br /&gt;
* space&lt;br /&gt;
* span&lt;br /&gt;
* spanGrp&lt;br /&gt;
* speaker&lt;br /&gt;
* specDesc&lt;br /&gt;
* specGrp&lt;br /&gt;
* specGrpRef&lt;br /&gt;
* specList&lt;br /&gt;
* sponsor&lt;br /&gt;
 stage {font-style: italic; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* stamp&lt;br /&gt;
* state&lt;br /&gt;
* stdVals&lt;br /&gt;
* street&lt;br /&gt;
* stress&lt;br /&gt;
* string&lt;br /&gt;
* stringVal&lt;br /&gt;
* subc&lt;br /&gt;
* subst&lt;br /&gt;
* summary&lt;br /&gt;
* superEntry&lt;br /&gt;
* supplied&lt;br /&gt;
* support&lt;br /&gt;
* supportDesc&lt;br /&gt;
* surface&lt;br /&gt;
* surname&lt;br /&gt;
* surplus&lt;br /&gt;
* surrogates&lt;br /&gt;
* syll&lt;br /&gt;
* symbol&lt;br /&gt;
&lt;br /&gt;
==t==&lt;br /&gt;
&lt;br /&gt;
* TEI&lt;br /&gt;
* table&lt;br /&gt;
* tag&lt;br /&gt;
* tagUsage&lt;br /&gt;
* tagsDecl&lt;br /&gt;
* taxonomy&lt;br /&gt;
 tech {display:inline; font-style: italic;}&lt;br /&gt;
* teiCorpus&lt;br /&gt;
* teiHeader&lt;br /&gt;
 term {display:inline;}&lt;br /&gt;
* terrain&lt;br /&gt;
* text&lt;br /&gt;
* textClass&lt;br /&gt;
* textDesc&lt;br /&gt;
* textLang&lt;br /&gt;
* then&lt;br /&gt;
* time&lt;br /&gt;
* timeline&lt;br /&gt;
* title&lt;br /&gt;
* titlePage&lt;br /&gt;
* titlePart&lt;br /&gt;
* titleStmt&lt;br /&gt;
* tns&lt;br /&gt;
* trailer&lt;br /&gt;
* trait&lt;br /&gt;
* tree&lt;br /&gt;
* triangle&lt;br /&gt;
* typeDesc&lt;br /&gt;
* typeNote&lt;br /&gt;
&lt;br /&gt;
==u==&lt;br /&gt;
&lt;br /&gt;
* u (speech module: XSL has not yet covered)&lt;br /&gt;
 unclear {display:inline;}&lt;br /&gt;
* unicodeName&lt;br /&gt;
* usg&lt;br /&gt;
&lt;br /&gt;
==v==&lt;br /&gt;
&lt;br /&gt;
* vAlt&lt;br /&gt;
* vColl&lt;br /&gt;
* vDefault&lt;br /&gt;
* vLabel&lt;br /&gt;
* vMerge&lt;br /&gt;
* vNot&lt;br /&gt;
* vRange&lt;br /&gt;
* val&lt;br /&gt;
* valDesc&lt;br /&gt;
* valItem&lt;br /&gt;
* valList&lt;br /&gt;
* value&lt;br /&gt;
* variantEncoding&lt;br /&gt;
 view {display:inline; font-style: italic;}&lt;br /&gt;
* vocal (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==w==&lt;br /&gt;
&lt;br /&gt;
* w&lt;br /&gt;
* watermark&lt;br /&gt;
* when&lt;br /&gt;
* width&lt;br /&gt;
* wit&lt;br /&gt;
* witDetail&lt;br /&gt;
* witEnd&lt;br /&gt;
* witStart&lt;br /&gt;
* witness&lt;br /&gt;
* writing (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==x==&lt;br /&gt;
&lt;br /&gt;
* xr&lt;br /&gt;
&lt;br /&gt;
==y==&lt;br /&gt;
&lt;br /&gt;
(none)&lt;br /&gt;
&lt;br /&gt;
==z==&lt;br /&gt;
z&lt;br /&gt;
&lt;br /&gt;
* zone&lt;br /&gt;
&lt;br /&gt;
==References used==&lt;br /&gt;
* http://math.ut.ee/~kaarel/NLP/TEI/visualization/ (on rationales)&lt;br /&gt;
&lt;br /&gt;
[[Category:CSS]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7897</id>
		<title>Comprehensive CSS Stylesheet</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7897"/>
		<updated>2010-07-12T08:58:44Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: /* a */ accMat&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following is an attempt to gradually build CSS for each TEI element, paralleling the default TEI stylesheets (while also potentially serving as a kind of discussion center for how the stylesheets ought to operate (see [[Formatting TEI documents]] on how there is a need for this despite TEI being agnostic as to output formatting), at least for issues pertaining solely to formatting as opposed to semantics), by indicating here necessary deviations from the XHTML stylesheets (due to CSS constraints) or potentially desirable alternatives, etc.).&lt;br /&gt;
&lt;br /&gt;
Advantages of CSS over XSL might include:&lt;br /&gt;
# Simpler for maintenance/alteration (though CSS can still be combined with simpler XSL as needed)&lt;br /&gt;
# Downloading (and parsing?) is faster&lt;br /&gt;
# Wider browser support (and for browser caching?)&lt;br /&gt;
# Allows DOM and other manipulation directly on semantically-named TEI elements (though admittedly, use of frameworks like jQuery may make traversal of X/HTML as easy or easier)&lt;br /&gt;
# TEI could potentially be used as is in HTML (though empty self-closing elements will not be treated properly unless changed to &amp;lt;elem&amp;gt;&amp;lt;/elem&amp;gt; form and namespaces will not be present) in addition to true XHTML.&lt;br /&gt;
&lt;br /&gt;
Disadvantages:&lt;br /&gt;
# Does not allow for certain kinds of transformations (though again, CSS can be combined with a simple XSL stylesheet which preserves TEI except in cases where needed)&lt;br /&gt;
# Is cumbersome for certain variable structures (e.g., for values varying by integer but not including the integer (e.g., space.extent =&amp;gt; number of spaces) a separate rule must be created for each possible attribute value)&lt;br /&gt;
# (Another disadvantage of CSS in general is being unable to create certain kinds of output such as form controls, but in the case of TEI, we hardly need this.)&lt;br /&gt;
&lt;br /&gt;
Per CSS Namespaces, one can use either&lt;br /&gt;
 @namespace &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 @namespace tei &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
...but we will use the former since we will presume the stylesheet will be primarily (if not exclusively) for TEI.&lt;br /&gt;
&lt;br /&gt;
We will not be able to make equivalents for XSLT templates like rendToClass (e.g., ab) or applyRend (emph), applyRendition (emph) since we cannot (nor do we need to) add an id or class (though @rend or @rendition would be useful to utilize, there is no &amp;quot;eval()&amp;quot;-like code in CSS; however, we could test against predefined values like &amp;quot;bold&amp;quot; (maybe as a global * or at least the elements using these in the stylesheets (emph, hi, ...))).&lt;br /&gt;
&lt;br /&gt;
All fields below should be complete for an element, or otherwise noted that it is incomplete, so that it can otherwise be assumed that the CSS has been completely applied as far as possible (besides rend/rendition which may later be done globally for all elements, as these are indeed globals).&lt;br /&gt;
&lt;br /&gt;
==a==&lt;br /&gt;
 ab {display:block;}&lt;br /&gt;
 choice &amp;gt; expan + abbr:before {content:&amp;quot;(&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
 choice &amp;gt; expan + abbr:after {content:&amp;quot;)&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
 accMat {display: block;} accMat:before {content: &amp;quot;Accompanying material: &amp;quot;; font-weight: bold;}&lt;br /&gt;
* acquisition&lt;br /&gt;
* activity&lt;br /&gt;
 actor {display:inline; font-style: italic;}&lt;br /&gt;
* add&lt;br /&gt;
* addName&lt;br /&gt;
* addSpan&lt;br /&gt;
* additional&lt;br /&gt;
* additions&lt;br /&gt;
 addrLine {display:block;}&lt;br /&gt;
 address {display:block; /* font-style:italic; If wish to appear as HTML addresses are rendered by default, at least in Firefox */}&lt;br /&gt;
* adminInfo&lt;br /&gt;
* affiliation&lt;br /&gt;
* age&lt;br /&gt;
* alt&lt;br /&gt;
* altGrp&lt;br /&gt;
* altIdent&lt;br /&gt;
* altIdentifier&lt;br /&gt;
* am&lt;br /&gt;
* analytic&lt;br /&gt;
* anchor&lt;br /&gt;
* app&lt;br /&gt;
* appInfo&lt;br /&gt;
* application&lt;br /&gt;
* arc&lt;br /&gt;
* argument&lt;br /&gt;
 att {display:inline; font-weight:bold;} att:before {content:&amp;quot;@&amp;quot;}&lt;br /&gt;
* attDef&lt;br /&gt;
* attList&lt;br /&gt;
* attRef&lt;br /&gt;
* author&lt;br /&gt;
* authority&lt;br /&gt;
* availability&lt;br /&gt;
&lt;br /&gt;
==b==&lt;br /&gt;
&lt;br /&gt;
* back&lt;br /&gt;
* bibl&lt;br /&gt;
* biblFull&lt;br /&gt;
* biblScope&lt;br /&gt;
* biblStruct&lt;br /&gt;
* bicond&lt;br /&gt;
* binary&lt;br /&gt;
* binaryObject&lt;br /&gt;
* binding&lt;br /&gt;
* bindingDesc&lt;br /&gt;
* birth&lt;br /&gt;
* bloc&lt;br /&gt;
* body&lt;br /&gt;
* broadcast&lt;br /&gt;
 byline {display:block;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==c==&lt;br /&gt;
&lt;br /&gt;
* c&lt;br /&gt;
* cRefPattern&lt;br /&gt;
 caesura:before {display:inline; content:&amp;quot;\a0\a0\a0\a0&amp;quot;; /* could be :after too */}&lt;br /&gt;
 camera {display:inline; font-style: italic;}&lt;br /&gt;
 caption {display:inline; font-style: italic;}&lt;br /&gt;
* case&lt;br /&gt;
* castGroup&lt;br /&gt;
* castItem&lt;br /&gt;
 castList {} /* Note: has additional rules: */&lt;br /&gt;
 castList {display:block;} /* applies whether children are head or not */&lt;br /&gt;
 /* Note: for this to mirror the XSL exactly, head would always need to be preceding other elements as a direct child castList */&lt;br /&gt;
 castList &amp;gt; head {display:inline; font-style:italic;}&lt;br /&gt;
 castList &amp;gt; *:not(head) {margin-left: 40px;} /* If children of castList needed their own indents, then it should be relative to this (if possible) */&lt;br /&gt;
&lt;br /&gt;
* catDesc (Only defined in XSL conditionally if using catRef)&lt;br /&gt;
 catRef {} /* Note: has additional rules: */&lt;br /&gt;
 catRef + catRef:before {'\A'} /* Add line break if preceded by another catRef */&lt;br /&gt;
 catRef:after {content:attr(scheme); display:inline; font-style:italic;} /* Add scheme in italics */&lt;br /&gt;
 /* &lt;br /&gt;
 Commenting out as XPath not currently supported in CSS as needed by third 'after'&lt;br /&gt;
 catRef:after(2) {content:':'}*//* Requires CSS3 to add such additional 'after' content? (Firefox allows content: '123'attr(class)'456' at least); See http://www.w3.org/TR/css3-content/#nesting or http://www.w3.org/TR/css3-content/#inserting0 */&lt;br /&gt;
 /* &lt;br /&gt;
 catRef:after(3) {content: &amp;lt;not possible to reference target's catDesc unless XPath gets added to CSS&amp;gt;} */&lt;br /&gt;
* catchwords&lt;br /&gt;
* category&lt;br /&gt;
* cb&lt;br /&gt;
* cell&lt;br /&gt;
* certainty&lt;br /&gt;
* change&lt;br /&gt;
* channel&lt;br /&gt;
* char&lt;br /&gt;
* charDecl&lt;br /&gt;
* charName&lt;br /&gt;
* charProp&lt;br /&gt;
* choice&lt;br /&gt;
* cit&lt;br /&gt;
* cl&lt;br /&gt;
* classCode (XSL has not yet covered (from header module))&lt;br /&gt;
* classDecl&lt;br /&gt;
* classSpec&lt;br /&gt;
* classes&lt;br /&gt;
* climate&lt;br /&gt;
* closer&lt;br /&gt;
 code {display:inline; font-family:monospace;}&lt;br /&gt;
* collation&lt;br /&gt;
* collection&lt;br /&gt;
* colloc&lt;br /&gt;
* colophon&lt;br /&gt;
* cond&lt;br /&gt;
* condition&lt;br /&gt;
* constitution&lt;br /&gt;
* constraint&lt;br /&gt;
* constraintSpec&lt;br /&gt;
* content&lt;br /&gt;
* corr&lt;br /&gt;
* correction&lt;br /&gt;
* country&lt;br /&gt;
* creation&lt;br /&gt;
* custEvent&lt;br /&gt;
* custodialHist&lt;br /&gt;
&lt;br /&gt;
==d==&lt;br /&gt;
&lt;br /&gt;
* damage&lt;br /&gt;
* damageSpan&lt;br /&gt;
* datatype&lt;br /&gt;
* date&lt;br /&gt;
* dateline&lt;br /&gt;
* death&lt;br /&gt;
* decoDesc&lt;br /&gt;
* decoNote&lt;br /&gt;
* def&lt;br /&gt;
* default&lt;br /&gt;
* defaultVal&lt;br /&gt;
 del {display:inline; text-decoration: line-through;}&lt;br /&gt;
* delSpan&lt;br /&gt;
* depth&lt;br /&gt;
* derivation&lt;br /&gt;
* desc&lt;br /&gt;
* dictScrap&lt;br /&gt;
* dim&lt;br /&gt;
* dimensions&lt;br /&gt;
* distinct&lt;br /&gt;
* distributor&lt;br /&gt;
* district&lt;br /&gt;
* div&lt;br /&gt;
* div1&lt;br /&gt;
* div2&lt;br /&gt;
* div3&lt;br /&gt;
* div4&lt;br /&gt;
* div5&lt;br /&gt;
* div6&lt;br /&gt;
* div7&lt;br /&gt;
* divGen&lt;br /&gt;
* docAuthor&lt;br /&gt;
* docDate&lt;br /&gt;
* docEdition&lt;br /&gt;
* docImprint&lt;br /&gt;
* docTitle&lt;br /&gt;
* domain&lt;br /&gt;
&lt;br /&gt;
==e==&lt;br /&gt;
&lt;br /&gt;
* eLeaf&lt;br /&gt;
* eTree&lt;br /&gt;
* edition&lt;br /&gt;
* editionStmt&lt;br /&gt;
* editor&lt;br /&gt;
* editorialDecl&lt;br /&gt;
* education&lt;br /&gt;
* eg&lt;br /&gt;
* egXML&lt;br /&gt;
* elementSpec&lt;br /&gt;
* email&lt;br /&gt;
 emph {display:inline; font-style:italic;}&lt;br /&gt;
* encodingDesc&lt;br /&gt;
* entry&lt;br /&gt;
* entryFree&lt;br /&gt;
 epigraph {display:block;}&lt;br /&gt;
* epilogue&lt;br /&gt;
* equipment&lt;br /&gt;
* equiv&lt;br /&gt;
* etym&lt;br /&gt;
* event&lt;br /&gt;
* ex&lt;br /&gt;
* exemplum&lt;br /&gt;
 choice &amp;gt; expan + abbr:before {content:&amp;quot;(&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
 choice &amp;gt; expan + abbr:after {content:&amp;quot;)&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
* explicit&lt;br /&gt;
* extent&lt;br /&gt;
&lt;br /&gt;
==f==&lt;br /&gt;
&lt;br /&gt;
* f&lt;br /&gt;
* fDecl&lt;br /&gt;
* fDescr&lt;br /&gt;
* fLib&lt;br /&gt;
* facsimile&lt;br /&gt;
* factuality&lt;br /&gt;
* faith&lt;br /&gt;
* figDesc&lt;br /&gt;
* figure&lt;br /&gt;
* fileDesc&lt;br /&gt;
* filiation&lt;br /&gt;
* finalRubric&lt;br /&gt;
* floatingText&lt;br /&gt;
* floruit&lt;br /&gt;
* foliation&lt;br /&gt;
 foreign {display:inline;}&lt;br /&gt;
* forename&lt;br /&gt;
* forest&lt;br /&gt;
* forestGrp&lt;br /&gt;
* form&lt;br /&gt;
* formula&lt;br /&gt;
* front&lt;br /&gt;
* fs&lt;br /&gt;
* fsConstraints&lt;br /&gt;
* fsDecl&lt;br /&gt;
* fsDescr&lt;br /&gt;
* fsdDecl&lt;br /&gt;
* fsdLink&lt;br /&gt;
* funder&lt;br /&gt;
* fvLib&lt;br /&gt;
* fw&lt;br /&gt;
&lt;br /&gt;
==g==&lt;br /&gt;
&lt;br /&gt;
* g&lt;br /&gt;
* gap&lt;br /&gt;
* gen&lt;br /&gt;
 genName {display:inline;}&lt;br /&gt;
* geo&lt;br /&gt;
* geoDecl&lt;br /&gt;
* geogFeat&lt;br /&gt;
 geogName {display:inline;}&lt;br /&gt;
 gi:before {display:inline;content:&amp;quot;&amp;lt;&amp;quot;}  gi:after {display:inline;content:&amp;quot;&amp;gt;&amp;quot;}&lt;br /&gt;
 gloss {display:inline;}&lt;br /&gt;
* glyph&lt;br /&gt;
* glyphName&lt;br /&gt;
* gram&lt;br /&gt;
* gramGrp&lt;br /&gt;
* graph&lt;br /&gt;
* graphic&lt;br /&gt;
* group&lt;br /&gt;
&lt;br /&gt;
==h==&lt;br /&gt;
&lt;br /&gt;
* handDesc&lt;br /&gt;
* handNote&lt;br /&gt;
* handNotes&lt;br /&gt;
* handShift&lt;br /&gt;
* head&lt;br /&gt;
* headItem&lt;br /&gt;
* headLabel&lt;br /&gt;
* height&lt;br /&gt;
* heraldry&lt;br /&gt;
 hi {display:inline; font-weight:bold;}&lt;br /&gt;
* history&lt;br /&gt;
* hom&lt;br /&gt;
* hyph&lt;br /&gt;
* hyphenation&lt;br /&gt;
&lt;br /&gt;
==i==&lt;br /&gt;
&lt;br /&gt;
* iNode&lt;br /&gt;
* iType&lt;br /&gt;
 ident[type] {display:inline; font-weight:bold;} ident:not([type]) {display:inline; } /* Just as the stylesheet allows for different types; a specific type could be styled by ident[type=&amp;quot;XXX&amp;quot;] */&lt;br /&gt;
* idno&lt;br /&gt;
* if&lt;br /&gt;
* iff&lt;br /&gt;
* imprimatur&lt;br /&gt;
* imprint&lt;br /&gt;
* incident (speech module: XSL has not yet covered)&lt;br /&gt;
* incipit&lt;br /&gt;
* index&lt;br /&gt;
* institution&lt;br /&gt;
* interaction&lt;br /&gt;
* interp&lt;br /&gt;
* interpGrp&lt;br /&gt;
* interpretation&lt;br /&gt;
* item&lt;br /&gt;
&lt;br /&gt;
==j==&lt;br /&gt;
&lt;br /&gt;
* join&lt;br /&gt;
* joinGrp&lt;br /&gt;
&lt;br /&gt;
==k==&lt;br /&gt;
&lt;br /&gt;
* keywords (XSL has not yet covered (from header module))&lt;br /&gt;
* kinesic (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==l==&lt;br /&gt;
&lt;br /&gt;
 l {display:block;}&lt;br /&gt;
 label {display:inline;}&lt;br /&gt;
* lacunaEnd&lt;br /&gt;
* lacunaStart&lt;br /&gt;
* lang&lt;br /&gt;
* langKnowledge&lt;br /&gt;
* langKnown&lt;br /&gt;
* langUsage&lt;br /&gt;
* language&lt;br /&gt;
* layout&lt;br /&gt;
* layoutDesc&lt;br /&gt;
 lb {display:block;}&lt;br /&gt;
* lbl&lt;br /&gt;
* leaf&lt;br /&gt;
* lem&lt;br /&gt;
 lg {display:block;}&lt;br /&gt;
* link&lt;br /&gt;
* linkGrp&lt;br /&gt;
* list&lt;br /&gt;
* listBibl&lt;br /&gt;
* listEvent&lt;br /&gt;
* listNym&lt;br /&gt;
* listOrg&lt;br /&gt;
* listPerson&lt;br /&gt;
* listPlace&lt;br /&gt;
* listRef&lt;br /&gt;
* listWit&lt;br /&gt;
* localName&lt;br /&gt;
* locale&lt;br /&gt;
* location&lt;br /&gt;
* locus&lt;br /&gt;
* locusGrp&lt;br /&gt;
&lt;br /&gt;
==m==&lt;br /&gt;
&lt;br /&gt;
* m&lt;br /&gt;
* macroSpec&lt;br /&gt;
* mapping&lt;br /&gt;
* material&lt;br /&gt;
* measure&lt;br /&gt;
* measureGrp&lt;br /&gt;
* meeting&lt;br /&gt;
* memberOf&lt;br /&gt;
 mentioned {display:inline;}&lt;br /&gt;
* metDecl&lt;br /&gt;
* metSym&lt;br /&gt;
* milestone&lt;br /&gt;
* moduleRef&lt;br /&gt;
* moduleSpec&lt;br /&gt;
* monogr&lt;br /&gt;
* mood&lt;br /&gt;
* move&lt;br /&gt;
* msContents&lt;br /&gt;
* msDesc&lt;br /&gt;
* msIdentifier&lt;br /&gt;
* msItem&lt;br /&gt;
* msItemStruct&lt;br /&gt;
* msName&lt;br /&gt;
* msPart&lt;br /&gt;
* musicNotation&lt;br /&gt;
&lt;br /&gt;
==n==&lt;br /&gt;
&lt;br /&gt;
 name {display:inline;}&lt;br /&gt;
* nameLink&lt;br /&gt;
* namespace&lt;br /&gt;
* nationality&lt;br /&gt;
* node&lt;br /&gt;
* normalization&lt;br /&gt;
* note&lt;br /&gt;
* notesStmt&lt;br /&gt;
* num&lt;br /&gt;
* number&lt;br /&gt;
* numeric&lt;br /&gt;
* nym&lt;br /&gt;
&lt;br /&gt;
==o==&lt;br /&gt;
&lt;br /&gt;
* oRef&lt;br /&gt;
* oVar&lt;br /&gt;
* objectDesc&lt;br /&gt;
* occupation&lt;br /&gt;
* offset&lt;br /&gt;
* opener&lt;br /&gt;
* org&lt;br /&gt;
* orgName&lt;br /&gt;
* orig&lt;br /&gt;
* origDate&lt;br /&gt;
* origPlace&lt;br /&gt;
* origin&lt;br /&gt;
* orth&lt;br /&gt;
&lt;br /&gt;
==p==&lt;br /&gt;
&lt;br /&gt;
* p&lt;br /&gt;
* pRef&lt;br /&gt;
* pVar&lt;br /&gt;
* particDesc&lt;br /&gt;
* pause (speech module: XSL has not yet covered)&lt;br /&gt;
* pb&lt;br /&gt;
* pc&lt;br /&gt;
* per&lt;br /&gt;
* performance&lt;br /&gt;
 persName {display:inline;}&lt;br /&gt;
* person&lt;br /&gt;
* personGrp&lt;br /&gt;
* phr&lt;br /&gt;
* physDesc&lt;br /&gt;
* place&lt;br /&gt;
 placeName {display:inline;}&lt;br /&gt;
* population&lt;br /&gt;
* pos&lt;br /&gt;
* postBox&lt;br /&gt;
* postCode&lt;br /&gt;
* postscript&lt;br /&gt;
* precision&lt;br /&gt;
* preparedness&lt;br /&gt;
* principal&lt;br /&gt;
* profileDesc&lt;br /&gt;
* projectDesc&lt;br /&gt;
* prologue&lt;br /&gt;
* pron&lt;br /&gt;
* provenance&lt;br /&gt;
* ptr&lt;br /&gt;
* pubPlace&lt;br /&gt;
* publicationStmt&lt;br /&gt;
* publisher&lt;br /&gt;
* purpose&lt;br /&gt;
&lt;br /&gt;
==q==&lt;br /&gt;
&lt;br /&gt;
* q&lt;br /&gt;
* quotation&lt;br /&gt;
* quote&lt;br /&gt;
&lt;br /&gt;
==r==&lt;br /&gt;
&lt;br /&gt;
* rdg&lt;br /&gt;
* rdgGrp&lt;br /&gt;
* re&lt;br /&gt;
* recordHist&lt;br /&gt;
* recording&lt;br /&gt;
* recordingStmt&lt;br /&gt;
* ref&lt;br /&gt;
* refState&lt;br /&gt;
* refsDecl&lt;br /&gt;
* reg&lt;br /&gt;
* region&lt;br /&gt;
* relatedItem&lt;br /&gt;
* relation&lt;br /&gt;
* relationGrp&lt;br /&gt;
* remarks&lt;br /&gt;
* rendition&lt;br /&gt;
* repository&lt;br /&gt;
* residence&lt;br /&gt;
 resp:after {content:&amp;quot; &amp;quot;;}&lt;br /&gt;
 respStmt {display:inline;}&lt;br /&gt;
* respons&lt;br /&gt;
* restore&lt;br /&gt;
* revisionDesc&lt;br /&gt;
* rhyme&lt;br /&gt;
 role {display:inline; font-style: italic;}&lt;br /&gt;
 roleDesc { margin-left: 40px; margin-right: 40px; } roleDesc &amp;gt; *:not(p) {display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
 roleName {display:inline;}&lt;br /&gt;
* root&lt;br /&gt;
* row&lt;br /&gt;
* rs&lt;br /&gt;
* rubric&lt;br /&gt;
&lt;br /&gt;
==s==&lt;br /&gt;
&lt;br /&gt;
* s&lt;br /&gt;
* said&lt;br /&gt;
 salute {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* samplingDecl&lt;br /&gt;
* schemaSpec&lt;br /&gt;
* scriptStmt&lt;br /&gt;
* seal&lt;br /&gt;
* sealDesc&lt;br /&gt;
* secFol&lt;br /&gt;
 seg {display:inline;}&lt;br /&gt;
* segmentation&lt;br /&gt;
* sense&lt;br /&gt;
* series&lt;br /&gt;
* seriesStmt&lt;br /&gt;
 set {display:inline; font-style: italic;}&lt;br /&gt;
* setting&lt;br /&gt;
* settingDesc&lt;br /&gt;
* settlement&lt;br /&gt;
* se x (XSL has not yet covered (namesdates module)) /* space-separated for spam filter! */&lt;br /&gt;
* shift (speech module: XSL has not yet covered)&lt;br /&gt;
 sic {display:inline;} sic:after {content: &amp;quot; (sic)&amp;quot;}&lt;br /&gt;
* signatures&lt;br /&gt;
 signed {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
 soCalled:before {content:'‘'} soCalled {display:inline;} soCalled:after {content:'’'} /* Quote style is parameterized in XSL; note: content can also accept 'open-quote' and 'close-quote', but the default is as already included in the rule */&lt;br /&gt;
* socecStatus&lt;br /&gt;
 sound {display:inline; font-style: italic;}&lt;br /&gt;
* source&lt;br /&gt;
* sourceDesc&lt;br /&gt;
* sp&lt;br /&gt;
* space&lt;br /&gt;
* span&lt;br /&gt;
* spanGrp&lt;br /&gt;
* speaker&lt;br /&gt;
* specDesc&lt;br /&gt;
* specGrp&lt;br /&gt;
* specGrpRef&lt;br /&gt;
* specList&lt;br /&gt;
* sponsor&lt;br /&gt;
 stage {font-style: italic; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* stamp&lt;br /&gt;
* state&lt;br /&gt;
* stdVals&lt;br /&gt;
* street&lt;br /&gt;
* stress&lt;br /&gt;
* string&lt;br /&gt;
* stringVal&lt;br /&gt;
* subc&lt;br /&gt;
* subst&lt;br /&gt;
* summary&lt;br /&gt;
* superEntry&lt;br /&gt;
* supplied&lt;br /&gt;
* support&lt;br /&gt;
* supportDesc&lt;br /&gt;
* surface&lt;br /&gt;
* surname&lt;br /&gt;
* surplus&lt;br /&gt;
* surrogates&lt;br /&gt;
* syll&lt;br /&gt;
* symbol&lt;br /&gt;
&lt;br /&gt;
==t==&lt;br /&gt;
&lt;br /&gt;
* TEI&lt;br /&gt;
* table&lt;br /&gt;
* tag&lt;br /&gt;
* tagUsage&lt;br /&gt;
* tagsDecl&lt;br /&gt;
* taxonomy&lt;br /&gt;
 tech {display:inline; font-style: italic;}&lt;br /&gt;
* teiCorpus&lt;br /&gt;
* teiHeader&lt;br /&gt;
 term {display:inline;}&lt;br /&gt;
* terrain&lt;br /&gt;
* text&lt;br /&gt;
* textClass&lt;br /&gt;
* textDesc&lt;br /&gt;
* textLang&lt;br /&gt;
* then&lt;br /&gt;
* time&lt;br /&gt;
* timeline&lt;br /&gt;
* title&lt;br /&gt;
* titlePage&lt;br /&gt;
* titlePart&lt;br /&gt;
* titleStmt&lt;br /&gt;
* tns&lt;br /&gt;
* trailer&lt;br /&gt;
* trait&lt;br /&gt;
* tree&lt;br /&gt;
* triangle&lt;br /&gt;
* typeDesc&lt;br /&gt;
* typeNote&lt;br /&gt;
&lt;br /&gt;
==u==&lt;br /&gt;
&lt;br /&gt;
* u (speech module: XSL has not yet covered)&lt;br /&gt;
 unclear {display:inline;}&lt;br /&gt;
* unicodeName&lt;br /&gt;
* usg&lt;br /&gt;
&lt;br /&gt;
==v==&lt;br /&gt;
&lt;br /&gt;
* vAlt&lt;br /&gt;
* vColl&lt;br /&gt;
* vDefault&lt;br /&gt;
* vLabel&lt;br /&gt;
* vMerge&lt;br /&gt;
* vNot&lt;br /&gt;
* vRange&lt;br /&gt;
* val&lt;br /&gt;
* valDesc&lt;br /&gt;
* valItem&lt;br /&gt;
* valList&lt;br /&gt;
* value&lt;br /&gt;
* variantEncoding&lt;br /&gt;
 view {display:inline; font-style: italic;}&lt;br /&gt;
* vocal (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==w==&lt;br /&gt;
&lt;br /&gt;
* w&lt;br /&gt;
* watermark&lt;br /&gt;
* when&lt;br /&gt;
* width&lt;br /&gt;
* wit&lt;br /&gt;
* witDetail&lt;br /&gt;
* witEnd&lt;br /&gt;
* witStart&lt;br /&gt;
* witness&lt;br /&gt;
* writing (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==x==&lt;br /&gt;
&lt;br /&gt;
* xr&lt;br /&gt;
&lt;br /&gt;
==y==&lt;br /&gt;
&lt;br /&gt;
(none)&lt;br /&gt;
&lt;br /&gt;
==z==&lt;br /&gt;
z&lt;br /&gt;
&lt;br /&gt;
* zone&lt;br /&gt;
&lt;br /&gt;
==References used==&lt;br /&gt;
* http://math.ut.ee/~kaarel/NLP/TEI/visualization/ (on rationales)&lt;br /&gt;
&lt;br /&gt;
[[Category:CSS]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7896</id>
		<title>Comprehensive CSS Stylesheet</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7896"/>
		<updated>2010-07-12T08:54:32Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: expan/abbr comments&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following is an attempt to gradually build CSS for each TEI element, paralleling the default TEI stylesheets (while also potentially serving as a kind of discussion center for how the stylesheets ought to operate (see [[Formatting TEI documents]] on how there is a need for this despite TEI being agnostic as to output formatting), at least for issues pertaining solely to formatting as opposed to semantics), by indicating here necessary deviations from the XHTML stylesheets (due to CSS constraints) or potentially desirable alternatives, etc.).&lt;br /&gt;
&lt;br /&gt;
Advantages of CSS over XSL might include:&lt;br /&gt;
# Simpler for maintenance/alteration (though CSS can still be combined with simpler XSL as needed)&lt;br /&gt;
# Downloading (and parsing?) is faster&lt;br /&gt;
# Wider browser support (and for browser caching?)&lt;br /&gt;
# Allows DOM and other manipulation directly on semantically-named TEI elements (though admittedly, use of frameworks like jQuery may make traversal of X/HTML as easy or easier)&lt;br /&gt;
# TEI could potentially be used as is in HTML (though empty self-closing elements will not be treated properly unless changed to &amp;lt;elem&amp;gt;&amp;lt;/elem&amp;gt; form and namespaces will not be present) in addition to true XHTML.&lt;br /&gt;
&lt;br /&gt;
Disadvantages:&lt;br /&gt;
# Does not allow for certain kinds of transformations (though again, CSS can be combined with a simple XSL stylesheet which preserves TEI except in cases where needed)&lt;br /&gt;
# Is cumbersome for certain variable structures (e.g., for values varying by integer but not including the integer (e.g., space.extent =&amp;gt; number of spaces) a separate rule must be created for each possible attribute value)&lt;br /&gt;
# (Another disadvantage of CSS in general is being unable to create certain kinds of output such as form controls, but in the case of TEI, we hardly need this.)&lt;br /&gt;
&lt;br /&gt;
Per CSS Namespaces, one can use either&lt;br /&gt;
 @namespace &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 @namespace tei &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
...but we will use the former since we will presume the stylesheet will be primarily (if not exclusively) for TEI.&lt;br /&gt;
&lt;br /&gt;
We will not be able to make equivalents for XSLT templates like rendToClass (e.g., ab) or applyRend (emph), applyRendition (emph) since we cannot (nor do we need to) add an id or class (though @rend or @rendition would be useful to utilize, there is no &amp;quot;eval()&amp;quot;-like code in CSS; however, we could test against predefined values like &amp;quot;bold&amp;quot; (maybe as a global * or at least the elements using these in the stylesheets (emph, hi, ...))).&lt;br /&gt;
&lt;br /&gt;
All fields below should be complete for an element, or otherwise noted that it is incomplete, so that it can otherwise be assumed that the CSS has been completely applied as far as possible (besides rend/rendition which may later be done globally for all elements, as these are indeed globals).&lt;br /&gt;
&lt;br /&gt;
==a==&lt;br /&gt;
 ab {display:block;}&lt;br /&gt;
 choice &amp;gt; expan + abbr:before {content:&amp;quot;(&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
 choice &amp;gt; expan + abbr:after {content:&amp;quot;)&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
* accMat&lt;br /&gt;
* acquisition&lt;br /&gt;
* activity&lt;br /&gt;
 actor {display:inline; font-style: italic;}&lt;br /&gt;
* add&lt;br /&gt;
* addName&lt;br /&gt;
* addSpan&lt;br /&gt;
* additional&lt;br /&gt;
* additions&lt;br /&gt;
 addrLine {display:block;}&lt;br /&gt;
 address {display:block; /* font-style:italic; If wish to appear as HTML addresses are rendered by default, at least in Firefox */}&lt;br /&gt;
* adminInfo&lt;br /&gt;
* affiliation&lt;br /&gt;
* age&lt;br /&gt;
* alt&lt;br /&gt;
* altGrp&lt;br /&gt;
* altIdent&lt;br /&gt;
* altIdentifier&lt;br /&gt;
* am&lt;br /&gt;
* analytic&lt;br /&gt;
* anchor&lt;br /&gt;
* app&lt;br /&gt;
* appInfo&lt;br /&gt;
* application&lt;br /&gt;
* arc&lt;br /&gt;
* argument&lt;br /&gt;
 att {display:inline; font-weight:bold;} att:before {content:&amp;quot;@&amp;quot;}&lt;br /&gt;
* attDef&lt;br /&gt;
* attList&lt;br /&gt;
* attRef&lt;br /&gt;
* author&lt;br /&gt;
* authority&lt;br /&gt;
* availability&lt;br /&gt;
&lt;br /&gt;
==b==&lt;br /&gt;
&lt;br /&gt;
* back&lt;br /&gt;
* bibl&lt;br /&gt;
* biblFull&lt;br /&gt;
* biblScope&lt;br /&gt;
* biblStruct&lt;br /&gt;
* bicond&lt;br /&gt;
* binary&lt;br /&gt;
* binaryObject&lt;br /&gt;
* binding&lt;br /&gt;
* bindingDesc&lt;br /&gt;
* birth&lt;br /&gt;
* bloc&lt;br /&gt;
* body&lt;br /&gt;
* broadcast&lt;br /&gt;
 byline {display:block;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==c==&lt;br /&gt;
&lt;br /&gt;
* c&lt;br /&gt;
* cRefPattern&lt;br /&gt;
 caesura:before {display:inline; content:&amp;quot;\a0\a0\a0\a0&amp;quot;; /* could be :after too */}&lt;br /&gt;
 camera {display:inline; font-style: italic;}&lt;br /&gt;
 caption {display:inline; font-style: italic;}&lt;br /&gt;
* case&lt;br /&gt;
* castGroup&lt;br /&gt;
* castItem&lt;br /&gt;
 castList {} /* Note: has additional rules: */&lt;br /&gt;
 castList {display:block;} /* applies whether children are head or not */&lt;br /&gt;
 /* Note: for this to mirror the XSL exactly, head would always need to be preceding other elements as a direct child castList */&lt;br /&gt;
 castList &amp;gt; head {display:inline; font-style:italic;}&lt;br /&gt;
 castList &amp;gt; *:not(head) {margin-left: 40px;} /* If children of castList needed their own indents, then it should be relative to this (if possible) */&lt;br /&gt;
&lt;br /&gt;
* catDesc (Only defined in XSL conditionally if using catRef)&lt;br /&gt;
 catRef {} /* Note: has additional rules: */&lt;br /&gt;
 catRef + catRef:before {'\A'} /* Add line break if preceded by another catRef */&lt;br /&gt;
 catRef:after {content:attr(scheme); display:inline; font-style:italic;} /* Add scheme in italics */&lt;br /&gt;
 /* &lt;br /&gt;
 Commenting out as XPath not currently supported in CSS as needed by third 'after'&lt;br /&gt;
 catRef:after(2) {content:':'}*//* Requires CSS3 to add such additional 'after' content? (Firefox allows content: '123'attr(class)'456' at least); See http://www.w3.org/TR/css3-content/#nesting or http://www.w3.org/TR/css3-content/#inserting0 */&lt;br /&gt;
 /* &lt;br /&gt;
 catRef:after(3) {content: &amp;lt;not possible to reference target's catDesc unless XPath gets added to CSS&amp;gt;} */&lt;br /&gt;
* catchwords&lt;br /&gt;
* category&lt;br /&gt;
* cb&lt;br /&gt;
* cell&lt;br /&gt;
* certainty&lt;br /&gt;
* change&lt;br /&gt;
* channel&lt;br /&gt;
* char&lt;br /&gt;
* charDecl&lt;br /&gt;
* charName&lt;br /&gt;
* charProp&lt;br /&gt;
* choice&lt;br /&gt;
* cit&lt;br /&gt;
* cl&lt;br /&gt;
* classCode (XSL has not yet covered (from header module))&lt;br /&gt;
* classDecl&lt;br /&gt;
* classSpec&lt;br /&gt;
* classes&lt;br /&gt;
* climate&lt;br /&gt;
* closer&lt;br /&gt;
 code {display:inline; font-family:monospace;}&lt;br /&gt;
* collation&lt;br /&gt;
* collection&lt;br /&gt;
* colloc&lt;br /&gt;
* colophon&lt;br /&gt;
* cond&lt;br /&gt;
* condition&lt;br /&gt;
* constitution&lt;br /&gt;
* constraint&lt;br /&gt;
* constraintSpec&lt;br /&gt;
* content&lt;br /&gt;
* corr&lt;br /&gt;
* correction&lt;br /&gt;
* country&lt;br /&gt;
* creation&lt;br /&gt;
* custEvent&lt;br /&gt;
* custodialHist&lt;br /&gt;
&lt;br /&gt;
==d==&lt;br /&gt;
&lt;br /&gt;
* damage&lt;br /&gt;
* damageSpan&lt;br /&gt;
* datatype&lt;br /&gt;
* date&lt;br /&gt;
* dateline&lt;br /&gt;
* death&lt;br /&gt;
* decoDesc&lt;br /&gt;
* decoNote&lt;br /&gt;
* def&lt;br /&gt;
* default&lt;br /&gt;
* defaultVal&lt;br /&gt;
 del {display:inline; text-decoration: line-through;}&lt;br /&gt;
* delSpan&lt;br /&gt;
* depth&lt;br /&gt;
* derivation&lt;br /&gt;
* desc&lt;br /&gt;
* dictScrap&lt;br /&gt;
* dim&lt;br /&gt;
* dimensions&lt;br /&gt;
* distinct&lt;br /&gt;
* distributor&lt;br /&gt;
* district&lt;br /&gt;
* div&lt;br /&gt;
* div1&lt;br /&gt;
* div2&lt;br /&gt;
* div3&lt;br /&gt;
* div4&lt;br /&gt;
* div5&lt;br /&gt;
* div6&lt;br /&gt;
* div7&lt;br /&gt;
* divGen&lt;br /&gt;
* docAuthor&lt;br /&gt;
* docDate&lt;br /&gt;
* docEdition&lt;br /&gt;
* docImprint&lt;br /&gt;
* docTitle&lt;br /&gt;
* domain&lt;br /&gt;
&lt;br /&gt;
==e==&lt;br /&gt;
&lt;br /&gt;
* eLeaf&lt;br /&gt;
* eTree&lt;br /&gt;
* edition&lt;br /&gt;
* editionStmt&lt;br /&gt;
* editor&lt;br /&gt;
* editorialDecl&lt;br /&gt;
* education&lt;br /&gt;
* eg&lt;br /&gt;
* egXML&lt;br /&gt;
* elementSpec&lt;br /&gt;
* email&lt;br /&gt;
 emph {display:inline; font-style:italic;}&lt;br /&gt;
* encodingDesc&lt;br /&gt;
* entry&lt;br /&gt;
* entryFree&lt;br /&gt;
 epigraph {display:block;}&lt;br /&gt;
* epilogue&lt;br /&gt;
* equipment&lt;br /&gt;
* equiv&lt;br /&gt;
* etym&lt;br /&gt;
* event&lt;br /&gt;
* ex&lt;br /&gt;
* exemplum&lt;br /&gt;
 choice &amp;gt; expan + abbr:before {content:&amp;quot;(&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
 choice &amp;gt; expan + abbr:after {content:&amp;quot;)&amp;quot;} /* Assumes inside choice and expan before abbr */&lt;br /&gt;
* explicit&lt;br /&gt;
* extent&lt;br /&gt;
&lt;br /&gt;
==f==&lt;br /&gt;
&lt;br /&gt;
* f&lt;br /&gt;
* fDecl&lt;br /&gt;
* fDescr&lt;br /&gt;
* fLib&lt;br /&gt;
* facsimile&lt;br /&gt;
* factuality&lt;br /&gt;
* faith&lt;br /&gt;
* figDesc&lt;br /&gt;
* figure&lt;br /&gt;
* fileDesc&lt;br /&gt;
* filiation&lt;br /&gt;
* finalRubric&lt;br /&gt;
* floatingText&lt;br /&gt;
* floruit&lt;br /&gt;
* foliation&lt;br /&gt;
 foreign {display:inline;}&lt;br /&gt;
* forename&lt;br /&gt;
* forest&lt;br /&gt;
* forestGrp&lt;br /&gt;
* form&lt;br /&gt;
* formula&lt;br /&gt;
* front&lt;br /&gt;
* fs&lt;br /&gt;
* fsConstraints&lt;br /&gt;
* fsDecl&lt;br /&gt;
* fsDescr&lt;br /&gt;
* fsdDecl&lt;br /&gt;
* fsdLink&lt;br /&gt;
* funder&lt;br /&gt;
* fvLib&lt;br /&gt;
* fw&lt;br /&gt;
&lt;br /&gt;
==g==&lt;br /&gt;
&lt;br /&gt;
* g&lt;br /&gt;
* gap&lt;br /&gt;
* gen&lt;br /&gt;
 genName {display:inline;}&lt;br /&gt;
* geo&lt;br /&gt;
* geoDecl&lt;br /&gt;
* geogFeat&lt;br /&gt;
 geogName {display:inline;}&lt;br /&gt;
 gi:before {display:inline;content:&amp;quot;&amp;lt;&amp;quot;}  gi:after {display:inline;content:&amp;quot;&amp;gt;&amp;quot;}&lt;br /&gt;
 gloss {display:inline;}&lt;br /&gt;
* glyph&lt;br /&gt;
* glyphName&lt;br /&gt;
* gram&lt;br /&gt;
* gramGrp&lt;br /&gt;
* graph&lt;br /&gt;
* graphic&lt;br /&gt;
* group&lt;br /&gt;
&lt;br /&gt;
==h==&lt;br /&gt;
&lt;br /&gt;
* handDesc&lt;br /&gt;
* handNote&lt;br /&gt;
* handNotes&lt;br /&gt;
* handShift&lt;br /&gt;
* head&lt;br /&gt;
* headItem&lt;br /&gt;
* headLabel&lt;br /&gt;
* height&lt;br /&gt;
* heraldry&lt;br /&gt;
 hi {display:inline; font-weight:bold;}&lt;br /&gt;
* history&lt;br /&gt;
* hom&lt;br /&gt;
* hyph&lt;br /&gt;
* hyphenation&lt;br /&gt;
&lt;br /&gt;
==i==&lt;br /&gt;
&lt;br /&gt;
* iNode&lt;br /&gt;
* iType&lt;br /&gt;
 ident[type] {display:inline; font-weight:bold;} ident:not([type]) {display:inline; } /* Just as the stylesheet allows for different types; a specific type could be styled by ident[type=&amp;quot;XXX&amp;quot;] */&lt;br /&gt;
* idno&lt;br /&gt;
* if&lt;br /&gt;
* iff&lt;br /&gt;
* imprimatur&lt;br /&gt;
* imprint&lt;br /&gt;
* incident (speech module: XSL has not yet covered)&lt;br /&gt;
* incipit&lt;br /&gt;
* index&lt;br /&gt;
* institution&lt;br /&gt;
* interaction&lt;br /&gt;
* interp&lt;br /&gt;
* interpGrp&lt;br /&gt;
* interpretation&lt;br /&gt;
* item&lt;br /&gt;
&lt;br /&gt;
==j==&lt;br /&gt;
&lt;br /&gt;
* join&lt;br /&gt;
* joinGrp&lt;br /&gt;
&lt;br /&gt;
==k==&lt;br /&gt;
&lt;br /&gt;
* keywords (XSL has not yet covered (from header module))&lt;br /&gt;
* kinesic (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==l==&lt;br /&gt;
&lt;br /&gt;
 l {display:block;}&lt;br /&gt;
 label {display:inline;}&lt;br /&gt;
* lacunaEnd&lt;br /&gt;
* lacunaStart&lt;br /&gt;
* lang&lt;br /&gt;
* langKnowledge&lt;br /&gt;
* langKnown&lt;br /&gt;
* langUsage&lt;br /&gt;
* language&lt;br /&gt;
* layout&lt;br /&gt;
* layoutDesc&lt;br /&gt;
 lb {display:block;}&lt;br /&gt;
* lbl&lt;br /&gt;
* leaf&lt;br /&gt;
* lem&lt;br /&gt;
 lg {display:block;}&lt;br /&gt;
* link&lt;br /&gt;
* linkGrp&lt;br /&gt;
* list&lt;br /&gt;
* listBibl&lt;br /&gt;
* listEvent&lt;br /&gt;
* listNym&lt;br /&gt;
* listOrg&lt;br /&gt;
* listPerson&lt;br /&gt;
* listPlace&lt;br /&gt;
* listRef&lt;br /&gt;
* listWit&lt;br /&gt;
* localName&lt;br /&gt;
* locale&lt;br /&gt;
* location&lt;br /&gt;
* locus&lt;br /&gt;
* locusGrp&lt;br /&gt;
&lt;br /&gt;
==m==&lt;br /&gt;
&lt;br /&gt;
* m&lt;br /&gt;
* macroSpec&lt;br /&gt;
* mapping&lt;br /&gt;
* material&lt;br /&gt;
* measure&lt;br /&gt;
* measureGrp&lt;br /&gt;
* meeting&lt;br /&gt;
* memberOf&lt;br /&gt;
 mentioned {display:inline;}&lt;br /&gt;
* metDecl&lt;br /&gt;
* metSym&lt;br /&gt;
* milestone&lt;br /&gt;
* moduleRef&lt;br /&gt;
* moduleSpec&lt;br /&gt;
* monogr&lt;br /&gt;
* mood&lt;br /&gt;
* move&lt;br /&gt;
* msContents&lt;br /&gt;
* msDesc&lt;br /&gt;
* msIdentifier&lt;br /&gt;
* msItem&lt;br /&gt;
* msItemStruct&lt;br /&gt;
* msName&lt;br /&gt;
* msPart&lt;br /&gt;
* musicNotation&lt;br /&gt;
&lt;br /&gt;
==n==&lt;br /&gt;
&lt;br /&gt;
 name {display:inline;}&lt;br /&gt;
* nameLink&lt;br /&gt;
* namespace&lt;br /&gt;
* nationality&lt;br /&gt;
* node&lt;br /&gt;
* normalization&lt;br /&gt;
* note&lt;br /&gt;
* notesStmt&lt;br /&gt;
* num&lt;br /&gt;
* number&lt;br /&gt;
* numeric&lt;br /&gt;
* nym&lt;br /&gt;
&lt;br /&gt;
==o==&lt;br /&gt;
&lt;br /&gt;
* oRef&lt;br /&gt;
* oVar&lt;br /&gt;
* objectDesc&lt;br /&gt;
* occupation&lt;br /&gt;
* offset&lt;br /&gt;
* opener&lt;br /&gt;
* org&lt;br /&gt;
* orgName&lt;br /&gt;
* orig&lt;br /&gt;
* origDate&lt;br /&gt;
* origPlace&lt;br /&gt;
* origin&lt;br /&gt;
* orth&lt;br /&gt;
&lt;br /&gt;
==p==&lt;br /&gt;
&lt;br /&gt;
* p&lt;br /&gt;
* pRef&lt;br /&gt;
* pVar&lt;br /&gt;
* particDesc&lt;br /&gt;
* pause (speech module: XSL has not yet covered)&lt;br /&gt;
* pb&lt;br /&gt;
* pc&lt;br /&gt;
* per&lt;br /&gt;
* performance&lt;br /&gt;
 persName {display:inline;}&lt;br /&gt;
* person&lt;br /&gt;
* personGrp&lt;br /&gt;
* phr&lt;br /&gt;
* physDesc&lt;br /&gt;
* place&lt;br /&gt;
 placeName {display:inline;}&lt;br /&gt;
* population&lt;br /&gt;
* pos&lt;br /&gt;
* postBox&lt;br /&gt;
* postCode&lt;br /&gt;
* postscript&lt;br /&gt;
* precision&lt;br /&gt;
* preparedness&lt;br /&gt;
* principal&lt;br /&gt;
* profileDesc&lt;br /&gt;
* projectDesc&lt;br /&gt;
* prologue&lt;br /&gt;
* pron&lt;br /&gt;
* provenance&lt;br /&gt;
* ptr&lt;br /&gt;
* pubPlace&lt;br /&gt;
* publicationStmt&lt;br /&gt;
* publisher&lt;br /&gt;
* purpose&lt;br /&gt;
&lt;br /&gt;
==q==&lt;br /&gt;
&lt;br /&gt;
* q&lt;br /&gt;
* quotation&lt;br /&gt;
* quote&lt;br /&gt;
&lt;br /&gt;
==r==&lt;br /&gt;
&lt;br /&gt;
* rdg&lt;br /&gt;
* rdgGrp&lt;br /&gt;
* re&lt;br /&gt;
* recordHist&lt;br /&gt;
* recording&lt;br /&gt;
* recordingStmt&lt;br /&gt;
* ref&lt;br /&gt;
* refState&lt;br /&gt;
* refsDecl&lt;br /&gt;
* reg&lt;br /&gt;
* region&lt;br /&gt;
* relatedItem&lt;br /&gt;
* relation&lt;br /&gt;
* relationGrp&lt;br /&gt;
* remarks&lt;br /&gt;
* rendition&lt;br /&gt;
* repository&lt;br /&gt;
* residence&lt;br /&gt;
 resp:after {content:&amp;quot; &amp;quot;;}&lt;br /&gt;
 respStmt {display:inline;}&lt;br /&gt;
* respons&lt;br /&gt;
* restore&lt;br /&gt;
* revisionDesc&lt;br /&gt;
* rhyme&lt;br /&gt;
 role {display:inline; font-style: italic;}&lt;br /&gt;
 roleDesc { margin-left: 40px; margin-right: 40px; } roleDesc &amp;gt; *:not(p) {display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
 roleName {display:inline;}&lt;br /&gt;
* root&lt;br /&gt;
* row&lt;br /&gt;
* rs&lt;br /&gt;
* rubric&lt;br /&gt;
&lt;br /&gt;
==s==&lt;br /&gt;
&lt;br /&gt;
* s&lt;br /&gt;
* said&lt;br /&gt;
 salute {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* samplingDecl&lt;br /&gt;
* schemaSpec&lt;br /&gt;
* scriptStmt&lt;br /&gt;
* seal&lt;br /&gt;
* sealDesc&lt;br /&gt;
* secFol&lt;br /&gt;
 seg {display:inline;}&lt;br /&gt;
* segmentation&lt;br /&gt;
* sense&lt;br /&gt;
* series&lt;br /&gt;
* seriesStmt&lt;br /&gt;
 set {display:inline; font-style: italic;}&lt;br /&gt;
* setting&lt;br /&gt;
* settingDesc&lt;br /&gt;
* settlement&lt;br /&gt;
* se x (XSL has not yet covered (namesdates module)) /* space-separated for spam filter! */&lt;br /&gt;
* shift (speech module: XSL has not yet covered)&lt;br /&gt;
 sic {display:inline;} sic:after {content: &amp;quot; (sic)&amp;quot;}&lt;br /&gt;
* signatures&lt;br /&gt;
 signed {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
 soCalled:before {content:'‘'} soCalled {display:inline;} soCalled:after {content:'’'} /* Quote style is parameterized in XSL; note: content can also accept 'open-quote' and 'close-quote', but the default is as already included in the rule */&lt;br /&gt;
* socecStatus&lt;br /&gt;
 sound {display:inline; font-style: italic;}&lt;br /&gt;
* source&lt;br /&gt;
* sourceDesc&lt;br /&gt;
* sp&lt;br /&gt;
* space&lt;br /&gt;
* span&lt;br /&gt;
* spanGrp&lt;br /&gt;
* speaker&lt;br /&gt;
* specDesc&lt;br /&gt;
* specGrp&lt;br /&gt;
* specGrpRef&lt;br /&gt;
* specList&lt;br /&gt;
* sponsor&lt;br /&gt;
 stage {font-style: italic; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* stamp&lt;br /&gt;
* state&lt;br /&gt;
* stdVals&lt;br /&gt;
* street&lt;br /&gt;
* stress&lt;br /&gt;
* string&lt;br /&gt;
* stringVal&lt;br /&gt;
* subc&lt;br /&gt;
* subst&lt;br /&gt;
* summary&lt;br /&gt;
* superEntry&lt;br /&gt;
* supplied&lt;br /&gt;
* support&lt;br /&gt;
* supportDesc&lt;br /&gt;
* surface&lt;br /&gt;
* surname&lt;br /&gt;
* surplus&lt;br /&gt;
* surrogates&lt;br /&gt;
* syll&lt;br /&gt;
* symbol&lt;br /&gt;
&lt;br /&gt;
==t==&lt;br /&gt;
&lt;br /&gt;
* TEI&lt;br /&gt;
* table&lt;br /&gt;
* tag&lt;br /&gt;
* tagUsage&lt;br /&gt;
* tagsDecl&lt;br /&gt;
* taxonomy&lt;br /&gt;
 tech {display:inline; font-style: italic;}&lt;br /&gt;
* teiCorpus&lt;br /&gt;
* teiHeader&lt;br /&gt;
 term {display:inline;}&lt;br /&gt;
* terrain&lt;br /&gt;
* text&lt;br /&gt;
* textClass&lt;br /&gt;
* textDesc&lt;br /&gt;
* textLang&lt;br /&gt;
* then&lt;br /&gt;
* time&lt;br /&gt;
* timeline&lt;br /&gt;
* title&lt;br /&gt;
* titlePage&lt;br /&gt;
* titlePart&lt;br /&gt;
* titleStmt&lt;br /&gt;
* tns&lt;br /&gt;
* trailer&lt;br /&gt;
* trait&lt;br /&gt;
* tree&lt;br /&gt;
* triangle&lt;br /&gt;
* typeDesc&lt;br /&gt;
* typeNote&lt;br /&gt;
&lt;br /&gt;
==u==&lt;br /&gt;
&lt;br /&gt;
* u (speech module: XSL has not yet covered)&lt;br /&gt;
 unclear {display:inline;}&lt;br /&gt;
* unicodeName&lt;br /&gt;
* usg&lt;br /&gt;
&lt;br /&gt;
==v==&lt;br /&gt;
&lt;br /&gt;
* vAlt&lt;br /&gt;
* vColl&lt;br /&gt;
* vDefault&lt;br /&gt;
* vLabel&lt;br /&gt;
* vMerge&lt;br /&gt;
* vNot&lt;br /&gt;
* vRange&lt;br /&gt;
* val&lt;br /&gt;
* valDesc&lt;br /&gt;
* valItem&lt;br /&gt;
* valList&lt;br /&gt;
* value&lt;br /&gt;
* variantEncoding&lt;br /&gt;
 view {display:inline; font-style: italic;}&lt;br /&gt;
* vocal (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==w==&lt;br /&gt;
&lt;br /&gt;
* w&lt;br /&gt;
* watermark&lt;br /&gt;
* when&lt;br /&gt;
* width&lt;br /&gt;
* wit&lt;br /&gt;
* witDetail&lt;br /&gt;
* witEnd&lt;br /&gt;
* witStart&lt;br /&gt;
* witness&lt;br /&gt;
* writing (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==x==&lt;br /&gt;
&lt;br /&gt;
* xr&lt;br /&gt;
&lt;br /&gt;
==y==&lt;br /&gt;
&lt;br /&gt;
(none)&lt;br /&gt;
&lt;br /&gt;
==z==&lt;br /&gt;
z&lt;br /&gt;
&lt;br /&gt;
* zone&lt;br /&gt;
&lt;br /&gt;
==References used==&lt;br /&gt;
* http://math.ut.ee/~kaarel/NLP/TEI/visualization/ (on rationales)&lt;br /&gt;
&lt;br /&gt;
[[Category:CSS]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7895</id>
		<title>Comprehensive CSS Stylesheet</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7895"/>
		<updated>2010-07-12T08:52:39Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: abbr+expan&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following is an attempt to gradually build CSS for each TEI element, paralleling the default TEI stylesheets (while also potentially serving as a kind of discussion center for how the stylesheets ought to operate (see [[Formatting TEI documents]] on how there is a need for this despite TEI being agnostic as to output formatting), at least for issues pertaining solely to formatting as opposed to semantics), by indicating here necessary deviations from the XHTML stylesheets (due to CSS constraints) or potentially desirable alternatives, etc.).&lt;br /&gt;
&lt;br /&gt;
Advantages of CSS over XSL might include:&lt;br /&gt;
# Simpler for maintenance/alteration (though CSS can still be combined with simpler XSL as needed)&lt;br /&gt;
# Downloading (and parsing?) is faster&lt;br /&gt;
# Wider browser support (and for browser caching?)&lt;br /&gt;
# Allows DOM and other manipulation directly on semantically-named TEI elements (though admittedly, use of frameworks like jQuery may make traversal of X/HTML as easy or easier)&lt;br /&gt;
# TEI could potentially be used as is in HTML (though empty self-closing elements will not be treated properly unless changed to &amp;lt;elem&amp;gt;&amp;lt;/elem&amp;gt; form and namespaces will not be present) in addition to true XHTML.&lt;br /&gt;
&lt;br /&gt;
Disadvantages:&lt;br /&gt;
# Does not allow for certain kinds of transformations (though again, CSS can be combined with a simple XSL stylesheet which preserves TEI except in cases where needed)&lt;br /&gt;
# Is cumbersome for certain variable structures (e.g., for values varying by integer but not including the integer (e.g., space.extent =&amp;gt; number of spaces) a separate rule must be created for each possible attribute value)&lt;br /&gt;
# (Another disadvantage of CSS in general is being unable to create certain kinds of output such as form controls, but in the case of TEI, we hardly need this.)&lt;br /&gt;
&lt;br /&gt;
Per CSS Namespaces, one can use either&lt;br /&gt;
 @namespace &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 @namespace tei &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
...but we will use the former since we will presume the stylesheet will be primarily (if not exclusively) for TEI.&lt;br /&gt;
&lt;br /&gt;
We will not be able to make equivalents for XSLT templates like rendToClass (e.g., ab) or applyRend (emph), applyRendition (emph) since we cannot (nor do we need to) add an id or class (though @rend or @rendition would be useful to utilize, there is no &amp;quot;eval()&amp;quot;-like code in CSS; however, we could test against predefined values like &amp;quot;bold&amp;quot; (maybe as a global * or at least the elements using these in the stylesheets (emph, hi, ...))).&lt;br /&gt;
&lt;br /&gt;
All fields below should be complete for an element, or otherwise noted that it is incomplete, so that it can otherwise be assumed that the CSS has been completely applied as far as possible (besides rend/rendition which may later be done globally for all elements, as these are indeed globals).&lt;br /&gt;
&lt;br /&gt;
==a==&lt;br /&gt;
 ab {display:block;}&lt;br /&gt;
 choice &amp;gt; expan + abbr:before {content:&amp;quot;(&amp;quot;}&lt;br /&gt;
 choice &amp;gt; expan + abbr:after {content:&amp;quot;)&amp;quot;}&lt;br /&gt;
* accMat&lt;br /&gt;
* acquisition&lt;br /&gt;
* activity&lt;br /&gt;
 actor {display:inline; font-style: italic;}&lt;br /&gt;
* add&lt;br /&gt;
* addName&lt;br /&gt;
* addSpan&lt;br /&gt;
* additional&lt;br /&gt;
* additions&lt;br /&gt;
 addrLine {display:block;}&lt;br /&gt;
 address {display:block; /* font-style:italic; If wish to appear as HTML addresses are rendered by default, at least in Firefox */}&lt;br /&gt;
* adminInfo&lt;br /&gt;
* affiliation&lt;br /&gt;
* age&lt;br /&gt;
* alt&lt;br /&gt;
* altGrp&lt;br /&gt;
* altIdent&lt;br /&gt;
* altIdentifier&lt;br /&gt;
* am&lt;br /&gt;
* analytic&lt;br /&gt;
* anchor&lt;br /&gt;
* app&lt;br /&gt;
* appInfo&lt;br /&gt;
* application&lt;br /&gt;
* arc&lt;br /&gt;
* argument&lt;br /&gt;
 att {display:inline; font-weight:bold;} att:before {content:&amp;quot;@&amp;quot;}&lt;br /&gt;
* attDef&lt;br /&gt;
* attList&lt;br /&gt;
* attRef&lt;br /&gt;
* author&lt;br /&gt;
* authority&lt;br /&gt;
* availability&lt;br /&gt;
&lt;br /&gt;
==b==&lt;br /&gt;
&lt;br /&gt;
* back&lt;br /&gt;
* bibl&lt;br /&gt;
* biblFull&lt;br /&gt;
* biblScope&lt;br /&gt;
* biblStruct&lt;br /&gt;
* bicond&lt;br /&gt;
* binary&lt;br /&gt;
* binaryObject&lt;br /&gt;
* binding&lt;br /&gt;
* bindingDesc&lt;br /&gt;
* birth&lt;br /&gt;
* bloc&lt;br /&gt;
* body&lt;br /&gt;
* broadcast&lt;br /&gt;
 byline {display:block;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==c==&lt;br /&gt;
&lt;br /&gt;
* c&lt;br /&gt;
* cRefPattern&lt;br /&gt;
 caesura:before {display:inline; content:&amp;quot;\a0\a0\a0\a0&amp;quot;; /* could be :after too */}&lt;br /&gt;
 camera {display:inline; font-style: italic;}&lt;br /&gt;
 caption {display:inline; font-style: italic;}&lt;br /&gt;
* case&lt;br /&gt;
* castGroup&lt;br /&gt;
* castItem&lt;br /&gt;
 castList {} /* Note: has additional rules: */&lt;br /&gt;
 castList {display:block;} /* applies whether children are head or not */&lt;br /&gt;
 /* Note: for this to mirror the XSL exactly, head would always need to be preceding other elements as a direct child castList */&lt;br /&gt;
 castList &amp;gt; head {display:inline; font-style:italic;}&lt;br /&gt;
 castList &amp;gt; *:not(head) {margin-left: 40px;} /* If children of castList needed their own indents, then it should be relative to this (if possible) */&lt;br /&gt;
&lt;br /&gt;
* catDesc (Only defined in XSL conditionally if using catRef)&lt;br /&gt;
 catRef {} /* Note: has additional rules: */&lt;br /&gt;
 catRef + catRef:before {'\A'} /* Add line break if preceded by another catRef */&lt;br /&gt;
 catRef:after {content:attr(scheme); display:inline; font-style:italic;} /* Add scheme in italics */&lt;br /&gt;
 /* &lt;br /&gt;
 Commenting out as XPath not currently supported in CSS as needed by third 'after'&lt;br /&gt;
 catRef:after(2) {content:':'}*//* Requires CSS3 to add such additional 'after' content? (Firefox allows content: '123'attr(class)'456' at least); See http://www.w3.org/TR/css3-content/#nesting or http://www.w3.org/TR/css3-content/#inserting0 */&lt;br /&gt;
 /* &lt;br /&gt;
 catRef:after(3) {content: &amp;lt;not possible to reference target's catDesc unless XPath gets added to CSS&amp;gt;} */&lt;br /&gt;
* catchwords&lt;br /&gt;
* category&lt;br /&gt;
* cb&lt;br /&gt;
* cell&lt;br /&gt;
* certainty&lt;br /&gt;
* change&lt;br /&gt;
* channel&lt;br /&gt;
* char&lt;br /&gt;
* charDecl&lt;br /&gt;
* charName&lt;br /&gt;
* charProp&lt;br /&gt;
* choice&lt;br /&gt;
* cit&lt;br /&gt;
* cl&lt;br /&gt;
* classCode (XSL has not yet covered (from header module))&lt;br /&gt;
* classDecl&lt;br /&gt;
* classSpec&lt;br /&gt;
* classes&lt;br /&gt;
* climate&lt;br /&gt;
* closer&lt;br /&gt;
 code {display:inline; font-family:monospace;}&lt;br /&gt;
* collation&lt;br /&gt;
* collection&lt;br /&gt;
* colloc&lt;br /&gt;
* colophon&lt;br /&gt;
* cond&lt;br /&gt;
* condition&lt;br /&gt;
* constitution&lt;br /&gt;
* constraint&lt;br /&gt;
* constraintSpec&lt;br /&gt;
* content&lt;br /&gt;
* corr&lt;br /&gt;
* correction&lt;br /&gt;
* country&lt;br /&gt;
* creation&lt;br /&gt;
* custEvent&lt;br /&gt;
* custodialHist&lt;br /&gt;
&lt;br /&gt;
==d==&lt;br /&gt;
&lt;br /&gt;
* damage&lt;br /&gt;
* damageSpan&lt;br /&gt;
* datatype&lt;br /&gt;
* date&lt;br /&gt;
* dateline&lt;br /&gt;
* death&lt;br /&gt;
* decoDesc&lt;br /&gt;
* decoNote&lt;br /&gt;
* def&lt;br /&gt;
* default&lt;br /&gt;
* defaultVal&lt;br /&gt;
 del {display:inline; text-decoration: line-through;}&lt;br /&gt;
* delSpan&lt;br /&gt;
* depth&lt;br /&gt;
* derivation&lt;br /&gt;
* desc&lt;br /&gt;
* dictScrap&lt;br /&gt;
* dim&lt;br /&gt;
* dimensions&lt;br /&gt;
* distinct&lt;br /&gt;
* distributor&lt;br /&gt;
* district&lt;br /&gt;
* div&lt;br /&gt;
* div1&lt;br /&gt;
* div2&lt;br /&gt;
* div3&lt;br /&gt;
* div4&lt;br /&gt;
* div5&lt;br /&gt;
* div6&lt;br /&gt;
* div7&lt;br /&gt;
* divGen&lt;br /&gt;
* docAuthor&lt;br /&gt;
* docDate&lt;br /&gt;
* docEdition&lt;br /&gt;
* docImprint&lt;br /&gt;
* docTitle&lt;br /&gt;
* domain&lt;br /&gt;
&lt;br /&gt;
==e==&lt;br /&gt;
&lt;br /&gt;
* eLeaf&lt;br /&gt;
* eTree&lt;br /&gt;
* edition&lt;br /&gt;
* editionStmt&lt;br /&gt;
* editor&lt;br /&gt;
* editorialDecl&lt;br /&gt;
* education&lt;br /&gt;
* eg&lt;br /&gt;
* egXML&lt;br /&gt;
* elementSpec&lt;br /&gt;
* email&lt;br /&gt;
 emph {display:inline; font-style:italic;}&lt;br /&gt;
* encodingDesc&lt;br /&gt;
* entry&lt;br /&gt;
* entryFree&lt;br /&gt;
 epigraph {display:block;}&lt;br /&gt;
* epilogue&lt;br /&gt;
* equipment&lt;br /&gt;
* equiv&lt;br /&gt;
* etym&lt;br /&gt;
* event&lt;br /&gt;
* ex&lt;br /&gt;
* exemplum&lt;br /&gt;
 choice &amp;gt; expan + abbr:before {content:&amp;quot;(&amp;quot;}&lt;br /&gt;
 choice &amp;gt; expan + abbr:after {content:&amp;quot;)&amp;quot;}&lt;br /&gt;
* explicit&lt;br /&gt;
* extent&lt;br /&gt;
&lt;br /&gt;
==f==&lt;br /&gt;
&lt;br /&gt;
* f&lt;br /&gt;
* fDecl&lt;br /&gt;
* fDescr&lt;br /&gt;
* fLib&lt;br /&gt;
* facsimile&lt;br /&gt;
* factuality&lt;br /&gt;
* faith&lt;br /&gt;
* figDesc&lt;br /&gt;
* figure&lt;br /&gt;
* fileDesc&lt;br /&gt;
* filiation&lt;br /&gt;
* finalRubric&lt;br /&gt;
* floatingText&lt;br /&gt;
* floruit&lt;br /&gt;
* foliation&lt;br /&gt;
 foreign {display:inline;}&lt;br /&gt;
* forename&lt;br /&gt;
* forest&lt;br /&gt;
* forestGrp&lt;br /&gt;
* form&lt;br /&gt;
* formula&lt;br /&gt;
* front&lt;br /&gt;
* fs&lt;br /&gt;
* fsConstraints&lt;br /&gt;
* fsDecl&lt;br /&gt;
* fsDescr&lt;br /&gt;
* fsdDecl&lt;br /&gt;
* fsdLink&lt;br /&gt;
* funder&lt;br /&gt;
* fvLib&lt;br /&gt;
* fw&lt;br /&gt;
&lt;br /&gt;
==g==&lt;br /&gt;
&lt;br /&gt;
* g&lt;br /&gt;
* gap&lt;br /&gt;
* gen&lt;br /&gt;
 genName {display:inline;}&lt;br /&gt;
* geo&lt;br /&gt;
* geoDecl&lt;br /&gt;
* geogFeat&lt;br /&gt;
 geogName {display:inline;}&lt;br /&gt;
 gi:before {display:inline;content:&amp;quot;&amp;lt;&amp;quot;}  gi:after {display:inline;content:&amp;quot;&amp;gt;&amp;quot;}&lt;br /&gt;
 gloss {display:inline;}&lt;br /&gt;
* glyph&lt;br /&gt;
* glyphName&lt;br /&gt;
* gram&lt;br /&gt;
* gramGrp&lt;br /&gt;
* graph&lt;br /&gt;
* graphic&lt;br /&gt;
* group&lt;br /&gt;
&lt;br /&gt;
==h==&lt;br /&gt;
&lt;br /&gt;
* handDesc&lt;br /&gt;
* handNote&lt;br /&gt;
* handNotes&lt;br /&gt;
* handShift&lt;br /&gt;
* head&lt;br /&gt;
* headItem&lt;br /&gt;
* headLabel&lt;br /&gt;
* height&lt;br /&gt;
* heraldry&lt;br /&gt;
 hi {display:inline; font-weight:bold;}&lt;br /&gt;
* history&lt;br /&gt;
* hom&lt;br /&gt;
* hyph&lt;br /&gt;
* hyphenation&lt;br /&gt;
&lt;br /&gt;
==i==&lt;br /&gt;
&lt;br /&gt;
* iNode&lt;br /&gt;
* iType&lt;br /&gt;
 ident[type] {display:inline; font-weight:bold;} ident:not([type]) {display:inline; } /* Just as the stylesheet allows for different types; a specific type could be styled by ident[type=&amp;quot;XXX&amp;quot;] */&lt;br /&gt;
* idno&lt;br /&gt;
* if&lt;br /&gt;
* iff&lt;br /&gt;
* imprimatur&lt;br /&gt;
* imprint&lt;br /&gt;
* incident (speech module: XSL has not yet covered)&lt;br /&gt;
* incipit&lt;br /&gt;
* index&lt;br /&gt;
* institution&lt;br /&gt;
* interaction&lt;br /&gt;
* interp&lt;br /&gt;
* interpGrp&lt;br /&gt;
* interpretation&lt;br /&gt;
* item&lt;br /&gt;
&lt;br /&gt;
==j==&lt;br /&gt;
&lt;br /&gt;
* join&lt;br /&gt;
* joinGrp&lt;br /&gt;
&lt;br /&gt;
==k==&lt;br /&gt;
&lt;br /&gt;
* keywords (XSL has not yet covered (from header module))&lt;br /&gt;
* kinesic (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==l==&lt;br /&gt;
&lt;br /&gt;
 l {display:block;}&lt;br /&gt;
 label {display:inline;}&lt;br /&gt;
* lacunaEnd&lt;br /&gt;
* lacunaStart&lt;br /&gt;
* lang&lt;br /&gt;
* langKnowledge&lt;br /&gt;
* langKnown&lt;br /&gt;
* langUsage&lt;br /&gt;
* language&lt;br /&gt;
* layout&lt;br /&gt;
* layoutDesc&lt;br /&gt;
 lb {display:block;}&lt;br /&gt;
* lbl&lt;br /&gt;
* leaf&lt;br /&gt;
* lem&lt;br /&gt;
 lg {display:block;}&lt;br /&gt;
* link&lt;br /&gt;
* linkGrp&lt;br /&gt;
* list&lt;br /&gt;
* listBibl&lt;br /&gt;
* listEvent&lt;br /&gt;
* listNym&lt;br /&gt;
* listOrg&lt;br /&gt;
* listPerson&lt;br /&gt;
* listPlace&lt;br /&gt;
* listRef&lt;br /&gt;
* listWit&lt;br /&gt;
* localName&lt;br /&gt;
* locale&lt;br /&gt;
* location&lt;br /&gt;
* locus&lt;br /&gt;
* locusGrp&lt;br /&gt;
&lt;br /&gt;
==m==&lt;br /&gt;
&lt;br /&gt;
* m&lt;br /&gt;
* macroSpec&lt;br /&gt;
* mapping&lt;br /&gt;
* material&lt;br /&gt;
* measure&lt;br /&gt;
* measureGrp&lt;br /&gt;
* meeting&lt;br /&gt;
* memberOf&lt;br /&gt;
 mentioned {display:inline;}&lt;br /&gt;
* metDecl&lt;br /&gt;
* metSym&lt;br /&gt;
* milestone&lt;br /&gt;
* moduleRef&lt;br /&gt;
* moduleSpec&lt;br /&gt;
* monogr&lt;br /&gt;
* mood&lt;br /&gt;
* move&lt;br /&gt;
* msContents&lt;br /&gt;
* msDesc&lt;br /&gt;
* msIdentifier&lt;br /&gt;
* msItem&lt;br /&gt;
* msItemStruct&lt;br /&gt;
* msName&lt;br /&gt;
* msPart&lt;br /&gt;
* musicNotation&lt;br /&gt;
&lt;br /&gt;
==n==&lt;br /&gt;
&lt;br /&gt;
 name {display:inline;}&lt;br /&gt;
* nameLink&lt;br /&gt;
* namespace&lt;br /&gt;
* nationality&lt;br /&gt;
* node&lt;br /&gt;
* normalization&lt;br /&gt;
* note&lt;br /&gt;
* notesStmt&lt;br /&gt;
* num&lt;br /&gt;
* number&lt;br /&gt;
* numeric&lt;br /&gt;
* nym&lt;br /&gt;
&lt;br /&gt;
==o==&lt;br /&gt;
&lt;br /&gt;
* oRef&lt;br /&gt;
* oVar&lt;br /&gt;
* objectDesc&lt;br /&gt;
* occupation&lt;br /&gt;
* offset&lt;br /&gt;
* opener&lt;br /&gt;
* org&lt;br /&gt;
* orgName&lt;br /&gt;
* orig&lt;br /&gt;
* origDate&lt;br /&gt;
* origPlace&lt;br /&gt;
* origin&lt;br /&gt;
* orth&lt;br /&gt;
&lt;br /&gt;
==p==&lt;br /&gt;
&lt;br /&gt;
* p&lt;br /&gt;
* pRef&lt;br /&gt;
* pVar&lt;br /&gt;
* particDesc&lt;br /&gt;
* pause (speech module: XSL has not yet covered)&lt;br /&gt;
* pb&lt;br /&gt;
* pc&lt;br /&gt;
* per&lt;br /&gt;
* performance&lt;br /&gt;
 persName {display:inline;}&lt;br /&gt;
* person&lt;br /&gt;
* personGrp&lt;br /&gt;
* phr&lt;br /&gt;
* physDesc&lt;br /&gt;
* place&lt;br /&gt;
 placeName {display:inline;}&lt;br /&gt;
* population&lt;br /&gt;
* pos&lt;br /&gt;
* postBox&lt;br /&gt;
* postCode&lt;br /&gt;
* postscript&lt;br /&gt;
* precision&lt;br /&gt;
* preparedness&lt;br /&gt;
* principal&lt;br /&gt;
* profileDesc&lt;br /&gt;
* projectDesc&lt;br /&gt;
* prologue&lt;br /&gt;
* pron&lt;br /&gt;
* provenance&lt;br /&gt;
* ptr&lt;br /&gt;
* pubPlace&lt;br /&gt;
* publicationStmt&lt;br /&gt;
* publisher&lt;br /&gt;
* purpose&lt;br /&gt;
&lt;br /&gt;
==q==&lt;br /&gt;
&lt;br /&gt;
* q&lt;br /&gt;
* quotation&lt;br /&gt;
* quote&lt;br /&gt;
&lt;br /&gt;
==r==&lt;br /&gt;
&lt;br /&gt;
* rdg&lt;br /&gt;
* rdgGrp&lt;br /&gt;
* re&lt;br /&gt;
* recordHist&lt;br /&gt;
* recording&lt;br /&gt;
* recordingStmt&lt;br /&gt;
* ref&lt;br /&gt;
* refState&lt;br /&gt;
* refsDecl&lt;br /&gt;
* reg&lt;br /&gt;
* region&lt;br /&gt;
* relatedItem&lt;br /&gt;
* relation&lt;br /&gt;
* relationGrp&lt;br /&gt;
* remarks&lt;br /&gt;
* rendition&lt;br /&gt;
* repository&lt;br /&gt;
* residence&lt;br /&gt;
 resp:after {content:&amp;quot; &amp;quot;;}&lt;br /&gt;
 respStmt {display:inline;}&lt;br /&gt;
* respons&lt;br /&gt;
* restore&lt;br /&gt;
* revisionDesc&lt;br /&gt;
* rhyme&lt;br /&gt;
 role {display:inline; font-style: italic;}&lt;br /&gt;
 roleDesc { margin-left: 40px; margin-right: 40px; } roleDesc &amp;gt; *:not(p) {display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
 roleName {display:inline;}&lt;br /&gt;
* root&lt;br /&gt;
* row&lt;br /&gt;
* rs&lt;br /&gt;
* rubric&lt;br /&gt;
&lt;br /&gt;
==s==&lt;br /&gt;
&lt;br /&gt;
* s&lt;br /&gt;
* said&lt;br /&gt;
 salute {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* samplingDecl&lt;br /&gt;
* schemaSpec&lt;br /&gt;
* scriptStmt&lt;br /&gt;
* seal&lt;br /&gt;
* sealDesc&lt;br /&gt;
* secFol&lt;br /&gt;
 seg {display:inline;}&lt;br /&gt;
* segmentation&lt;br /&gt;
* sense&lt;br /&gt;
* series&lt;br /&gt;
* seriesStmt&lt;br /&gt;
 set {display:inline; font-style: italic;}&lt;br /&gt;
* setting&lt;br /&gt;
* settingDesc&lt;br /&gt;
* settlement&lt;br /&gt;
* se x (XSL has not yet covered (namesdates module)) /* space-separated for spam filter! */&lt;br /&gt;
* shift (speech module: XSL has not yet covered)&lt;br /&gt;
 sic {display:inline;} sic:after {content: &amp;quot; (sic)&amp;quot;}&lt;br /&gt;
* signatures&lt;br /&gt;
 signed {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
 soCalled:before {content:'‘'} soCalled {display:inline;} soCalled:after {content:'’'} /* Quote style is parameterized in XSL; note: content can also accept 'open-quote' and 'close-quote', but the default is as already included in the rule */&lt;br /&gt;
* socecStatus&lt;br /&gt;
 sound {display:inline; font-style: italic;}&lt;br /&gt;
* source&lt;br /&gt;
* sourceDesc&lt;br /&gt;
* sp&lt;br /&gt;
* space&lt;br /&gt;
* span&lt;br /&gt;
* spanGrp&lt;br /&gt;
* speaker&lt;br /&gt;
* specDesc&lt;br /&gt;
* specGrp&lt;br /&gt;
* specGrpRef&lt;br /&gt;
* specList&lt;br /&gt;
* sponsor&lt;br /&gt;
 stage {font-style: italic; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* stamp&lt;br /&gt;
* state&lt;br /&gt;
* stdVals&lt;br /&gt;
* street&lt;br /&gt;
* stress&lt;br /&gt;
* string&lt;br /&gt;
* stringVal&lt;br /&gt;
* subc&lt;br /&gt;
* subst&lt;br /&gt;
* summary&lt;br /&gt;
* superEntry&lt;br /&gt;
* supplied&lt;br /&gt;
* support&lt;br /&gt;
* supportDesc&lt;br /&gt;
* surface&lt;br /&gt;
* surname&lt;br /&gt;
* surplus&lt;br /&gt;
* surrogates&lt;br /&gt;
* syll&lt;br /&gt;
* symbol&lt;br /&gt;
&lt;br /&gt;
==t==&lt;br /&gt;
&lt;br /&gt;
* TEI&lt;br /&gt;
* table&lt;br /&gt;
* tag&lt;br /&gt;
* tagUsage&lt;br /&gt;
* tagsDecl&lt;br /&gt;
* taxonomy&lt;br /&gt;
 tech {display:inline; font-style: italic;}&lt;br /&gt;
* teiCorpus&lt;br /&gt;
* teiHeader&lt;br /&gt;
 term {display:inline;}&lt;br /&gt;
* terrain&lt;br /&gt;
* text&lt;br /&gt;
* textClass&lt;br /&gt;
* textDesc&lt;br /&gt;
* textLang&lt;br /&gt;
* then&lt;br /&gt;
* time&lt;br /&gt;
* timeline&lt;br /&gt;
* title&lt;br /&gt;
* titlePage&lt;br /&gt;
* titlePart&lt;br /&gt;
* titleStmt&lt;br /&gt;
* tns&lt;br /&gt;
* trailer&lt;br /&gt;
* trait&lt;br /&gt;
* tree&lt;br /&gt;
* triangle&lt;br /&gt;
* typeDesc&lt;br /&gt;
* typeNote&lt;br /&gt;
&lt;br /&gt;
==u==&lt;br /&gt;
&lt;br /&gt;
* u (speech module: XSL has not yet covered)&lt;br /&gt;
 unclear {display:inline;}&lt;br /&gt;
* unicodeName&lt;br /&gt;
* usg&lt;br /&gt;
&lt;br /&gt;
==v==&lt;br /&gt;
&lt;br /&gt;
* vAlt&lt;br /&gt;
* vColl&lt;br /&gt;
* vDefault&lt;br /&gt;
* vLabel&lt;br /&gt;
* vMerge&lt;br /&gt;
* vNot&lt;br /&gt;
* vRange&lt;br /&gt;
* val&lt;br /&gt;
* valDesc&lt;br /&gt;
* valItem&lt;br /&gt;
* valList&lt;br /&gt;
* value&lt;br /&gt;
* variantEncoding&lt;br /&gt;
 view {display:inline; font-style: italic;}&lt;br /&gt;
* vocal (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==w==&lt;br /&gt;
&lt;br /&gt;
* w&lt;br /&gt;
* watermark&lt;br /&gt;
* when&lt;br /&gt;
* width&lt;br /&gt;
* wit&lt;br /&gt;
* witDetail&lt;br /&gt;
* witEnd&lt;br /&gt;
* witStart&lt;br /&gt;
* witness&lt;br /&gt;
* writing (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==x==&lt;br /&gt;
&lt;br /&gt;
* xr&lt;br /&gt;
&lt;br /&gt;
==y==&lt;br /&gt;
&lt;br /&gt;
(none)&lt;br /&gt;
&lt;br /&gt;
==z==&lt;br /&gt;
z&lt;br /&gt;
&lt;br /&gt;
* zone&lt;br /&gt;
&lt;br /&gt;
==References used==&lt;br /&gt;
* http://math.ut.ee/~kaarel/NLP/TEI/visualization/ (on rationales)&lt;br /&gt;
&lt;br /&gt;
[[Category:CSS]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7802</id>
		<title>Comprehensive CSS Stylesheet</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7802"/>
		<updated>2010-06-17T16:43:51Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following is an attempt to gradually build CSS for each TEI element, paralleling the default TEI stylesheets (while also potentially serving as a kind of discussion center for how the stylesheets ought to operate (see [[Formatting TEI documents]] on how there is a need for this despite TEI being agnostic as to output formatting), at least for issues pertaining solely to formatting as opposed to semantics), by indicating here necessary deviations from the XHTML stylesheets (due to CSS constraints) or potentially desirable alternatives, etc.).&lt;br /&gt;
&lt;br /&gt;
Advantages of CSS over XSL might include:&lt;br /&gt;
# Simpler for maintenance/alteration (though CSS can still be combined with simpler XSL as needed)&lt;br /&gt;
# Downloading (and parsing?) is faster&lt;br /&gt;
# Wider browser support (and for browser caching?)&lt;br /&gt;
# Allows DOM and other manipulation directly on semantically-named TEI elements (though admittedly, use of frameworks like jQuery may make traversal of X/HTML as easy or easier)&lt;br /&gt;
# TEI could potentially be used as is in HTML (though empty self-closing elements will not be treated properly unless changed to &amp;lt;elem&amp;gt;&amp;lt;/elem&amp;gt; form and namespaces will not be present) in addition to true XHTML.&lt;br /&gt;
&lt;br /&gt;
Disadvantages:&lt;br /&gt;
# Does not allow for certain kinds of transformations (though again, CSS can be combined with a simple XSL stylesheet which preserves TEI except in cases where needed)&lt;br /&gt;
# Is cumbersome for certain variable structures (e.g., for values varying by integer but not including the integer (e.g., space.extent =&amp;gt; number of spaces) a separate rule must be created for each possible attribute value)&lt;br /&gt;
# (Another disadvantage of CSS in general is being unable to create certain kinds of output such as form controls, but in the case of TEI, we hardly need this.)&lt;br /&gt;
&lt;br /&gt;
Per CSS Namespaces, one can use either&lt;br /&gt;
 @namespace &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 @namespace tei &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
...but we will use the former since we will presume the stylesheet will be primarily (if not exclusively) for TEI.&lt;br /&gt;
&lt;br /&gt;
We will not be able to make equivalents for XSLT templates like rendToClass (e.g., ab) or applyRend (emph), applyRendition (emph) since we cannot (nor do we need to) add an id or class (though @rend or @rendition would be useful to utilize, there is no &amp;quot;eval()&amp;quot;-like code in CSS; however, we could test against predefined values like &amp;quot;bold&amp;quot; (maybe as a global * or at least the elements using these in the stylesheets (emph, hi, ...))).&lt;br /&gt;
&lt;br /&gt;
All fields below should be complete for an element, or otherwise noted that it is incomplete, so that it can otherwise be assumed that the CSS has been completely applied as far as possible (besides rend/rendition which may later be done globally for all elements, as these are indeed globals).&lt;br /&gt;
&lt;br /&gt;
==a==&lt;br /&gt;
 ab {display:block;}&lt;br /&gt;
* abbr&lt;br /&gt;
* accMat&lt;br /&gt;
* acquisition&lt;br /&gt;
* activity&lt;br /&gt;
 actor {display:inline; font-style: italic;}&lt;br /&gt;
* add&lt;br /&gt;
* addName&lt;br /&gt;
* addSpan&lt;br /&gt;
* additional&lt;br /&gt;
* additions&lt;br /&gt;
 addrLine {display:block;}&lt;br /&gt;
 address {display:block; /* font-style:italic; If wish to appear as HTML addresses are rendered by default, at least in Firefox */}&lt;br /&gt;
* adminInfo&lt;br /&gt;
* affiliation&lt;br /&gt;
* age&lt;br /&gt;
* alt&lt;br /&gt;
* altGrp&lt;br /&gt;
* altIdent&lt;br /&gt;
* altIdentifier&lt;br /&gt;
* am&lt;br /&gt;
* analytic&lt;br /&gt;
* anchor&lt;br /&gt;
* app&lt;br /&gt;
* appInfo&lt;br /&gt;
* application&lt;br /&gt;
* arc&lt;br /&gt;
* argument&lt;br /&gt;
 att {display:inline; font-weight:bold;} att:before {content:&amp;quot;@&amp;quot;}&lt;br /&gt;
* attDef&lt;br /&gt;
* attList&lt;br /&gt;
* attRef&lt;br /&gt;
* author&lt;br /&gt;
* authority&lt;br /&gt;
* availability&lt;br /&gt;
&lt;br /&gt;
==b==&lt;br /&gt;
&lt;br /&gt;
* back&lt;br /&gt;
* bibl&lt;br /&gt;
* biblFull&lt;br /&gt;
* biblScope&lt;br /&gt;
* biblStruct&lt;br /&gt;
* bicond&lt;br /&gt;
* binary&lt;br /&gt;
* binaryObject&lt;br /&gt;
* binding&lt;br /&gt;
* bindingDesc&lt;br /&gt;
* birth&lt;br /&gt;
* bloc&lt;br /&gt;
* body&lt;br /&gt;
* broadcast&lt;br /&gt;
 byline {display:block;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==c==&lt;br /&gt;
&lt;br /&gt;
* c&lt;br /&gt;
* cRefPattern&lt;br /&gt;
 caesura:before {display:inline; content:&amp;quot;\a0\a0\a0\a0&amp;quot;; /* could be :after too */}&lt;br /&gt;
 camera {display:inline; font-style: italic;}&lt;br /&gt;
 caption {display:inline; font-style: italic;}&lt;br /&gt;
* case&lt;br /&gt;
* castGroup&lt;br /&gt;
* castItem&lt;br /&gt;
 castList {} /* Note: has additional rules: */&lt;br /&gt;
 castList {display:block;} /* applies whether children are head or not */&lt;br /&gt;
 /* Note: for this to mirror the XSL exactly, head would always need to be preceding other elements as a direct child castList */&lt;br /&gt;
 castList &amp;gt; head {display:inline; font-style:italic;}&lt;br /&gt;
 castList &amp;gt; *:not(head) {margin-left: 40px;} /* If children of castList needed their own indents, then it should be relative to this (if possible) */&lt;br /&gt;
&lt;br /&gt;
* catDesc (Only defined in XSL conditionally if using catRef)&lt;br /&gt;
 catRef {} /* Note: has additional rules: */&lt;br /&gt;
 catRef + catRef:before {'\A'} /* Add line break if preceded by another catRef */&lt;br /&gt;
 catRef:after {content:attr(scheme); display:inline; font-style:italic;} /* Add scheme in italics */&lt;br /&gt;
 /* &lt;br /&gt;
 Commenting out as XPath not currently supported in CSS as needed by third 'after'&lt;br /&gt;
 catRef:after(2) {content:':'}*//* Requires CSS3 to add such additional 'after' content? (Firefox allows content: '123'attr(class)'456' at least); See http://www.w3.org/TR/css3-content/#nesting or http://www.w3.org/TR/css3-content/#inserting0 */&lt;br /&gt;
 /* &lt;br /&gt;
 catRef:after(3) {content: &amp;lt;not possible to reference target's catDesc unless XPath gets added to CSS&amp;gt;} */&lt;br /&gt;
* catchwords&lt;br /&gt;
* category&lt;br /&gt;
* cb&lt;br /&gt;
* cell&lt;br /&gt;
* certainty&lt;br /&gt;
* change&lt;br /&gt;
* channel&lt;br /&gt;
* char&lt;br /&gt;
* charDecl&lt;br /&gt;
* charName&lt;br /&gt;
* charProp&lt;br /&gt;
* choice&lt;br /&gt;
* cit&lt;br /&gt;
* cl&lt;br /&gt;
* classCode (XSL has not yet covered (from header module))&lt;br /&gt;
* classDecl&lt;br /&gt;
* classSpec&lt;br /&gt;
* classes&lt;br /&gt;
* climate&lt;br /&gt;
* closer&lt;br /&gt;
 code {display:inline; font-family:monospace;}&lt;br /&gt;
* collation&lt;br /&gt;
* collection&lt;br /&gt;
* colloc&lt;br /&gt;
* colophon&lt;br /&gt;
* cond&lt;br /&gt;
* condition&lt;br /&gt;
* constitution&lt;br /&gt;
* constraint&lt;br /&gt;
* constraintSpec&lt;br /&gt;
* content&lt;br /&gt;
* corr&lt;br /&gt;
* correction&lt;br /&gt;
* country&lt;br /&gt;
* creation&lt;br /&gt;
* custEvent&lt;br /&gt;
* custodialHist&lt;br /&gt;
&lt;br /&gt;
==d==&lt;br /&gt;
&lt;br /&gt;
* damage&lt;br /&gt;
* damageSpan&lt;br /&gt;
* datatype&lt;br /&gt;
* date&lt;br /&gt;
* dateline&lt;br /&gt;
* death&lt;br /&gt;
* decoDesc&lt;br /&gt;
* decoNote&lt;br /&gt;
* def&lt;br /&gt;
* default&lt;br /&gt;
* defaultVal&lt;br /&gt;
 del {display:inline; text-decoration: line-through;}&lt;br /&gt;
* delSpan&lt;br /&gt;
* depth&lt;br /&gt;
* derivation&lt;br /&gt;
* desc&lt;br /&gt;
* dictScrap&lt;br /&gt;
* dim&lt;br /&gt;
* dimensions&lt;br /&gt;
* distinct&lt;br /&gt;
* distributor&lt;br /&gt;
* district&lt;br /&gt;
* div&lt;br /&gt;
* div1&lt;br /&gt;
* div2&lt;br /&gt;
* div3&lt;br /&gt;
* div4&lt;br /&gt;
* div5&lt;br /&gt;
* div6&lt;br /&gt;
* div7&lt;br /&gt;
* divGen&lt;br /&gt;
* docAuthor&lt;br /&gt;
* docDate&lt;br /&gt;
* docEdition&lt;br /&gt;
* docImprint&lt;br /&gt;
* docTitle&lt;br /&gt;
* domain&lt;br /&gt;
&lt;br /&gt;
==e==&lt;br /&gt;
&lt;br /&gt;
* eLeaf&lt;br /&gt;
* eTree&lt;br /&gt;
* edition&lt;br /&gt;
* editionStmt&lt;br /&gt;
* editor&lt;br /&gt;
* editorialDecl&lt;br /&gt;
* education&lt;br /&gt;
* eg&lt;br /&gt;
* egXML&lt;br /&gt;
* elementSpec&lt;br /&gt;
* email&lt;br /&gt;
 emph {display:inline; font-style:italic;}&lt;br /&gt;
* encodingDesc&lt;br /&gt;
* entry&lt;br /&gt;
* entryFree&lt;br /&gt;
 epigraph {display:block;}&lt;br /&gt;
* epilogue&lt;br /&gt;
* equipment&lt;br /&gt;
* equiv&lt;br /&gt;
* etym&lt;br /&gt;
* event&lt;br /&gt;
* ex&lt;br /&gt;
* exemplum&lt;br /&gt;
* expan&lt;br /&gt;
* explicit&lt;br /&gt;
* extent&lt;br /&gt;
&lt;br /&gt;
==f==&lt;br /&gt;
&lt;br /&gt;
* f&lt;br /&gt;
* fDecl&lt;br /&gt;
* fDescr&lt;br /&gt;
* fLib&lt;br /&gt;
* facsimile&lt;br /&gt;
* factuality&lt;br /&gt;
* faith&lt;br /&gt;
* figDesc&lt;br /&gt;
* figure&lt;br /&gt;
* fileDesc&lt;br /&gt;
* filiation&lt;br /&gt;
* finalRubric&lt;br /&gt;
* floatingText&lt;br /&gt;
* floruit&lt;br /&gt;
* foliation&lt;br /&gt;
 foreign {display:inline;}&lt;br /&gt;
* forename&lt;br /&gt;
* forest&lt;br /&gt;
* forestGrp&lt;br /&gt;
* form&lt;br /&gt;
* formula&lt;br /&gt;
* front&lt;br /&gt;
* fs&lt;br /&gt;
* fsConstraints&lt;br /&gt;
* fsDecl&lt;br /&gt;
* fsDescr&lt;br /&gt;
* fsdDecl&lt;br /&gt;
* fsdLink&lt;br /&gt;
* funder&lt;br /&gt;
* fvLib&lt;br /&gt;
* fw&lt;br /&gt;
&lt;br /&gt;
==g==&lt;br /&gt;
&lt;br /&gt;
* g&lt;br /&gt;
* gap&lt;br /&gt;
* gen&lt;br /&gt;
 genName {display:inline;}&lt;br /&gt;
* geo&lt;br /&gt;
* geoDecl&lt;br /&gt;
* geogFeat&lt;br /&gt;
 geogName {display:inline;}&lt;br /&gt;
 gi:before {display:inline;content:&amp;quot;&amp;lt;&amp;quot;}  gi:after {display:inline;content:&amp;quot;&amp;gt;&amp;quot;}&lt;br /&gt;
 gloss {display:inline;}&lt;br /&gt;
* glyph&lt;br /&gt;
* glyphName&lt;br /&gt;
* gram&lt;br /&gt;
* gramGrp&lt;br /&gt;
* graph&lt;br /&gt;
* graphic&lt;br /&gt;
* group&lt;br /&gt;
&lt;br /&gt;
==h==&lt;br /&gt;
&lt;br /&gt;
* handDesc&lt;br /&gt;
* handNote&lt;br /&gt;
* handNotes&lt;br /&gt;
* handShift&lt;br /&gt;
* head&lt;br /&gt;
* headItem&lt;br /&gt;
* headLabel&lt;br /&gt;
* height&lt;br /&gt;
* heraldry&lt;br /&gt;
 hi {display:inline; font-weight:bold;}&lt;br /&gt;
* history&lt;br /&gt;
* hom&lt;br /&gt;
* hyph&lt;br /&gt;
* hyphenation&lt;br /&gt;
&lt;br /&gt;
==i==&lt;br /&gt;
&lt;br /&gt;
* iNode&lt;br /&gt;
* iType&lt;br /&gt;
 ident[type] {display:inline; font-weight:bold;} ident:not([type]) {display:inline; } /* Just as the stylesheet allows for different types; a specific type could be styled by ident[type=&amp;quot;XXX&amp;quot;] */&lt;br /&gt;
* idno&lt;br /&gt;
* if&lt;br /&gt;
* iff&lt;br /&gt;
* imprimatur&lt;br /&gt;
* imprint&lt;br /&gt;
* incident (speech module: XSL has not yet covered)&lt;br /&gt;
* incipit&lt;br /&gt;
* index&lt;br /&gt;
* institution&lt;br /&gt;
* interaction&lt;br /&gt;
* interp&lt;br /&gt;
* interpGrp&lt;br /&gt;
* interpretation&lt;br /&gt;
* item&lt;br /&gt;
&lt;br /&gt;
==j==&lt;br /&gt;
&lt;br /&gt;
* join&lt;br /&gt;
* joinGrp&lt;br /&gt;
&lt;br /&gt;
==k==&lt;br /&gt;
&lt;br /&gt;
* keywords (XSL has not yet covered (from header module))&lt;br /&gt;
* kinesic (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==l==&lt;br /&gt;
&lt;br /&gt;
 l {display:block;}&lt;br /&gt;
 label {display:inline;}&lt;br /&gt;
* lacunaEnd&lt;br /&gt;
* lacunaStart&lt;br /&gt;
* lang&lt;br /&gt;
* langKnowledge&lt;br /&gt;
* langKnown&lt;br /&gt;
* langUsage&lt;br /&gt;
* language&lt;br /&gt;
* layout&lt;br /&gt;
* layoutDesc&lt;br /&gt;
 lb {display:block;}&lt;br /&gt;
* lbl&lt;br /&gt;
* leaf&lt;br /&gt;
* lem&lt;br /&gt;
 lg {display:block;}&lt;br /&gt;
* link&lt;br /&gt;
* linkGrp&lt;br /&gt;
* list&lt;br /&gt;
* listBibl&lt;br /&gt;
* listEvent&lt;br /&gt;
* listNym&lt;br /&gt;
* listOrg&lt;br /&gt;
* listPerson&lt;br /&gt;
* listPlace&lt;br /&gt;
* listRef&lt;br /&gt;
* listWit&lt;br /&gt;
* localName&lt;br /&gt;
* locale&lt;br /&gt;
* location&lt;br /&gt;
* locus&lt;br /&gt;
* locusGrp&lt;br /&gt;
&lt;br /&gt;
==m==&lt;br /&gt;
&lt;br /&gt;
* m&lt;br /&gt;
* macroSpec&lt;br /&gt;
* mapping&lt;br /&gt;
* material&lt;br /&gt;
* measure&lt;br /&gt;
* measureGrp&lt;br /&gt;
* meeting&lt;br /&gt;
* memberOf&lt;br /&gt;
 mentioned {display:inline;}&lt;br /&gt;
* metDecl&lt;br /&gt;
* metSym&lt;br /&gt;
* milestone&lt;br /&gt;
* moduleRef&lt;br /&gt;
* moduleSpec&lt;br /&gt;
* monogr&lt;br /&gt;
* mood&lt;br /&gt;
* move&lt;br /&gt;
* msContents&lt;br /&gt;
* msDesc&lt;br /&gt;
* msIdentifier&lt;br /&gt;
* msItem&lt;br /&gt;
* msItemStruct&lt;br /&gt;
* msName&lt;br /&gt;
* msPart&lt;br /&gt;
* musicNotation&lt;br /&gt;
&lt;br /&gt;
==n==&lt;br /&gt;
&lt;br /&gt;
 name {display:inline;}&lt;br /&gt;
* nameLink&lt;br /&gt;
* namespace&lt;br /&gt;
* nationality&lt;br /&gt;
* node&lt;br /&gt;
* normalization&lt;br /&gt;
* note&lt;br /&gt;
* notesStmt&lt;br /&gt;
* num&lt;br /&gt;
* number&lt;br /&gt;
* numeric&lt;br /&gt;
* nym&lt;br /&gt;
&lt;br /&gt;
==o==&lt;br /&gt;
&lt;br /&gt;
* oRef&lt;br /&gt;
* oVar&lt;br /&gt;
* objectDesc&lt;br /&gt;
* occupation&lt;br /&gt;
* offset&lt;br /&gt;
* opener&lt;br /&gt;
* org&lt;br /&gt;
* orgName&lt;br /&gt;
* orig&lt;br /&gt;
* origDate&lt;br /&gt;
* origPlace&lt;br /&gt;
* origin&lt;br /&gt;
* orth&lt;br /&gt;
&lt;br /&gt;
==p==&lt;br /&gt;
&lt;br /&gt;
* p&lt;br /&gt;
* pRef&lt;br /&gt;
* pVar&lt;br /&gt;
* particDesc&lt;br /&gt;
* pause (speech module: XSL has not yet covered)&lt;br /&gt;
* pb&lt;br /&gt;
* pc&lt;br /&gt;
* per&lt;br /&gt;
* performance&lt;br /&gt;
 persName {display:inline;}&lt;br /&gt;
* person&lt;br /&gt;
* personGrp&lt;br /&gt;
* phr&lt;br /&gt;
* physDesc&lt;br /&gt;
* place&lt;br /&gt;
 placeName {display:inline;}&lt;br /&gt;
* population&lt;br /&gt;
* pos&lt;br /&gt;
* postBox&lt;br /&gt;
* postCode&lt;br /&gt;
* postscript&lt;br /&gt;
* precision&lt;br /&gt;
* preparedness&lt;br /&gt;
* principal&lt;br /&gt;
* profileDesc&lt;br /&gt;
* projectDesc&lt;br /&gt;
* prologue&lt;br /&gt;
* pron&lt;br /&gt;
* provenance&lt;br /&gt;
* ptr&lt;br /&gt;
* pubPlace&lt;br /&gt;
* publicationStmt&lt;br /&gt;
* publisher&lt;br /&gt;
* purpose&lt;br /&gt;
&lt;br /&gt;
==q==&lt;br /&gt;
&lt;br /&gt;
* q&lt;br /&gt;
* quotation&lt;br /&gt;
* quote&lt;br /&gt;
&lt;br /&gt;
==r==&lt;br /&gt;
&lt;br /&gt;
* rdg&lt;br /&gt;
* rdgGrp&lt;br /&gt;
* re&lt;br /&gt;
* recordHist&lt;br /&gt;
* recording&lt;br /&gt;
* recordingStmt&lt;br /&gt;
* ref&lt;br /&gt;
* refState&lt;br /&gt;
* refsDecl&lt;br /&gt;
* reg&lt;br /&gt;
* region&lt;br /&gt;
* relatedItem&lt;br /&gt;
* relation&lt;br /&gt;
* relationGrp&lt;br /&gt;
* remarks&lt;br /&gt;
* rendition&lt;br /&gt;
* repository&lt;br /&gt;
* residence&lt;br /&gt;
 resp:after {content:&amp;quot; &amp;quot;;}&lt;br /&gt;
 respStmt {display:inline;}&lt;br /&gt;
* respons&lt;br /&gt;
* restore&lt;br /&gt;
* revisionDesc&lt;br /&gt;
* rhyme&lt;br /&gt;
 role {display:inline; font-style: italic;}&lt;br /&gt;
 roleDesc { margin-left: 40px; margin-right: 40px; } roleDesc &amp;gt; *:not(p) {display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
 roleName {display:inline;}&lt;br /&gt;
* root&lt;br /&gt;
* row&lt;br /&gt;
* rs&lt;br /&gt;
* rubric&lt;br /&gt;
&lt;br /&gt;
==s==&lt;br /&gt;
&lt;br /&gt;
* s&lt;br /&gt;
* said&lt;br /&gt;
 salute {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* samplingDecl&lt;br /&gt;
* schemaSpec&lt;br /&gt;
* scriptStmt&lt;br /&gt;
* seal&lt;br /&gt;
* sealDesc&lt;br /&gt;
* secFol&lt;br /&gt;
 seg {display:inline;}&lt;br /&gt;
* segmentation&lt;br /&gt;
* sense&lt;br /&gt;
* series&lt;br /&gt;
* seriesStmt&lt;br /&gt;
 set {display:inline; font-style: italic;}&lt;br /&gt;
* setting&lt;br /&gt;
* settingDesc&lt;br /&gt;
* settlement&lt;br /&gt;
* se x (XSL has not yet covered (namesdates module)) /* space-separated for spam filter! */&lt;br /&gt;
* shift (speech module: XSL has not yet covered)&lt;br /&gt;
 sic {display:inline;} sic:after {content: &amp;quot; (sic)&amp;quot;}&lt;br /&gt;
* signatures&lt;br /&gt;
 signed {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
 soCalled:before {content:'‘'} soCalled {display:inline;} soCalled:after {content:'’'} /* Quote style is parameterized in XSL; note: content can also accept 'open-quote' and 'close-quote', but the default is as already included in the rule */&lt;br /&gt;
* socecStatus&lt;br /&gt;
 sound {display:inline; font-style: italic;}&lt;br /&gt;
* source&lt;br /&gt;
* sourceDesc&lt;br /&gt;
* sp&lt;br /&gt;
* space&lt;br /&gt;
* span&lt;br /&gt;
* spanGrp&lt;br /&gt;
* speaker&lt;br /&gt;
* specDesc&lt;br /&gt;
* specGrp&lt;br /&gt;
* specGrpRef&lt;br /&gt;
* specList&lt;br /&gt;
* sponsor&lt;br /&gt;
 stage {font-style: italic; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* stamp&lt;br /&gt;
* state&lt;br /&gt;
* stdVals&lt;br /&gt;
* street&lt;br /&gt;
* stress&lt;br /&gt;
* string&lt;br /&gt;
* stringVal&lt;br /&gt;
* subc&lt;br /&gt;
* subst&lt;br /&gt;
* summary&lt;br /&gt;
* superEntry&lt;br /&gt;
* supplied&lt;br /&gt;
* support&lt;br /&gt;
* supportDesc&lt;br /&gt;
* surface&lt;br /&gt;
* surname&lt;br /&gt;
* surplus&lt;br /&gt;
* surrogates&lt;br /&gt;
* syll&lt;br /&gt;
* symbol&lt;br /&gt;
&lt;br /&gt;
==t==&lt;br /&gt;
&lt;br /&gt;
* TEI&lt;br /&gt;
* table&lt;br /&gt;
* tag&lt;br /&gt;
* tagUsage&lt;br /&gt;
* tagsDecl&lt;br /&gt;
* taxonomy&lt;br /&gt;
 tech {display:inline; font-style: italic;}&lt;br /&gt;
* teiCorpus&lt;br /&gt;
* teiHeader&lt;br /&gt;
 term {display:inline;}&lt;br /&gt;
* terrain&lt;br /&gt;
* text&lt;br /&gt;
* textClass&lt;br /&gt;
* textDesc&lt;br /&gt;
* textLang&lt;br /&gt;
* then&lt;br /&gt;
* time&lt;br /&gt;
* timeline&lt;br /&gt;
* title&lt;br /&gt;
* titlePage&lt;br /&gt;
* titlePart&lt;br /&gt;
* titleStmt&lt;br /&gt;
* tns&lt;br /&gt;
* trailer&lt;br /&gt;
* trait&lt;br /&gt;
* tree&lt;br /&gt;
* triangle&lt;br /&gt;
* typeDesc&lt;br /&gt;
* typeNote&lt;br /&gt;
&lt;br /&gt;
==u==&lt;br /&gt;
&lt;br /&gt;
* u (speech module: XSL has not yet covered)&lt;br /&gt;
 unclear {display:inline;}&lt;br /&gt;
* unicodeName&lt;br /&gt;
* usg&lt;br /&gt;
&lt;br /&gt;
==v==&lt;br /&gt;
&lt;br /&gt;
* vAlt&lt;br /&gt;
* vColl&lt;br /&gt;
* vDefault&lt;br /&gt;
* vLabel&lt;br /&gt;
* vMerge&lt;br /&gt;
* vNot&lt;br /&gt;
* vRange&lt;br /&gt;
* val&lt;br /&gt;
* valDesc&lt;br /&gt;
* valItem&lt;br /&gt;
* valList&lt;br /&gt;
* value&lt;br /&gt;
* variantEncoding&lt;br /&gt;
 view {display:inline; font-style: italic;}&lt;br /&gt;
* vocal (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==w==&lt;br /&gt;
&lt;br /&gt;
* w&lt;br /&gt;
* watermark&lt;br /&gt;
* when&lt;br /&gt;
* width&lt;br /&gt;
* wit&lt;br /&gt;
* witDetail&lt;br /&gt;
* witEnd&lt;br /&gt;
* witStart&lt;br /&gt;
* witness&lt;br /&gt;
* writing (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==x==&lt;br /&gt;
&lt;br /&gt;
* xr&lt;br /&gt;
&lt;br /&gt;
==y==&lt;br /&gt;
&lt;br /&gt;
(none)&lt;br /&gt;
&lt;br /&gt;
==z==&lt;br /&gt;
z&lt;br /&gt;
&lt;br /&gt;
* zone&lt;br /&gt;
&lt;br /&gt;
==References used==&lt;br /&gt;
* http://math.ut.ee/~kaarel/NLP/TEI/visualization/ (on rationales)&lt;br /&gt;
&lt;br /&gt;
[[Category:CSS]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Tips_on_using_CSS_with_XML/TEI&amp;diff=7801</id>
		<title>Tips on using CSS with XML/TEI</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Tips_on_using_CSS_with_XML/TEI&amp;diff=7801"/>
		<updated>2010-06-16T06:31:57Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: /* HTML to CSS Equivalents */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For those who are fairly familiar with using CSS with HTML or XHTML, one might be familiar enough with how to define colors, etc., but still remain unaware of how to make a simple stylesheet.&lt;br /&gt;
&lt;br /&gt;
Since one cannot use .class-name as in X/HTML (though some processors might be able to use xml:id to be the target of the # id selector), one first ought to be familiar with the generic [http://www.w3.org/TR/CSS21/selector.html#attribute-selectors attribute selectors].&lt;br /&gt;
&lt;br /&gt;
For example,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;div type=&amp;quot;chapter&amp;quot;&amp;gt;...&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Could be styled with:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;div[type=&amp;quot;chapter&amp;quot;] {}&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Another important adjustment to make is that while X/HTML defines a default display behavior (e.g., &amp;amp;lt;p&amp;gt; in HTML is block while &amp;amp;lt;span&amp;gt; in HTML is inline), other XML is more generic and forces you to define which elements out to be defined as block (they will otherwise be rendered inline).&lt;br /&gt;
&lt;br /&gt;
For example, for TEI, you might define the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;p, div, div1, div2, div3 {display:block}&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can also specify inline elements by using &amp;lt;code&amp;gt;display:inline&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==HTML to CSS Equivalents==&lt;br /&gt;
&lt;br /&gt;
(Display is inline by default unless indicated.)&lt;br /&gt;
(Note that in order to bypass the spam filter, some bogus spaces were added in the display: none; (and height: 2px) lines.)&lt;br /&gt;
&lt;br /&gt;
// the following was obtained from resource://gre-resources/html.css , with the license terms under MPL 1.1/GPL 2.0/LGPL 2.1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@namespace url(http://www.w3.org/1999/xhtml); /* set default namespace to HTML */&lt;br /&gt;
@namespace xul url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);&lt;br /&gt;
&lt;br /&gt;
/* bidi */&lt;br /&gt;
&lt;br /&gt;
[dir=&amp;quot;rtl&amp;quot;] {&lt;br /&gt;
  direction: rtl;&lt;br /&gt;
  unicode-bidi: embed;&lt;br /&gt;
}&lt;br /&gt;
[dir=&amp;quot;ltr&amp;quot;] {&lt;br /&gt;
  direction: ltr;&lt;br /&gt;
  unicode-bidi: embed;&lt;br /&gt;
}&lt;br /&gt;
bdo[dir] {&lt;br /&gt;
  unicode-bidi: bidi-override;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* To ensure http://www.w3.org/TR/REC-html40/struct/dirlang.html#style-bidi:&lt;br /&gt;
 *&lt;br /&gt;
 * &amp;quot;When a block element that does not have a dir attribute is transformed to&lt;br /&gt;
 * the style of an inline element by a style sheet, the resulting presentation&lt;br /&gt;
 * should be equivalent, in terms of bidirectional formatting, to the&lt;br /&gt;
 * formatting obtained by explicitly adding a dir attribute (assigned the&lt;br /&gt;
 * inherited value) to the transformed element.&amp;quot; */&lt;br /&gt;
&lt;br /&gt;
address, blockquote, body, caption, center, col, colgroup, dd, dir, div, dl, dt,&lt;br /&gt;
fieldset, form, h1, h2, h3, h4, h5, h6, hr, html, isindex, li, listing, map, &lt;br /&gt;
marquee, menu, noframes, ol, p, plaintext, pre, table, tbody, td, tfoot, th, &lt;br /&gt;
thead, tr, ul, xmp {&lt;br /&gt;
  unicode-bidi: embed;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
/* blocks */&lt;br /&gt;
&lt;br /&gt;
html, div, map, dt, isindex, form {&lt;br /&gt;
  display: block;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
body {&lt;br /&gt;
  display: block;&lt;br /&gt;
  margin: 8px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
p, dl, multicol {&lt;br /&gt;
  display: block;&lt;br /&gt;
  margin: 1em 0;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
dd {&lt;br /&gt;
  display: block;&lt;br /&gt;
  -moz-margin-start: 40px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
blockquote {&lt;br /&gt;
  display: block;&lt;br /&gt;
  margin: 1em 40px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
address {&lt;br /&gt;
  display: block;&lt;br /&gt;
  font-style: italic;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
center {&lt;br /&gt;
  display: block;&lt;br /&gt;
  text-align: -moz-center;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
blockquote[type=cite] {&lt;br /&gt;
  display: block;&lt;br /&gt;
  margin: 1em 0px;&lt;br /&gt;
  -moz-padding-start: 1em;&lt;br /&gt;
  -moz-border-start: solid;&lt;br /&gt;
  border-color: blue;&lt;br /&gt;
  border-width: thin;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
span[_moz_quote=true] {&lt;br /&gt;
  color: blue;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
pre[_moz_quote=true] {&lt;br /&gt;
  color: blue;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
h1 {&lt;br /&gt;
  display: block;&lt;br /&gt;
  font-size: 2em;&lt;br /&gt;
  font-weight: bold;&lt;br /&gt;
  margin: .67em 0;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
h2 {&lt;br /&gt;
  display: block;&lt;br /&gt;
  font-size: 1.5em;&lt;br /&gt;
  font-weight: bold;&lt;br /&gt;
  margin: .83em 0;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
h3 {&lt;br /&gt;
  display: block;&lt;br /&gt;
  font-size: 1.17em;&lt;br /&gt;
  font-weight: bold;&lt;br /&gt;
  margin: 1em 0;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
h4 {&lt;br /&gt;
  display: block;&lt;br /&gt;
  font-weight: bold;&lt;br /&gt;
  margin: 1.33em 0;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
h5 {&lt;br /&gt;
  display: block;&lt;br /&gt;
  font-size: 0.83em;&lt;br /&gt;
  font-weight: bold;&lt;br /&gt;
  margin: 1.67em 0;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
h6 {&lt;br /&gt;
  display: block;&lt;br /&gt;
  font-size: 0.67em;&lt;br /&gt;
  font-weight: bold;&lt;br /&gt;
  margin: 2.33em 0;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
listing {&lt;br /&gt;
  display: block;&lt;br /&gt;
  font-family: -moz-fixed;&lt;br /&gt;
  font-size: medium;&lt;br /&gt;
  white-space: pre;&lt;br /&gt;
  margin: 1em 0;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
xmp, pre, plaintext {&lt;br /&gt;
  display: block;&lt;br /&gt;
  font-family: -moz-fixed;&lt;br /&gt;
  white-space: pre;&lt;br /&gt;
  margin: 1em 0;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* tables */&lt;br /&gt;
&lt;br /&gt;
table {&lt;br /&gt;
  display: table;&lt;br /&gt;
  border-spacing: 2px;&lt;br /&gt;
  border-collapse: separate;&lt;br /&gt;
  margin-top: 0;&lt;br /&gt;
  margin-bottom: 0;&lt;br /&gt;
  /* XXXldb do we want this if we're border-collapse:collapse ? */&lt;br /&gt;
  -moz-box-sizing: border-box;&lt;br /&gt;
  text-indent: 0;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
table[align=&amp;quot;left&amp;quot;] {&lt;br /&gt;
  float: left;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
table[align=&amp;quot;right&amp;quot;] {&lt;br /&gt;
  float: right;&lt;br /&gt;
  text-align: start;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
table[rules]:not([rules=&amp;quot;none&amp;quot;]) {&lt;br /&gt;
  border-collapse: collapse;&lt;br /&gt;
}&lt;br /&gt;
   &lt;br /&gt;
/* caption inherits from table not table-outer */  &lt;br /&gt;
caption {&lt;br /&gt;
  display: table-caption;&lt;br /&gt;
  text-align: center;&lt;br /&gt;
  -moz-box-sizing: border-box;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
table[align=&amp;quot;center&amp;quot;] &amp;gt; caption {&lt;br /&gt;
  margin-left: auto;&lt;br /&gt;
  margin-right: auto;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
table[align=&amp;quot;center&amp;quot;] &amp;gt; caption[align=&amp;quot;left&amp;quot;] {&lt;br /&gt;
  margin-right: 0;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
table[align=&amp;quot;center&amp;quot;] &amp;gt; caption[align=&amp;quot;right&amp;quot;] {&lt;br /&gt;
  margin-left: 0;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
tr {&lt;br /&gt;
  display: table-row;&lt;br /&gt;
  vertical-align: inherit;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
col {&lt;br /&gt;
  display: table-column;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
colgroup {&lt;br /&gt;
  display: table-column-group;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
tbody {&lt;br /&gt;
  display: table-row-group;&lt;br /&gt;
  vertical-align: middle;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
thead {&lt;br /&gt;
  display: table-header-group;&lt;br /&gt;
  vertical-align: middle;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
tfoot {&lt;br /&gt;
  display: table-footer-group;&lt;br /&gt;
  vertical-align: middle;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* for XHTML tables without tbody */&lt;br /&gt;
table &amp;gt; tr {&lt;br /&gt;
  vertical-align: middle;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
td { &lt;br /&gt;
  display: table-cell;&lt;br /&gt;
  vertical-align: inherit;&lt;br /&gt;
  text-align: inherit; &lt;br /&gt;
  padding: 1px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
th {&lt;br /&gt;
  display: table-cell;&lt;br /&gt;
  vertical-align: inherit;&lt;br /&gt;
  font-weight: bold;&lt;br /&gt;
  padding: 1px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
tr &amp;gt; form:-moz-is-html, tbody &amp;gt; form:-moz-is-html,&lt;br /&gt;
thead &amp;gt; form:-moz-is-html, tfoot &amp;gt; form:-moz-is-html,&lt;br /&gt;
table &amp;gt; form:-moz-is-html {&lt;br /&gt;
  /* Important: don't show these forms in HTML */&lt;br /&gt;
  display: none !important;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* inlines */&lt;br /&gt;
&lt;br /&gt;
q:before {&lt;br /&gt;
  content: open-quote;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
q:after {&lt;br /&gt;
  content: close-quote;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
b, strong {&lt;br /&gt;
  font-weight: bolder;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
i, cite, em, var, dfn {&lt;br /&gt;
  font-style: italic;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
tt, code, kbd, samp {&lt;br /&gt;
  font-family: -moz-fixed;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
u, ins {&lt;br /&gt;
  text-decoration: underline;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
s, strike, del {&lt;br /&gt;
  text-decoration: line-through;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
blink {&lt;br /&gt;
  text-decoration: blink;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
big {&lt;br /&gt;
  font-size: larger;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
small {&lt;br /&gt;
  font-size: smaller;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
sub {&lt;br /&gt;
  vertical-align: sub;&lt;br /&gt;
  font-size: smaller;&lt;br /&gt;
  line-height: normal;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
sup {&lt;br /&gt;
  vertical-align: super;&lt;br /&gt;
  font-size: smaller;&lt;br /&gt;
  line-height: normal;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
nobr {&lt;br /&gt;
  white-space: nowrap;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* titles */&lt;br /&gt;
abbr[title], acronym[title] {&lt;br /&gt;
  border-bottom: dotted 1px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* lists */&lt;br /&gt;
&lt;br /&gt;
ul, menu, dir {&lt;br /&gt;
  display: block;&lt;br /&gt;
  list-style-type: disc;&lt;br /&gt;
  margin: 1em 0;&lt;br /&gt;
  -moz-padding-start: 40px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ol {&lt;br /&gt;
  display: block;&lt;br /&gt;
  list-style-type: decimal;&lt;br /&gt;
  margin: 1em 0;&lt;br /&gt;
  -moz-padding-start: 40px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
li {&lt;br /&gt;
  display: list-item;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* nested lists have no top/bottom margins */&lt;br /&gt;
ul ul,   ul ol,   ul dir,   ul menu,   ul dl,&lt;br /&gt;
ol ul,   ol ol,   ol dir,   ol menu,   ol dl,&lt;br /&gt;
dir ul,  dir ol,  dir dir,  dir menu,  dir dl,&lt;br /&gt;
menu ul, menu ol, menu dir, menu menu, menu dl,&lt;br /&gt;
dl ul,   dl ol,   dl dir,   dl menu,   dl dl {&lt;br /&gt;
  margin-top: 0;&lt;br /&gt;
  margin-bottom: 0;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* 2 deep unordered lists use a circle */&lt;br /&gt;
ol ul,   ul ul,   menu ul,   dir ul,&lt;br /&gt;
ol menu, ul menu, menu menu, dir menu,&lt;br /&gt;
ol dir,  ul dir,  menu dir,  dir dir {&lt;br /&gt;
  list-style-type: circle;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* 3 deep (or more) unordered lists use a square */&lt;br /&gt;
ol ol ul,     ol ul ul,     ol menu ul,     ol dir ul,&lt;br /&gt;
ol ol menu,   ol ul menu,   ol menu menu,   ol dir menu,&lt;br /&gt;
ol ol dir,    ol ul dir,    ol menu dir,    ol dir dir,&lt;br /&gt;
ul ol ul,     ul ul ul,     ul menu ul,     ul dir ul,&lt;br /&gt;
ul ol menu,   ul ul menu,   ul menu menu,   ul dir menu,&lt;br /&gt;
ul ol dir,    ul ul dir,    ul menu dir,    ul dir dir,&lt;br /&gt;
menu ol ul,   menu ul ul,   menu menu ul,   menu dir ul,&lt;br /&gt;
menu ol menu, menu ul menu, menu menu menu, menu dir menu,&lt;br /&gt;
menu ol dir,  menu ul dir,  menu menu dir,  menu dir dir,&lt;br /&gt;
dir ol ul,    dir ul ul,    dir menu ul,    dir dir ul,&lt;br /&gt;
dir ol menu,  dir ul menu,  dir menu menu,  dir dir menu,&lt;br /&gt;
dir ol dir,   dir ul dir,   dir menu dir,   dir dir dir {&lt;br /&gt;
  list-style-type: square;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
/* leafs */&lt;br /&gt;
&lt;br /&gt;
/* &amp;lt;hr&amp;gt; noshade and color attributes are handled completely by&lt;br /&gt;
 * the nsHTMLHRElement attribute mapping code&lt;br /&gt;
 */&lt;br /&gt;
hr {&lt;br /&gt;
  display: block;&lt;br /&gt;
  height: 2px;&lt;br /&gt;
  border: 1px inset;&lt;br /&gt;
  margin: 0.5em auto 0.5em auto;&lt;br /&gt;
  color: gray;&lt;br /&gt;
  -moz-float-edge: margin-box;&lt;br /&gt;
  -moz-box-sizing: border-box;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
hr[size=&amp;quot;1&amp;quot;] {&lt;br /&gt;
  border-style: solid none none none;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
*|*:-moz-any-link img, img[usemap], object[usemap] {&lt;br /&gt;
  border: 2px solid;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
img:-moz-broken::before, input:-moz-broken::before,&lt;br /&gt;
img:-moz-user-disabled::before, input:-moz-user-disabled::before,&lt;br /&gt;
img:-moz-loading::before, input:-moz-loading::before,&lt;br /&gt;
applet:-moz-empty-except-children-with-localname(param):-moz-broken::before,&lt;br /&gt;
applet:-moz-empty-except-children-with-localname(param):-moz-user-disabled::before {&lt;br /&gt;
  content: -moz-alt-content !important;&lt;br /&gt;
  unicode-bidi: embed;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
object:-moz-broken &amp;gt; *|*, applet:-moz-broken &amp;gt; *|*&lt;br /&gt;
object:-moz-user-disabled &amp;gt; *|*, applet:-moz-user-disabled &amp;gt; *|* {&lt;br /&gt;
  /*&lt;br /&gt;
    Inherit in the object's alignment so that if we aren't aligned explicitly&lt;br /&gt;
    we'll end up in the right place vertically.  See bug 36997.  Note that this&lt;br /&gt;
    is not !important because we _might_ be aligned explicitly.&lt;br /&gt;
  */&lt;br /&gt;
  vertical-align: inherit;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
img:-moz-suppressed, input:-moz-suppressed, object:-moz-suppressed,&lt;br /&gt;
embed:-moz-suppressed, applet:-moz-suppressed {&lt;br /&gt;
  /*&lt;br /&gt;
    Set visibility too in case the page changes display.  Note that we _may_&lt;br /&gt;
    want to just set visibility and not display, in general, if we find that&lt;br /&gt;
    display: none breaks too many layouts.  And if we decide we really do want&lt;br /&gt;
    people to be able to right-click blocked images, etc, we need to set&lt;br /&gt;
    neither one, and hack the painting code.... :(&lt;br /&gt;
   */&lt;br /&gt;
  display: none !important;&lt;br /&gt;
  visibility: hidden !important;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
img[usemap], object[usemap] {&lt;br /&gt;
  color: blue;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
frameset {&lt;br /&gt;
  display: block ! important;&lt;br /&gt;
  overflow: -moz-hidden-unscrollable;&lt;br /&gt;
  position: static ! important;&lt;br /&gt;
  float: none ! important;&lt;br /&gt;
  border: none ! important;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
frame {&lt;br /&gt;
  border: none ! important;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
iframe {&lt;br /&gt;
  border: 2px inset;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
noframes {&lt;br /&gt;
  display: none;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
spacer {&lt;br /&gt;
  position: static ! important;&lt;br /&gt;
  float: none ! important;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
canvas {&lt;br /&gt;
  -moz-user-select: none;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* focusable content: anything w/ tabindex &amp;gt;=0 is focusable */&lt;br /&gt;
abbr:focus, acronym:focus, address:focus, b:focus,&lt;br /&gt;
base:focus, big:focus, blockquote:focus, br:focus, canvas:focus, caption:focus,&lt;br /&gt;
center:focus, cite:focus, code:focus, col:focus, colgroup:focus, dd:focus,&lt;br /&gt;
del:focus, dfn:focus, dir:focus, div:focus, dl:focus, dt:focus, em:focus,&lt;br /&gt;
fieldset:focus, font:focus, form:focus, h1:focus, h2:focus, h3:focus, h4:focus,&lt;br /&gt;
h5:focus, h6:focus, hr:focus, i:focus, img:focus, ins:focus, &lt;br /&gt;
kbd:focus, label:focus, legend:focus, li:focus, link:focus, menu:focus, &lt;br /&gt;
ol:focus, p:focus, pre:focus, q:focus, s:focus, samp:focus, &lt;br /&gt;
small:focus, span:focus, strike:focus, strong:focus, sub:focus, sup:focus, &lt;br /&gt;
table:focus, tbody:focus, td:focus, tfoot:focus, th:focus, thead:focus, &lt;br /&gt;
tr:focus, tt:focus, u:focus, ul:focus, var:focus {&lt;br /&gt;
  /* Don't specify the outline-color, we should always use initial value. */&lt;br /&gt;
   outline: 1px dotted;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* hidden elements */&lt;br /&gt;
area, base, basefont, head, meta, script, style, title,&lt;br /&gt;
noembed, param {&lt;br /&gt;
   display: none;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* media elements */&lt;br /&gt;
video &amp;gt; xul|videocontrols, audio &amp;gt; xul|videocontrols {&lt;br /&gt;
  display: -moz-box;&lt;br /&gt;
  -moz-box-orient: vertical;&lt;br /&gt;
  -moz-binding: url(&amp;quot;chrome://global/content/bindings/videocontrols.xml#videoControls&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
video:not([controls]) &amp;gt; xul|videocontrols,&lt;br /&gt;
audio:not([controls]) &amp;gt; xul|videocontrols {&lt;br /&gt;
  visibility: hidden;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
audio:not([controls]) {&lt;br /&gt;
  display: none;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* emulation of non-standard HTML &amp;lt;marquee&amp;gt; tag */&lt;br /&gt;
marquee {&lt;br /&gt;
  width: -moz-available;&lt;br /&gt;
  display: inline-block;&lt;br /&gt;
  vertical-align: text-bottom;&lt;br /&gt;
  text-align: start;&lt;br /&gt;
  -moz-binding: url('chrome://xbl-marquee/content/xbl-marquee.xml#marquee-horizontal');&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
marquee[direction=&amp;quot;up&amp;quot;], marquee[direction=&amp;quot;down&amp;quot;] {&lt;br /&gt;
  -moz-binding: url('chrome://xbl-marquee/content/xbl-marquee.xml#marquee-vertical');&lt;br /&gt;
  height: 200px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* PRINT ONLY rules follow */&lt;br /&gt;
@media print {&lt;br /&gt;
&lt;br /&gt;
  marquee { -moz-binding: none; }&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:CSS]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Tips_on_using_CSS_with_XML/TEI&amp;diff=7800</id>
		<title>Tips on using CSS with XML/TEI</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Tips_on_using_CSS_with_XML/TEI&amp;diff=7800"/>
		<updated>2010-06-16T06:31:37Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: /* HTML to CSS Equivalents */ using Firefox's own&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For those who are fairly familiar with using CSS with HTML or XHTML, one might be familiar enough with how to define colors, etc., but still remain unaware of how to make a simple stylesheet.&lt;br /&gt;
&lt;br /&gt;
Since one cannot use .class-name as in X/HTML (though some processors might be able to use xml:id to be the target of the # id selector), one first ought to be familiar with the generic [http://www.w3.org/TR/CSS21/selector.html#attribute-selectors attribute selectors].&lt;br /&gt;
&lt;br /&gt;
For example,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;div type=&amp;quot;chapter&amp;quot;&amp;gt;...&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Could be styled with:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;div[type=&amp;quot;chapter&amp;quot;] {}&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Another important adjustment to make is that while X/HTML defines a default display behavior (e.g., &amp;amp;lt;p&amp;gt; in HTML is block while &amp;amp;lt;span&amp;gt; in HTML is inline), other XML is more generic and forces you to define which elements out to be defined as block (they will otherwise be rendered inline).&lt;br /&gt;
&lt;br /&gt;
For example, for TEI, you might define the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;p, div, div1, div2, div3 {display:block}&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can also specify inline elements by using &amp;lt;code&amp;gt;display:inline&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==HTML to CSS Equivalents==&lt;br /&gt;
&lt;br /&gt;
(Display is inline by default unless indicated.)&lt;br /&gt;
(Note that in order to bypass the spam filter, some bogus spaces were added in the display: none; lines.)&lt;br /&gt;
&lt;br /&gt;
// the following was obtained from resource://gre-resources/html.css , with the license terms under MPL 1.1/GPL 2.0/LGPL 2.1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@namespace url(http://www.w3.org/1999/xhtml); /* set default namespace to HTML */&lt;br /&gt;
@namespace xul url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);&lt;br /&gt;
&lt;br /&gt;
/* bidi */&lt;br /&gt;
&lt;br /&gt;
[dir=&amp;quot;rtl&amp;quot;] {&lt;br /&gt;
  direction: rtl;&lt;br /&gt;
  unicode-bidi: embed;&lt;br /&gt;
}&lt;br /&gt;
[dir=&amp;quot;ltr&amp;quot;] {&lt;br /&gt;
  direction: ltr;&lt;br /&gt;
  unicode-bidi: embed;&lt;br /&gt;
}&lt;br /&gt;
bdo[dir] {&lt;br /&gt;
  unicode-bidi: bidi-override;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* To ensure http://www.w3.org/TR/REC-html40/struct/dirlang.html#style-bidi:&lt;br /&gt;
 *&lt;br /&gt;
 * &amp;quot;When a block element that does not have a dir attribute is transformed to&lt;br /&gt;
 * the style of an inline element by a style sheet, the resulting presentation&lt;br /&gt;
 * should be equivalent, in terms of bidirectional formatting, to the&lt;br /&gt;
 * formatting obtained by explicitly adding a dir attribute (assigned the&lt;br /&gt;
 * inherited value) to the transformed element.&amp;quot; */&lt;br /&gt;
&lt;br /&gt;
address, blockquote, body, caption, center, col, colgroup, dd, dir, div, dl, dt,&lt;br /&gt;
fieldset, form, h1, h2, h3, h4, h5, h6, hr, html, isindex, li, listing, map, &lt;br /&gt;
marquee, menu, noframes, ol, p, plaintext, pre, table, tbody, td, tfoot, th, &lt;br /&gt;
thead, tr, ul, xmp {&lt;br /&gt;
  unicode-bidi: embed;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
/* blocks */&lt;br /&gt;
&lt;br /&gt;
html, div, map, dt, isindex, form {&lt;br /&gt;
  display: block;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
body {&lt;br /&gt;
  display: block;&lt;br /&gt;
  margin: 8px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
p, dl, multicol {&lt;br /&gt;
  display: block;&lt;br /&gt;
  margin: 1em 0;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
dd {&lt;br /&gt;
  display: block;&lt;br /&gt;
  -moz-margin-start: 40px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
blockquote {&lt;br /&gt;
  display: block;&lt;br /&gt;
  margin: 1em 40px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
address {&lt;br /&gt;
  display: block;&lt;br /&gt;
  font-style: italic;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
center {&lt;br /&gt;
  display: block;&lt;br /&gt;
  text-align: -moz-center;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
blockquote[type=cite] {&lt;br /&gt;
  display: block;&lt;br /&gt;
  margin: 1em 0px;&lt;br /&gt;
  -moz-padding-start: 1em;&lt;br /&gt;
  -moz-border-start: solid;&lt;br /&gt;
  border-color: blue;&lt;br /&gt;
  border-width: thin;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
span[_moz_quote=true] {&lt;br /&gt;
  color: blue;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
pre[_moz_quote=true] {&lt;br /&gt;
  color: blue;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
h1 {&lt;br /&gt;
  display: block;&lt;br /&gt;
  font-size: 2em;&lt;br /&gt;
  font-weight: bold;&lt;br /&gt;
  margin: .67em 0;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
h2 {&lt;br /&gt;
  display: block;&lt;br /&gt;
  font-size: 1.5em;&lt;br /&gt;
  font-weight: bold;&lt;br /&gt;
  margin: .83em 0;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
h3 {&lt;br /&gt;
  display: block;&lt;br /&gt;
  font-size: 1.17em;&lt;br /&gt;
  font-weight: bold;&lt;br /&gt;
  margin: 1em 0;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
h4 {&lt;br /&gt;
  display: block;&lt;br /&gt;
  font-weight: bold;&lt;br /&gt;
  margin: 1.33em 0;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
h5 {&lt;br /&gt;
  display: block;&lt;br /&gt;
  font-size: 0.83em;&lt;br /&gt;
  font-weight: bold;&lt;br /&gt;
  margin: 1.67em 0;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
h6 {&lt;br /&gt;
  display: block;&lt;br /&gt;
  font-size: 0.67em;&lt;br /&gt;
  font-weight: bold;&lt;br /&gt;
  margin: 2.33em 0;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
listing {&lt;br /&gt;
  display: block;&lt;br /&gt;
  font-family: -moz-fixed;&lt;br /&gt;
  font-size: medium;&lt;br /&gt;
  white-space: pre;&lt;br /&gt;
  margin: 1em 0;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
xmp, pre, plaintext {&lt;br /&gt;
  display: block;&lt;br /&gt;
  font-family: -moz-fixed;&lt;br /&gt;
  white-space: pre;&lt;br /&gt;
  margin: 1em 0;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* tables */&lt;br /&gt;
&lt;br /&gt;
table {&lt;br /&gt;
  display: table;&lt;br /&gt;
  border-spacing: 2px;&lt;br /&gt;
  border-collapse: separate;&lt;br /&gt;
  margin-top: 0;&lt;br /&gt;
  margin-bottom: 0;&lt;br /&gt;
  /* XXXldb do we want this if we're border-collapse:collapse ? */&lt;br /&gt;
  -moz-box-sizing: border-box;&lt;br /&gt;
  text-indent: 0;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
table[align=&amp;quot;left&amp;quot;] {&lt;br /&gt;
  float: left;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
table[align=&amp;quot;right&amp;quot;] {&lt;br /&gt;
  float: right;&lt;br /&gt;
  text-align: start;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
table[rules]:not([rules=&amp;quot;none&amp;quot;]) {&lt;br /&gt;
  border-collapse: collapse;&lt;br /&gt;
}&lt;br /&gt;
   &lt;br /&gt;
/* caption inherits from table not table-outer */  &lt;br /&gt;
caption {&lt;br /&gt;
  display: table-caption;&lt;br /&gt;
  text-align: center;&lt;br /&gt;
  -moz-box-sizing: border-box;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
table[align=&amp;quot;center&amp;quot;] &amp;gt; caption {&lt;br /&gt;
  margin-left: auto;&lt;br /&gt;
  margin-right: auto;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
table[align=&amp;quot;center&amp;quot;] &amp;gt; caption[align=&amp;quot;left&amp;quot;] {&lt;br /&gt;
  margin-right: 0;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
table[align=&amp;quot;center&amp;quot;] &amp;gt; caption[align=&amp;quot;right&amp;quot;] {&lt;br /&gt;
  margin-left: 0;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
tr {&lt;br /&gt;
  display: table-row;&lt;br /&gt;
  vertical-align: inherit;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
col {&lt;br /&gt;
  display: table-column;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
colgroup {&lt;br /&gt;
  display: table-column-group;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
tbody {&lt;br /&gt;
  display: table-row-group;&lt;br /&gt;
  vertical-align: middle;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
thead {&lt;br /&gt;
  display: table-header-group;&lt;br /&gt;
  vertical-align: middle;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
tfoot {&lt;br /&gt;
  display: table-footer-group;&lt;br /&gt;
  vertical-align: middle;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* for XHTML tables without tbody */&lt;br /&gt;
table &amp;gt; tr {&lt;br /&gt;
  vertical-align: middle;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
td { &lt;br /&gt;
  display: table-cell;&lt;br /&gt;
  vertical-align: inherit;&lt;br /&gt;
  text-align: inherit; &lt;br /&gt;
  padding: 1px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
th {&lt;br /&gt;
  display: table-cell;&lt;br /&gt;
  vertical-align: inherit;&lt;br /&gt;
  font-weight: bold;&lt;br /&gt;
  padding: 1px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
tr &amp;gt; form:-moz-is-html, tbody &amp;gt; form:-moz-is-html,&lt;br /&gt;
thead &amp;gt; form:-moz-is-html, tfoot &amp;gt; form:-moz-is-html,&lt;br /&gt;
table &amp;gt; form:-moz-is-html {&lt;br /&gt;
  /* Important: don't show these forms in HTML */&lt;br /&gt;
  display: none !important;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* inlines */&lt;br /&gt;
&lt;br /&gt;
q:before {&lt;br /&gt;
  content: open-quote;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
q:after {&lt;br /&gt;
  content: close-quote;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
b, strong {&lt;br /&gt;
  font-weight: bolder;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
i, cite, em, var, dfn {&lt;br /&gt;
  font-style: italic;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
tt, code, kbd, samp {&lt;br /&gt;
  font-family: -moz-fixed;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
u, ins {&lt;br /&gt;
  text-decoration: underline;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
s, strike, del {&lt;br /&gt;
  text-decoration: line-through;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
blink {&lt;br /&gt;
  text-decoration: blink;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
big {&lt;br /&gt;
  font-size: larger;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
small {&lt;br /&gt;
  font-size: smaller;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
sub {&lt;br /&gt;
  vertical-align: sub;&lt;br /&gt;
  font-size: smaller;&lt;br /&gt;
  line-height: normal;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
sup {&lt;br /&gt;
  vertical-align: super;&lt;br /&gt;
  font-size: smaller;&lt;br /&gt;
  line-height: normal;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
nobr {&lt;br /&gt;
  white-space: nowrap;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* titles */&lt;br /&gt;
abbr[title], acronym[title] {&lt;br /&gt;
  border-bottom: dotted 1px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* lists */&lt;br /&gt;
&lt;br /&gt;
ul, menu, dir {&lt;br /&gt;
  display: block;&lt;br /&gt;
  list-style-type: disc;&lt;br /&gt;
  margin: 1em 0;&lt;br /&gt;
  -moz-padding-start: 40px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ol {&lt;br /&gt;
  display: block;&lt;br /&gt;
  list-style-type: decimal;&lt;br /&gt;
  margin: 1em 0;&lt;br /&gt;
  -moz-padding-start: 40px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
li {&lt;br /&gt;
  display: list-item;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* nested lists have no top/bottom margins */&lt;br /&gt;
ul ul,   ul ol,   ul dir,   ul menu,   ul dl,&lt;br /&gt;
ol ul,   ol ol,   ol dir,   ol menu,   ol dl,&lt;br /&gt;
dir ul,  dir ol,  dir dir,  dir menu,  dir dl,&lt;br /&gt;
menu ul, menu ol, menu dir, menu menu, menu dl,&lt;br /&gt;
dl ul,   dl ol,   dl dir,   dl menu,   dl dl {&lt;br /&gt;
  margin-top: 0;&lt;br /&gt;
  margin-bottom: 0;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* 2 deep unordered lists use a circle */&lt;br /&gt;
ol ul,   ul ul,   menu ul,   dir ul,&lt;br /&gt;
ol menu, ul menu, menu menu, dir menu,&lt;br /&gt;
ol dir,  ul dir,  menu dir,  dir dir {&lt;br /&gt;
  list-style-type: circle;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* 3 deep (or more) unordered lists use a square */&lt;br /&gt;
ol ol ul,     ol ul ul,     ol menu ul,     ol dir ul,&lt;br /&gt;
ol ol menu,   ol ul menu,   ol menu menu,   ol dir menu,&lt;br /&gt;
ol ol dir,    ol ul dir,    ol menu dir,    ol dir dir,&lt;br /&gt;
ul ol ul,     ul ul ul,     ul menu ul,     ul dir ul,&lt;br /&gt;
ul ol menu,   ul ul menu,   ul menu menu,   ul dir menu,&lt;br /&gt;
ul ol dir,    ul ul dir,    ul menu dir,    ul dir dir,&lt;br /&gt;
menu ol ul,   menu ul ul,   menu menu ul,   menu dir ul,&lt;br /&gt;
menu ol menu, menu ul menu, menu menu menu, menu dir menu,&lt;br /&gt;
menu ol dir,  menu ul dir,  menu menu dir,  menu dir dir,&lt;br /&gt;
dir ol ul,    dir ul ul,    dir menu ul,    dir dir ul,&lt;br /&gt;
dir ol menu,  dir ul menu,  dir menu menu,  dir dir menu,&lt;br /&gt;
dir ol dir,   dir ul dir,   dir menu dir,   dir dir dir {&lt;br /&gt;
  list-style-type: square;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
/* leafs */&lt;br /&gt;
&lt;br /&gt;
/* &amp;lt;hr&amp;gt; noshade and color attributes are handled completely by&lt;br /&gt;
 * the nsHTMLHRElement attribute mapping code&lt;br /&gt;
 */&lt;br /&gt;
hr {&lt;br /&gt;
  display: block;&lt;br /&gt;
  height: 2px;&lt;br /&gt;
  border: 1px inset;&lt;br /&gt;
  margin: 0.5em auto 0.5em auto;&lt;br /&gt;
  color: gray;&lt;br /&gt;
  -moz-float-edge: margin-box;&lt;br /&gt;
  -moz-box-sizing: border-box;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
hr[size=&amp;quot;1&amp;quot;] {&lt;br /&gt;
  border-style: solid none none none;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
*|*:-moz-any-link img, img[usemap], object[usemap] {&lt;br /&gt;
  border: 2px solid;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
img:-moz-broken::before, input:-moz-broken::before,&lt;br /&gt;
img:-moz-user-disabled::before, input:-moz-user-disabled::before,&lt;br /&gt;
img:-moz-loading::before, input:-moz-loading::before,&lt;br /&gt;
applet:-moz-empty-except-children-with-localname(param):-moz-broken::before,&lt;br /&gt;
applet:-moz-empty-except-children-with-localname(param):-moz-user-disabled::before {&lt;br /&gt;
  content: -moz-alt-content !important;&lt;br /&gt;
  unicode-bidi: embed;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
object:-moz-broken &amp;gt; *|*, applet:-moz-broken &amp;gt; *|*&lt;br /&gt;
object:-moz-user-disabled &amp;gt; *|*, applet:-moz-user-disabled &amp;gt; *|* {&lt;br /&gt;
  /*&lt;br /&gt;
    Inherit in the object's alignment so that if we aren't aligned explicitly&lt;br /&gt;
    we'll end up in the right place vertically.  See bug 36997.  Note that this&lt;br /&gt;
    is not !important because we _might_ be aligned explicitly.&lt;br /&gt;
  */&lt;br /&gt;
  vertical-align: inherit;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
img:-moz-suppressed, input:-moz-suppressed, object:-moz-suppressed,&lt;br /&gt;
embed:-moz-suppressed, applet:-moz-suppressed {&lt;br /&gt;
  /*&lt;br /&gt;
    Set visibility too in case the page changes display.  Note that we _may_&lt;br /&gt;
    want to just set visibility and not display, in general, if we find that&lt;br /&gt;
    display: none breaks too many layouts.  And if we decide we really do want&lt;br /&gt;
    people to be able to right-click blocked images, etc, we need to set&lt;br /&gt;
    neither one, and hack the painting code.... :(&lt;br /&gt;
   */&lt;br /&gt;
  display: none !important;&lt;br /&gt;
  visibility: hidden !important;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
img[usemap], object[usemap] {&lt;br /&gt;
  color: blue;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
frameset {&lt;br /&gt;
  display: block ! important;&lt;br /&gt;
  overflow: -moz-hidden-unscrollable;&lt;br /&gt;
  position: static ! important;&lt;br /&gt;
  float: none ! important;&lt;br /&gt;
  border: none ! important;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
frame {&lt;br /&gt;
  border: none ! important;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
iframe {&lt;br /&gt;
  border: 2px inset;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
noframes {&lt;br /&gt;
  display: none;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
spacer {&lt;br /&gt;
  position: static ! important;&lt;br /&gt;
  float: none ! important;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
canvas {&lt;br /&gt;
  -moz-user-select: none;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* focusable content: anything w/ tabindex &amp;gt;=0 is focusable */&lt;br /&gt;
abbr:focus, acronym:focus, address:focus, b:focus,&lt;br /&gt;
base:focus, big:focus, blockquote:focus, br:focus, canvas:focus, caption:focus,&lt;br /&gt;
center:focus, cite:focus, code:focus, col:focus, colgroup:focus, dd:focus,&lt;br /&gt;
del:focus, dfn:focus, dir:focus, div:focus, dl:focus, dt:focus, em:focus,&lt;br /&gt;
fieldset:focus, font:focus, form:focus, h1:focus, h2:focus, h3:focus, h4:focus,&lt;br /&gt;
h5:focus, h6:focus, hr:focus, i:focus, img:focus, ins:focus, &lt;br /&gt;
kbd:focus, label:focus, legend:focus, li:focus, link:focus, menu:focus, &lt;br /&gt;
ol:focus, p:focus, pre:focus, q:focus, s:focus, samp:focus, &lt;br /&gt;
small:focus, span:focus, strike:focus, strong:focus, sub:focus, sup:focus, &lt;br /&gt;
table:focus, tbody:focus, td:focus, tfoot:focus, th:focus, thead:focus, &lt;br /&gt;
tr:focus, tt:focus, u:focus, ul:focus, var:focus {&lt;br /&gt;
  /* Don't specify the outline-color, we should always use initial value. */&lt;br /&gt;
   outline: 1px dotted;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* hidden elements */&lt;br /&gt;
area, base, basefont, head, meta, script, style, title,&lt;br /&gt;
noembed, param {&lt;br /&gt;
   display: none;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* media elements */&lt;br /&gt;
video &amp;gt; xul|videocontrols, audio &amp;gt; xul|videocontrols {&lt;br /&gt;
  display: -moz-box;&lt;br /&gt;
  -moz-box-orient: vertical;&lt;br /&gt;
  -moz-binding: url(&amp;quot;chrome://global/content/bindings/videocontrols.xml#videoControls&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
video:not([controls]) &amp;gt; xul|videocontrols,&lt;br /&gt;
audio:not([controls]) &amp;gt; xul|videocontrols {&lt;br /&gt;
  visibility: hidden;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
audio:not([controls]) {&lt;br /&gt;
  display: none;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* emulation of non-standard HTML &amp;lt;marquee&amp;gt; tag */&lt;br /&gt;
marquee {&lt;br /&gt;
  width: -moz-available;&lt;br /&gt;
  display: inline-block;&lt;br /&gt;
  vertical-align: text-bottom;&lt;br /&gt;
  text-align: start;&lt;br /&gt;
  -moz-binding: url('chrome://xbl-marquee/content/xbl-marquee.xml#marquee-horizontal');&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
marquee[direction=&amp;quot;up&amp;quot;], marquee[direction=&amp;quot;down&amp;quot;] {&lt;br /&gt;
  -moz-binding: url('chrome://xbl-marquee/content/xbl-marquee.xml#marquee-vertical');&lt;br /&gt;
  height: 200px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* PRINT ONLY rules follow */&lt;br /&gt;
@media print {&lt;br /&gt;
&lt;br /&gt;
  marquee { -moz-binding: none; }&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:CSS]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Tips_on_using_CSS_with_XML/TEI&amp;diff=7799</id>
		<title>Tips on using CSS with XML/TEI</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Tips_on_using_CSS_with_XML/TEI&amp;diff=7799"/>
		<updated>2010-06-16T06:19:32Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: /* HTML to CSS Equivalents */ adding parenthesizing around non-showing elements&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For those who are fairly familiar with using CSS with HTML or XHTML, one might be familiar enough with how to define colors, etc., but still remain unaware of how to make a simple stylesheet.&lt;br /&gt;
&lt;br /&gt;
Since one cannot use .class-name as in X/HTML (though some processors might be able to use xml:id to be the target of the # id selector), one first ought to be familiar with the generic [http://www.w3.org/TR/CSS21/selector.html#attribute-selectors attribute selectors].&lt;br /&gt;
&lt;br /&gt;
For example,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;div type=&amp;quot;chapter&amp;quot;&amp;gt;...&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Could be styled with:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;div[type=&amp;quot;chapter&amp;quot;] {}&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Another important adjustment to make is that while X/HTML defines a default display behavior (e.g., &amp;amp;lt;p&amp;gt; in HTML is block while &amp;amp;lt;span&amp;gt; in HTML is inline), other XML is more generic and forces you to define which elements out to be defined as block (they will otherwise be rendered inline).&lt;br /&gt;
&lt;br /&gt;
For example, for TEI, you might define the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;p, div, div1, div2, div3 {display:block}&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can also specify inline elements by using &amp;lt;code&amp;gt;display:inline&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==HTML to CSS Equivalents==&lt;br /&gt;
&lt;br /&gt;
(Display is inline by default unless indicated.)&lt;br /&gt;
(Note that in order to bypass the spam filter, some bogus spaces were added in the display: none; lines.)&lt;br /&gt;
&lt;br /&gt;
* blockquote - display:block; text-indent: 40px;&lt;br /&gt;
* div - display:block;&lt;br /&gt;
* em - font-style:italic;&lt;br /&gt;
* (head - display: none;)&lt;br /&gt;
* i - font-style:italic;&lt;br /&gt;
* (link - display: none;)&lt;br /&gt;
* (meta - display: none;)&lt;br /&gt;
* (script - display: none;)&lt;br /&gt;
* span - display:inline; /* unnecessary since default */&lt;br /&gt;
* (style - display: none;)&lt;br /&gt;
* (title - display: none;)&lt;br /&gt;
* ul - display:block; text-indent: 40px;&lt;br /&gt;
* (etc.)&lt;br /&gt;
&lt;br /&gt;
[[Category:CSS]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Tips_on_using_CSS_with_XML/TEI&amp;diff=7798</id>
		<title>Tips on using CSS with XML/TEI</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Tips_on_using_CSS_with_XML/TEI&amp;diff=7798"/>
		<updated>2010-06-16T06:18:42Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: /* HTML to CSS Equivalents */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For those who are fairly familiar with using CSS with HTML or XHTML, one might be familiar enough with how to define colors, etc., but still remain unaware of how to make a simple stylesheet.&lt;br /&gt;
&lt;br /&gt;
Since one cannot use .class-name as in X/HTML (though some processors might be able to use xml:id to be the target of the # id selector), one first ought to be familiar with the generic [http://www.w3.org/TR/CSS21/selector.html#attribute-selectors attribute selectors].&lt;br /&gt;
&lt;br /&gt;
For example,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;div type=&amp;quot;chapter&amp;quot;&amp;gt;...&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Could be styled with:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;div[type=&amp;quot;chapter&amp;quot;] {}&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Another important adjustment to make is that while X/HTML defines a default display behavior (e.g., &amp;amp;lt;p&amp;gt; in HTML is block while &amp;amp;lt;span&amp;gt; in HTML is inline), other XML is more generic and forces you to define which elements out to be defined as block (they will otherwise be rendered inline).&lt;br /&gt;
&lt;br /&gt;
For example, for TEI, you might define the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;p, div, div1, div2, div3 {display:block}&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can also specify inline elements by using &amp;lt;code&amp;gt;display:inline&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==HTML to CSS Equivalents==&lt;br /&gt;
&lt;br /&gt;
(Display is inline by default unless indicated.)&lt;br /&gt;
(Note that in order to bypass the spam filter, some bogus spaces were added in the display: none; lines.)&lt;br /&gt;
&lt;br /&gt;
* blockquote - display:block; text-indent: 40px;&lt;br /&gt;
* div - display:block;&lt;br /&gt;
* em - font-style:italic;&lt;br /&gt;
* head - display: none;&lt;br /&gt;
* i - font-style:italic;&lt;br /&gt;
* link - display: none;&lt;br /&gt;
* meta - display: none;&lt;br /&gt;
* script - display: none;&lt;br /&gt;
* span - display:inline; /* unnecessary since default */&lt;br /&gt;
* style - display: none;&lt;br /&gt;
* title - display: none;&lt;br /&gt;
* ul - display:block; text-indent: 40px;&lt;br /&gt;
* (etc.)&lt;br /&gt;
&lt;br /&gt;
[[Category:CSS]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Tips_on_using_CSS_with_XML/TEI&amp;diff=7797</id>
		<title>Tips on using CSS with XML/TEI</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Tips_on_using_CSS_with_XML/TEI&amp;diff=7797"/>
		<updated>2010-06-16T06:17:31Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: /* HTML to CSS Equivalents */ spacing&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For those who are fairly familiar with using CSS with HTML or XHTML, one might be familiar enough with how to define colors, etc., but still remain unaware of how to make a simple stylesheet.&lt;br /&gt;
&lt;br /&gt;
Since one cannot use .class-name as in X/HTML (though some processors might be able to use xml:id to be the target of the # id selector), one first ought to be familiar with the generic [http://www.w3.org/TR/CSS21/selector.html#attribute-selectors attribute selectors].&lt;br /&gt;
&lt;br /&gt;
For example,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;div type=&amp;quot;chapter&amp;quot;&amp;gt;...&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Could be styled with:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;div[type=&amp;quot;chapter&amp;quot;] {}&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Another important adjustment to make is that while X/HTML defines a default display behavior (e.g., &amp;amp;lt;p&amp;gt; in HTML is block while &amp;amp;lt;span&amp;gt; in HTML is inline), other XML is more generic and forces you to define which elements out to be defined as block (they will otherwise be rendered inline).&lt;br /&gt;
&lt;br /&gt;
For example, for TEI, you might define the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;p, div, div1, div2, div3 {display:block}&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can also specify inline elements by using &amp;lt;code&amp;gt;display:inline&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==HTML to CSS Equivalents==&lt;br /&gt;
&lt;br /&gt;
(Display is inline by default unless indicated.)&lt;br /&gt;
&lt;br /&gt;
* blockquote - display:block; text-indent: 40px;&lt;br /&gt;
* div - display:block;&lt;br /&gt;
* em - font-style:italic;&lt;br /&gt;
* head - display: none;&lt;br /&gt;
* i - font-style:italic;&lt;br /&gt;
* link - display: none;&lt;br /&gt;
* meta - display: none;&lt;br /&gt;
* script - display: none;&lt;br /&gt;
* span - display:inline; /* unnecessary since default */&lt;br /&gt;
* style - display: none;&lt;br /&gt;
* title - display: none;&lt;br /&gt;
* ul - display:block; text-indent: 40px;&lt;br /&gt;
* (etc.)&lt;br /&gt;
&lt;br /&gt;
[[Category:CSS]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Tips_on_using_CSS_with_XML/TEI&amp;diff=7796</id>
		<title>Tips on using CSS with XML/TEI</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Tips_on_using_CSS_with_XML/TEI&amp;diff=7796"/>
		<updated>2010-06-16T06:16:30Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: /* HTML to CSS Equivalents */ +div, span, etc.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For those who are fairly familiar with using CSS with HTML or XHTML, one might be familiar enough with how to define colors, etc., but still remain unaware of how to make a simple stylesheet.&lt;br /&gt;
&lt;br /&gt;
Since one cannot use .class-name as in X/HTML (though some processors might be able to use xml:id to be the target of the # id selector), one first ought to be familiar with the generic [http://www.w3.org/TR/CSS21/selector.html#attribute-selectors attribute selectors].&lt;br /&gt;
&lt;br /&gt;
For example,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;div type=&amp;quot;chapter&amp;quot;&amp;gt;...&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Could be styled with:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;div[type=&amp;quot;chapter&amp;quot;] {}&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Another important adjustment to make is that while X/HTML defines a default display behavior (e.g., &amp;amp;lt;p&amp;gt; in HTML is block while &amp;amp;lt;span&amp;gt; in HTML is inline), other XML is more generic and forces you to define which elements out to be defined as block (they will otherwise be rendered inline).&lt;br /&gt;
&lt;br /&gt;
For example, for TEI, you might define the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;p, div, div1, div2, div3 {display:block}&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can also specify inline elements by using &amp;lt;code&amp;gt;display:inline&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==HTML to CSS Equivalents==&lt;br /&gt;
&lt;br /&gt;
(Display is inline by default unless indicated.)&lt;br /&gt;
&lt;br /&gt;
* blockquote - display:block; text-indent: 40px;&lt;br /&gt;
* div - display:block;&lt;br /&gt;
* em - font-style:italic;&lt;br /&gt;
* head - &amp;lt;pre&amp;gt;display: none;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* i - font-style:italic;&lt;br /&gt;
* link - &amp;lt;pre&amp;gt;display: none;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* meta - &amp;lt;pre&amp;gt;display: none;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* script - &amp;lt;pre&amp;gt;display: none;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* span - display:inline; /* unnecessary since default */&lt;br /&gt;
* style - &amp;lt;pre&amp;gt;display: none;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* title - &amp;lt;pre&amp;gt;display: none;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* ul - display:block; text-indent: 40px;&lt;br /&gt;
* (etc.)&lt;br /&gt;
&lt;br /&gt;
[[Category:CSS]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Tips_on_using_CSS_with_XML/TEI&amp;diff=7795</id>
		<title>Tips on using CSS with XML/TEI</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Tips_on_using_CSS_with_XML/TEI&amp;diff=7795"/>
		<updated>2010-06-16T06:05:41Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: /* HTML to CSS Equivalents */ +blockquote&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For those who are fairly familiar with using CSS with HTML or XHTML, one might be familiar enough with how to define colors, etc., but still remain unaware of how to make a simple stylesheet.&lt;br /&gt;
&lt;br /&gt;
Since one cannot use .class-name as in X/HTML (though some processors might be able to use xml:id to be the target of the # id selector), one first ought to be familiar with the generic [http://www.w3.org/TR/CSS21/selector.html#attribute-selectors attribute selectors].&lt;br /&gt;
&lt;br /&gt;
For example,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;div type=&amp;quot;chapter&amp;quot;&amp;gt;...&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Could be styled with:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;div[type=&amp;quot;chapter&amp;quot;] {}&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Another important adjustment to make is that while X/HTML defines a default display behavior (e.g., &amp;amp;lt;p&amp;gt; in HTML is block while &amp;amp;lt;span&amp;gt; in HTML is inline), other XML is more generic and forces you to define which elements out to be defined as block (they will otherwise be rendered inline).&lt;br /&gt;
&lt;br /&gt;
For example, for TEI, you might define the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;p, div, div1, div2, div3 {display:block}&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can also specify inline elements by using &amp;lt;code&amp;gt;display:inline&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==HTML to CSS Equivalents==&lt;br /&gt;
&lt;br /&gt;
(Display is inline by default unless indicated.)&lt;br /&gt;
&lt;br /&gt;
* blockquote - display:block; text-indent: 40px;&lt;br /&gt;
* em - font-style:italic;&lt;br /&gt;
* i - font-style:italic;&lt;br /&gt;
* ul - display:block; text-indent: 40px;&lt;br /&gt;
* (etc.)&lt;br /&gt;
&lt;br /&gt;
[[Category:CSS]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Tips_on_using_CSS_with_XML/TEI&amp;diff=7794</id>
		<title>Tips on using CSS with XML/TEI</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Tips_on_using_CSS_with_XML/TEI&amp;diff=7794"/>
		<updated>2010-06-16T05:58:55Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: /* HTML to CSS Equivalents */ +etc&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For those who are fairly familiar with using CSS with HTML or XHTML, one might be familiar enough with how to define colors, etc., but still remain unaware of how to make a simple stylesheet.&lt;br /&gt;
&lt;br /&gt;
Since one cannot use .class-name as in X/HTML (though some processors might be able to use xml:id to be the target of the # id selector), one first ought to be familiar with the generic [http://www.w3.org/TR/CSS21/selector.html#attribute-selectors attribute selectors].&lt;br /&gt;
&lt;br /&gt;
For example,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;div type=&amp;quot;chapter&amp;quot;&amp;gt;...&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Could be styled with:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;div[type=&amp;quot;chapter&amp;quot;] {}&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Another important adjustment to make is that while X/HTML defines a default display behavior (e.g., &amp;amp;lt;p&amp;gt; in HTML is block while &amp;amp;lt;span&amp;gt; in HTML is inline), other XML is more generic and forces you to define which elements out to be defined as block (they will otherwise be rendered inline).&lt;br /&gt;
&lt;br /&gt;
For example, for TEI, you might define the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;p, div, div1, div2, div3 {display:block}&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can also specify inline elements by using &amp;lt;code&amp;gt;display:inline&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==HTML to CSS Equivalents==&lt;br /&gt;
&lt;br /&gt;
(Display is inline by default unless indicated.)&lt;br /&gt;
&lt;br /&gt;
* em - font-style:italic;&lt;br /&gt;
* i - font-style:italic;&lt;br /&gt;
* ul - display:block; text-indent: 40px;&lt;br /&gt;
* (etc.)&lt;br /&gt;
&lt;br /&gt;
[[Category:CSS]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Tips_on_using_CSS_with_XML/TEI&amp;diff=7793</id>
		<title>Tips on using CSS with XML/TEI</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Tips_on_using_CSS_with_XML/TEI&amp;diff=7793"/>
		<updated>2010-06-16T05:58:36Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: html-&amp;gt;CSS equivs&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For those who are fairly familiar with using CSS with HTML or XHTML, one might be familiar enough with how to define colors, etc., but still remain unaware of how to make a simple stylesheet.&lt;br /&gt;
&lt;br /&gt;
Since one cannot use .class-name as in X/HTML (though some processors might be able to use xml:id to be the target of the # id selector), one first ought to be familiar with the generic [http://www.w3.org/TR/CSS21/selector.html#attribute-selectors attribute selectors].&lt;br /&gt;
&lt;br /&gt;
For example,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;div type=&amp;quot;chapter&amp;quot;&amp;gt;...&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Could be styled with:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;div[type=&amp;quot;chapter&amp;quot;] {}&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Another important adjustment to make is that while X/HTML defines a default display behavior (e.g., &amp;amp;lt;p&amp;gt; in HTML is block while &amp;amp;lt;span&amp;gt; in HTML is inline), other XML is more generic and forces you to define which elements out to be defined as block (they will otherwise be rendered inline).&lt;br /&gt;
&lt;br /&gt;
For example, for TEI, you might define the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;p, div, div1, div2, div3 {display:block}&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can also specify inline elements by using &amp;lt;code&amp;gt;display:inline&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==HTML to CSS Equivalents==&lt;br /&gt;
&lt;br /&gt;
(Display is inline by default unless indicated.)&lt;br /&gt;
&lt;br /&gt;
* em - font-style:italic;&lt;br /&gt;
* i - font-style:italic;&lt;br /&gt;
* ul - display:block; text-indent: 40px;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:CSS]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7792</id>
		<title>Comprehensive CSS Stylesheet</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7792"/>
		<updated>2010-06-16T04:39:14Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: /* s */ make indented&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following is an attempt to gradually build CSS for each TEI element, paralleling the default TEI stylesheets (while also potentially serving as a kind of discussion center for how the stylesheets ought to operate (see [[Formatting TEI documents]] on how there is a need for this despite TEI being agnostic as to output formatting), at least for issues pertaining solely to formatting as opposed to semantics), by indicating here necessary deviations from the XHTML stylesheets (due to CSS constraints) or potentially desirable alternatives, etc.).&lt;br /&gt;
&lt;br /&gt;
Advantages of CSS over XSL might include:&lt;br /&gt;
# Simpler for maintenance/alteration (though CSS can still be combined with simpler XSL as needed)&lt;br /&gt;
# Downloading (and parsing?) is faster&lt;br /&gt;
# Wider browser support (and for browser caching?)&lt;br /&gt;
# Allows DOM and other manipulation directly on semantically-named TEI elements (though admittedly, use of frameworks like jQuery may make traversal of X/HTML as easy or easier)&lt;br /&gt;
# TEI could potentially be used as is in HTML (though empty self-closing elements will not be treated properly unless changed to &amp;lt;elem&amp;gt;&amp;lt;/elem&amp;gt; form and namespaces will not be present) in addition to true XHTML.&lt;br /&gt;
&lt;br /&gt;
Disadvantages:&lt;br /&gt;
# Does not allow for certain kinds of transformations (though again, CSS can be combined with a simple XSL stylesheet which preserves TEI except in cases where needed)&lt;br /&gt;
# Is cumbersome for certain variable structures (e.g., for values varying by integer but not including the integer (e.g., space.extent =&amp;gt; number of spaces) a separate rule must be created for each possible attribute value)&lt;br /&gt;
# (Another disadvantage of CSS in general is being unable to create certain kinds of output such as form controls, but in the case of TEI, we hardly need this.)&lt;br /&gt;
&lt;br /&gt;
Per CSS Namespaces, one can use either&lt;br /&gt;
 @namespace &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 @namespace tei &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
...but we will use the former since we will presume the stylesheet will be primarily (if not exclusively) for TEI.&lt;br /&gt;
&lt;br /&gt;
We will not be able to make equivalents for XSLT templates like rendToClass (e.g., ab) or applyRend (emph), applyRendition (emph) since we cannot (nor do we need to) add an id or class (though @rend or @rendition would be useful to utilize, there is no &amp;quot;eval()&amp;quot;-like code in CSS; however, we could test against predefined values like &amp;quot;bold&amp;quot; (maybe as a global * or at least the elements using these in the stylesheets (emph, hi, ...))).&lt;br /&gt;
&lt;br /&gt;
All fields below should be complete for an element, or otherwise noted that it is incomplete, so that it can otherwise be assumed that the CSS has been completely applied as far as possible (besides rend/rendition which may later be done globally for all elements, as these are indeed globals).&lt;br /&gt;
&lt;br /&gt;
==a==&lt;br /&gt;
 ab {display:block;}&lt;br /&gt;
* abbr&lt;br /&gt;
* accMat&lt;br /&gt;
* acquisition&lt;br /&gt;
* activity&lt;br /&gt;
 actor {display:inline; font-style: italic;}&lt;br /&gt;
* add&lt;br /&gt;
* addName&lt;br /&gt;
* addSpan&lt;br /&gt;
* additional&lt;br /&gt;
* additions&lt;br /&gt;
 addrLine {display:block;}&lt;br /&gt;
 address {display:block; /* font-style:italic; If wish to appear as HTML addresses are rendered by default, at least in Firefox */}&lt;br /&gt;
* adminInfo&lt;br /&gt;
* affiliation&lt;br /&gt;
* age&lt;br /&gt;
* alt&lt;br /&gt;
* altGrp&lt;br /&gt;
* altIdent&lt;br /&gt;
* altIdentifier&lt;br /&gt;
* am&lt;br /&gt;
* analytic&lt;br /&gt;
* anchor&lt;br /&gt;
* app&lt;br /&gt;
* appInfo&lt;br /&gt;
* application&lt;br /&gt;
* arc&lt;br /&gt;
* argument&lt;br /&gt;
 att {display:inline; font-weight:bold;} att:before {content:&amp;quot;@&amp;quot;}&lt;br /&gt;
* attDef&lt;br /&gt;
* attList&lt;br /&gt;
* attRef&lt;br /&gt;
* author&lt;br /&gt;
* authority&lt;br /&gt;
* availability&lt;br /&gt;
&lt;br /&gt;
==b==&lt;br /&gt;
&lt;br /&gt;
* back&lt;br /&gt;
* bibl&lt;br /&gt;
* biblFull&lt;br /&gt;
* biblScope&lt;br /&gt;
* biblStruct&lt;br /&gt;
* bicond&lt;br /&gt;
* binary&lt;br /&gt;
* binaryObject&lt;br /&gt;
* binding&lt;br /&gt;
* bindingDesc&lt;br /&gt;
* birth&lt;br /&gt;
* bloc&lt;br /&gt;
* body&lt;br /&gt;
* broadcast&lt;br /&gt;
 byline {display:block;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==c==&lt;br /&gt;
&lt;br /&gt;
* c&lt;br /&gt;
* cRefPattern&lt;br /&gt;
 caesura:before {display:inline; content:&amp;quot;\a0\a0\a0\a0&amp;quot;; /* could be :after too */}&lt;br /&gt;
 camera {display:inline; font-style: italic;}&lt;br /&gt;
 caption {display:inline; font-style: italic;}&lt;br /&gt;
* case&lt;br /&gt;
* castGroup&lt;br /&gt;
* castItem&lt;br /&gt;
 castList {} /* Note: has additional rules: */&lt;br /&gt;
 castList {display:block;} /* applies whether children are head or not */&lt;br /&gt;
 /* Note: for this to mirror the XSL exactly, head would always need to be preceding other elements as a direct child castList */&lt;br /&gt;
 castList &amp;gt; head {display:inline; font-style:italic;}&lt;br /&gt;
 castList &amp;gt; *:not(head) {margin-left: 40px;} /* If children of castList needed their own indents, then it should be relative to this (if possible) */&lt;br /&gt;
&lt;br /&gt;
* catDesc (Only defined in XSL conditionally if using catRef)&lt;br /&gt;
 catRef {} /* Note: has additional rules: */&lt;br /&gt;
 catRef + catRef:before {'\A'} /* Add line break if preceded by another catRef */&lt;br /&gt;
 catRef:after {content:attr(scheme); display:inline; font-style:italic;} /* Add scheme in italics */&lt;br /&gt;
 /* &lt;br /&gt;
 Commenting out as XPath not currently supported in CSS as needed by third 'after'&lt;br /&gt;
 catRef:after(2) {content:':'}*//* Requires CSS3 to add such additional 'after' content; See http://www.w3.org/TR/css3-content/#nesting or http://www.w3.org/TR/css3-content/#inserting0 */&lt;br /&gt;
 /* &lt;br /&gt;
 catRef:after(3) {content: &amp;lt;not possible to reference target's catDesc unless XPath gets added to CSS&amp;gt;} */&lt;br /&gt;
* catchwords&lt;br /&gt;
* category&lt;br /&gt;
* cb&lt;br /&gt;
* cell&lt;br /&gt;
* certainty&lt;br /&gt;
* change&lt;br /&gt;
* channel&lt;br /&gt;
* char&lt;br /&gt;
* charDecl&lt;br /&gt;
* charName&lt;br /&gt;
* charProp&lt;br /&gt;
* choice&lt;br /&gt;
* cit&lt;br /&gt;
* cl&lt;br /&gt;
* classCode (XSL has not yet covered (from header module))&lt;br /&gt;
* classDecl&lt;br /&gt;
* classSpec&lt;br /&gt;
* classes&lt;br /&gt;
* climate&lt;br /&gt;
* closer&lt;br /&gt;
 code {display:inline; font-family:monospace;}&lt;br /&gt;
* collation&lt;br /&gt;
* collection&lt;br /&gt;
* colloc&lt;br /&gt;
* colophon&lt;br /&gt;
* cond&lt;br /&gt;
* condition&lt;br /&gt;
* constitution&lt;br /&gt;
* constraint&lt;br /&gt;
* constraintSpec&lt;br /&gt;
* content&lt;br /&gt;
* corr&lt;br /&gt;
* correction&lt;br /&gt;
* country&lt;br /&gt;
* creation&lt;br /&gt;
* custEvent&lt;br /&gt;
* custodialHist&lt;br /&gt;
&lt;br /&gt;
==d==&lt;br /&gt;
&lt;br /&gt;
* damage&lt;br /&gt;
* damageSpan&lt;br /&gt;
* datatype&lt;br /&gt;
* date&lt;br /&gt;
* dateline&lt;br /&gt;
* death&lt;br /&gt;
* decoDesc&lt;br /&gt;
* decoNote&lt;br /&gt;
* def&lt;br /&gt;
* default&lt;br /&gt;
* defaultVal&lt;br /&gt;
 del {display:inline; text-decoration: line-through;}&lt;br /&gt;
* delSpan&lt;br /&gt;
* depth&lt;br /&gt;
* derivation&lt;br /&gt;
* desc&lt;br /&gt;
* dictScrap&lt;br /&gt;
* dim&lt;br /&gt;
* dimensions&lt;br /&gt;
* distinct&lt;br /&gt;
* distributor&lt;br /&gt;
* district&lt;br /&gt;
* div&lt;br /&gt;
* div1&lt;br /&gt;
* div2&lt;br /&gt;
* div3&lt;br /&gt;
* div4&lt;br /&gt;
* div5&lt;br /&gt;
* div6&lt;br /&gt;
* div7&lt;br /&gt;
* divGen&lt;br /&gt;
* docAuthor&lt;br /&gt;
* docDate&lt;br /&gt;
* docEdition&lt;br /&gt;
* docImprint&lt;br /&gt;
* docTitle&lt;br /&gt;
* domain&lt;br /&gt;
&lt;br /&gt;
==e==&lt;br /&gt;
&lt;br /&gt;
* eLeaf&lt;br /&gt;
* eTree&lt;br /&gt;
* edition&lt;br /&gt;
* editionStmt&lt;br /&gt;
* editor&lt;br /&gt;
* editorialDecl&lt;br /&gt;
* education&lt;br /&gt;
* eg&lt;br /&gt;
* egXML&lt;br /&gt;
* elementSpec&lt;br /&gt;
* email&lt;br /&gt;
 emph {display:inline; font-style:italic;}&lt;br /&gt;
* encodingDesc&lt;br /&gt;
* entry&lt;br /&gt;
* entryFree&lt;br /&gt;
 epigraph {display:block;}&lt;br /&gt;
* epilogue&lt;br /&gt;
* equipment&lt;br /&gt;
* equiv&lt;br /&gt;
* etym&lt;br /&gt;
* event&lt;br /&gt;
* ex&lt;br /&gt;
* exemplum&lt;br /&gt;
* expan&lt;br /&gt;
* explicit&lt;br /&gt;
* extent&lt;br /&gt;
&lt;br /&gt;
==f==&lt;br /&gt;
&lt;br /&gt;
* f&lt;br /&gt;
* fDecl&lt;br /&gt;
* fDescr&lt;br /&gt;
* fLib&lt;br /&gt;
* facsimile&lt;br /&gt;
* factuality&lt;br /&gt;
* faith&lt;br /&gt;
* figDesc&lt;br /&gt;
* figure&lt;br /&gt;
* fileDesc&lt;br /&gt;
* filiation&lt;br /&gt;
* finalRubric&lt;br /&gt;
* floatingText&lt;br /&gt;
* floruit&lt;br /&gt;
* foliation&lt;br /&gt;
 foreign {display:inline;}&lt;br /&gt;
* forename&lt;br /&gt;
* forest&lt;br /&gt;
* forestGrp&lt;br /&gt;
* form&lt;br /&gt;
* formula&lt;br /&gt;
* front&lt;br /&gt;
* fs&lt;br /&gt;
* fsConstraints&lt;br /&gt;
* fsDecl&lt;br /&gt;
* fsDescr&lt;br /&gt;
* fsdDecl&lt;br /&gt;
* fsdLink&lt;br /&gt;
* funder&lt;br /&gt;
* fvLib&lt;br /&gt;
* fw&lt;br /&gt;
&lt;br /&gt;
==g==&lt;br /&gt;
&lt;br /&gt;
* g&lt;br /&gt;
* gap&lt;br /&gt;
* gen&lt;br /&gt;
 genName {display:inline;}&lt;br /&gt;
* geo&lt;br /&gt;
* geoDecl&lt;br /&gt;
* geogFeat&lt;br /&gt;
 geogName {display:inline;}&lt;br /&gt;
 gi:before {display:inline;content:&amp;quot;&amp;lt;&amp;quot;}  gi:after {display:inline;content:&amp;quot;&amp;gt;&amp;quot;}&lt;br /&gt;
 gloss {display:inline;}&lt;br /&gt;
* glyph&lt;br /&gt;
* glyphName&lt;br /&gt;
* gram&lt;br /&gt;
* gramGrp&lt;br /&gt;
* graph&lt;br /&gt;
* graphic&lt;br /&gt;
* group&lt;br /&gt;
&lt;br /&gt;
==h==&lt;br /&gt;
&lt;br /&gt;
* handDesc&lt;br /&gt;
* handNote&lt;br /&gt;
* handNotes&lt;br /&gt;
* handShift&lt;br /&gt;
* head&lt;br /&gt;
* headItem&lt;br /&gt;
* headLabel&lt;br /&gt;
* height&lt;br /&gt;
* heraldry&lt;br /&gt;
 hi {display:inline; font-weight:bold;}&lt;br /&gt;
* history&lt;br /&gt;
* hom&lt;br /&gt;
* hyph&lt;br /&gt;
* hyphenation&lt;br /&gt;
&lt;br /&gt;
==i==&lt;br /&gt;
&lt;br /&gt;
* iNode&lt;br /&gt;
* iType&lt;br /&gt;
 ident[type] {display:inline; font-weight:bold;} ident:not([type]) {display:inline; } /* Just as the stylesheet allows for different types; a specific type could be styled by ident[type=&amp;quot;XXX&amp;quot;] */&lt;br /&gt;
* idno&lt;br /&gt;
* if&lt;br /&gt;
* iff&lt;br /&gt;
* imprimatur&lt;br /&gt;
* imprint&lt;br /&gt;
* incident (speech module: XSL has not yet covered)&lt;br /&gt;
* incipit&lt;br /&gt;
* index&lt;br /&gt;
* institution&lt;br /&gt;
* interaction&lt;br /&gt;
* interp&lt;br /&gt;
* interpGrp&lt;br /&gt;
* interpretation&lt;br /&gt;
* item&lt;br /&gt;
&lt;br /&gt;
==j==&lt;br /&gt;
&lt;br /&gt;
* join&lt;br /&gt;
* joinGrp&lt;br /&gt;
&lt;br /&gt;
==k==&lt;br /&gt;
&lt;br /&gt;
* keywords (XSL has not yet covered (from header module))&lt;br /&gt;
* kinesic (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==l==&lt;br /&gt;
&lt;br /&gt;
 l {display:block;}&lt;br /&gt;
 label {display:inline;}&lt;br /&gt;
* lacunaEnd&lt;br /&gt;
* lacunaStart&lt;br /&gt;
* lang&lt;br /&gt;
* langKnowledge&lt;br /&gt;
* langKnown&lt;br /&gt;
* langUsage&lt;br /&gt;
* language&lt;br /&gt;
* layout&lt;br /&gt;
* layoutDesc&lt;br /&gt;
 lb {display:block;}&lt;br /&gt;
* lbl&lt;br /&gt;
* leaf&lt;br /&gt;
* lem&lt;br /&gt;
 lg {display:block;}&lt;br /&gt;
* link&lt;br /&gt;
* linkGrp&lt;br /&gt;
* list&lt;br /&gt;
* listBibl&lt;br /&gt;
* listEvent&lt;br /&gt;
* listNym&lt;br /&gt;
* listOrg&lt;br /&gt;
* listPerson&lt;br /&gt;
* listPlace&lt;br /&gt;
* listRef&lt;br /&gt;
* listWit&lt;br /&gt;
* localName&lt;br /&gt;
* locale&lt;br /&gt;
* location&lt;br /&gt;
* locus&lt;br /&gt;
* locusGrp&lt;br /&gt;
&lt;br /&gt;
==m==&lt;br /&gt;
&lt;br /&gt;
* m&lt;br /&gt;
* macroSpec&lt;br /&gt;
* mapping&lt;br /&gt;
* material&lt;br /&gt;
* measure&lt;br /&gt;
* measureGrp&lt;br /&gt;
* meeting&lt;br /&gt;
* memberOf&lt;br /&gt;
 mentioned {display:inline;}&lt;br /&gt;
* metDecl&lt;br /&gt;
* metSym&lt;br /&gt;
* milestone&lt;br /&gt;
* moduleRef&lt;br /&gt;
* moduleSpec&lt;br /&gt;
* monogr&lt;br /&gt;
* mood&lt;br /&gt;
* move&lt;br /&gt;
* msContents&lt;br /&gt;
* msDesc&lt;br /&gt;
* msIdentifier&lt;br /&gt;
* msItem&lt;br /&gt;
* msItemStruct&lt;br /&gt;
* msName&lt;br /&gt;
* msPart&lt;br /&gt;
* musicNotation&lt;br /&gt;
&lt;br /&gt;
==n==&lt;br /&gt;
&lt;br /&gt;
 name {display:inline;}&lt;br /&gt;
* nameLink&lt;br /&gt;
* namespace&lt;br /&gt;
* nationality&lt;br /&gt;
* node&lt;br /&gt;
* normalization&lt;br /&gt;
* note&lt;br /&gt;
* notesStmt&lt;br /&gt;
* num&lt;br /&gt;
* number&lt;br /&gt;
* numeric&lt;br /&gt;
* nym&lt;br /&gt;
&lt;br /&gt;
==o==&lt;br /&gt;
&lt;br /&gt;
* oRef&lt;br /&gt;
* oVar&lt;br /&gt;
* objectDesc&lt;br /&gt;
* occupation&lt;br /&gt;
* offset&lt;br /&gt;
* opener&lt;br /&gt;
* org&lt;br /&gt;
* orgName&lt;br /&gt;
* orig&lt;br /&gt;
* origDate&lt;br /&gt;
* origPlace&lt;br /&gt;
* origin&lt;br /&gt;
* orth&lt;br /&gt;
&lt;br /&gt;
==p==&lt;br /&gt;
&lt;br /&gt;
* p&lt;br /&gt;
* pRef&lt;br /&gt;
* pVar&lt;br /&gt;
* particDesc&lt;br /&gt;
* pause (speech module: XSL has not yet covered)&lt;br /&gt;
* pb&lt;br /&gt;
* pc&lt;br /&gt;
* per&lt;br /&gt;
* performance&lt;br /&gt;
 persName {display:inline;}&lt;br /&gt;
* person&lt;br /&gt;
* personGrp&lt;br /&gt;
* phr&lt;br /&gt;
* physDesc&lt;br /&gt;
* place&lt;br /&gt;
 placeName {display:inline;}&lt;br /&gt;
* population&lt;br /&gt;
* pos&lt;br /&gt;
* postBox&lt;br /&gt;
* postCode&lt;br /&gt;
* postscript&lt;br /&gt;
* precision&lt;br /&gt;
* preparedness&lt;br /&gt;
* principal&lt;br /&gt;
* profileDesc&lt;br /&gt;
* projectDesc&lt;br /&gt;
* prologue&lt;br /&gt;
* pron&lt;br /&gt;
* provenance&lt;br /&gt;
* ptr&lt;br /&gt;
* pubPlace&lt;br /&gt;
* publicationStmt&lt;br /&gt;
* publisher&lt;br /&gt;
* purpose&lt;br /&gt;
&lt;br /&gt;
==q==&lt;br /&gt;
&lt;br /&gt;
* q&lt;br /&gt;
* quotation&lt;br /&gt;
* quote&lt;br /&gt;
&lt;br /&gt;
==r==&lt;br /&gt;
&lt;br /&gt;
* rdg&lt;br /&gt;
* rdgGrp&lt;br /&gt;
* re&lt;br /&gt;
* recordHist&lt;br /&gt;
* recording&lt;br /&gt;
* recordingStmt&lt;br /&gt;
* ref&lt;br /&gt;
* refState&lt;br /&gt;
* refsDecl&lt;br /&gt;
* reg&lt;br /&gt;
* region&lt;br /&gt;
* relatedItem&lt;br /&gt;
* relation&lt;br /&gt;
* relationGrp&lt;br /&gt;
* remarks&lt;br /&gt;
* rendition&lt;br /&gt;
* repository&lt;br /&gt;
* residence&lt;br /&gt;
 resp:after {content:&amp;quot; &amp;quot;;}&lt;br /&gt;
 respStmt {display:inline;}&lt;br /&gt;
* respons&lt;br /&gt;
* restore&lt;br /&gt;
* revisionDesc&lt;br /&gt;
* rhyme&lt;br /&gt;
 role {display:inline; font-style: italic;}&lt;br /&gt;
 roleDesc { margin-left: 40px; margin-right: 40px; } roleDesc &amp;gt; *:not(p) {display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
 roleName {display:inline;}&lt;br /&gt;
* root&lt;br /&gt;
* row&lt;br /&gt;
* rs&lt;br /&gt;
* rubric&lt;br /&gt;
&lt;br /&gt;
==s==&lt;br /&gt;
&lt;br /&gt;
* s&lt;br /&gt;
* said&lt;br /&gt;
 salute {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* samplingDecl&lt;br /&gt;
* schemaSpec&lt;br /&gt;
* scriptStmt&lt;br /&gt;
* seal&lt;br /&gt;
* sealDesc&lt;br /&gt;
* secFol&lt;br /&gt;
 seg {display:inline;}&lt;br /&gt;
* segmentation&lt;br /&gt;
* sense&lt;br /&gt;
* series&lt;br /&gt;
* seriesStmt&lt;br /&gt;
 set {display:inline; font-style: italic;}&lt;br /&gt;
* setting&lt;br /&gt;
* settingDesc&lt;br /&gt;
* settlement&lt;br /&gt;
* se x (XSL has not yet covered (namesdates module)) /* space-separated for spam filter! */&lt;br /&gt;
* shift (speech module: XSL has not yet covered)&lt;br /&gt;
 sic {display:inline;} sic:after {content: &amp;quot; (sic)&amp;quot;}&lt;br /&gt;
* signatures&lt;br /&gt;
 signed {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
 soCalled:before {content:'‘'} soCalled {display:inline;} soCalled:after {content:'’'} /* Quote style is parameterized in XSL; note: content can also accept 'open-quote' and 'close-quote', but the default is as already included in the rule */&lt;br /&gt;
* socecStatus&lt;br /&gt;
 sound {display:inline; font-style: italic;}&lt;br /&gt;
* source&lt;br /&gt;
* sourceDesc&lt;br /&gt;
* sp&lt;br /&gt;
* space&lt;br /&gt;
* span&lt;br /&gt;
* spanGrp&lt;br /&gt;
* speaker&lt;br /&gt;
* specDesc&lt;br /&gt;
* specGrp&lt;br /&gt;
* specGrpRef&lt;br /&gt;
* specList&lt;br /&gt;
* sponsor&lt;br /&gt;
 stage {font-style: italic; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* stamp&lt;br /&gt;
* state&lt;br /&gt;
* stdVals&lt;br /&gt;
* street&lt;br /&gt;
* stress&lt;br /&gt;
* string&lt;br /&gt;
* stringVal&lt;br /&gt;
* subc&lt;br /&gt;
* subst&lt;br /&gt;
* summary&lt;br /&gt;
* superEntry&lt;br /&gt;
* supplied&lt;br /&gt;
* support&lt;br /&gt;
* supportDesc&lt;br /&gt;
* surface&lt;br /&gt;
* surname&lt;br /&gt;
* surplus&lt;br /&gt;
* surrogates&lt;br /&gt;
* syll&lt;br /&gt;
* symbol&lt;br /&gt;
&lt;br /&gt;
==t==&lt;br /&gt;
&lt;br /&gt;
* TEI&lt;br /&gt;
* table&lt;br /&gt;
* tag&lt;br /&gt;
* tagUsage&lt;br /&gt;
* tagsDecl&lt;br /&gt;
* taxonomy&lt;br /&gt;
 tech {display:inline; font-style: italic;}&lt;br /&gt;
* teiCorpus&lt;br /&gt;
* teiHeader&lt;br /&gt;
 term {display:inline;}&lt;br /&gt;
* terrain&lt;br /&gt;
* text&lt;br /&gt;
* textClass&lt;br /&gt;
* textDesc&lt;br /&gt;
* textLang&lt;br /&gt;
* then&lt;br /&gt;
* time&lt;br /&gt;
* timeline&lt;br /&gt;
* title&lt;br /&gt;
* titlePage&lt;br /&gt;
* titlePart&lt;br /&gt;
* titleStmt&lt;br /&gt;
* tns&lt;br /&gt;
* trailer&lt;br /&gt;
* trait&lt;br /&gt;
* tree&lt;br /&gt;
* triangle&lt;br /&gt;
* typeDesc&lt;br /&gt;
* typeNote&lt;br /&gt;
&lt;br /&gt;
==u==&lt;br /&gt;
&lt;br /&gt;
* u (speech module: XSL has not yet covered)&lt;br /&gt;
 unclear {display:inline;}&lt;br /&gt;
* unicodeName&lt;br /&gt;
* usg&lt;br /&gt;
&lt;br /&gt;
==v==&lt;br /&gt;
&lt;br /&gt;
* vAlt&lt;br /&gt;
* vColl&lt;br /&gt;
* vDefault&lt;br /&gt;
* vLabel&lt;br /&gt;
* vMerge&lt;br /&gt;
* vNot&lt;br /&gt;
* vRange&lt;br /&gt;
* val&lt;br /&gt;
* valDesc&lt;br /&gt;
* valItem&lt;br /&gt;
* valList&lt;br /&gt;
* value&lt;br /&gt;
* variantEncoding&lt;br /&gt;
 view {display:inline; font-style: italic;}&lt;br /&gt;
* vocal (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==w==&lt;br /&gt;
&lt;br /&gt;
* w&lt;br /&gt;
* watermark&lt;br /&gt;
* when&lt;br /&gt;
* width&lt;br /&gt;
* wit&lt;br /&gt;
* witDetail&lt;br /&gt;
* witEnd&lt;br /&gt;
* witStart&lt;br /&gt;
* witness&lt;br /&gt;
* writing (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==x==&lt;br /&gt;
&lt;br /&gt;
* xr&lt;br /&gt;
&lt;br /&gt;
==y==&lt;br /&gt;
&lt;br /&gt;
(none)&lt;br /&gt;
&lt;br /&gt;
==z==&lt;br /&gt;
z&lt;br /&gt;
&lt;br /&gt;
* zone&lt;br /&gt;
&lt;br /&gt;
==References used==&lt;br /&gt;
* http://math.ut.ee/~kaarel/NLP/TEI/visualization/ (on rationales)&lt;br /&gt;
&lt;br /&gt;
[[Category:CSS]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7791</id>
		<title>Comprehensive CSS Stylesheet</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7791"/>
		<updated>2010-06-16T04:38:46Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: /* s */ +soCalled (applyRend not yet applied for this or others)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following is an attempt to gradually build CSS for each TEI element, paralleling the default TEI stylesheets (while also potentially serving as a kind of discussion center for how the stylesheets ought to operate (see [[Formatting TEI documents]] on how there is a need for this despite TEI being agnostic as to output formatting), at least for issues pertaining solely to formatting as opposed to semantics), by indicating here necessary deviations from the XHTML stylesheets (due to CSS constraints) or potentially desirable alternatives, etc.).&lt;br /&gt;
&lt;br /&gt;
Advantages of CSS over XSL might include:&lt;br /&gt;
# Simpler for maintenance/alteration (though CSS can still be combined with simpler XSL as needed)&lt;br /&gt;
# Downloading (and parsing?) is faster&lt;br /&gt;
# Wider browser support (and for browser caching?)&lt;br /&gt;
# Allows DOM and other manipulation directly on semantically-named TEI elements (though admittedly, use of frameworks like jQuery may make traversal of X/HTML as easy or easier)&lt;br /&gt;
# TEI could potentially be used as is in HTML (though empty self-closing elements will not be treated properly unless changed to &amp;lt;elem&amp;gt;&amp;lt;/elem&amp;gt; form and namespaces will not be present) in addition to true XHTML.&lt;br /&gt;
&lt;br /&gt;
Disadvantages:&lt;br /&gt;
# Does not allow for certain kinds of transformations (though again, CSS can be combined with a simple XSL stylesheet which preserves TEI except in cases where needed)&lt;br /&gt;
# Is cumbersome for certain variable structures (e.g., for values varying by integer but not including the integer (e.g., space.extent =&amp;gt; number of spaces) a separate rule must be created for each possible attribute value)&lt;br /&gt;
# (Another disadvantage of CSS in general is being unable to create certain kinds of output such as form controls, but in the case of TEI, we hardly need this.)&lt;br /&gt;
&lt;br /&gt;
Per CSS Namespaces, one can use either&lt;br /&gt;
 @namespace &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 @namespace tei &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
...but we will use the former since we will presume the stylesheet will be primarily (if not exclusively) for TEI.&lt;br /&gt;
&lt;br /&gt;
We will not be able to make equivalents for XSLT templates like rendToClass (e.g., ab) or applyRend (emph), applyRendition (emph) since we cannot (nor do we need to) add an id or class (though @rend or @rendition would be useful to utilize, there is no &amp;quot;eval()&amp;quot;-like code in CSS; however, we could test against predefined values like &amp;quot;bold&amp;quot; (maybe as a global * or at least the elements using these in the stylesheets (emph, hi, ...))).&lt;br /&gt;
&lt;br /&gt;
All fields below should be complete for an element, or otherwise noted that it is incomplete, so that it can otherwise be assumed that the CSS has been completely applied as far as possible (besides rend/rendition which may later be done globally for all elements, as these are indeed globals).&lt;br /&gt;
&lt;br /&gt;
==a==&lt;br /&gt;
 ab {display:block;}&lt;br /&gt;
* abbr&lt;br /&gt;
* accMat&lt;br /&gt;
* acquisition&lt;br /&gt;
* activity&lt;br /&gt;
 actor {display:inline; font-style: italic;}&lt;br /&gt;
* add&lt;br /&gt;
* addName&lt;br /&gt;
* addSpan&lt;br /&gt;
* additional&lt;br /&gt;
* additions&lt;br /&gt;
 addrLine {display:block;}&lt;br /&gt;
 address {display:block; /* font-style:italic; If wish to appear as HTML addresses are rendered by default, at least in Firefox */}&lt;br /&gt;
* adminInfo&lt;br /&gt;
* affiliation&lt;br /&gt;
* age&lt;br /&gt;
* alt&lt;br /&gt;
* altGrp&lt;br /&gt;
* altIdent&lt;br /&gt;
* altIdentifier&lt;br /&gt;
* am&lt;br /&gt;
* analytic&lt;br /&gt;
* anchor&lt;br /&gt;
* app&lt;br /&gt;
* appInfo&lt;br /&gt;
* application&lt;br /&gt;
* arc&lt;br /&gt;
* argument&lt;br /&gt;
 att {display:inline; font-weight:bold;} att:before {content:&amp;quot;@&amp;quot;}&lt;br /&gt;
* attDef&lt;br /&gt;
* attList&lt;br /&gt;
* attRef&lt;br /&gt;
* author&lt;br /&gt;
* authority&lt;br /&gt;
* availability&lt;br /&gt;
&lt;br /&gt;
==b==&lt;br /&gt;
&lt;br /&gt;
* back&lt;br /&gt;
* bibl&lt;br /&gt;
* biblFull&lt;br /&gt;
* biblScope&lt;br /&gt;
* biblStruct&lt;br /&gt;
* bicond&lt;br /&gt;
* binary&lt;br /&gt;
* binaryObject&lt;br /&gt;
* binding&lt;br /&gt;
* bindingDesc&lt;br /&gt;
* birth&lt;br /&gt;
* bloc&lt;br /&gt;
* body&lt;br /&gt;
* broadcast&lt;br /&gt;
 byline {display:block;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==c==&lt;br /&gt;
&lt;br /&gt;
* c&lt;br /&gt;
* cRefPattern&lt;br /&gt;
 caesura:before {display:inline; content:&amp;quot;\a0\a0\a0\a0&amp;quot;; /* could be :after too */}&lt;br /&gt;
 camera {display:inline; font-style: italic;}&lt;br /&gt;
 caption {display:inline; font-style: italic;}&lt;br /&gt;
* case&lt;br /&gt;
* castGroup&lt;br /&gt;
* castItem&lt;br /&gt;
 castList {} /* Note: has additional rules: */&lt;br /&gt;
 castList {display:block;} /* applies whether children are head or not */&lt;br /&gt;
 /* Note: for this to mirror the XSL exactly, head would always need to be preceding other elements as a direct child castList */&lt;br /&gt;
 castList &amp;gt; head {display:inline; font-style:italic;}&lt;br /&gt;
 castList &amp;gt; *:not(head) {margin-left: 40px;} /* If children of castList needed their own indents, then it should be relative to this (if possible) */&lt;br /&gt;
&lt;br /&gt;
* catDesc (Only defined in XSL conditionally if using catRef)&lt;br /&gt;
 catRef {} /* Note: has additional rules: */&lt;br /&gt;
 catRef + catRef:before {'\A'} /* Add line break if preceded by another catRef */&lt;br /&gt;
 catRef:after {content:attr(scheme); display:inline; font-style:italic;} /* Add scheme in italics */&lt;br /&gt;
 /* &lt;br /&gt;
 Commenting out as XPath not currently supported in CSS as needed by third 'after'&lt;br /&gt;
 catRef:after(2) {content:':'}*//* Requires CSS3 to add such additional 'after' content; See http://www.w3.org/TR/css3-content/#nesting or http://www.w3.org/TR/css3-content/#inserting0 */&lt;br /&gt;
 /* &lt;br /&gt;
 catRef:after(3) {content: &amp;lt;not possible to reference target's catDesc unless XPath gets added to CSS&amp;gt;} */&lt;br /&gt;
* catchwords&lt;br /&gt;
* category&lt;br /&gt;
* cb&lt;br /&gt;
* cell&lt;br /&gt;
* certainty&lt;br /&gt;
* change&lt;br /&gt;
* channel&lt;br /&gt;
* char&lt;br /&gt;
* charDecl&lt;br /&gt;
* charName&lt;br /&gt;
* charProp&lt;br /&gt;
* choice&lt;br /&gt;
* cit&lt;br /&gt;
* cl&lt;br /&gt;
* classCode (XSL has not yet covered (from header module))&lt;br /&gt;
* classDecl&lt;br /&gt;
* classSpec&lt;br /&gt;
* classes&lt;br /&gt;
* climate&lt;br /&gt;
* closer&lt;br /&gt;
 code {display:inline; font-family:monospace;}&lt;br /&gt;
* collation&lt;br /&gt;
* collection&lt;br /&gt;
* colloc&lt;br /&gt;
* colophon&lt;br /&gt;
* cond&lt;br /&gt;
* condition&lt;br /&gt;
* constitution&lt;br /&gt;
* constraint&lt;br /&gt;
* constraintSpec&lt;br /&gt;
* content&lt;br /&gt;
* corr&lt;br /&gt;
* correction&lt;br /&gt;
* country&lt;br /&gt;
* creation&lt;br /&gt;
* custEvent&lt;br /&gt;
* custodialHist&lt;br /&gt;
&lt;br /&gt;
==d==&lt;br /&gt;
&lt;br /&gt;
* damage&lt;br /&gt;
* damageSpan&lt;br /&gt;
* datatype&lt;br /&gt;
* date&lt;br /&gt;
* dateline&lt;br /&gt;
* death&lt;br /&gt;
* decoDesc&lt;br /&gt;
* decoNote&lt;br /&gt;
* def&lt;br /&gt;
* default&lt;br /&gt;
* defaultVal&lt;br /&gt;
 del {display:inline; text-decoration: line-through;}&lt;br /&gt;
* delSpan&lt;br /&gt;
* depth&lt;br /&gt;
* derivation&lt;br /&gt;
* desc&lt;br /&gt;
* dictScrap&lt;br /&gt;
* dim&lt;br /&gt;
* dimensions&lt;br /&gt;
* distinct&lt;br /&gt;
* distributor&lt;br /&gt;
* district&lt;br /&gt;
* div&lt;br /&gt;
* div1&lt;br /&gt;
* div2&lt;br /&gt;
* div3&lt;br /&gt;
* div4&lt;br /&gt;
* div5&lt;br /&gt;
* div6&lt;br /&gt;
* div7&lt;br /&gt;
* divGen&lt;br /&gt;
* docAuthor&lt;br /&gt;
* docDate&lt;br /&gt;
* docEdition&lt;br /&gt;
* docImprint&lt;br /&gt;
* docTitle&lt;br /&gt;
* domain&lt;br /&gt;
&lt;br /&gt;
==e==&lt;br /&gt;
&lt;br /&gt;
* eLeaf&lt;br /&gt;
* eTree&lt;br /&gt;
* edition&lt;br /&gt;
* editionStmt&lt;br /&gt;
* editor&lt;br /&gt;
* editorialDecl&lt;br /&gt;
* education&lt;br /&gt;
* eg&lt;br /&gt;
* egXML&lt;br /&gt;
* elementSpec&lt;br /&gt;
* email&lt;br /&gt;
 emph {display:inline; font-style:italic;}&lt;br /&gt;
* encodingDesc&lt;br /&gt;
* entry&lt;br /&gt;
* entryFree&lt;br /&gt;
 epigraph {display:block;}&lt;br /&gt;
* epilogue&lt;br /&gt;
* equipment&lt;br /&gt;
* equiv&lt;br /&gt;
* etym&lt;br /&gt;
* event&lt;br /&gt;
* ex&lt;br /&gt;
* exemplum&lt;br /&gt;
* expan&lt;br /&gt;
* explicit&lt;br /&gt;
* extent&lt;br /&gt;
&lt;br /&gt;
==f==&lt;br /&gt;
&lt;br /&gt;
* f&lt;br /&gt;
* fDecl&lt;br /&gt;
* fDescr&lt;br /&gt;
* fLib&lt;br /&gt;
* facsimile&lt;br /&gt;
* factuality&lt;br /&gt;
* faith&lt;br /&gt;
* figDesc&lt;br /&gt;
* figure&lt;br /&gt;
* fileDesc&lt;br /&gt;
* filiation&lt;br /&gt;
* finalRubric&lt;br /&gt;
* floatingText&lt;br /&gt;
* floruit&lt;br /&gt;
* foliation&lt;br /&gt;
 foreign {display:inline;}&lt;br /&gt;
* forename&lt;br /&gt;
* forest&lt;br /&gt;
* forestGrp&lt;br /&gt;
* form&lt;br /&gt;
* formula&lt;br /&gt;
* front&lt;br /&gt;
* fs&lt;br /&gt;
* fsConstraints&lt;br /&gt;
* fsDecl&lt;br /&gt;
* fsDescr&lt;br /&gt;
* fsdDecl&lt;br /&gt;
* fsdLink&lt;br /&gt;
* funder&lt;br /&gt;
* fvLib&lt;br /&gt;
* fw&lt;br /&gt;
&lt;br /&gt;
==g==&lt;br /&gt;
&lt;br /&gt;
* g&lt;br /&gt;
* gap&lt;br /&gt;
* gen&lt;br /&gt;
 genName {display:inline;}&lt;br /&gt;
* geo&lt;br /&gt;
* geoDecl&lt;br /&gt;
* geogFeat&lt;br /&gt;
 geogName {display:inline;}&lt;br /&gt;
 gi:before {display:inline;content:&amp;quot;&amp;lt;&amp;quot;}  gi:after {display:inline;content:&amp;quot;&amp;gt;&amp;quot;}&lt;br /&gt;
 gloss {display:inline;}&lt;br /&gt;
* glyph&lt;br /&gt;
* glyphName&lt;br /&gt;
* gram&lt;br /&gt;
* gramGrp&lt;br /&gt;
* graph&lt;br /&gt;
* graphic&lt;br /&gt;
* group&lt;br /&gt;
&lt;br /&gt;
==h==&lt;br /&gt;
&lt;br /&gt;
* handDesc&lt;br /&gt;
* handNote&lt;br /&gt;
* handNotes&lt;br /&gt;
* handShift&lt;br /&gt;
* head&lt;br /&gt;
* headItem&lt;br /&gt;
* headLabel&lt;br /&gt;
* height&lt;br /&gt;
* heraldry&lt;br /&gt;
 hi {display:inline; font-weight:bold;}&lt;br /&gt;
* history&lt;br /&gt;
* hom&lt;br /&gt;
* hyph&lt;br /&gt;
* hyphenation&lt;br /&gt;
&lt;br /&gt;
==i==&lt;br /&gt;
&lt;br /&gt;
* iNode&lt;br /&gt;
* iType&lt;br /&gt;
 ident[type] {display:inline; font-weight:bold;} ident:not([type]) {display:inline; } /* Just as the stylesheet allows for different types; a specific type could be styled by ident[type=&amp;quot;XXX&amp;quot;] */&lt;br /&gt;
* idno&lt;br /&gt;
* if&lt;br /&gt;
* iff&lt;br /&gt;
* imprimatur&lt;br /&gt;
* imprint&lt;br /&gt;
* incident (speech module: XSL has not yet covered)&lt;br /&gt;
* incipit&lt;br /&gt;
* index&lt;br /&gt;
* institution&lt;br /&gt;
* interaction&lt;br /&gt;
* interp&lt;br /&gt;
* interpGrp&lt;br /&gt;
* interpretation&lt;br /&gt;
* item&lt;br /&gt;
&lt;br /&gt;
==j==&lt;br /&gt;
&lt;br /&gt;
* join&lt;br /&gt;
* joinGrp&lt;br /&gt;
&lt;br /&gt;
==k==&lt;br /&gt;
&lt;br /&gt;
* keywords (XSL has not yet covered (from header module))&lt;br /&gt;
* kinesic (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==l==&lt;br /&gt;
&lt;br /&gt;
 l {display:block;}&lt;br /&gt;
 label {display:inline;}&lt;br /&gt;
* lacunaEnd&lt;br /&gt;
* lacunaStart&lt;br /&gt;
* lang&lt;br /&gt;
* langKnowledge&lt;br /&gt;
* langKnown&lt;br /&gt;
* langUsage&lt;br /&gt;
* language&lt;br /&gt;
* layout&lt;br /&gt;
* layoutDesc&lt;br /&gt;
 lb {display:block;}&lt;br /&gt;
* lbl&lt;br /&gt;
* leaf&lt;br /&gt;
* lem&lt;br /&gt;
 lg {display:block;}&lt;br /&gt;
* link&lt;br /&gt;
* linkGrp&lt;br /&gt;
* list&lt;br /&gt;
* listBibl&lt;br /&gt;
* listEvent&lt;br /&gt;
* listNym&lt;br /&gt;
* listOrg&lt;br /&gt;
* listPerson&lt;br /&gt;
* listPlace&lt;br /&gt;
* listRef&lt;br /&gt;
* listWit&lt;br /&gt;
* localName&lt;br /&gt;
* locale&lt;br /&gt;
* location&lt;br /&gt;
* locus&lt;br /&gt;
* locusGrp&lt;br /&gt;
&lt;br /&gt;
==m==&lt;br /&gt;
&lt;br /&gt;
* m&lt;br /&gt;
* macroSpec&lt;br /&gt;
* mapping&lt;br /&gt;
* material&lt;br /&gt;
* measure&lt;br /&gt;
* measureGrp&lt;br /&gt;
* meeting&lt;br /&gt;
* memberOf&lt;br /&gt;
 mentioned {display:inline;}&lt;br /&gt;
* metDecl&lt;br /&gt;
* metSym&lt;br /&gt;
* milestone&lt;br /&gt;
* moduleRef&lt;br /&gt;
* moduleSpec&lt;br /&gt;
* monogr&lt;br /&gt;
* mood&lt;br /&gt;
* move&lt;br /&gt;
* msContents&lt;br /&gt;
* msDesc&lt;br /&gt;
* msIdentifier&lt;br /&gt;
* msItem&lt;br /&gt;
* msItemStruct&lt;br /&gt;
* msName&lt;br /&gt;
* msPart&lt;br /&gt;
* musicNotation&lt;br /&gt;
&lt;br /&gt;
==n==&lt;br /&gt;
&lt;br /&gt;
 name {display:inline;}&lt;br /&gt;
* nameLink&lt;br /&gt;
* namespace&lt;br /&gt;
* nationality&lt;br /&gt;
* node&lt;br /&gt;
* normalization&lt;br /&gt;
* note&lt;br /&gt;
* notesStmt&lt;br /&gt;
* num&lt;br /&gt;
* number&lt;br /&gt;
* numeric&lt;br /&gt;
* nym&lt;br /&gt;
&lt;br /&gt;
==o==&lt;br /&gt;
&lt;br /&gt;
* oRef&lt;br /&gt;
* oVar&lt;br /&gt;
* objectDesc&lt;br /&gt;
* occupation&lt;br /&gt;
* offset&lt;br /&gt;
* opener&lt;br /&gt;
* org&lt;br /&gt;
* orgName&lt;br /&gt;
* orig&lt;br /&gt;
* origDate&lt;br /&gt;
* origPlace&lt;br /&gt;
* origin&lt;br /&gt;
* orth&lt;br /&gt;
&lt;br /&gt;
==p==&lt;br /&gt;
&lt;br /&gt;
* p&lt;br /&gt;
* pRef&lt;br /&gt;
* pVar&lt;br /&gt;
* particDesc&lt;br /&gt;
* pause (speech module: XSL has not yet covered)&lt;br /&gt;
* pb&lt;br /&gt;
* pc&lt;br /&gt;
* per&lt;br /&gt;
* performance&lt;br /&gt;
 persName {display:inline;}&lt;br /&gt;
* person&lt;br /&gt;
* personGrp&lt;br /&gt;
* phr&lt;br /&gt;
* physDesc&lt;br /&gt;
* place&lt;br /&gt;
 placeName {display:inline;}&lt;br /&gt;
* population&lt;br /&gt;
* pos&lt;br /&gt;
* postBox&lt;br /&gt;
* postCode&lt;br /&gt;
* postscript&lt;br /&gt;
* precision&lt;br /&gt;
* preparedness&lt;br /&gt;
* principal&lt;br /&gt;
* profileDesc&lt;br /&gt;
* projectDesc&lt;br /&gt;
* prologue&lt;br /&gt;
* pron&lt;br /&gt;
* provenance&lt;br /&gt;
* ptr&lt;br /&gt;
* pubPlace&lt;br /&gt;
* publicationStmt&lt;br /&gt;
* publisher&lt;br /&gt;
* purpose&lt;br /&gt;
&lt;br /&gt;
==q==&lt;br /&gt;
&lt;br /&gt;
* q&lt;br /&gt;
* quotation&lt;br /&gt;
* quote&lt;br /&gt;
&lt;br /&gt;
==r==&lt;br /&gt;
&lt;br /&gt;
* rdg&lt;br /&gt;
* rdgGrp&lt;br /&gt;
* re&lt;br /&gt;
* recordHist&lt;br /&gt;
* recording&lt;br /&gt;
* recordingStmt&lt;br /&gt;
* ref&lt;br /&gt;
* refState&lt;br /&gt;
* refsDecl&lt;br /&gt;
* reg&lt;br /&gt;
* region&lt;br /&gt;
* relatedItem&lt;br /&gt;
* relation&lt;br /&gt;
* relationGrp&lt;br /&gt;
* remarks&lt;br /&gt;
* rendition&lt;br /&gt;
* repository&lt;br /&gt;
* residence&lt;br /&gt;
 resp:after {content:&amp;quot; &amp;quot;;}&lt;br /&gt;
 respStmt {display:inline;}&lt;br /&gt;
* respons&lt;br /&gt;
* restore&lt;br /&gt;
* revisionDesc&lt;br /&gt;
* rhyme&lt;br /&gt;
 role {display:inline; font-style: italic;}&lt;br /&gt;
 roleDesc { margin-left: 40px; margin-right: 40px; } roleDesc &amp;gt; *:not(p) {display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
 roleName {display:inline;}&lt;br /&gt;
* root&lt;br /&gt;
* row&lt;br /&gt;
* rs&lt;br /&gt;
* rubric&lt;br /&gt;
&lt;br /&gt;
==s==&lt;br /&gt;
&lt;br /&gt;
* s&lt;br /&gt;
* said&lt;br /&gt;
 salute {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* samplingDecl&lt;br /&gt;
* schemaSpec&lt;br /&gt;
* scriptStmt&lt;br /&gt;
* seal&lt;br /&gt;
* sealDesc&lt;br /&gt;
* secFol&lt;br /&gt;
 seg {display:inline;}&lt;br /&gt;
* segmentation&lt;br /&gt;
* sense&lt;br /&gt;
* series&lt;br /&gt;
* seriesStmt&lt;br /&gt;
 set {display:inline; font-style: italic;}&lt;br /&gt;
* setting&lt;br /&gt;
* settingDesc&lt;br /&gt;
* settlement&lt;br /&gt;
* se x (XSL has not yet covered (namesdates module)) /* space-separated for spam filter! */&lt;br /&gt;
* shift (speech module: XSL has not yet covered)&lt;br /&gt;
 sic {display:inline;} sic:after {content: &amp;quot; (sic)&amp;quot;}&lt;br /&gt;
* signatures&lt;br /&gt;
 signed {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* soCalled:before {content:'‘'} soCalled {display:inline;} soCalled:after {content:'’'} /* Quote style is parameterized in XSL; note: content can also accept 'open-quote' and 'close-quote', but the default is as already included in the rule */&lt;br /&gt;
* socecStatus&lt;br /&gt;
 sound {display:inline; font-style: italic;}&lt;br /&gt;
* source&lt;br /&gt;
* sourceDesc&lt;br /&gt;
* sp&lt;br /&gt;
* space&lt;br /&gt;
* span&lt;br /&gt;
* spanGrp&lt;br /&gt;
* speaker&lt;br /&gt;
* specDesc&lt;br /&gt;
* specGrp&lt;br /&gt;
* specGrpRef&lt;br /&gt;
* specList&lt;br /&gt;
* sponsor&lt;br /&gt;
 stage {font-style: italic; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* stamp&lt;br /&gt;
* state&lt;br /&gt;
* stdVals&lt;br /&gt;
* street&lt;br /&gt;
* stress&lt;br /&gt;
* string&lt;br /&gt;
* stringVal&lt;br /&gt;
* subc&lt;br /&gt;
* subst&lt;br /&gt;
* summary&lt;br /&gt;
* superEntry&lt;br /&gt;
* supplied&lt;br /&gt;
* support&lt;br /&gt;
* supportDesc&lt;br /&gt;
* surface&lt;br /&gt;
* surname&lt;br /&gt;
* surplus&lt;br /&gt;
* surrogates&lt;br /&gt;
* syll&lt;br /&gt;
* symbol&lt;br /&gt;
&lt;br /&gt;
==t==&lt;br /&gt;
&lt;br /&gt;
* TEI&lt;br /&gt;
* table&lt;br /&gt;
* tag&lt;br /&gt;
* tagUsage&lt;br /&gt;
* tagsDecl&lt;br /&gt;
* taxonomy&lt;br /&gt;
 tech {display:inline; font-style: italic;}&lt;br /&gt;
* teiCorpus&lt;br /&gt;
* teiHeader&lt;br /&gt;
 term {display:inline;}&lt;br /&gt;
* terrain&lt;br /&gt;
* text&lt;br /&gt;
* textClass&lt;br /&gt;
* textDesc&lt;br /&gt;
* textLang&lt;br /&gt;
* then&lt;br /&gt;
* time&lt;br /&gt;
* timeline&lt;br /&gt;
* title&lt;br /&gt;
* titlePage&lt;br /&gt;
* titlePart&lt;br /&gt;
* titleStmt&lt;br /&gt;
* tns&lt;br /&gt;
* trailer&lt;br /&gt;
* trait&lt;br /&gt;
* tree&lt;br /&gt;
* triangle&lt;br /&gt;
* typeDesc&lt;br /&gt;
* typeNote&lt;br /&gt;
&lt;br /&gt;
==u==&lt;br /&gt;
&lt;br /&gt;
* u (speech module: XSL has not yet covered)&lt;br /&gt;
 unclear {display:inline;}&lt;br /&gt;
* unicodeName&lt;br /&gt;
* usg&lt;br /&gt;
&lt;br /&gt;
==v==&lt;br /&gt;
&lt;br /&gt;
* vAlt&lt;br /&gt;
* vColl&lt;br /&gt;
* vDefault&lt;br /&gt;
* vLabel&lt;br /&gt;
* vMerge&lt;br /&gt;
* vNot&lt;br /&gt;
* vRange&lt;br /&gt;
* val&lt;br /&gt;
* valDesc&lt;br /&gt;
* valItem&lt;br /&gt;
* valList&lt;br /&gt;
* value&lt;br /&gt;
* variantEncoding&lt;br /&gt;
 view {display:inline; font-style: italic;}&lt;br /&gt;
* vocal (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==w==&lt;br /&gt;
&lt;br /&gt;
* w&lt;br /&gt;
* watermark&lt;br /&gt;
* when&lt;br /&gt;
* width&lt;br /&gt;
* wit&lt;br /&gt;
* witDetail&lt;br /&gt;
* witEnd&lt;br /&gt;
* witStart&lt;br /&gt;
* witness&lt;br /&gt;
* writing (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==x==&lt;br /&gt;
&lt;br /&gt;
* xr&lt;br /&gt;
&lt;br /&gt;
==y==&lt;br /&gt;
&lt;br /&gt;
(none)&lt;br /&gt;
&lt;br /&gt;
==z==&lt;br /&gt;
z&lt;br /&gt;
&lt;br /&gt;
* zone&lt;br /&gt;
&lt;br /&gt;
==References used==&lt;br /&gt;
* http://math.ut.ee/~kaarel/NLP/TEI/visualization/ (on rationales)&lt;br /&gt;
&lt;br /&gt;
[[Category:CSS]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7790</id>
		<title>Comprehensive CSS Stylesheet</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7790"/>
		<updated>2010-06-16T04:24:27Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: /* c */ +castList comment fix&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following is an attempt to gradually build CSS for each TEI element, paralleling the default TEI stylesheets (while also potentially serving as a kind of discussion center for how the stylesheets ought to operate (see [[Formatting TEI documents]] on how there is a need for this despite TEI being agnostic as to output formatting), at least for issues pertaining solely to formatting as opposed to semantics), by indicating here necessary deviations from the XHTML stylesheets (due to CSS constraints) or potentially desirable alternatives, etc.).&lt;br /&gt;
&lt;br /&gt;
Advantages of CSS over XSL might include:&lt;br /&gt;
# Simpler for maintenance/alteration (though CSS can still be combined with simpler XSL as needed)&lt;br /&gt;
# Downloading (and parsing?) is faster&lt;br /&gt;
# Wider browser support (and for browser caching?)&lt;br /&gt;
# Allows DOM and other manipulation directly on semantically-named TEI elements (though admittedly, use of frameworks like jQuery may make traversal of X/HTML as easy or easier)&lt;br /&gt;
# TEI could potentially be used as is in HTML (though empty self-closing elements will not be treated properly unless changed to &amp;lt;elem&amp;gt;&amp;lt;/elem&amp;gt; form and namespaces will not be present) in addition to true XHTML.&lt;br /&gt;
&lt;br /&gt;
Disadvantages:&lt;br /&gt;
# Does not allow for certain kinds of transformations (though again, CSS can be combined with a simple XSL stylesheet which preserves TEI except in cases where needed)&lt;br /&gt;
# Is cumbersome for certain variable structures (e.g., for values varying by integer but not including the integer (e.g., space.extent =&amp;gt; number of spaces) a separate rule must be created for each possible attribute value)&lt;br /&gt;
# (Another disadvantage of CSS in general is being unable to create certain kinds of output such as form controls, but in the case of TEI, we hardly need this.)&lt;br /&gt;
&lt;br /&gt;
Per CSS Namespaces, one can use either&lt;br /&gt;
 @namespace &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 @namespace tei &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
...but we will use the former since we will presume the stylesheet will be primarily (if not exclusively) for TEI.&lt;br /&gt;
&lt;br /&gt;
We will not be able to make equivalents for XSLT templates like rendToClass (e.g., ab) or applyRend (emph), applyRendition (emph) since we cannot (nor do we need to) add an id or class (though @rend or @rendition would be useful to utilize, there is no &amp;quot;eval()&amp;quot;-like code in CSS; however, we could test against predefined values like &amp;quot;bold&amp;quot; (maybe as a global * or at least the elements using these in the stylesheets (emph, hi, ...))).&lt;br /&gt;
&lt;br /&gt;
All fields below should be complete for an element, or otherwise noted that it is incomplete, so that it can otherwise be assumed that the CSS has been completely applied as far as possible (besides rend/rendition which may later be done globally for all elements, as these are indeed globals).&lt;br /&gt;
&lt;br /&gt;
==a==&lt;br /&gt;
 ab {display:block;}&lt;br /&gt;
* abbr&lt;br /&gt;
* accMat&lt;br /&gt;
* acquisition&lt;br /&gt;
* activity&lt;br /&gt;
 actor {display:inline; font-style: italic;}&lt;br /&gt;
* add&lt;br /&gt;
* addName&lt;br /&gt;
* addSpan&lt;br /&gt;
* additional&lt;br /&gt;
* additions&lt;br /&gt;
 addrLine {display:block;}&lt;br /&gt;
 address {display:block; /* font-style:italic; If wish to appear as HTML addresses are rendered by default, at least in Firefox */}&lt;br /&gt;
* adminInfo&lt;br /&gt;
* affiliation&lt;br /&gt;
* age&lt;br /&gt;
* alt&lt;br /&gt;
* altGrp&lt;br /&gt;
* altIdent&lt;br /&gt;
* altIdentifier&lt;br /&gt;
* am&lt;br /&gt;
* analytic&lt;br /&gt;
* anchor&lt;br /&gt;
* app&lt;br /&gt;
* appInfo&lt;br /&gt;
* application&lt;br /&gt;
* arc&lt;br /&gt;
* argument&lt;br /&gt;
 att {display:inline; font-weight:bold;} att:before {content:&amp;quot;@&amp;quot;}&lt;br /&gt;
* attDef&lt;br /&gt;
* attList&lt;br /&gt;
* attRef&lt;br /&gt;
* author&lt;br /&gt;
* authority&lt;br /&gt;
* availability&lt;br /&gt;
&lt;br /&gt;
==b==&lt;br /&gt;
&lt;br /&gt;
* back&lt;br /&gt;
* bibl&lt;br /&gt;
* biblFull&lt;br /&gt;
* biblScope&lt;br /&gt;
* biblStruct&lt;br /&gt;
* bicond&lt;br /&gt;
* binary&lt;br /&gt;
* binaryObject&lt;br /&gt;
* binding&lt;br /&gt;
* bindingDesc&lt;br /&gt;
* birth&lt;br /&gt;
* bloc&lt;br /&gt;
* body&lt;br /&gt;
* broadcast&lt;br /&gt;
 byline {display:block;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==c==&lt;br /&gt;
&lt;br /&gt;
* c&lt;br /&gt;
* cRefPattern&lt;br /&gt;
 caesura:before {display:inline; content:&amp;quot;\a0\a0\a0\a0&amp;quot;; /* could be :after too */}&lt;br /&gt;
 camera {display:inline; font-style: italic;}&lt;br /&gt;
 caption {display:inline; font-style: italic;}&lt;br /&gt;
* case&lt;br /&gt;
* castGroup&lt;br /&gt;
* castItem&lt;br /&gt;
 castList {} /* Note: has additional rules: */&lt;br /&gt;
 castList {display:block;} /* applies whether children are head or not */&lt;br /&gt;
 /* Note: for this to mirror the XSL exactly, head would always need to be preceding other elements as a direct child castList */&lt;br /&gt;
 castList &amp;gt; head {display:inline; font-style:italic;}&lt;br /&gt;
 castList &amp;gt; *:not(head) {margin-left: 40px;} /* If children of castList needed their own indents, then it should be relative to this (if possible) */&lt;br /&gt;
&lt;br /&gt;
* catDesc (Only defined in XSL conditionally if using catRef)&lt;br /&gt;
 catRef {} /* Note: has additional rules: */&lt;br /&gt;
 catRef + catRef:before {'\A'} /* Add line break if preceded by another catRef */&lt;br /&gt;
 catRef:after {content:attr(scheme); display:inline; font-style:italic;} /* Add scheme in italics */&lt;br /&gt;
 /* &lt;br /&gt;
 Commenting out as XPath not currently supported in CSS as needed by third 'after'&lt;br /&gt;
 catRef:after(2) {content:':'}*//* Requires CSS3 to add such additional 'after' content; See http://www.w3.org/TR/css3-content/#nesting or http://www.w3.org/TR/css3-content/#inserting0 */&lt;br /&gt;
 /* &lt;br /&gt;
 catRef:after(3) {content: &amp;lt;not possible to reference target's catDesc unless XPath gets added to CSS&amp;gt;} */&lt;br /&gt;
* catchwords&lt;br /&gt;
* category&lt;br /&gt;
* cb&lt;br /&gt;
* cell&lt;br /&gt;
* certainty&lt;br /&gt;
* change&lt;br /&gt;
* channel&lt;br /&gt;
* char&lt;br /&gt;
* charDecl&lt;br /&gt;
* charName&lt;br /&gt;
* charProp&lt;br /&gt;
* choice&lt;br /&gt;
* cit&lt;br /&gt;
* cl&lt;br /&gt;
* classCode (XSL has not yet covered (from header module))&lt;br /&gt;
* classDecl&lt;br /&gt;
* classSpec&lt;br /&gt;
* classes&lt;br /&gt;
* climate&lt;br /&gt;
* closer&lt;br /&gt;
 code {display:inline; font-family:monospace;}&lt;br /&gt;
* collation&lt;br /&gt;
* collection&lt;br /&gt;
* colloc&lt;br /&gt;
* colophon&lt;br /&gt;
* cond&lt;br /&gt;
* condition&lt;br /&gt;
* constitution&lt;br /&gt;
* constraint&lt;br /&gt;
* constraintSpec&lt;br /&gt;
* content&lt;br /&gt;
* corr&lt;br /&gt;
* correction&lt;br /&gt;
* country&lt;br /&gt;
* creation&lt;br /&gt;
* custEvent&lt;br /&gt;
* custodialHist&lt;br /&gt;
&lt;br /&gt;
==d==&lt;br /&gt;
&lt;br /&gt;
* damage&lt;br /&gt;
* damageSpan&lt;br /&gt;
* datatype&lt;br /&gt;
* date&lt;br /&gt;
* dateline&lt;br /&gt;
* death&lt;br /&gt;
* decoDesc&lt;br /&gt;
* decoNote&lt;br /&gt;
* def&lt;br /&gt;
* default&lt;br /&gt;
* defaultVal&lt;br /&gt;
 del {display:inline; text-decoration: line-through;}&lt;br /&gt;
* delSpan&lt;br /&gt;
* depth&lt;br /&gt;
* derivation&lt;br /&gt;
* desc&lt;br /&gt;
* dictScrap&lt;br /&gt;
* dim&lt;br /&gt;
* dimensions&lt;br /&gt;
* distinct&lt;br /&gt;
* distributor&lt;br /&gt;
* district&lt;br /&gt;
* div&lt;br /&gt;
* div1&lt;br /&gt;
* div2&lt;br /&gt;
* div3&lt;br /&gt;
* div4&lt;br /&gt;
* div5&lt;br /&gt;
* div6&lt;br /&gt;
* div7&lt;br /&gt;
* divGen&lt;br /&gt;
* docAuthor&lt;br /&gt;
* docDate&lt;br /&gt;
* docEdition&lt;br /&gt;
* docImprint&lt;br /&gt;
* docTitle&lt;br /&gt;
* domain&lt;br /&gt;
&lt;br /&gt;
==e==&lt;br /&gt;
&lt;br /&gt;
* eLeaf&lt;br /&gt;
* eTree&lt;br /&gt;
* edition&lt;br /&gt;
* editionStmt&lt;br /&gt;
* editor&lt;br /&gt;
* editorialDecl&lt;br /&gt;
* education&lt;br /&gt;
* eg&lt;br /&gt;
* egXML&lt;br /&gt;
* elementSpec&lt;br /&gt;
* email&lt;br /&gt;
 emph {display:inline; font-style:italic;}&lt;br /&gt;
* encodingDesc&lt;br /&gt;
* entry&lt;br /&gt;
* entryFree&lt;br /&gt;
 epigraph {display:block;}&lt;br /&gt;
* epilogue&lt;br /&gt;
* equipment&lt;br /&gt;
* equiv&lt;br /&gt;
* etym&lt;br /&gt;
* event&lt;br /&gt;
* ex&lt;br /&gt;
* exemplum&lt;br /&gt;
* expan&lt;br /&gt;
* explicit&lt;br /&gt;
* extent&lt;br /&gt;
&lt;br /&gt;
==f==&lt;br /&gt;
&lt;br /&gt;
* f&lt;br /&gt;
* fDecl&lt;br /&gt;
* fDescr&lt;br /&gt;
* fLib&lt;br /&gt;
* facsimile&lt;br /&gt;
* factuality&lt;br /&gt;
* faith&lt;br /&gt;
* figDesc&lt;br /&gt;
* figure&lt;br /&gt;
* fileDesc&lt;br /&gt;
* filiation&lt;br /&gt;
* finalRubric&lt;br /&gt;
* floatingText&lt;br /&gt;
* floruit&lt;br /&gt;
* foliation&lt;br /&gt;
 foreign {display:inline;}&lt;br /&gt;
* forename&lt;br /&gt;
* forest&lt;br /&gt;
* forestGrp&lt;br /&gt;
* form&lt;br /&gt;
* formula&lt;br /&gt;
* front&lt;br /&gt;
* fs&lt;br /&gt;
* fsConstraints&lt;br /&gt;
* fsDecl&lt;br /&gt;
* fsDescr&lt;br /&gt;
* fsdDecl&lt;br /&gt;
* fsdLink&lt;br /&gt;
* funder&lt;br /&gt;
* fvLib&lt;br /&gt;
* fw&lt;br /&gt;
&lt;br /&gt;
==g==&lt;br /&gt;
&lt;br /&gt;
* g&lt;br /&gt;
* gap&lt;br /&gt;
* gen&lt;br /&gt;
 genName {display:inline;}&lt;br /&gt;
* geo&lt;br /&gt;
* geoDecl&lt;br /&gt;
* geogFeat&lt;br /&gt;
 geogName {display:inline;}&lt;br /&gt;
 gi:before {display:inline;content:&amp;quot;&amp;lt;&amp;quot;}  gi:after {display:inline;content:&amp;quot;&amp;gt;&amp;quot;}&lt;br /&gt;
 gloss {display:inline;}&lt;br /&gt;
* glyph&lt;br /&gt;
* glyphName&lt;br /&gt;
* gram&lt;br /&gt;
* gramGrp&lt;br /&gt;
* graph&lt;br /&gt;
* graphic&lt;br /&gt;
* group&lt;br /&gt;
&lt;br /&gt;
==h==&lt;br /&gt;
&lt;br /&gt;
* handDesc&lt;br /&gt;
* handNote&lt;br /&gt;
* handNotes&lt;br /&gt;
* handShift&lt;br /&gt;
* head&lt;br /&gt;
* headItem&lt;br /&gt;
* headLabel&lt;br /&gt;
* height&lt;br /&gt;
* heraldry&lt;br /&gt;
 hi {display:inline; font-weight:bold;}&lt;br /&gt;
* history&lt;br /&gt;
* hom&lt;br /&gt;
* hyph&lt;br /&gt;
* hyphenation&lt;br /&gt;
&lt;br /&gt;
==i==&lt;br /&gt;
&lt;br /&gt;
* iNode&lt;br /&gt;
* iType&lt;br /&gt;
 ident[type] {display:inline; font-weight:bold;} ident:not([type]) {display:inline; } /* Just as the stylesheet allows for different types; a specific type could be styled by ident[type=&amp;quot;XXX&amp;quot;] */&lt;br /&gt;
* idno&lt;br /&gt;
* if&lt;br /&gt;
* iff&lt;br /&gt;
* imprimatur&lt;br /&gt;
* imprint&lt;br /&gt;
* incident (speech module: XSL has not yet covered)&lt;br /&gt;
* incipit&lt;br /&gt;
* index&lt;br /&gt;
* institution&lt;br /&gt;
* interaction&lt;br /&gt;
* interp&lt;br /&gt;
* interpGrp&lt;br /&gt;
* interpretation&lt;br /&gt;
* item&lt;br /&gt;
&lt;br /&gt;
==j==&lt;br /&gt;
&lt;br /&gt;
* join&lt;br /&gt;
* joinGrp&lt;br /&gt;
&lt;br /&gt;
==k==&lt;br /&gt;
&lt;br /&gt;
* keywords (XSL has not yet covered (from header module))&lt;br /&gt;
* kinesic (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==l==&lt;br /&gt;
&lt;br /&gt;
 l {display:block;}&lt;br /&gt;
 label {display:inline;}&lt;br /&gt;
* lacunaEnd&lt;br /&gt;
* lacunaStart&lt;br /&gt;
* lang&lt;br /&gt;
* langKnowledge&lt;br /&gt;
* langKnown&lt;br /&gt;
* langUsage&lt;br /&gt;
* language&lt;br /&gt;
* layout&lt;br /&gt;
* layoutDesc&lt;br /&gt;
 lb {display:block;}&lt;br /&gt;
* lbl&lt;br /&gt;
* leaf&lt;br /&gt;
* lem&lt;br /&gt;
 lg {display:block;}&lt;br /&gt;
* link&lt;br /&gt;
* linkGrp&lt;br /&gt;
* list&lt;br /&gt;
* listBibl&lt;br /&gt;
* listEvent&lt;br /&gt;
* listNym&lt;br /&gt;
* listOrg&lt;br /&gt;
* listPerson&lt;br /&gt;
* listPlace&lt;br /&gt;
* listRef&lt;br /&gt;
* listWit&lt;br /&gt;
* localName&lt;br /&gt;
* locale&lt;br /&gt;
* location&lt;br /&gt;
* locus&lt;br /&gt;
* locusGrp&lt;br /&gt;
&lt;br /&gt;
==m==&lt;br /&gt;
&lt;br /&gt;
* m&lt;br /&gt;
* macroSpec&lt;br /&gt;
* mapping&lt;br /&gt;
* material&lt;br /&gt;
* measure&lt;br /&gt;
* measureGrp&lt;br /&gt;
* meeting&lt;br /&gt;
* memberOf&lt;br /&gt;
 mentioned {display:inline;}&lt;br /&gt;
* metDecl&lt;br /&gt;
* metSym&lt;br /&gt;
* milestone&lt;br /&gt;
* moduleRef&lt;br /&gt;
* moduleSpec&lt;br /&gt;
* monogr&lt;br /&gt;
* mood&lt;br /&gt;
* move&lt;br /&gt;
* msContents&lt;br /&gt;
* msDesc&lt;br /&gt;
* msIdentifier&lt;br /&gt;
* msItem&lt;br /&gt;
* msItemStruct&lt;br /&gt;
* msName&lt;br /&gt;
* msPart&lt;br /&gt;
* musicNotation&lt;br /&gt;
&lt;br /&gt;
==n==&lt;br /&gt;
&lt;br /&gt;
 name {display:inline;}&lt;br /&gt;
* nameLink&lt;br /&gt;
* namespace&lt;br /&gt;
* nationality&lt;br /&gt;
* node&lt;br /&gt;
* normalization&lt;br /&gt;
* note&lt;br /&gt;
* notesStmt&lt;br /&gt;
* num&lt;br /&gt;
* number&lt;br /&gt;
* numeric&lt;br /&gt;
* nym&lt;br /&gt;
&lt;br /&gt;
==o==&lt;br /&gt;
&lt;br /&gt;
* oRef&lt;br /&gt;
* oVar&lt;br /&gt;
* objectDesc&lt;br /&gt;
* occupation&lt;br /&gt;
* offset&lt;br /&gt;
* opener&lt;br /&gt;
* org&lt;br /&gt;
* orgName&lt;br /&gt;
* orig&lt;br /&gt;
* origDate&lt;br /&gt;
* origPlace&lt;br /&gt;
* origin&lt;br /&gt;
* orth&lt;br /&gt;
&lt;br /&gt;
==p==&lt;br /&gt;
&lt;br /&gt;
* p&lt;br /&gt;
* pRef&lt;br /&gt;
* pVar&lt;br /&gt;
* particDesc&lt;br /&gt;
* pause (speech module: XSL has not yet covered)&lt;br /&gt;
* pb&lt;br /&gt;
* pc&lt;br /&gt;
* per&lt;br /&gt;
* performance&lt;br /&gt;
 persName {display:inline;}&lt;br /&gt;
* person&lt;br /&gt;
* personGrp&lt;br /&gt;
* phr&lt;br /&gt;
* physDesc&lt;br /&gt;
* place&lt;br /&gt;
 placeName {display:inline;}&lt;br /&gt;
* population&lt;br /&gt;
* pos&lt;br /&gt;
* postBox&lt;br /&gt;
* postCode&lt;br /&gt;
* postscript&lt;br /&gt;
* precision&lt;br /&gt;
* preparedness&lt;br /&gt;
* principal&lt;br /&gt;
* profileDesc&lt;br /&gt;
* projectDesc&lt;br /&gt;
* prologue&lt;br /&gt;
* pron&lt;br /&gt;
* provenance&lt;br /&gt;
* ptr&lt;br /&gt;
* pubPlace&lt;br /&gt;
* publicationStmt&lt;br /&gt;
* publisher&lt;br /&gt;
* purpose&lt;br /&gt;
&lt;br /&gt;
==q==&lt;br /&gt;
&lt;br /&gt;
* q&lt;br /&gt;
* quotation&lt;br /&gt;
* quote&lt;br /&gt;
&lt;br /&gt;
==r==&lt;br /&gt;
&lt;br /&gt;
* rdg&lt;br /&gt;
* rdgGrp&lt;br /&gt;
* re&lt;br /&gt;
* recordHist&lt;br /&gt;
* recording&lt;br /&gt;
* recordingStmt&lt;br /&gt;
* ref&lt;br /&gt;
* refState&lt;br /&gt;
* refsDecl&lt;br /&gt;
* reg&lt;br /&gt;
* region&lt;br /&gt;
* relatedItem&lt;br /&gt;
* relation&lt;br /&gt;
* relationGrp&lt;br /&gt;
* remarks&lt;br /&gt;
* rendition&lt;br /&gt;
* repository&lt;br /&gt;
* residence&lt;br /&gt;
 resp:after {content:&amp;quot; &amp;quot;;}&lt;br /&gt;
 respStmt {display:inline;}&lt;br /&gt;
* respons&lt;br /&gt;
* restore&lt;br /&gt;
* revisionDesc&lt;br /&gt;
* rhyme&lt;br /&gt;
 role {display:inline; font-style: italic;}&lt;br /&gt;
 roleDesc { margin-left: 40px; margin-right: 40px; } roleDesc &amp;gt; *:not(p) {display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
 roleName {display:inline;}&lt;br /&gt;
* root&lt;br /&gt;
* row&lt;br /&gt;
* rs&lt;br /&gt;
* rubric&lt;br /&gt;
&lt;br /&gt;
==s==&lt;br /&gt;
&lt;br /&gt;
* s&lt;br /&gt;
* said&lt;br /&gt;
 salute {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* samplingDecl&lt;br /&gt;
* schemaSpec&lt;br /&gt;
* scriptStmt&lt;br /&gt;
* seal&lt;br /&gt;
* sealDesc&lt;br /&gt;
* secFol&lt;br /&gt;
 seg {display:inline;}&lt;br /&gt;
* segmentation&lt;br /&gt;
* sense&lt;br /&gt;
* series&lt;br /&gt;
* seriesStmt&lt;br /&gt;
 set {display:inline; font-style: italic;}&lt;br /&gt;
* setting&lt;br /&gt;
* settingDesc&lt;br /&gt;
* settlement&lt;br /&gt;
* se x (XSL has not yet covered (namesdates module)) /* space-separated for spam filter! */&lt;br /&gt;
* shift (speech module: XSL has not yet covered)&lt;br /&gt;
 sic {display:inline;} sic:after {content: &amp;quot; (sic)&amp;quot;}&lt;br /&gt;
* signatures&lt;br /&gt;
 signed {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* soCalled&lt;br /&gt;
* socecStatus&lt;br /&gt;
 sound {display:inline; font-style: italic;}&lt;br /&gt;
* source&lt;br /&gt;
* sourceDesc&lt;br /&gt;
* sp&lt;br /&gt;
* space&lt;br /&gt;
* span&lt;br /&gt;
* spanGrp&lt;br /&gt;
* speaker&lt;br /&gt;
* specDesc&lt;br /&gt;
* specGrp&lt;br /&gt;
* specGrpRef&lt;br /&gt;
* specList&lt;br /&gt;
* sponsor&lt;br /&gt;
 stage {font-style: italic; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* stamp&lt;br /&gt;
* state&lt;br /&gt;
* stdVals&lt;br /&gt;
* street&lt;br /&gt;
* stress&lt;br /&gt;
* string&lt;br /&gt;
* stringVal&lt;br /&gt;
* subc&lt;br /&gt;
* subst&lt;br /&gt;
* summary&lt;br /&gt;
* superEntry&lt;br /&gt;
* supplied&lt;br /&gt;
* support&lt;br /&gt;
* supportDesc&lt;br /&gt;
* surface&lt;br /&gt;
* surname&lt;br /&gt;
* surplus&lt;br /&gt;
* surrogates&lt;br /&gt;
* syll&lt;br /&gt;
* symbol&lt;br /&gt;
&lt;br /&gt;
==t==&lt;br /&gt;
&lt;br /&gt;
* TEI&lt;br /&gt;
* table&lt;br /&gt;
* tag&lt;br /&gt;
* tagUsage&lt;br /&gt;
* tagsDecl&lt;br /&gt;
* taxonomy&lt;br /&gt;
 tech {display:inline; font-style: italic;}&lt;br /&gt;
* teiCorpus&lt;br /&gt;
* teiHeader&lt;br /&gt;
 term {display:inline;}&lt;br /&gt;
* terrain&lt;br /&gt;
* text&lt;br /&gt;
* textClass&lt;br /&gt;
* textDesc&lt;br /&gt;
* textLang&lt;br /&gt;
* then&lt;br /&gt;
* time&lt;br /&gt;
* timeline&lt;br /&gt;
* title&lt;br /&gt;
* titlePage&lt;br /&gt;
* titlePart&lt;br /&gt;
* titleStmt&lt;br /&gt;
* tns&lt;br /&gt;
* trailer&lt;br /&gt;
* trait&lt;br /&gt;
* tree&lt;br /&gt;
* triangle&lt;br /&gt;
* typeDesc&lt;br /&gt;
* typeNote&lt;br /&gt;
&lt;br /&gt;
==u==&lt;br /&gt;
&lt;br /&gt;
* u (speech module: XSL has not yet covered)&lt;br /&gt;
 unclear {display:inline;}&lt;br /&gt;
* unicodeName&lt;br /&gt;
* usg&lt;br /&gt;
&lt;br /&gt;
==v==&lt;br /&gt;
&lt;br /&gt;
* vAlt&lt;br /&gt;
* vColl&lt;br /&gt;
* vDefault&lt;br /&gt;
* vLabel&lt;br /&gt;
* vMerge&lt;br /&gt;
* vNot&lt;br /&gt;
* vRange&lt;br /&gt;
* val&lt;br /&gt;
* valDesc&lt;br /&gt;
* valItem&lt;br /&gt;
* valList&lt;br /&gt;
* value&lt;br /&gt;
* variantEncoding&lt;br /&gt;
 view {display:inline; font-style: italic;}&lt;br /&gt;
* vocal (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==w==&lt;br /&gt;
&lt;br /&gt;
* w&lt;br /&gt;
* watermark&lt;br /&gt;
* when&lt;br /&gt;
* width&lt;br /&gt;
* wit&lt;br /&gt;
* witDetail&lt;br /&gt;
* witEnd&lt;br /&gt;
* witStart&lt;br /&gt;
* witness&lt;br /&gt;
* writing (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==x==&lt;br /&gt;
&lt;br /&gt;
* xr&lt;br /&gt;
&lt;br /&gt;
==y==&lt;br /&gt;
&lt;br /&gt;
(none)&lt;br /&gt;
&lt;br /&gt;
==z==&lt;br /&gt;
z&lt;br /&gt;
&lt;br /&gt;
* zone&lt;br /&gt;
&lt;br /&gt;
==References used==&lt;br /&gt;
* http://math.ut.ee/~kaarel/NLP/TEI/visualization/ (on rationales)&lt;br /&gt;
&lt;br /&gt;
[[Category:CSS]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7789</id>
		<title>Comprehensive CSS Stylesheet</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7789"/>
		<updated>2010-06-16T04:22:00Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: /* s */ +se x&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following is an attempt to gradually build CSS for each TEI element, paralleling the default TEI stylesheets (while also potentially serving as a kind of discussion center for how the stylesheets ought to operate (see [[Formatting TEI documents]] on how there is a need for this despite TEI being agnostic as to output formatting), at least for issues pertaining solely to formatting as opposed to semantics), by indicating here necessary deviations from the XHTML stylesheets (due to CSS constraints) or potentially desirable alternatives, etc.).&lt;br /&gt;
&lt;br /&gt;
Advantages of CSS over XSL might include:&lt;br /&gt;
# Simpler for maintenance/alteration (though CSS can still be combined with simpler XSL as needed)&lt;br /&gt;
# Downloading (and parsing?) is faster&lt;br /&gt;
# Wider browser support (and for browser caching?)&lt;br /&gt;
# Allows DOM and other manipulation directly on semantically-named TEI elements (though admittedly, use of frameworks like jQuery may make traversal of X/HTML as easy or easier)&lt;br /&gt;
# TEI could potentially be used as is in HTML (though empty self-closing elements will not be treated properly unless changed to &amp;lt;elem&amp;gt;&amp;lt;/elem&amp;gt; form and namespaces will not be present) in addition to true XHTML.&lt;br /&gt;
&lt;br /&gt;
Disadvantages:&lt;br /&gt;
# Does not allow for certain kinds of transformations (though again, CSS can be combined with a simple XSL stylesheet which preserves TEI except in cases where needed)&lt;br /&gt;
# Is cumbersome for certain variable structures (e.g., for values varying by integer but not including the integer (e.g., space.extent =&amp;gt; number of spaces) a separate rule must be created for each possible attribute value)&lt;br /&gt;
# (Another disadvantage of CSS in general is being unable to create certain kinds of output such as form controls, but in the case of TEI, we hardly need this.)&lt;br /&gt;
&lt;br /&gt;
Per CSS Namespaces, one can use either&lt;br /&gt;
 @namespace &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 @namespace tei &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
...but we will use the former since we will presume the stylesheet will be primarily (if not exclusively) for TEI.&lt;br /&gt;
&lt;br /&gt;
We will not be able to make equivalents for XSLT templates like rendToClass (e.g., ab) or applyRend (emph), applyRendition (emph) since we cannot (nor do we need to) add an id or class (though @rend or @rendition would be useful to utilize, there is no &amp;quot;eval()&amp;quot;-like code in CSS; however, we could test against predefined values like &amp;quot;bold&amp;quot; (maybe as a global * or at least the elements using these in the stylesheets (emph, hi, ...))).&lt;br /&gt;
&lt;br /&gt;
All fields below should be complete for an element, or otherwise noted that it is incomplete, so that it can otherwise be assumed that the CSS has been completely applied as far as possible (besides rend/rendition which may later be done globally for all elements, as these are indeed globals).&lt;br /&gt;
&lt;br /&gt;
==a==&lt;br /&gt;
 ab {display:block;}&lt;br /&gt;
* abbr&lt;br /&gt;
* accMat&lt;br /&gt;
* acquisition&lt;br /&gt;
* activity&lt;br /&gt;
 actor {display:inline; font-style: italic;}&lt;br /&gt;
* add&lt;br /&gt;
* addName&lt;br /&gt;
* addSpan&lt;br /&gt;
* additional&lt;br /&gt;
* additions&lt;br /&gt;
 addrLine {display:block;}&lt;br /&gt;
 address {display:block; /* font-style:italic; If wish to appear as HTML addresses are rendered by default, at least in Firefox */}&lt;br /&gt;
* adminInfo&lt;br /&gt;
* affiliation&lt;br /&gt;
* age&lt;br /&gt;
* alt&lt;br /&gt;
* altGrp&lt;br /&gt;
* altIdent&lt;br /&gt;
* altIdentifier&lt;br /&gt;
* am&lt;br /&gt;
* analytic&lt;br /&gt;
* anchor&lt;br /&gt;
* app&lt;br /&gt;
* appInfo&lt;br /&gt;
* application&lt;br /&gt;
* arc&lt;br /&gt;
* argument&lt;br /&gt;
 att {display:inline; font-weight:bold;} att:before {content:&amp;quot;@&amp;quot;}&lt;br /&gt;
* attDef&lt;br /&gt;
* attList&lt;br /&gt;
* attRef&lt;br /&gt;
* author&lt;br /&gt;
* authority&lt;br /&gt;
* availability&lt;br /&gt;
&lt;br /&gt;
==b==&lt;br /&gt;
&lt;br /&gt;
* back&lt;br /&gt;
* bibl&lt;br /&gt;
* biblFull&lt;br /&gt;
* biblScope&lt;br /&gt;
* biblStruct&lt;br /&gt;
* bicond&lt;br /&gt;
* binary&lt;br /&gt;
* binaryObject&lt;br /&gt;
* binding&lt;br /&gt;
* bindingDesc&lt;br /&gt;
* birth&lt;br /&gt;
* bloc&lt;br /&gt;
* body&lt;br /&gt;
* broadcast&lt;br /&gt;
 byline {display:block;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==c==&lt;br /&gt;
&lt;br /&gt;
* c&lt;br /&gt;
* cRefPattern&lt;br /&gt;
 caesura:before {display:inline; content:&amp;quot;\a0\a0\a0\a0&amp;quot;; /* could be :after too */}&lt;br /&gt;
 camera {display:inline; font-style: italic;}&lt;br /&gt;
 caption {display:inline; font-style: italic;}&lt;br /&gt;
* case&lt;br /&gt;
* castGroup&lt;br /&gt;
* castItem&lt;br /&gt;
 castList {} /* Note: has additional rules: */&lt;br /&gt;
 castList {display:block;} /* applies whether children are head or not */&lt;br /&gt;
 /* Note: for this to mirror the XSL exactly, head would always need to be preceding other elements inside castList */&lt;br /&gt;
 castList &amp;gt; head {display:inline; font-style:italic;}&lt;br /&gt;
 castList &amp;gt; *:not(head) {margin-left: 40px;} /* If children of castList needed their own indents, then it should be relative to this (if possible) */&lt;br /&gt;
&lt;br /&gt;
* catDesc (Only defined in XSL conditionally if using catRef)&lt;br /&gt;
 catRef {} /* Note: has additional rules: */&lt;br /&gt;
 catRef + catRef:before {'\A'} /* Add line break if preceded by another catRef */&lt;br /&gt;
 catRef:after {content:attr(scheme); display:inline; font-style:italic;} /* Add scheme in italics */&lt;br /&gt;
 /* &lt;br /&gt;
 Commenting out as XPath not currently supported in CSS as needed by third 'after'&lt;br /&gt;
 catRef:after(2) {content:':'}*//* Requires CSS3 to add such additional 'after' content; See http://www.w3.org/TR/css3-content/#nesting or http://www.w3.org/TR/css3-content/#inserting0 */&lt;br /&gt;
 /* &lt;br /&gt;
 catRef:after(3) {content: &amp;lt;not possible to reference target's catDesc unless XPath gets added to CSS&amp;gt;} */&lt;br /&gt;
* catchwords&lt;br /&gt;
* category&lt;br /&gt;
* cb&lt;br /&gt;
* cell&lt;br /&gt;
* certainty&lt;br /&gt;
* change&lt;br /&gt;
* channel&lt;br /&gt;
* char&lt;br /&gt;
* charDecl&lt;br /&gt;
* charName&lt;br /&gt;
* charProp&lt;br /&gt;
* choice&lt;br /&gt;
* cit&lt;br /&gt;
* cl&lt;br /&gt;
* classCode (XSL has not yet covered (from header module))&lt;br /&gt;
* classDecl&lt;br /&gt;
* classSpec&lt;br /&gt;
* classes&lt;br /&gt;
* climate&lt;br /&gt;
* closer&lt;br /&gt;
 code {display:inline; font-family:monospace;}&lt;br /&gt;
* collation&lt;br /&gt;
* collection&lt;br /&gt;
* colloc&lt;br /&gt;
* colophon&lt;br /&gt;
* cond&lt;br /&gt;
* condition&lt;br /&gt;
* constitution&lt;br /&gt;
* constraint&lt;br /&gt;
* constraintSpec&lt;br /&gt;
* content&lt;br /&gt;
* corr&lt;br /&gt;
* correction&lt;br /&gt;
* country&lt;br /&gt;
* creation&lt;br /&gt;
* custEvent&lt;br /&gt;
* custodialHist&lt;br /&gt;
&lt;br /&gt;
==d==&lt;br /&gt;
&lt;br /&gt;
* damage&lt;br /&gt;
* damageSpan&lt;br /&gt;
* datatype&lt;br /&gt;
* date&lt;br /&gt;
* dateline&lt;br /&gt;
* death&lt;br /&gt;
* decoDesc&lt;br /&gt;
* decoNote&lt;br /&gt;
* def&lt;br /&gt;
* default&lt;br /&gt;
* defaultVal&lt;br /&gt;
 del {display:inline; text-decoration: line-through;}&lt;br /&gt;
* delSpan&lt;br /&gt;
* depth&lt;br /&gt;
* derivation&lt;br /&gt;
* desc&lt;br /&gt;
* dictScrap&lt;br /&gt;
* dim&lt;br /&gt;
* dimensions&lt;br /&gt;
* distinct&lt;br /&gt;
* distributor&lt;br /&gt;
* district&lt;br /&gt;
* div&lt;br /&gt;
* div1&lt;br /&gt;
* div2&lt;br /&gt;
* div3&lt;br /&gt;
* div4&lt;br /&gt;
* div5&lt;br /&gt;
* div6&lt;br /&gt;
* div7&lt;br /&gt;
* divGen&lt;br /&gt;
* docAuthor&lt;br /&gt;
* docDate&lt;br /&gt;
* docEdition&lt;br /&gt;
* docImprint&lt;br /&gt;
* docTitle&lt;br /&gt;
* domain&lt;br /&gt;
&lt;br /&gt;
==e==&lt;br /&gt;
&lt;br /&gt;
* eLeaf&lt;br /&gt;
* eTree&lt;br /&gt;
* edition&lt;br /&gt;
* editionStmt&lt;br /&gt;
* editor&lt;br /&gt;
* editorialDecl&lt;br /&gt;
* education&lt;br /&gt;
* eg&lt;br /&gt;
* egXML&lt;br /&gt;
* elementSpec&lt;br /&gt;
* email&lt;br /&gt;
 emph {display:inline; font-style:italic;}&lt;br /&gt;
* encodingDesc&lt;br /&gt;
* entry&lt;br /&gt;
* entryFree&lt;br /&gt;
 epigraph {display:block;}&lt;br /&gt;
* epilogue&lt;br /&gt;
* equipment&lt;br /&gt;
* equiv&lt;br /&gt;
* etym&lt;br /&gt;
* event&lt;br /&gt;
* ex&lt;br /&gt;
* exemplum&lt;br /&gt;
* expan&lt;br /&gt;
* explicit&lt;br /&gt;
* extent&lt;br /&gt;
&lt;br /&gt;
==f==&lt;br /&gt;
&lt;br /&gt;
* f&lt;br /&gt;
* fDecl&lt;br /&gt;
* fDescr&lt;br /&gt;
* fLib&lt;br /&gt;
* facsimile&lt;br /&gt;
* factuality&lt;br /&gt;
* faith&lt;br /&gt;
* figDesc&lt;br /&gt;
* figure&lt;br /&gt;
* fileDesc&lt;br /&gt;
* filiation&lt;br /&gt;
* finalRubric&lt;br /&gt;
* floatingText&lt;br /&gt;
* floruit&lt;br /&gt;
* foliation&lt;br /&gt;
 foreign {display:inline;}&lt;br /&gt;
* forename&lt;br /&gt;
* forest&lt;br /&gt;
* forestGrp&lt;br /&gt;
* form&lt;br /&gt;
* formula&lt;br /&gt;
* front&lt;br /&gt;
* fs&lt;br /&gt;
* fsConstraints&lt;br /&gt;
* fsDecl&lt;br /&gt;
* fsDescr&lt;br /&gt;
* fsdDecl&lt;br /&gt;
* fsdLink&lt;br /&gt;
* funder&lt;br /&gt;
* fvLib&lt;br /&gt;
* fw&lt;br /&gt;
&lt;br /&gt;
==g==&lt;br /&gt;
&lt;br /&gt;
* g&lt;br /&gt;
* gap&lt;br /&gt;
* gen&lt;br /&gt;
 genName {display:inline;}&lt;br /&gt;
* geo&lt;br /&gt;
* geoDecl&lt;br /&gt;
* geogFeat&lt;br /&gt;
 geogName {display:inline;}&lt;br /&gt;
 gi:before {display:inline;content:&amp;quot;&amp;lt;&amp;quot;}  gi:after {display:inline;content:&amp;quot;&amp;gt;&amp;quot;}&lt;br /&gt;
 gloss {display:inline;}&lt;br /&gt;
* glyph&lt;br /&gt;
* glyphName&lt;br /&gt;
* gram&lt;br /&gt;
* gramGrp&lt;br /&gt;
* graph&lt;br /&gt;
* graphic&lt;br /&gt;
* group&lt;br /&gt;
&lt;br /&gt;
==h==&lt;br /&gt;
&lt;br /&gt;
* handDesc&lt;br /&gt;
* handNote&lt;br /&gt;
* handNotes&lt;br /&gt;
* handShift&lt;br /&gt;
* head&lt;br /&gt;
* headItem&lt;br /&gt;
* headLabel&lt;br /&gt;
* height&lt;br /&gt;
* heraldry&lt;br /&gt;
 hi {display:inline; font-weight:bold;}&lt;br /&gt;
* history&lt;br /&gt;
* hom&lt;br /&gt;
* hyph&lt;br /&gt;
* hyphenation&lt;br /&gt;
&lt;br /&gt;
==i==&lt;br /&gt;
&lt;br /&gt;
* iNode&lt;br /&gt;
* iType&lt;br /&gt;
 ident[type] {display:inline; font-weight:bold;} ident:not([type]) {display:inline; } /* Just as the stylesheet allows for different types; a specific type could be styled by ident[type=&amp;quot;XXX&amp;quot;] */&lt;br /&gt;
* idno&lt;br /&gt;
* if&lt;br /&gt;
* iff&lt;br /&gt;
* imprimatur&lt;br /&gt;
* imprint&lt;br /&gt;
* incident (speech module: XSL has not yet covered)&lt;br /&gt;
* incipit&lt;br /&gt;
* index&lt;br /&gt;
* institution&lt;br /&gt;
* interaction&lt;br /&gt;
* interp&lt;br /&gt;
* interpGrp&lt;br /&gt;
* interpretation&lt;br /&gt;
* item&lt;br /&gt;
&lt;br /&gt;
==j==&lt;br /&gt;
&lt;br /&gt;
* join&lt;br /&gt;
* joinGrp&lt;br /&gt;
&lt;br /&gt;
==k==&lt;br /&gt;
&lt;br /&gt;
* keywords (XSL has not yet covered (from header module))&lt;br /&gt;
* kinesic (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==l==&lt;br /&gt;
&lt;br /&gt;
 l {display:block;}&lt;br /&gt;
 label {display:inline;}&lt;br /&gt;
* lacunaEnd&lt;br /&gt;
* lacunaStart&lt;br /&gt;
* lang&lt;br /&gt;
* langKnowledge&lt;br /&gt;
* langKnown&lt;br /&gt;
* langUsage&lt;br /&gt;
* language&lt;br /&gt;
* layout&lt;br /&gt;
* layoutDesc&lt;br /&gt;
 lb {display:block;}&lt;br /&gt;
* lbl&lt;br /&gt;
* leaf&lt;br /&gt;
* lem&lt;br /&gt;
 lg {display:block;}&lt;br /&gt;
* link&lt;br /&gt;
* linkGrp&lt;br /&gt;
* list&lt;br /&gt;
* listBibl&lt;br /&gt;
* listEvent&lt;br /&gt;
* listNym&lt;br /&gt;
* listOrg&lt;br /&gt;
* listPerson&lt;br /&gt;
* listPlace&lt;br /&gt;
* listRef&lt;br /&gt;
* listWit&lt;br /&gt;
* localName&lt;br /&gt;
* locale&lt;br /&gt;
* location&lt;br /&gt;
* locus&lt;br /&gt;
* locusGrp&lt;br /&gt;
&lt;br /&gt;
==m==&lt;br /&gt;
&lt;br /&gt;
* m&lt;br /&gt;
* macroSpec&lt;br /&gt;
* mapping&lt;br /&gt;
* material&lt;br /&gt;
* measure&lt;br /&gt;
* measureGrp&lt;br /&gt;
* meeting&lt;br /&gt;
* memberOf&lt;br /&gt;
 mentioned {display:inline;}&lt;br /&gt;
* metDecl&lt;br /&gt;
* metSym&lt;br /&gt;
* milestone&lt;br /&gt;
* moduleRef&lt;br /&gt;
* moduleSpec&lt;br /&gt;
* monogr&lt;br /&gt;
* mood&lt;br /&gt;
* move&lt;br /&gt;
* msContents&lt;br /&gt;
* msDesc&lt;br /&gt;
* msIdentifier&lt;br /&gt;
* msItem&lt;br /&gt;
* msItemStruct&lt;br /&gt;
* msName&lt;br /&gt;
* msPart&lt;br /&gt;
* musicNotation&lt;br /&gt;
&lt;br /&gt;
==n==&lt;br /&gt;
&lt;br /&gt;
 name {display:inline;}&lt;br /&gt;
* nameLink&lt;br /&gt;
* namespace&lt;br /&gt;
* nationality&lt;br /&gt;
* node&lt;br /&gt;
* normalization&lt;br /&gt;
* note&lt;br /&gt;
* notesStmt&lt;br /&gt;
* num&lt;br /&gt;
* number&lt;br /&gt;
* numeric&lt;br /&gt;
* nym&lt;br /&gt;
&lt;br /&gt;
==o==&lt;br /&gt;
&lt;br /&gt;
* oRef&lt;br /&gt;
* oVar&lt;br /&gt;
* objectDesc&lt;br /&gt;
* occupation&lt;br /&gt;
* offset&lt;br /&gt;
* opener&lt;br /&gt;
* org&lt;br /&gt;
* orgName&lt;br /&gt;
* orig&lt;br /&gt;
* origDate&lt;br /&gt;
* origPlace&lt;br /&gt;
* origin&lt;br /&gt;
* orth&lt;br /&gt;
&lt;br /&gt;
==p==&lt;br /&gt;
&lt;br /&gt;
* p&lt;br /&gt;
* pRef&lt;br /&gt;
* pVar&lt;br /&gt;
* particDesc&lt;br /&gt;
* pause (speech module: XSL has not yet covered)&lt;br /&gt;
* pb&lt;br /&gt;
* pc&lt;br /&gt;
* per&lt;br /&gt;
* performance&lt;br /&gt;
 persName {display:inline;}&lt;br /&gt;
* person&lt;br /&gt;
* personGrp&lt;br /&gt;
* phr&lt;br /&gt;
* physDesc&lt;br /&gt;
* place&lt;br /&gt;
 placeName {display:inline;}&lt;br /&gt;
* population&lt;br /&gt;
* pos&lt;br /&gt;
* postBox&lt;br /&gt;
* postCode&lt;br /&gt;
* postscript&lt;br /&gt;
* precision&lt;br /&gt;
* preparedness&lt;br /&gt;
* principal&lt;br /&gt;
* profileDesc&lt;br /&gt;
* projectDesc&lt;br /&gt;
* prologue&lt;br /&gt;
* pron&lt;br /&gt;
* provenance&lt;br /&gt;
* ptr&lt;br /&gt;
* pubPlace&lt;br /&gt;
* publicationStmt&lt;br /&gt;
* publisher&lt;br /&gt;
* purpose&lt;br /&gt;
&lt;br /&gt;
==q==&lt;br /&gt;
&lt;br /&gt;
* q&lt;br /&gt;
* quotation&lt;br /&gt;
* quote&lt;br /&gt;
&lt;br /&gt;
==r==&lt;br /&gt;
&lt;br /&gt;
* rdg&lt;br /&gt;
* rdgGrp&lt;br /&gt;
* re&lt;br /&gt;
* recordHist&lt;br /&gt;
* recording&lt;br /&gt;
* recordingStmt&lt;br /&gt;
* ref&lt;br /&gt;
* refState&lt;br /&gt;
* refsDecl&lt;br /&gt;
* reg&lt;br /&gt;
* region&lt;br /&gt;
* relatedItem&lt;br /&gt;
* relation&lt;br /&gt;
* relationGrp&lt;br /&gt;
* remarks&lt;br /&gt;
* rendition&lt;br /&gt;
* repository&lt;br /&gt;
* residence&lt;br /&gt;
 resp:after {content:&amp;quot; &amp;quot;;}&lt;br /&gt;
 respStmt {display:inline;}&lt;br /&gt;
* respons&lt;br /&gt;
* restore&lt;br /&gt;
* revisionDesc&lt;br /&gt;
* rhyme&lt;br /&gt;
 role {display:inline; font-style: italic;}&lt;br /&gt;
 roleDesc { margin-left: 40px; margin-right: 40px; } roleDesc &amp;gt; *:not(p) {display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
 roleName {display:inline;}&lt;br /&gt;
* root&lt;br /&gt;
* row&lt;br /&gt;
* rs&lt;br /&gt;
* rubric&lt;br /&gt;
&lt;br /&gt;
==s==&lt;br /&gt;
&lt;br /&gt;
* s&lt;br /&gt;
* said&lt;br /&gt;
 salute {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* samplingDecl&lt;br /&gt;
* schemaSpec&lt;br /&gt;
* scriptStmt&lt;br /&gt;
* seal&lt;br /&gt;
* sealDesc&lt;br /&gt;
* secFol&lt;br /&gt;
 seg {display:inline;}&lt;br /&gt;
* segmentation&lt;br /&gt;
* sense&lt;br /&gt;
* series&lt;br /&gt;
* seriesStmt&lt;br /&gt;
 set {display:inline; font-style: italic;}&lt;br /&gt;
* setting&lt;br /&gt;
* settingDesc&lt;br /&gt;
* settlement&lt;br /&gt;
* se x (XSL has not yet covered (namesdates module)) /* space-separated for spam filter! */&lt;br /&gt;
* shift (speech module: XSL has not yet covered)&lt;br /&gt;
 sic {display:inline;} sic:after {content: &amp;quot; (sic)&amp;quot;}&lt;br /&gt;
* signatures&lt;br /&gt;
 signed {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* soCalled&lt;br /&gt;
* socecStatus&lt;br /&gt;
 sound {display:inline; font-style: italic;}&lt;br /&gt;
* source&lt;br /&gt;
* sourceDesc&lt;br /&gt;
* sp&lt;br /&gt;
* space&lt;br /&gt;
* span&lt;br /&gt;
* spanGrp&lt;br /&gt;
* speaker&lt;br /&gt;
* specDesc&lt;br /&gt;
* specGrp&lt;br /&gt;
* specGrpRef&lt;br /&gt;
* specList&lt;br /&gt;
* sponsor&lt;br /&gt;
 stage {font-style: italic; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* stamp&lt;br /&gt;
* state&lt;br /&gt;
* stdVals&lt;br /&gt;
* street&lt;br /&gt;
* stress&lt;br /&gt;
* string&lt;br /&gt;
* stringVal&lt;br /&gt;
* subc&lt;br /&gt;
* subst&lt;br /&gt;
* summary&lt;br /&gt;
* superEntry&lt;br /&gt;
* supplied&lt;br /&gt;
* support&lt;br /&gt;
* supportDesc&lt;br /&gt;
* surface&lt;br /&gt;
* surname&lt;br /&gt;
* surplus&lt;br /&gt;
* surrogates&lt;br /&gt;
* syll&lt;br /&gt;
* symbol&lt;br /&gt;
&lt;br /&gt;
==t==&lt;br /&gt;
&lt;br /&gt;
* TEI&lt;br /&gt;
* table&lt;br /&gt;
* tag&lt;br /&gt;
* tagUsage&lt;br /&gt;
* tagsDecl&lt;br /&gt;
* taxonomy&lt;br /&gt;
 tech {display:inline; font-style: italic;}&lt;br /&gt;
* teiCorpus&lt;br /&gt;
* teiHeader&lt;br /&gt;
 term {display:inline;}&lt;br /&gt;
* terrain&lt;br /&gt;
* text&lt;br /&gt;
* textClass&lt;br /&gt;
* textDesc&lt;br /&gt;
* textLang&lt;br /&gt;
* then&lt;br /&gt;
* time&lt;br /&gt;
* timeline&lt;br /&gt;
* title&lt;br /&gt;
* titlePage&lt;br /&gt;
* titlePart&lt;br /&gt;
* titleStmt&lt;br /&gt;
* tns&lt;br /&gt;
* trailer&lt;br /&gt;
* trait&lt;br /&gt;
* tree&lt;br /&gt;
* triangle&lt;br /&gt;
* typeDesc&lt;br /&gt;
* typeNote&lt;br /&gt;
&lt;br /&gt;
==u==&lt;br /&gt;
&lt;br /&gt;
* u (speech module: XSL has not yet covered)&lt;br /&gt;
 unclear {display:inline;}&lt;br /&gt;
* unicodeName&lt;br /&gt;
* usg&lt;br /&gt;
&lt;br /&gt;
==v==&lt;br /&gt;
&lt;br /&gt;
* vAlt&lt;br /&gt;
* vColl&lt;br /&gt;
* vDefault&lt;br /&gt;
* vLabel&lt;br /&gt;
* vMerge&lt;br /&gt;
* vNot&lt;br /&gt;
* vRange&lt;br /&gt;
* val&lt;br /&gt;
* valDesc&lt;br /&gt;
* valItem&lt;br /&gt;
* valList&lt;br /&gt;
* value&lt;br /&gt;
* variantEncoding&lt;br /&gt;
 view {display:inline; font-style: italic;}&lt;br /&gt;
* vocal (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==w==&lt;br /&gt;
&lt;br /&gt;
* w&lt;br /&gt;
* watermark&lt;br /&gt;
* when&lt;br /&gt;
* width&lt;br /&gt;
* wit&lt;br /&gt;
* witDetail&lt;br /&gt;
* witEnd&lt;br /&gt;
* witStart&lt;br /&gt;
* witness&lt;br /&gt;
* writing (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==x==&lt;br /&gt;
&lt;br /&gt;
* xr&lt;br /&gt;
&lt;br /&gt;
==y==&lt;br /&gt;
&lt;br /&gt;
(none)&lt;br /&gt;
&lt;br /&gt;
==z==&lt;br /&gt;
z&lt;br /&gt;
&lt;br /&gt;
* zone&lt;br /&gt;
&lt;br /&gt;
==References used==&lt;br /&gt;
* http://math.ut.ee/~kaarel/NLP/TEI/visualization/ (on rationales)&lt;br /&gt;
&lt;br /&gt;
[[Category:CSS]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7788</id>
		<title>Comprehensive CSS Stylesheet</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7788"/>
		<updated>2010-06-16T04:13:08Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: /* r */ semicolon&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following is an attempt to gradually build CSS for each TEI element, paralleling the default TEI stylesheets (while also potentially serving as a kind of discussion center for how the stylesheets ought to operate (see [[Formatting TEI documents]] on how there is a need for this despite TEI being agnostic as to output formatting), at least for issues pertaining solely to formatting as opposed to semantics), by indicating here necessary deviations from the XHTML stylesheets (due to CSS constraints) or potentially desirable alternatives, etc.).&lt;br /&gt;
&lt;br /&gt;
Advantages of CSS over XSL might include:&lt;br /&gt;
# Simpler for maintenance/alteration (though CSS can still be combined with simpler XSL as needed)&lt;br /&gt;
# Downloading (and parsing?) is faster&lt;br /&gt;
# Wider browser support (and for browser caching?)&lt;br /&gt;
# Allows DOM and other manipulation directly on semantically-named TEI elements (though admittedly, use of frameworks like jQuery may make traversal of X/HTML as easy or easier)&lt;br /&gt;
# TEI could potentially be used as is in HTML (though empty self-closing elements will not be treated properly unless changed to &amp;lt;elem&amp;gt;&amp;lt;/elem&amp;gt; form and namespaces will not be present) in addition to true XHTML.&lt;br /&gt;
&lt;br /&gt;
Disadvantages:&lt;br /&gt;
# Does not allow for certain kinds of transformations (though again, CSS can be combined with a simple XSL stylesheet which preserves TEI except in cases where needed)&lt;br /&gt;
# Is cumbersome for certain variable structures (e.g., for values varying by integer but not including the integer (e.g., space.extent =&amp;gt; number of spaces) a separate rule must be created for each possible attribute value)&lt;br /&gt;
# (Another disadvantage of CSS in general is being unable to create certain kinds of output such as form controls, but in the case of TEI, we hardly need this.)&lt;br /&gt;
&lt;br /&gt;
Per CSS Namespaces, one can use either&lt;br /&gt;
 @namespace &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 @namespace tei &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
...but we will use the former since we will presume the stylesheet will be primarily (if not exclusively) for TEI.&lt;br /&gt;
&lt;br /&gt;
We will not be able to make equivalents for XSLT templates like rendToClass (e.g., ab) or applyRend (emph), applyRendition (emph) since we cannot (nor do we need to) add an id or class (though @rend or @rendition would be useful to utilize, there is no &amp;quot;eval()&amp;quot;-like code in CSS; however, we could test against predefined values like &amp;quot;bold&amp;quot; (maybe as a global * or at least the elements using these in the stylesheets (emph, hi, ...))).&lt;br /&gt;
&lt;br /&gt;
All fields below should be complete for an element, or otherwise noted that it is incomplete, so that it can otherwise be assumed that the CSS has been completely applied as far as possible (besides rend/rendition which may later be done globally for all elements, as these are indeed globals).&lt;br /&gt;
&lt;br /&gt;
==a==&lt;br /&gt;
 ab {display:block;}&lt;br /&gt;
* abbr&lt;br /&gt;
* accMat&lt;br /&gt;
* acquisition&lt;br /&gt;
* activity&lt;br /&gt;
 actor {display:inline; font-style: italic;}&lt;br /&gt;
* add&lt;br /&gt;
* addName&lt;br /&gt;
* addSpan&lt;br /&gt;
* additional&lt;br /&gt;
* additions&lt;br /&gt;
 addrLine {display:block;}&lt;br /&gt;
 address {display:block; /* font-style:italic; If wish to appear as HTML addresses are rendered by default, at least in Firefox */}&lt;br /&gt;
* adminInfo&lt;br /&gt;
* affiliation&lt;br /&gt;
* age&lt;br /&gt;
* alt&lt;br /&gt;
* altGrp&lt;br /&gt;
* altIdent&lt;br /&gt;
* altIdentifier&lt;br /&gt;
* am&lt;br /&gt;
* analytic&lt;br /&gt;
* anchor&lt;br /&gt;
* app&lt;br /&gt;
* appInfo&lt;br /&gt;
* application&lt;br /&gt;
* arc&lt;br /&gt;
* argument&lt;br /&gt;
 att {display:inline; font-weight:bold;} att:before {content:&amp;quot;@&amp;quot;}&lt;br /&gt;
* attDef&lt;br /&gt;
* attList&lt;br /&gt;
* attRef&lt;br /&gt;
* author&lt;br /&gt;
* authority&lt;br /&gt;
* availability&lt;br /&gt;
&lt;br /&gt;
==b==&lt;br /&gt;
&lt;br /&gt;
* back&lt;br /&gt;
* bibl&lt;br /&gt;
* biblFull&lt;br /&gt;
* biblScope&lt;br /&gt;
* biblStruct&lt;br /&gt;
* bicond&lt;br /&gt;
* binary&lt;br /&gt;
* binaryObject&lt;br /&gt;
* binding&lt;br /&gt;
* bindingDesc&lt;br /&gt;
* birth&lt;br /&gt;
* bloc&lt;br /&gt;
* body&lt;br /&gt;
* broadcast&lt;br /&gt;
 byline {display:block;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==c==&lt;br /&gt;
&lt;br /&gt;
* c&lt;br /&gt;
* cRefPattern&lt;br /&gt;
 caesura:before {display:inline; content:&amp;quot;\a0\a0\a0\a0&amp;quot;; /* could be :after too */}&lt;br /&gt;
 camera {display:inline; font-style: italic;}&lt;br /&gt;
 caption {display:inline; font-style: italic;}&lt;br /&gt;
* case&lt;br /&gt;
* castGroup&lt;br /&gt;
* castItem&lt;br /&gt;
 castList {} /* Note: has additional rules: */&lt;br /&gt;
 castList {display:block;} /* applies whether children are head or not */&lt;br /&gt;
 /* Note: for this to mirror the XSL exactly, head would always need to be preceding other elements inside castList */&lt;br /&gt;
 castList &amp;gt; head {display:inline; font-style:italic;}&lt;br /&gt;
 castList &amp;gt; *:not(head) {margin-left: 40px;} /* If children of castList needed their own indents, then it should be relative to this (if possible) */&lt;br /&gt;
&lt;br /&gt;
* catDesc (Only defined in XSL conditionally if using catRef)&lt;br /&gt;
 catRef {} /* Note: has additional rules: */&lt;br /&gt;
 catRef + catRef:before {'\A'} /* Add line break if preceded by another catRef */&lt;br /&gt;
 catRef:after {content:attr(scheme); display:inline; font-style:italic;} /* Add scheme in italics */&lt;br /&gt;
 /* &lt;br /&gt;
 Commenting out as XPath not currently supported in CSS as needed by third 'after'&lt;br /&gt;
 catRef:after(2) {content:':'}*//* Requires CSS3 to add such additional 'after' content; See http://www.w3.org/TR/css3-content/#nesting or http://www.w3.org/TR/css3-content/#inserting0 */&lt;br /&gt;
 /* &lt;br /&gt;
 catRef:after(3) {content: &amp;lt;not possible to reference target's catDesc unless XPath gets added to CSS&amp;gt;} */&lt;br /&gt;
* catchwords&lt;br /&gt;
* category&lt;br /&gt;
* cb&lt;br /&gt;
* cell&lt;br /&gt;
* certainty&lt;br /&gt;
* change&lt;br /&gt;
* channel&lt;br /&gt;
* char&lt;br /&gt;
* charDecl&lt;br /&gt;
* charName&lt;br /&gt;
* charProp&lt;br /&gt;
* choice&lt;br /&gt;
* cit&lt;br /&gt;
* cl&lt;br /&gt;
* classCode (XSL has not yet covered (from header module))&lt;br /&gt;
* classDecl&lt;br /&gt;
* classSpec&lt;br /&gt;
* classes&lt;br /&gt;
* climate&lt;br /&gt;
* closer&lt;br /&gt;
 code {display:inline; font-family:monospace;}&lt;br /&gt;
* collation&lt;br /&gt;
* collection&lt;br /&gt;
* colloc&lt;br /&gt;
* colophon&lt;br /&gt;
* cond&lt;br /&gt;
* condition&lt;br /&gt;
* constitution&lt;br /&gt;
* constraint&lt;br /&gt;
* constraintSpec&lt;br /&gt;
* content&lt;br /&gt;
* corr&lt;br /&gt;
* correction&lt;br /&gt;
* country&lt;br /&gt;
* creation&lt;br /&gt;
* custEvent&lt;br /&gt;
* custodialHist&lt;br /&gt;
&lt;br /&gt;
==d==&lt;br /&gt;
&lt;br /&gt;
* damage&lt;br /&gt;
* damageSpan&lt;br /&gt;
* datatype&lt;br /&gt;
* date&lt;br /&gt;
* dateline&lt;br /&gt;
* death&lt;br /&gt;
* decoDesc&lt;br /&gt;
* decoNote&lt;br /&gt;
* def&lt;br /&gt;
* default&lt;br /&gt;
* defaultVal&lt;br /&gt;
 del {display:inline; text-decoration: line-through;}&lt;br /&gt;
* delSpan&lt;br /&gt;
* depth&lt;br /&gt;
* derivation&lt;br /&gt;
* desc&lt;br /&gt;
* dictScrap&lt;br /&gt;
* dim&lt;br /&gt;
* dimensions&lt;br /&gt;
* distinct&lt;br /&gt;
* distributor&lt;br /&gt;
* district&lt;br /&gt;
* div&lt;br /&gt;
* div1&lt;br /&gt;
* div2&lt;br /&gt;
* div3&lt;br /&gt;
* div4&lt;br /&gt;
* div5&lt;br /&gt;
* div6&lt;br /&gt;
* div7&lt;br /&gt;
* divGen&lt;br /&gt;
* docAuthor&lt;br /&gt;
* docDate&lt;br /&gt;
* docEdition&lt;br /&gt;
* docImprint&lt;br /&gt;
* docTitle&lt;br /&gt;
* domain&lt;br /&gt;
&lt;br /&gt;
==e==&lt;br /&gt;
&lt;br /&gt;
* eLeaf&lt;br /&gt;
* eTree&lt;br /&gt;
* edition&lt;br /&gt;
* editionStmt&lt;br /&gt;
* editor&lt;br /&gt;
* editorialDecl&lt;br /&gt;
* education&lt;br /&gt;
* eg&lt;br /&gt;
* egXML&lt;br /&gt;
* elementSpec&lt;br /&gt;
* email&lt;br /&gt;
 emph {display:inline; font-style:italic;}&lt;br /&gt;
* encodingDesc&lt;br /&gt;
* entry&lt;br /&gt;
* entryFree&lt;br /&gt;
 epigraph {display:block;}&lt;br /&gt;
* epilogue&lt;br /&gt;
* equipment&lt;br /&gt;
* equiv&lt;br /&gt;
* etym&lt;br /&gt;
* event&lt;br /&gt;
* ex&lt;br /&gt;
* exemplum&lt;br /&gt;
* expan&lt;br /&gt;
* explicit&lt;br /&gt;
* extent&lt;br /&gt;
&lt;br /&gt;
==f==&lt;br /&gt;
&lt;br /&gt;
* f&lt;br /&gt;
* fDecl&lt;br /&gt;
* fDescr&lt;br /&gt;
* fLib&lt;br /&gt;
* facsimile&lt;br /&gt;
* factuality&lt;br /&gt;
* faith&lt;br /&gt;
* figDesc&lt;br /&gt;
* figure&lt;br /&gt;
* fileDesc&lt;br /&gt;
* filiation&lt;br /&gt;
* finalRubric&lt;br /&gt;
* floatingText&lt;br /&gt;
* floruit&lt;br /&gt;
* foliation&lt;br /&gt;
 foreign {display:inline;}&lt;br /&gt;
* forename&lt;br /&gt;
* forest&lt;br /&gt;
* forestGrp&lt;br /&gt;
* form&lt;br /&gt;
* formula&lt;br /&gt;
* front&lt;br /&gt;
* fs&lt;br /&gt;
* fsConstraints&lt;br /&gt;
* fsDecl&lt;br /&gt;
* fsDescr&lt;br /&gt;
* fsdDecl&lt;br /&gt;
* fsdLink&lt;br /&gt;
* funder&lt;br /&gt;
* fvLib&lt;br /&gt;
* fw&lt;br /&gt;
&lt;br /&gt;
==g==&lt;br /&gt;
&lt;br /&gt;
* g&lt;br /&gt;
* gap&lt;br /&gt;
* gen&lt;br /&gt;
 genName {display:inline;}&lt;br /&gt;
* geo&lt;br /&gt;
* geoDecl&lt;br /&gt;
* geogFeat&lt;br /&gt;
 geogName {display:inline;}&lt;br /&gt;
 gi:before {display:inline;content:&amp;quot;&amp;lt;&amp;quot;}  gi:after {display:inline;content:&amp;quot;&amp;gt;&amp;quot;}&lt;br /&gt;
 gloss {display:inline;}&lt;br /&gt;
* glyph&lt;br /&gt;
* glyphName&lt;br /&gt;
* gram&lt;br /&gt;
* gramGrp&lt;br /&gt;
* graph&lt;br /&gt;
* graphic&lt;br /&gt;
* group&lt;br /&gt;
&lt;br /&gt;
==h==&lt;br /&gt;
&lt;br /&gt;
* handDesc&lt;br /&gt;
* handNote&lt;br /&gt;
* handNotes&lt;br /&gt;
* handShift&lt;br /&gt;
* head&lt;br /&gt;
* headItem&lt;br /&gt;
* headLabel&lt;br /&gt;
* height&lt;br /&gt;
* heraldry&lt;br /&gt;
 hi {display:inline; font-weight:bold;}&lt;br /&gt;
* history&lt;br /&gt;
* hom&lt;br /&gt;
* hyph&lt;br /&gt;
* hyphenation&lt;br /&gt;
&lt;br /&gt;
==i==&lt;br /&gt;
&lt;br /&gt;
* iNode&lt;br /&gt;
* iType&lt;br /&gt;
 ident[type] {display:inline; font-weight:bold;} ident:not([type]) {display:inline; } /* Just as the stylesheet allows for different types; a specific type could be styled by ident[type=&amp;quot;XXX&amp;quot;] */&lt;br /&gt;
* idno&lt;br /&gt;
* if&lt;br /&gt;
* iff&lt;br /&gt;
* imprimatur&lt;br /&gt;
* imprint&lt;br /&gt;
* incident (speech module: XSL has not yet covered)&lt;br /&gt;
* incipit&lt;br /&gt;
* index&lt;br /&gt;
* institution&lt;br /&gt;
* interaction&lt;br /&gt;
* interp&lt;br /&gt;
* interpGrp&lt;br /&gt;
* interpretation&lt;br /&gt;
* item&lt;br /&gt;
&lt;br /&gt;
==j==&lt;br /&gt;
&lt;br /&gt;
* join&lt;br /&gt;
* joinGrp&lt;br /&gt;
&lt;br /&gt;
==k==&lt;br /&gt;
&lt;br /&gt;
* keywords (XSL has not yet covered (from header module))&lt;br /&gt;
* kinesic (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==l==&lt;br /&gt;
&lt;br /&gt;
 l {display:block;}&lt;br /&gt;
 label {display:inline;}&lt;br /&gt;
* lacunaEnd&lt;br /&gt;
* lacunaStart&lt;br /&gt;
* lang&lt;br /&gt;
* langKnowledge&lt;br /&gt;
* langKnown&lt;br /&gt;
* langUsage&lt;br /&gt;
* language&lt;br /&gt;
* layout&lt;br /&gt;
* layoutDesc&lt;br /&gt;
 lb {display:block;}&lt;br /&gt;
* lbl&lt;br /&gt;
* leaf&lt;br /&gt;
* lem&lt;br /&gt;
 lg {display:block;}&lt;br /&gt;
* link&lt;br /&gt;
* linkGrp&lt;br /&gt;
* list&lt;br /&gt;
* listBibl&lt;br /&gt;
* listEvent&lt;br /&gt;
* listNym&lt;br /&gt;
* listOrg&lt;br /&gt;
* listPerson&lt;br /&gt;
* listPlace&lt;br /&gt;
* listRef&lt;br /&gt;
* listWit&lt;br /&gt;
* localName&lt;br /&gt;
* locale&lt;br /&gt;
* location&lt;br /&gt;
* locus&lt;br /&gt;
* locusGrp&lt;br /&gt;
&lt;br /&gt;
==m==&lt;br /&gt;
&lt;br /&gt;
* m&lt;br /&gt;
* macroSpec&lt;br /&gt;
* mapping&lt;br /&gt;
* material&lt;br /&gt;
* measure&lt;br /&gt;
* measureGrp&lt;br /&gt;
* meeting&lt;br /&gt;
* memberOf&lt;br /&gt;
 mentioned {display:inline;}&lt;br /&gt;
* metDecl&lt;br /&gt;
* metSym&lt;br /&gt;
* milestone&lt;br /&gt;
* moduleRef&lt;br /&gt;
* moduleSpec&lt;br /&gt;
* monogr&lt;br /&gt;
* mood&lt;br /&gt;
* move&lt;br /&gt;
* msContents&lt;br /&gt;
* msDesc&lt;br /&gt;
* msIdentifier&lt;br /&gt;
* msItem&lt;br /&gt;
* msItemStruct&lt;br /&gt;
* msName&lt;br /&gt;
* msPart&lt;br /&gt;
* musicNotation&lt;br /&gt;
&lt;br /&gt;
==n==&lt;br /&gt;
&lt;br /&gt;
 name {display:inline;}&lt;br /&gt;
* nameLink&lt;br /&gt;
* namespace&lt;br /&gt;
* nationality&lt;br /&gt;
* node&lt;br /&gt;
* normalization&lt;br /&gt;
* note&lt;br /&gt;
* notesStmt&lt;br /&gt;
* num&lt;br /&gt;
* number&lt;br /&gt;
* numeric&lt;br /&gt;
* nym&lt;br /&gt;
&lt;br /&gt;
==o==&lt;br /&gt;
&lt;br /&gt;
* oRef&lt;br /&gt;
* oVar&lt;br /&gt;
* objectDesc&lt;br /&gt;
* occupation&lt;br /&gt;
* offset&lt;br /&gt;
* opener&lt;br /&gt;
* org&lt;br /&gt;
* orgName&lt;br /&gt;
* orig&lt;br /&gt;
* origDate&lt;br /&gt;
* origPlace&lt;br /&gt;
* origin&lt;br /&gt;
* orth&lt;br /&gt;
&lt;br /&gt;
==p==&lt;br /&gt;
&lt;br /&gt;
* p&lt;br /&gt;
* pRef&lt;br /&gt;
* pVar&lt;br /&gt;
* particDesc&lt;br /&gt;
* pause (speech module: XSL has not yet covered)&lt;br /&gt;
* pb&lt;br /&gt;
* pc&lt;br /&gt;
* per&lt;br /&gt;
* performance&lt;br /&gt;
 persName {display:inline;}&lt;br /&gt;
* person&lt;br /&gt;
* personGrp&lt;br /&gt;
* phr&lt;br /&gt;
* physDesc&lt;br /&gt;
* place&lt;br /&gt;
 placeName {display:inline;}&lt;br /&gt;
* population&lt;br /&gt;
* pos&lt;br /&gt;
* postBox&lt;br /&gt;
* postCode&lt;br /&gt;
* postscript&lt;br /&gt;
* precision&lt;br /&gt;
* preparedness&lt;br /&gt;
* principal&lt;br /&gt;
* profileDesc&lt;br /&gt;
* projectDesc&lt;br /&gt;
* prologue&lt;br /&gt;
* pron&lt;br /&gt;
* provenance&lt;br /&gt;
* ptr&lt;br /&gt;
* pubPlace&lt;br /&gt;
* publicationStmt&lt;br /&gt;
* publisher&lt;br /&gt;
* purpose&lt;br /&gt;
&lt;br /&gt;
==q==&lt;br /&gt;
&lt;br /&gt;
* q&lt;br /&gt;
* quotation&lt;br /&gt;
* quote&lt;br /&gt;
&lt;br /&gt;
==r==&lt;br /&gt;
&lt;br /&gt;
* rdg&lt;br /&gt;
* rdgGrp&lt;br /&gt;
* re&lt;br /&gt;
* recordHist&lt;br /&gt;
* recording&lt;br /&gt;
* recordingStmt&lt;br /&gt;
* ref&lt;br /&gt;
* refState&lt;br /&gt;
* refsDecl&lt;br /&gt;
* reg&lt;br /&gt;
* region&lt;br /&gt;
* relatedItem&lt;br /&gt;
* relation&lt;br /&gt;
* relationGrp&lt;br /&gt;
* remarks&lt;br /&gt;
* rendition&lt;br /&gt;
* repository&lt;br /&gt;
* residence&lt;br /&gt;
 resp:after {content:&amp;quot; &amp;quot;;}&lt;br /&gt;
 respStmt {display:inline;}&lt;br /&gt;
* respons&lt;br /&gt;
* restore&lt;br /&gt;
* revisionDesc&lt;br /&gt;
* rhyme&lt;br /&gt;
 role {display:inline; font-style: italic;}&lt;br /&gt;
 roleDesc { margin-left: 40px; margin-right: 40px; } roleDesc &amp;gt; *:not(p) {display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
 roleName {display:inline;}&lt;br /&gt;
* root&lt;br /&gt;
* row&lt;br /&gt;
* rs&lt;br /&gt;
* rubric&lt;br /&gt;
&lt;br /&gt;
==s==&lt;br /&gt;
&lt;br /&gt;
* s&lt;br /&gt;
* said&lt;br /&gt;
 salute {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* samplingDecl&lt;br /&gt;
* schemaSpec&lt;br /&gt;
* scriptStmt&lt;br /&gt;
* seal&lt;br /&gt;
* sealDesc&lt;br /&gt;
* secFol&lt;br /&gt;
 seg {display:inline;}&lt;br /&gt;
* segmentation&lt;br /&gt;
* sense&lt;br /&gt;
* series&lt;br /&gt;
* seriesStmt&lt;br /&gt;
 set {display:inline; font-style: italic;}&lt;br /&gt;
* setting&lt;br /&gt;
* settingDesc&lt;br /&gt;
* settlement&lt;br /&gt;
* se x (separated for spam filter)&lt;br /&gt;
* shift (speech module: XSL has not yet covered)&lt;br /&gt;
 sic {display:inline;} sic:after {content: &amp;quot; (sic)&amp;quot;}&lt;br /&gt;
* signatures&lt;br /&gt;
 signed {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* soCalled&lt;br /&gt;
* socecStatus&lt;br /&gt;
 sound {display:inline; font-style: italic;}&lt;br /&gt;
* source&lt;br /&gt;
* sourceDesc&lt;br /&gt;
* sp&lt;br /&gt;
* space&lt;br /&gt;
* span&lt;br /&gt;
* spanGrp&lt;br /&gt;
* speaker&lt;br /&gt;
* specDesc&lt;br /&gt;
* specGrp&lt;br /&gt;
* specGrpRef&lt;br /&gt;
* specList&lt;br /&gt;
* sponsor&lt;br /&gt;
 stage {font-style: italic; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* stamp&lt;br /&gt;
* state&lt;br /&gt;
* stdVals&lt;br /&gt;
* street&lt;br /&gt;
* stress&lt;br /&gt;
* string&lt;br /&gt;
* stringVal&lt;br /&gt;
* subc&lt;br /&gt;
* subst&lt;br /&gt;
* summary&lt;br /&gt;
* superEntry&lt;br /&gt;
* supplied&lt;br /&gt;
* support&lt;br /&gt;
* supportDesc&lt;br /&gt;
* surface&lt;br /&gt;
* surname&lt;br /&gt;
* surplus&lt;br /&gt;
* surrogates&lt;br /&gt;
* syll&lt;br /&gt;
* symbol&lt;br /&gt;
&lt;br /&gt;
==t==&lt;br /&gt;
&lt;br /&gt;
* TEI&lt;br /&gt;
* table&lt;br /&gt;
* tag&lt;br /&gt;
* tagUsage&lt;br /&gt;
* tagsDecl&lt;br /&gt;
* taxonomy&lt;br /&gt;
 tech {display:inline; font-style: italic;}&lt;br /&gt;
* teiCorpus&lt;br /&gt;
* teiHeader&lt;br /&gt;
 term {display:inline;}&lt;br /&gt;
* terrain&lt;br /&gt;
* text&lt;br /&gt;
* textClass&lt;br /&gt;
* textDesc&lt;br /&gt;
* textLang&lt;br /&gt;
* then&lt;br /&gt;
* time&lt;br /&gt;
* timeline&lt;br /&gt;
* title&lt;br /&gt;
* titlePage&lt;br /&gt;
* titlePart&lt;br /&gt;
* titleStmt&lt;br /&gt;
* tns&lt;br /&gt;
* trailer&lt;br /&gt;
* trait&lt;br /&gt;
* tree&lt;br /&gt;
* triangle&lt;br /&gt;
* typeDesc&lt;br /&gt;
* typeNote&lt;br /&gt;
&lt;br /&gt;
==u==&lt;br /&gt;
&lt;br /&gt;
* u (speech module: XSL has not yet covered)&lt;br /&gt;
 unclear {display:inline;}&lt;br /&gt;
* unicodeName&lt;br /&gt;
* usg&lt;br /&gt;
&lt;br /&gt;
==v==&lt;br /&gt;
&lt;br /&gt;
* vAlt&lt;br /&gt;
* vColl&lt;br /&gt;
* vDefault&lt;br /&gt;
* vLabel&lt;br /&gt;
* vMerge&lt;br /&gt;
* vNot&lt;br /&gt;
* vRange&lt;br /&gt;
* val&lt;br /&gt;
* valDesc&lt;br /&gt;
* valItem&lt;br /&gt;
* valList&lt;br /&gt;
* value&lt;br /&gt;
* variantEncoding&lt;br /&gt;
 view {display:inline; font-style: italic;}&lt;br /&gt;
* vocal (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==w==&lt;br /&gt;
&lt;br /&gt;
* w&lt;br /&gt;
* watermark&lt;br /&gt;
* when&lt;br /&gt;
* width&lt;br /&gt;
* wit&lt;br /&gt;
* witDetail&lt;br /&gt;
* witEnd&lt;br /&gt;
* witStart&lt;br /&gt;
* witness&lt;br /&gt;
* writing (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==x==&lt;br /&gt;
&lt;br /&gt;
* xr&lt;br /&gt;
&lt;br /&gt;
==y==&lt;br /&gt;
&lt;br /&gt;
(none)&lt;br /&gt;
&lt;br /&gt;
==z==&lt;br /&gt;
z&lt;br /&gt;
&lt;br /&gt;
* zone&lt;br /&gt;
&lt;br /&gt;
==References used==&lt;br /&gt;
* http://math.ut.ee/~kaarel/NLP/TEI/visualization/ (on rationales)&lt;br /&gt;
&lt;br /&gt;
[[Category:CSS]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7787</id>
		<title>Comprehensive CSS Stylesheet</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7787"/>
		<updated>2010-06-16T04:12:30Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: +placeName, persName, name, genName, geogName, roleName&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following is an attempt to gradually build CSS for each TEI element, paralleling the default TEI stylesheets (while also potentially serving as a kind of discussion center for how the stylesheets ought to operate (see [[Formatting TEI documents]] on how there is a need for this despite TEI being agnostic as to output formatting), at least for issues pertaining solely to formatting as opposed to semantics), by indicating here necessary deviations from the XHTML stylesheets (due to CSS constraints) or potentially desirable alternatives, etc.).&lt;br /&gt;
&lt;br /&gt;
Advantages of CSS over XSL might include:&lt;br /&gt;
# Simpler for maintenance/alteration (though CSS can still be combined with simpler XSL as needed)&lt;br /&gt;
# Downloading (and parsing?) is faster&lt;br /&gt;
# Wider browser support (and for browser caching?)&lt;br /&gt;
# Allows DOM and other manipulation directly on semantically-named TEI elements (though admittedly, use of frameworks like jQuery may make traversal of X/HTML as easy or easier)&lt;br /&gt;
# TEI could potentially be used as is in HTML (though empty self-closing elements will not be treated properly unless changed to &amp;lt;elem&amp;gt;&amp;lt;/elem&amp;gt; form and namespaces will not be present) in addition to true XHTML.&lt;br /&gt;
&lt;br /&gt;
Disadvantages:&lt;br /&gt;
# Does not allow for certain kinds of transformations (though again, CSS can be combined with a simple XSL stylesheet which preserves TEI except in cases where needed)&lt;br /&gt;
# Is cumbersome for certain variable structures (e.g., for values varying by integer but not including the integer (e.g., space.extent =&amp;gt; number of spaces) a separate rule must be created for each possible attribute value)&lt;br /&gt;
# (Another disadvantage of CSS in general is being unable to create certain kinds of output such as form controls, but in the case of TEI, we hardly need this.)&lt;br /&gt;
&lt;br /&gt;
Per CSS Namespaces, one can use either&lt;br /&gt;
 @namespace &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 @namespace tei &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
...but we will use the former since we will presume the stylesheet will be primarily (if not exclusively) for TEI.&lt;br /&gt;
&lt;br /&gt;
We will not be able to make equivalents for XSLT templates like rendToClass (e.g., ab) or applyRend (emph), applyRendition (emph) since we cannot (nor do we need to) add an id or class (though @rend or @rendition would be useful to utilize, there is no &amp;quot;eval()&amp;quot;-like code in CSS; however, we could test against predefined values like &amp;quot;bold&amp;quot; (maybe as a global * or at least the elements using these in the stylesheets (emph, hi, ...))).&lt;br /&gt;
&lt;br /&gt;
All fields below should be complete for an element, or otherwise noted that it is incomplete, so that it can otherwise be assumed that the CSS has been completely applied as far as possible (besides rend/rendition which may later be done globally for all elements, as these are indeed globals).&lt;br /&gt;
&lt;br /&gt;
==a==&lt;br /&gt;
 ab {display:block;}&lt;br /&gt;
* abbr&lt;br /&gt;
* accMat&lt;br /&gt;
* acquisition&lt;br /&gt;
* activity&lt;br /&gt;
 actor {display:inline; font-style: italic;}&lt;br /&gt;
* add&lt;br /&gt;
* addName&lt;br /&gt;
* addSpan&lt;br /&gt;
* additional&lt;br /&gt;
* additions&lt;br /&gt;
 addrLine {display:block;}&lt;br /&gt;
 address {display:block; /* font-style:italic; If wish to appear as HTML addresses are rendered by default, at least in Firefox */}&lt;br /&gt;
* adminInfo&lt;br /&gt;
* affiliation&lt;br /&gt;
* age&lt;br /&gt;
* alt&lt;br /&gt;
* altGrp&lt;br /&gt;
* altIdent&lt;br /&gt;
* altIdentifier&lt;br /&gt;
* am&lt;br /&gt;
* analytic&lt;br /&gt;
* anchor&lt;br /&gt;
* app&lt;br /&gt;
* appInfo&lt;br /&gt;
* application&lt;br /&gt;
* arc&lt;br /&gt;
* argument&lt;br /&gt;
 att {display:inline; font-weight:bold;} att:before {content:&amp;quot;@&amp;quot;}&lt;br /&gt;
* attDef&lt;br /&gt;
* attList&lt;br /&gt;
* attRef&lt;br /&gt;
* author&lt;br /&gt;
* authority&lt;br /&gt;
* availability&lt;br /&gt;
&lt;br /&gt;
==b==&lt;br /&gt;
&lt;br /&gt;
* back&lt;br /&gt;
* bibl&lt;br /&gt;
* biblFull&lt;br /&gt;
* biblScope&lt;br /&gt;
* biblStruct&lt;br /&gt;
* bicond&lt;br /&gt;
* binary&lt;br /&gt;
* binaryObject&lt;br /&gt;
* binding&lt;br /&gt;
* bindingDesc&lt;br /&gt;
* birth&lt;br /&gt;
* bloc&lt;br /&gt;
* body&lt;br /&gt;
* broadcast&lt;br /&gt;
 byline {display:block;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==c==&lt;br /&gt;
&lt;br /&gt;
* c&lt;br /&gt;
* cRefPattern&lt;br /&gt;
 caesura:before {display:inline; content:&amp;quot;\a0\a0\a0\a0&amp;quot;; /* could be :after too */}&lt;br /&gt;
 camera {display:inline; font-style: italic;}&lt;br /&gt;
 caption {display:inline; font-style: italic;}&lt;br /&gt;
* case&lt;br /&gt;
* castGroup&lt;br /&gt;
* castItem&lt;br /&gt;
 castList {} /* Note: has additional rules: */&lt;br /&gt;
 castList {display:block;} /* applies whether children are head or not */&lt;br /&gt;
 /* Note: for this to mirror the XSL exactly, head would always need to be preceding other elements inside castList */&lt;br /&gt;
 castList &amp;gt; head {display:inline; font-style:italic;}&lt;br /&gt;
 castList &amp;gt; *:not(head) {margin-left: 40px;} /* If children of castList needed their own indents, then it should be relative to this (if possible) */&lt;br /&gt;
&lt;br /&gt;
* catDesc (Only defined in XSL conditionally if using catRef)&lt;br /&gt;
 catRef {} /* Note: has additional rules: */&lt;br /&gt;
 catRef + catRef:before {'\A'} /* Add line break if preceded by another catRef */&lt;br /&gt;
 catRef:after {content:attr(scheme); display:inline; font-style:italic;} /* Add scheme in italics */&lt;br /&gt;
 /* &lt;br /&gt;
 Commenting out as XPath not currently supported in CSS as needed by third 'after'&lt;br /&gt;
 catRef:after(2) {content:':'}*//* Requires CSS3 to add such additional 'after' content; See http://www.w3.org/TR/css3-content/#nesting or http://www.w3.org/TR/css3-content/#inserting0 */&lt;br /&gt;
 /* &lt;br /&gt;
 catRef:after(3) {content: &amp;lt;not possible to reference target's catDesc unless XPath gets added to CSS&amp;gt;} */&lt;br /&gt;
* catchwords&lt;br /&gt;
* category&lt;br /&gt;
* cb&lt;br /&gt;
* cell&lt;br /&gt;
* certainty&lt;br /&gt;
* change&lt;br /&gt;
* channel&lt;br /&gt;
* char&lt;br /&gt;
* charDecl&lt;br /&gt;
* charName&lt;br /&gt;
* charProp&lt;br /&gt;
* choice&lt;br /&gt;
* cit&lt;br /&gt;
* cl&lt;br /&gt;
* classCode (XSL has not yet covered (from header module))&lt;br /&gt;
* classDecl&lt;br /&gt;
* classSpec&lt;br /&gt;
* classes&lt;br /&gt;
* climate&lt;br /&gt;
* closer&lt;br /&gt;
 code {display:inline; font-family:monospace;}&lt;br /&gt;
* collation&lt;br /&gt;
* collection&lt;br /&gt;
* colloc&lt;br /&gt;
* colophon&lt;br /&gt;
* cond&lt;br /&gt;
* condition&lt;br /&gt;
* constitution&lt;br /&gt;
* constraint&lt;br /&gt;
* constraintSpec&lt;br /&gt;
* content&lt;br /&gt;
* corr&lt;br /&gt;
* correction&lt;br /&gt;
* country&lt;br /&gt;
* creation&lt;br /&gt;
* custEvent&lt;br /&gt;
* custodialHist&lt;br /&gt;
&lt;br /&gt;
==d==&lt;br /&gt;
&lt;br /&gt;
* damage&lt;br /&gt;
* damageSpan&lt;br /&gt;
* datatype&lt;br /&gt;
* date&lt;br /&gt;
* dateline&lt;br /&gt;
* death&lt;br /&gt;
* decoDesc&lt;br /&gt;
* decoNote&lt;br /&gt;
* def&lt;br /&gt;
* default&lt;br /&gt;
* defaultVal&lt;br /&gt;
 del {display:inline; text-decoration: line-through;}&lt;br /&gt;
* delSpan&lt;br /&gt;
* depth&lt;br /&gt;
* derivation&lt;br /&gt;
* desc&lt;br /&gt;
* dictScrap&lt;br /&gt;
* dim&lt;br /&gt;
* dimensions&lt;br /&gt;
* distinct&lt;br /&gt;
* distributor&lt;br /&gt;
* district&lt;br /&gt;
* div&lt;br /&gt;
* div1&lt;br /&gt;
* div2&lt;br /&gt;
* div3&lt;br /&gt;
* div4&lt;br /&gt;
* div5&lt;br /&gt;
* div6&lt;br /&gt;
* div7&lt;br /&gt;
* divGen&lt;br /&gt;
* docAuthor&lt;br /&gt;
* docDate&lt;br /&gt;
* docEdition&lt;br /&gt;
* docImprint&lt;br /&gt;
* docTitle&lt;br /&gt;
* domain&lt;br /&gt;
&lt;br /&gt;
==e==&lt;br /&gt;
&lt;br /&gt;
* eLeaf&lt;br /&gt;
* eTree&lt;br /&gt;
* edition&lt;br /&gt;
* editionStmt&lt;br /&gt;
* editor&lt;br /&gt;
* editorialDecl&lt;br /&gt;
* education&lt;br /&gt;
* eg&lt;br /&gt;
* egXML&lt;br /&gt;
* elementSpec&lt;br /&gt;
* email&lt;br /&gt;
 emph {display:inline; font-style:italic;}&lt;br /&gt;
* encodingDesc&lt;br /&gt;
* entry&lt;br /&gt;
* entryFree&lt;br /&gt;
 epigraph {display:block;}&lt;br /&gt;
* epilogue&lt;br /&gt;
* equipment&lt;br /&gt;
* equiv&lt;br /&gt;
* etym&lt;br /&gt;
* event&lt;br /&gt;
* ex&lt;br /&gt;
* exemplum&lt;br /&gt;
* expan&lt;br /&gt;
* explicit&lt;br /&gt;
* extent&lt;br /&gt;
&lt;br /&gt;
==f==&lt;br /&gt;
&lt;br /&gt;
* f&lt;br /&gt;
* fDecl&lt;br /&gt;
* fDescr&lt;br /&gt;
* fLib&lt;br /&gt;
* facsimile&lt;br /&gt;
* factuality&lt;br /&gt;
* faith&lt;br /&gt;
* figDesc&lt;br /&gt;
* figure&lt;br /&gt;
* fileDesc&lt;br /&gt;
* filiation&lt;br /&gt;
* finalRubric&lt;br /&gt;
* floatingText&lt;br /&gt;
* floruit&lt;br /&gt;
* foliation&lt;br /&gt;
 foreign {display:inline;}&lt;br /&gt;
* forename&lt;br /&gt;
* forest&lt;br /&gt;
* forestGrp&lt;br /&gt;
* form&lt;br /&gt;
* formula&lt;br /&gt;
* front&lt;br /&gt;
* fs&lt;br /&gt;
* fsConstraints&lt;br /&gt;
* fsDecl&lt;br /&gt;
* fsDescr&lt;br /&gt;
* fsdDecl&lt;br /&gt;
* fsdLink&lt;br /&gt;
* funder&lt;br /&gt;
* fvLib&lt;br /&gt;
* fw&lt;br /&gt;
&lt;br /&gt;
==g==&lt;br /&gt;
&lt;br /&gt;
* g&lt;br /&gt;
* gap&lt;br /&gt;
* gen&lt;br /&gt;
 genName {display:inline;}&lt;br /&gt;
* geo&lt;br /&gt;
* geoDecl&lt;br /&gt;
* geogFeat&lt;br /&gt;
 geogName {display:inline;}&lt;br /&gt;
 gi:before {display:inline;content:&amp;quot;&amp;lt;&amp;quot;}  gi:after {display:inline;content:&amp;quot;&amp;gt;&amp;quot;}&lt;br /&gt;
 gloss {display:inline;}&lt;br /&gt;
* glyph&lt;br /&gt;
* glyphName&lt;br /&gt;
* gram&lt;br /&gt;
* gramGrp&lt;br /&gt;
* graph&lt;br /&gt;
* graphic&lt;br /&gt;
* group&lt;br /&gt;
&lt;br /&gt;
==h==&lt;br /&gt;
&lt;br /&gt;
* handDesc&lt;br /&gt;
* handNote&lt;br /&gt;
* handNotes&lt;br /&gt;
* handShift&lt;br /&gt;
* head&lt;br /&gt;
* headItem&lt;br /&gt;
* headLabel&lt;br /&gt;
* height&lt;br /&gt;
* heraldry&lt;br /&gt;
 hi {display:inline; font-weight:bold;}&lt;br /&gt;
* history&lt;br /&gt;
* hom&lt;br /&gt;
* hyph&lt;br /&gt;
* hyphenation&lt;br /&gt;
&lt;br /&gt;
==i==&lt;br /&gt;
&lt;br /&gt;
* iNode&lt;br /&gt;
* iType&lt;br /&gt;
 ident[type] {display:inline; font-weight:bold;} ident:not([type]) {display:inline; } /* Just as the stylesheet allows for different types; a specific type could be styled by ident[type=&amp;quot;XXX&amp;quot;] */&lt;br /&gt;
* idno&lt;br /&gt;
* if&lt;br /&gt;
* iff&lt;br /&gt;
* imprimatur&lt;br /&gt;
* imprint&lt;br /&gt;
* incident (speech module: XSL has not yet covered)&lt;br /&gt;
* incipit&lt;br /&gt;
* index&lt;br /&gt;
* institution&lt;br /&gt;
* interaction&lt;br /&gt;
* interp&lt;br /&gt;
* interpGrp&lt;br /&gt;
* interpretation&lt;br /&gt;
* item&lt;br /&gt;
&lt;br /&gt;
==j==&lt;br /&gt;
&lt;br /&gt;
* join&lt;br /&gt;
* joinGrp&lt;br /&gt;
&lt;br /&gt;
==k==&lt;br /&gt;
&lt;br /&gt;
* keywords (XSL has not yet covered (from header module))&lt;br /&gt;
* kinesic (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==l==&lt;br /&gt;
&lt;br /&gt;
 l {display:block;}&lt;br /&gt;
 label {display:inline;}&lt;br /&gt;
* lacunaEnd&lt;br /&gt;
* lacunaStart&lt;br /&gt;
* lang&lt;br /&gt;
* langKnowledge&lt;br /&gt;
* langKnown&lt;br /&gt;
* langUsage&lt;br /&gt;
* language&lt;br /&gt;
* layout&lt;br /&gt;
* layoutDesc&lt;br /&gt;
 lb {display:block;}&lt;br /&gt;
* lbl&lt;br /&gt;
* leaf&lt;br /&gt;
* lem&lt;br /&gt;
 lg {display:block;}&lt;br /&gt;
* link&lt;br /&gt;
* linkGrp&lt;br /&gt;
* list&lt;br /&gt;
* listBibl&lt;br /&gt;
* listEvent&lt;br /&gt;
* listNym&lt;br /&gt;
* listOrg&lt;br /&gt;
* listPerson&lt;br /&gt;
* listPlace&lt;br /&gt;
* listRef&lt;br /&gt;
* listWit&lt;br /&gt;
* localName&lt;br /&gt;
* locale&lt;br /&gt;
* location&lt;br /&gt;
* locus&lt;br /&gt;
* locusGrp&lt;br /&gt;
&lt;br /&gt;
==m==&lt;br /&gt;
&lt;br /&gt;
* m&lt;br /&gt;
* macroSpec&lt;br /&gt;
* mapping&lt;br /&gt;
* material&lt;br /&gt;
* measure&lt;br /&gt;
* measureGrp&lt;br /&gt;
* meeting&lt;br /&gt;
* memberOf&lt;br /&gt;
 mentioned {display:inline;}&lt;br /&gt;
* metDecl&lt;br /&gt;
* metSym&lt;br /&gt;
* milestone&lt;br /&gt;
* moduleRef&lt;br /&gt;
* moduleSpec&lt;br /&gt;
* monogr&lt;br /&gt;
* mood&lt;br /&gt;
* move&lt;br /&gt;
* msContents&lt;br /&gt;
* msDesc&lt;br /&gt;
* msIdentifier&lt;br /&gt;
* msItem&lt;br /&gt;
* msItemStruct&lt;br /&gt;
* msName&lt;br /&gt;
* msPart&lt;br /&gt;
* musicNotation&lt;br /&gt;
&lt;br /&gt;
==n==&lt;br /&gt;
&lt;br /&gt;
 name {display:inline;}&lt;br /&gt;
* nameLink&lt;br /&gt;
* namespace&lt;br /&gt;
* nationality&lt;br /&gt;
* node&lt;br /&gt;
* normalization&lt;br /&gt;
* note&lt;br /&gt;
* notesStmt&lt;br /&gt;
* num&lt;br /&gt;
* number&lt;br /&gt;
* numeric&lt;br /&gt;
* nym&lt;br /&gt;
&lt;br /&gt;
==o==&lt;br /&gt;
&lt;br /&gt;
* oRef&lt;br /&gt;
* oVar&lt;br /&gt;
* objectDesc&lt;br /&gt;
* occupation&lt;br /&gt;
* offset&lt;br /&gt;
* opener&lt;br /&gt;
* org&lt;br /&gt;
* orgName&lt;br /&gt;
* orig&lt;br /&gt;
* origDate&lt;br /&gt;
* origPlace&lt;br /&gt;
* origin&lt;br /&gt;
* orth&lt;br /&gt;
&lt;br /&gt;
==p==&lt;br /&gt;
&lt;br /&gt;
* p&lt;br /&gt;
* pRef&lt;br /&gt;
* pVar&lt;br /&gt;
* particDesc&lt;br /&gt;
* pause (speech module: XSL has not yet covered)&lt;br /&gt;
* pb&lt;br /&gt;
* pc&lt;br /&gt;
* per&lt;br /&gt;
* performance&lt;br /&gt;
 persName {display:inline;}&lt;br /&gt;
* person&lt;br /&gt;
* personGrp&lt;br /&gt;
* phr&lt;br /&gt;
* physDesc&lt;br /&gt;
* place&lt;br /&gt;
 placeName {display:inline;}&lt;br /&gt;
* population&lt;br /&gt;
* pos&lt;br /&gt;
* postBox&lt;br /&gt;
* postCode&lt;br /&gt;
* postscript&lt;br /&gt;
* precision&lt;br /&gt;
* preparedness&lt;br /&gt;
* principal&lt;br /&gt;
* profileDesc&lt;br /&gt;
* projectDesc&lt;br /&gt;
* prologue&lt;br /&gt;
* pron&lt;br /&gt;
* provenance&lt;br /&gt;
* ptr&lt;br /&gt;
* pubPlace&lt;br /&gt;
* publicationStmt&lt;br /&gt;
* publisher&lt;br /&gt;
* purpose&lt;br /&gt;
&lt;br /&gt;
==q==&lt;br /&gt;
&lt;br /&gt;
* q&lt;br /&gt;
* quotation&lt;br /&gt;
* quote&lt;br /&gt;
&lt;br /&gt;
==r==&lt;br /&gt;
&lt;br /&gt;
* rdg&lt;br /&gt;
* rdgGrp&lt;br /&gt;
* re&lt;br /&gt;
* recordHist&lt;br /&gt;
* recording&lt;br /&gt;
* recordingStmt&lt;br /&gt;
* ref&lt;br /&gt;
* refState&lt;br /&gt;
* refsDecl&lt;br /&gt;
* reg&lt;br /&gt;
* region&lt;br /&gt;
* relatedItem&lt;br /&gt;
* relation&lt;br /&gt;
* relationGrp&lt;br /&gt;
* remarks&lt;br /&gt;
* rendition&lt;br /&gt;
* repository&lt;br /&gt;
* residence&lt;br /&gt;
 resp:after {content:&amp;quot; &amp;quot;}&lt;br /&gt;
 respStmt {display:inline;}&lt;br /&gt;
* respons&lt;br /&gt;
* restore&lt;br /&gt;
* revisionDesc&lt;br /&gt;
* rhyme&lt;br /&gt;
 role {display:inline; font-style: italic;}&lt;br /&gt;
 roleDesc { margin-left: 40px; margin-right: 40px; } roleDesc &amp;gt; *:not(p) {display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
 roleName {display:inline;}&lt;br /&gt;
* root&lt;br /&gt;
* row&lt;br /&gt;
* rs&lt;br /&gt;
* rubric&lt;br /&gt;
&lt;br /&gt;
==s==&lt;br /&gt;
&lt;br /&gt;
* s&lt;br /&gt;
* said&lt;br /&gt;
 salute {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* samplingDecl&lt;br /&gt;
* schemaSpec&lt;br /&gt;
* scriptStmt&lt;br /&gt;
* seal&lt;br /&gt;
* sealDesc&lt;br /&gt;
* secFol&lt;br /&gt;
 seg {display:inline;}&lt;br /&gt;
* segmentation&lt;br /&gt;
* sense&lt;br /&gt;
* series&lt;br /&gt;
* seriesStmt&lt;br /&gt;
 set {display:inline; font-style: italic;}&lt;br /&gt;
* setting&lt;br /&gt;
* settingDesc&lt;br /&gt;
* settlement&lt;br /&gt;
* se x (separated for spam filter)&lt;br /&gt;
* shift (speech module: XSL has not yet covered)&lt;br /&gt;
 sic {display:inline;} sic:after {content: &amp;quot; (sic)&amp;quot;}&lt;br /&gt;
* signatures&lt;br /&gt;
 signed {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* soCalled&lt;br /&gt;
* socecStatus&lt;br /&gt;
 sound {display:inline; font-style: italic;}&lt;br /&gt;
* source&lt;br /&gt;
* sourceDesc&lt;br /&gt;
* sp&lt;br /&gt;
* space&lt;br /&gt;
* span&lt;br /&gt;
* spanGrp&lt;br /&gt;
* speaker&lt;br /&gt;
* specDesc&lt;br /&gt;
* specGrp&lt;br /&gt;
* specGrpRef&lt;br /&gt;
* specList&lt;br /&gt;
* sponsor&lt;br /&gt;
 stage {font-style: italic; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* stamp&lt;br /&gt;
* state&lt;br /&gt;
* stdVals&lt;br /&gt;
* street&lt;br /&gt;
* stress&lt;br /&gt;
* string&lt;br /&gt;
* stringVal&lt;br /&gt;
* subc&lt;br /&gt;
* subst&lt;br /&gt;
* summary&lt;br /&gt;
* superEntry&lt;br /&gt;
* supplied&lt;br /&gt;
* support&lt;br /&gt;
* supportDesc&lt;br /&gt;
* surface&lt;br /&gt;
* surname&lt;br /&gt;
* surplus&lt;br /&gt;
* surrogates&lt;br /&gt;
* syll&lt;br /&gt;
* symbol&lt;br /&gt;
&lt;br /&gt;
==t==&lt;br /&gt;
&lt;br /&gt;
* TEI&lt;br /&gt;
* table&lt;br /&gt;
* tag&lt;br /&gt;
* tagUsage&lt;br /&gt;
* tagsDecl&lt;br /&gt;
* taxonomy&lt;br /&gt;
 tech {display:inline; font-style: italic;}&lt;br /&gt;
* teiCorpus&lt;br /&gt;
* teiHeader&lt;br /&gt;
 term {display:inline;}&lt;br /&gt;
* terrain&lt;br /&gt;
* text&lt;br /&gt;
* textClass&lt;br /&gt;
* textDesc&lt;br /&gt;
* textLang&lt;br /&gt;
* then&lt;br /&gt;
* time&lt;br /&gt;
* timeline&lt;br /&gt;
* title&lt;br /&gt;
* titlePage&lt;br /&gt;
* titlePart&lt;br /&gt;
* titleStmt&lt;br /&gt;
* tns&lt;br /&gt;
* trailer&lt;br /&gt;
* trait&lt;br /&gt;
* tree&lt;br /&gt;
* triangle&lt;br /&gt;
* typeDesc&lt;br /&gt;
* typeNote&lt;br /&gt;
&lt;br /&gt;
==u==&lt;br /&gt;
&lt;br /&gt;
* u (speech module: XSL has not yet covered)&lt;br /&gt;
 unclear {display:inline;}&lt;br /&gt;
* unicodeName&lt;br /&gt;
* usg&lt;br /&gt;
&lt;br /&gt;
==v==&lt;br /&gt;
&lt;br /&gt;
* vAlt&lt;br /&gt;
* vColl&lt;br /&gt;
* vDefault&lt;br /&gt;
* vLabel&lt;br /&gt;
* vMerge&lt;br /&gt;
* vNot&lt;br /&gt;
* vRange&lt;br /&gt;
* val&lt;br /&gt;
* valDesc&lt;br /&gt;
* valItem&lt;br /&gt;
* valList&lt;br /&gt;
* value&lt;br /&gt;
* variantEncoding&lt;br /&gt;
 view {display:inline; font-style: italic;}&lt;br /&gt;
* vocal (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==w==&lt;br /&gt;
&lt;br /&gt;
* w&lt;br /&gt;
* watermark&lt;br /&gt;
* when&lt;br /&gt;
* width&lt;br /&gt;
* wit&lt;br /&gt;
* witDetail&lt;br /&gt;
* witEnd&lt;br /&gt;
* witStart&lt;br /&gt;
* witness&lt;br /&gt;
* writing (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==x==&lt;br /&gt;
&lt;br /&gt;
* xr&lt;br /&gt;
&lt;br /&gt;
==y==&lt;br /&gt;
&lt;br /&gt;
(none)&lt;br /&gt;
&lt;br /&gt;
==z==&lt;br /&gt;
z&lt;br /&gt;
&lt;br /&gt;
* zone&lt;br /&gt;
&lt;br /&gt;
==References used==&lt;br /&gt;
* http://math.ut.ee/~kaarel/NLP/TEI/visualization/ (on rationales)&lt;br /&gt;
&lt;br /&gt;
[[Category:CSS]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7786</id>
		<title>Comprehensive CSS Stylesheet</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7786"/>
		<updated>2010-06-16T04:03:31Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: /* c */ +castList&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following is an attempt to gradually build CSS for each TEI element, paralleling the default TEI stylesheets (while also potentially serving as a kind of discussion center for how the stylesheets ought to operate (see [[Formatting TEI documents]] on how there is a need for this despite TEI being agnostic as to output formatting), at least for issues pertaining solely to formatting as opposed to semantics), by indicating here necessary deviations from the XHTML stylesheets (due to CSS constraints) or potentially desirable alternatives, etc.).&lt;br /&gt;
&lt;br /&gt;
Advantages of CSS over XSL might include:&lt;br /&gt;
# Simpler for maintenance/alteration (though CSS can still be combined with simpler XSL as needed)&lt;br /&gt;
# Downloading (and parsing?) is faster&lt;br /&gt;
# Wider browser support (and for browser caching?)&lt;br /&gt;
# Allows DOM and other manipulation directly on semantically-named TEI elements (though admittedly, use of frameworks like jQuery may make traversal of X/HTML as easy or easier)&lt;br /&gt;
# TEI could potentially be used as is in HTML (though empty self-closing elements will not be treated properly unless changed to &amp;lt;elem&amp;gt;&amp;lt;/elem&amp;gt; form and namespaces will not be present) in addition to true XHTML.&lt;br /&gt;
&lt;br /&gt;
Disadvantages:&lt;br /&gt;
# Does not allow for certain kinds of transformations (though again, CSS can be combined with a simple XSL stylesheet which preserves TEI except in cases where needed)&lt;br /&gt;
# Is cumbersome for certain variable structures (e.g., for values varying by integer but not including the integer (e.g., space.extent =&amp;gt; number of spaces) a separate rule must be created for each possible attribute value)&lt;br /&gt;
# (Another disadvantage of CSS in general is being unable to create certain kinds of output such as form controls, but in the case of TEI, we hardly need this.)&lt;br /&gt;
&lt;br /&gt;
Per CSS Namespaces, one can use either&lt;br /&gt;
 @namespace &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 @namespace tei &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
...but we will use the former since we will presume the stylesheet will be primarily (if not exclusively) for TEI.&lt;br /&gt;
&lt;br /&gt;
We will not be able to make equivalents for XSLT templates like rendToClass (e.g., ab) or applyRend (emph), applyRendition (emph) since we cannot (nor do we need to) add an id or class (though @rend or @rendition would be useful to utilize, there is no &amp;quot;eval()&amp;quot;-like code in CSS; however, we could test against predefined values like &amp;quot;bold&amp;quot; (maybe as a global * or at least the elements using these in the stylesheets (emph, hi, ...))).&lt;br /&gt;
&lt;br /&gt;
All fields below should be complete for an element, or otherwise noted that it is incomplete, so that it can otherwise be assumed that the CSS has been completely applied as far as possible (besides rend/rendition which may later be done globally for all elements, as these are indeed globals).&lt;br /&gt;
&lt;br /&gt;
==a==&lt;br /&gt;
 ab {display:block;}&lt;br /&gt;
* abbr&lt;br /&gt;
* accMat&lt;br /&gt;
* acquisition&lt;br /&gt;
* activity&lt;br /&gt;
 actor {display:inline; font-style: italic;}&lt;br /&gt;
* add&lt;br /&gt;
* addName&lt;br /&gt;
* addSpan&lt;br /&gt;
* additional&lt;br /&gt;
* additions&lt;br /&gt;
 addrLine {display:block;}&lt;br /&gt;
 address {display:block; /* font-style:italic; If wish to appear as HTML addresses are rendered by default, at least in Firefox */}&lt;br /&gt;
* adminInfo&lt;br /&gt;
* affiliation&lt;br /&gt;
* age&lt;br /&gt;
* alt&lt;br /&gt;
* altGrp&lt;br /&gt;
* altIdent&lt;br /&gt;
* altIdentifier&lt;br /&gt;
* am&lt;br /&gt;
* analytic&lt;br /&gt;
* anchor&lt;br /&gt;
* app&lt;br /&gt;
* appInfo&lt;br /&gt;
* application&lt;br /&gt;
* arc&lt;br /&gt;
* argument&lt;br /&gt;
 att {display:inline; font-weight:bold;} att:before {content:&amp;quot;@&amp;quot;}&lt;br /&gt;
* attDef&lt;br /&gt;
* attList&lt;br /&gt;
* attRef&lt;br /&gt;
* author&lt;br /&gt;
* authority&lt;br /&gt;
* availability&lt;br /&gt;
&lt;br /&gt;
==b==&lt;br /&gt;
&lt;br /&gt;
* back&lt;br /&gt;
* bibl&lt;br /&gt;
* biblFull&lt;br /&gt;
* biblScope&lt;br /&gt;
* biblStruct&lt;br /&gt;
* bicond&lt;br /&gt;
* binary&lt;br /&gt;
* binaryObject&lt;br /&gt;
* binding&lt;br /&gt;
* bindingDesc&lt;br /&gt;
* birth&lt;br /&gt;
* bloc&lt;br /&gt;
* body&lt;br /&gt;
* broadcast&lt;br /&gt;
 byline {display:block;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==c==&lt;br /&gt;
&lt;br /&gt;
* c&lt;br /&gt;
* cRefPattern&lt;br /&gt;
 caesura:before {display:inline; content:&amp;quot;\a0\a0\a0\a0&amp;quot;; /* could be :after too */}&lt;br /&gt;
 camera {display:inline; font-style: italic;}&lt;br /&gt;
 caption {display:inline; font-style: italic;}&lt;br /&gt;
* case&lt;br /&gt;
* castGroup&lt;br /&gt;
* castItem&lt;br /&gt;
 castList {} /* Note: has additional rules: */&lt;br /&gt;
 castList {display:block;} /* applies whether children are head or not */&lt;br /&gt;
 /* Note: for this to mirror the XSL exactly, head would always need to be preceding other elements inside castList */&lt;br /&gt;
 castList &amp;gt; head {display:inline; font-style:italic;}&lt;br /&gt;
 castList &amp;gt; *:not(head) {margin-left: 40px;} /* If children of castList needed their own indents, then it should be relative to this (if possible) */&lt;br /&gt;
&lt;br /&gt;
* catDesc (Only defined in XSL conditionally if using catRef)&lt;br /&gt;
 catRef {} /* Note: has additional rules: */&lt;br /&gt;
 catRef + catRef:before {'\A'} /* Add line break if preceded by another catRef */&lt;br /&gt;
 catRef:after {content:attr(scheme); display:inline; font-style:italic;} /* Add scheme in italics */&lt;br /&gt;
 /* &lt;br /&gt;
 Commenting out as XPath not currently supported in CSS as needed by third 'after'&lt;br /&gt;
 catRef:after(2) {content:':'}*//* Requires CSS3 to add such additional 'after' content; See http://www.w3.org/TR/css3-content/#nesting or http://www.w3.org/TR/css3-content/#inserting0 */&lt;br /&gt;
 /* &lt;br /&gt;
 catRef:after(3) {content: &amp;lt;not possible to reference target's catDesc unless XPath gets added to CSS&amp;gt;} */&lt;br /&gt;
* catchwords&lt;br /&gt;
* category&lt;br /&gt;
* cb&lt;br /&gt;
* cell&lt;br /&gt;
* certainty&lt;br /&gt;
* change&lt;br /&gt;
* channel&lt;br /&gt;
* char&lt;br /&gt;
* charDecl&lt;br /&gt;
* charName&lt;br /&gt;
* charProp&lt;br /&gt;
* choice&lt;br /&gt;
* cit&lt;br /&gt;
* cl&lt;br /&gt;
* classCode (XSL has not yet covered (from header module))&lt;br /&gt;
* classDecl&lt;br /&gt;
* classSpec&lt;br /&gt;
* classes&lt;br /&gt;
* climate&lt;br /&gt;
* closer&lt;br /&gt;
 code {display:inline; font-family:monospace;}&lt;br /&gt;
* collation&lt;br /&gt;
* collection&lt;br /&gt;
* colloc&lt;br /&gt;
* colophon&lt;br /&gt;
* cond&lt;br /&gt;
* condition&lt;br /&gt;
* constitution&lt;br /&gt;
* constraint&lt;br /&gt;
* constraintSpec&lt;br /&gt;
* content&lt;br /&gt;
* corr&lt;br /&gt;
* correction&lt;br /&gt;
* country&lt;br /&gt;
* creation&lt;br /&gt;
* custEvent&lt;br /&gt;
* custodialHist&lt;br /&gt;
&lt;br /&gt;
==d==&lt;br /&gt;
&lt;br /&gt;
* damage&lt;br /&gt;
* damageSpan&lt;br /&gt;
* datatype&lt;br /&gt;
* date&lt;br /&gt;
* dateline&lt;br /&gt;
* death&lt;br /&gt;
* decoDesc&lt;br /&gt;
* decoNote&lt;br /&gt;
* def&lt;br /&gt;
* default&lt;br /&gt;
* defaultVal&lt;br /&gt;
 del {display:inline; text-decoration: line-through;}&lt;br /&gt;
* delSpan&lt;br /&gt;
* depth&lt;br /&gt;
* derivation&lt;br /&gt;
* desc&lt;br /&gt;
* dictScrap&lt;br /&gt;
* dim&lt;br /&gt;
* dimensions&lt;br /&gt;
* distinct&lt;br /&gt;
* distributor&lt;br /&gt;
* district&lt;br /&gt;
* div&lt;br /&gt;
* div1&lt;br /&gt;
* div2&lt;br /&gt;
* div3&lt;br /&gt;
* div4&lt;br /&gt;
* div5&lt;br /&gt;
* div6&lt;br /&gt;
* div7&lt;br /&gt;
* divGen&lt;br /&gt;
* docAuthor&lt;br /&gt;
* docDate&lt;br /&gt;
* docEdition&lt;br /&gt;
* docImprint&lt;br /&gt;
* docTitle&lt;br /&gt;
* domain&lt;br /&gt;
&lt;br /&gt;
==e==&lt;br /&gt;
&lt;br /&gt;
* eLeaf&lt;br /&gt;
* eTree&lt;br /&gt;
* edition&lt;br /&gt;
* editionStmt&lt;br /&gt;
* editor&lt;br /&gt;
* editorialDecl&lt;br /&gt;
* education&lt;br /&gt;
* eg&lt;br /&gt;
* egXML&lt;br /&gt;
* elementSpec&lt;br /&gt;
* email&lt;br /&gt;
 emph {display:inline; font-style:italic;}&lt;br /&gt;
* encodingDesc&lt;br /&gt;
* entry&lt;br /&gt;
* entryFree&lt;br /&gt;
 epigraph {display:block;}&lt;br /&gt;
* epilogue&lt;br /&gt;
* equipment&lt;br /&gt;
* equiv&lt;br /&gt;
* etym&lt;br /&gt;
* event&lt;br /&gt;
* ex&lt;br /&gt;
* exemplum&lt;br /&gt;
* expan&lt;br /&gt;
* explicit&lt;br /&gt;
* extent&lt;br /&gt;
&lt;br /&gt;
==f==&lt;br /&gt;
&lt;br /&gt;
* f&lt;br /&gt;
* fDecl&lt;br /&gt;
* fDescr&lt;br /&gt;
* fLib&lt;br /&gt;
* facsimile&lt;br /&gt;
* factuality&lt;br /&gt;
* faith&lt;br /&gt;
* figDesc&lt;br /&gt;
* figure&lt;br /&gt;
* fileDesc&lt;br /&gt;
* filiation&lt;br /&gt;
* finalRubric&lt;br /&gt;
* floatingText&lt;br /&gt;
* floruit&lt;br /&gt;
* foliation&lt;br /&gt;
 foreign {display:inline;}&lt;br /&gt;
* forename&lt;br /&gt;
* forest&lt;br /&gt;
* forestGrp&lt;br /&gt;
* form&lt;br /&gt;
* formula&lt;br /&gt;
* front&lt;br /&gt;
* fs&lt;br /&gt;
* fsConstraints&lt;br /&gt;
* fsDecl&lt;br /&gt;
* fsDescr&lt;br /&gt;
* fsdDecl&lt;br /&gt;
* fsdLink&lt;br /&gt;
* funder&lt;br /&gt;
* fvLib&lt;br /&gt;
* fw&lt;br /&gt;
&lt;br /&gt;
==g==&lt;br /&gt;
&lt;br /&gt;
* g&lt;br /&gt;
* gap&lt;br /&gt;
* gen&lt;br /&gt;
* genName&lt;br /&gt;
* geo&lt;br /&gt;
* geoDecl&lt;br /&gt;
* geogFeat&lt;br /&gt;
* geogName&lt;br /&gt;
 gi:before {display:inline;content:&amp;quot;&amp;lt;&amp;quot;}  gi:after {display:inline;content:&amp;quot;&amp;gt;&amp;quot;}&lt;br /&gt;
 gloss {display:inline;}&lt;br /&gt;
* glyph&lt;br /&gt;
* glyphName&lt;br /&gt;
* gram&lt;br /&gt;
* gramGrp&lt;br /&gt;
* graph&lt;br /&gt;
* graphic&lt;br /&gt;
* group&lt;br /&gt;
&lt;br /&gt;
==h==&lt;br /&gt;
&lt;br /&gt;
* handDesc&lt;br /&gt;
* handNote&lt;br /&gt;
* handNotes&lt;br /&gt;
* handShift&lt;br /&gt;
* head&lt;br /&gt;
* headItem&lt;br /&gt;
* headLabel&lt;br /&gt;
* height&lt;br /&gt;
* heraldry&lt;br /&gt;
 hi {display:inline; font-weight:bold;}&lt;br /&gt;
* history&lt;br /&gt;
* hom&lt;br /&gt;
* hyph&lt;br /&gt;
* hyphenation&lt;br /&gt;
&lt;br /&gt;
==i==&lt;br /&gt;
&lt;br /&gt;
* iNode&lt;br /&gt;
* iType&lt;br /&gt;
 ident[type] {display:inline; font-weight:bold;} ident:not([type]) {display:inline; } /* Just as the stylesheet allows for different types; a specific type could be styled by ident[type=&amp;quot;XXX&amp;quot;] */&lt;br /&gt;
* idno&lt;br /&gt;
* if&lt;br /&gt;
* iff&lt;br /&gt;
* imprimatur&lt;br /&gt;
* imprint&lt;br /&gt;
* incident (speech module: XSL has not yet covered)&lt;br /&gt;
* incipit&lt;br /&gt;
* index&lt;br /&gt;
* institution&lt;br /&gt;
* interaction&lt;br /&gt;
* interp&lt;br /&gt;
* interpGrp&lt;br /&gt;
* interpretation&lt;br /&gt;
* item&lt;br /&gt;
&lt;br /&gt;
==j==&lt;br /&gt;
&lt;br /&gt;
* join&lt;br /&gt;
* joinGrp&lt;br /&gt;
&lt;br /&gt;
==k==&lt;br /&gt;
&lt;br /&gt;
* keywords (XSL has not yet covered (from header module))&lt;br /&gt;
* kinesic (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==l==&lt;br /&gt;
&lt;br /&gt;
 l {display:block;}&lt;br /&gt;
 label {display:inline;}&lt;br /&gt;
* lacunaEnd&lt;br /&gt;
* lacunaStart&lt;br /&gt;
* lang&lt;br /&gt;
* langKnowledge&lt;br /&gt;
* langKnown&lt;br /&gt;
* langUsage&lt;br /&gt;
* language&lt;br /&gt;
* layout&lt;br /&gt;
* layoutDesc&lt;br /&gt;
 lb {display:block;}&lt;br /&gt;
* lbl&lt;br /&gt;
* leaf&lt;br /&gt;
* lem&lt;br /&gt;
 lg {display:block;}&lt;br /&gt;
* link&lt;br /&gt;
* linkGrp&lt;br /&gt;
* list&lt;br /&gt;
* listBibl&lt;br /&gt;
* listEvent&lt;br /&gt;
* listNym&lt;br /&gt;
* listOrg&lt;br /&gt;
* listPerson&lt;br /&gt;
* listPlace&lt;br /&gt;
* listRef&lt;br /&gt;
* listWit&lt;br /&gt;
* localName&lt;br /&gt;
* locale&lt;br /&gt;
* location&lt;br /&gt;
* locus&lt;br /&gt;
* locusGrp&lt;br /&gt;
&lt;br /&gt;
==m==&lt;br /&gt;
&lt;br /&gt;
* m&lt;br /&gt;
* macroSpec&lt;br /&gt;
* mapping&lt;br /&gt;
* material&lt;br /&gt;
* measure&lt;br /&gt;
* measureGrp&lt;br /&gt;
* meeting&lt;br /&gt;
* memberOf&lt;br /&gt;
 mentioned {display:inline;}&lt;br /&gt;
* metDecl&lt;br /&gt;
* metSym&lt;br /&gt;
* milestone&lt;br /&gt;
* moduleRef&lt;br /&gt;
* moduleSpec&lt;br /&gt;
* monogr&lt;br /&gt;
* mood&lt;br /&gt;
* move&lt;br /&gt;
* msContents&lt;br /&gt;
* msDesc&lt;br /&gt;
* msIdentifier&lt;br /&gt;
* msItem&lt;br /&gt;
* msItemStruct&lt;br /&gt;
* msName&lt;br /&gt;
* msPart&lt;br /&gt;
* musicNotation&lt;br /&gt;
&lt;br /&gt;
==n==&lt;br /&gt;
&lt;br /&gt;
* name&lt;br /&gt;
* nameLink&lt;br /&gt;
* namespace&lt;br /&gt;
* nationality&lt;br /&gt;
* node&lt;br /&gt;
* normalization&lt;br /&gt;
* note&lt;br /&gt;
* notesStmt&lt;br /&gt;
* num&lt;br /&gt;
* number&lt;br /&gt;
* numeric&lt;br /&gt;
* nym&lt;br /&gt;
&lt;br /&gt;
==o==&lt;br /&gt;
&lt;br /&gt;
* oRef&lt;br /&gt;
* oVar&lt;br /&gt;
* objectDesc&lt;br /&gt;
* occupation&lt;br /&gt;
* offset&lt;br /&gt;
* opener&lt;br /&gt;
* org&lt;br /&gt;
* orgName&lt;br /&gt;
* orig&lt;br /&gt;
* origDate&lt;br /&gt;
* origPlace&lt;br /&gt;
* origin&lt;br /&gt;
* orth&lt;br /&gt;
&lt;br /&gt;
==p==&lt;br /&gt;
&lt;br /&gt;
* p&lt;br /&gt;
* pRef&lt;br /&gt;
* pVar&lt;br /&gt;
* particDesc&lt;br /&gt;
* pause (speech module: XSL has not yet covered)&lt;br /&gt;
* pb&lt;br /&gt;
* pc&lt;br /&gt;
* per&lt;br /&gt;
* performance&lt;br /&gt;
* persName&lt;br /&gt;
* person&lt;br /&gt;
* personGrp&lt;br /&gt;
* phr&lt;br /&gt;
* physDesc&lt;br /&gt;
* place&lt;br /&gt;
* placeName&lt;br /&gt;
* population&lt;br /&gt;
* pos&lt;br /&gt;
* postBox&lt;br /&gt;
* postCode&lt;br /&gt;
* postscript&lt;br /&gt;
* precision&lt;br /&gt;
* preparedness&lt;br /&gt;
* principal&lt;br /&gt;
* profileDesc&lt;br /&gt;
* projectDesc&lt;br /&gt;
* prologue&lt;br /&gt;
* pron&lt;br /&gt;
* provenance&lt;br /&gt;
* ptr&lt;br /&gt;
* pubPlace&lt;br /&gt;
* publicationStmt&lt;br /&gt;
* publisher&lt;br /&gt;
* purpose&lt;br /&gt;
&lt;br /&gt;
==q==&lt;br /&gt;
&lt;br /&gt;
* q&lt;br /&gt;
* quotation&lt;br /&gt;
* quote&lt;br /&gt;
&lt;br /&gt;
==r==&lt;br /&gt;
&lt;br /&gt;
* rdg&lt;br /&gt;
* rdgGrp&lt;br /&gt;
* re&lt;br /&gt;
* recordHist&lt;br /&gt;
* recording&lt;br /&gt;
* recordingStmt&lt;br /&gt;
* ref&lt;br /&gt;
* refState&lt;br /&gt;
* refsDecl&lt;br /&gt;
* reg&lt;br /&gt;
* region&lt;br /&gt;
* relatedItem&lt;br /&gt;
* relation&lt;br /&gt;
* relationGrp&lt;br /&gt;
* remarks&lt;br /&gt;
* rendition&lt;br /&gt;
* repository&lt;br /&gt;
* residence&lt;br /&gt;
 resp:after {content:&amp;quot; &amp;quot;}&lt;br /&gt;
 respStmt {display:inline;}&lt;br /&gt;
* respons&lt;br /&gt;
* restore&lt;br /&gt;
* revisionDesc&lt;br /&gt;
* rhyme&lt;br /&gt;
 role {display:inline; font-style: italic;}&lt;br /&gt;
 roleDesc { margin-left: 40px; margin-right: 40px; } roleDesc &amp;gt; *:not(p) {display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* roleName&lt;br /&gt;
* root&lt;br /&gt;
* row&lt;br /&gt;
* rs&lt;br /&gt;
* rubric&lt;br /&gt;
&lt;br /&gt;
==s==&lt;br /&gt;
&lt;br /&gt;
* s&lt;br /&gt;
* said&lt;br /&gt;
 salute {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* samplingDecl&lt;br /&gt;
* schemaSpec&lt;br /&gt;
* scriptStmt&lt;br /&gt;
* seal&lt;br /&gt;
* sealDesc&lt;br /&gt;
* secFol&lt;br /&gt;
 seg {display:inline;}&lt;br /&gt;
* segmentation&lt;br /&gt;
* sense&lt;br /&gt;
* series&lt;br /&gt;
* seriesStmt&lt;br /&gt;
 set {display:inline; font-style: italic;}&lt;br /&gt;
* setting&lt;br /&gt;
* settingDesc&lt;br /&gt;
* settlement&lt;br /&gt;
* se x (separated for spam filter)&lt;br /&gt;
* shift (speech module: XSL has not yet covered)&lt;br /&gt;
 sic {display:inline;} sic:after {content: &amp;quot; (sic)&amp;quot;}&lt;br /&gt;
* signatures&lt;br /&gt;
 signed {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* soCalled&lt;br /&gt;
* socecStatus&lt;br /&gt;
 sound {display:inline; font-style: italic;}&lt;br /&gt;
* source&lt;br /&gt;
* sourceDesc&lt;br /&gt;
* sp&lt;br /&gt;
* space&lt;br /&gt;
* span&lt;br /&gt;
* spanGrp&lt;br /&gt;
* speaker&lt;br /&gt;
* specDesc&lt;br /&gt;
* specGrp&lt;br /&gt;
* specGrpRef&lt;br /&gt;
* specList&lt;br /&gt;
* sponsor&lt;br /&gt;
 stage {font-style: italic; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* stamp&lt;br /&gt;
* state&lt;br /&gt;
* stdVals&lt;br /&gt;
* street&lt;br /&gt;
* stress&lt;br /&gt;
* string&lt;br /&gt;
* stringVal&lt;br /&gt;
* subc&lt;br /&gt;
* subst&lt;br /&gt;
* summary&lt;br /&gt;
* superEntry&lt;br /&gt;
* supplied&lt;br /&gt;
* support&lt;br /&gt;
* supportDesc&lt;br /&gt;
* surface&lt;br /&gt;
* surname&lt;br /&gt;
* surplus&lt;br /&gt;
* surrogates&lt;br /&gt;
* syll&lt;br /&gt;
* symbol&lt;br /&gt;
&lt;br /&gt;
==t==&lt;br /&gt;
&lt;br /&gt;
* TEI&lt;br /&gt;
* table&lt;br /&gt;
* tag&lt;br /&gt;
* tagUsage&lt;br /&gt;
* tagsDecl&lt;br /&gt;
* taxonomy&lt;br /&gt;
 tech {display:inline; font-style: italic;}&lt;br /&gt;
* teiCorpus&lt;br /&gt;
* teiHeader&lt;br /&gt;
 term {display:inline;}&lt;br /&gt;
* terrain&lt;br /&gt;
* text&lt;br /&gt;
* textClass&lt;br /&gt;
* textDesc&lt;br /&gt;
* textLang&lt;br /&gt;
* then&lt;br /&gt;
* time&lt;br /&gt;
* timeline&lt;br /&gt;
* title&lt;br /&gt;
* titlePage&lt;br /&gt;
* titlePart&lt;br /&gt;
* titleStmt&lt;br /&gt;
* tns&lt;br /&gt;
* trailer&lt;br /&gt;
* trait&lt;br /&gt;
* tree&lt;br /&gt;
* triangle&lt;br /&gt;
* typeDesc&lt;br /&gt;
* typeNote&lt;br /&gt;
&lt;br /&gt;
==u==&lt;br /&gt;
&lt;br /&gt;
* u (speech module: XSL has not yet covered)&lt;br /&gt;
 unclear {display:inline;}&lt;br /&gt;
* unicodeName&lt;br /&gt;
* usg&lt;br /&gt;
&lt;br /&gt;
==v==&lt;br /&gt;
&lt;br /&gt;
* vAlt&lt;br /&gt;
* vColl&lt;br /&gt;
* vDefault&lt;br /&gt;
* vLabel&lt;br /&gt;
* vMerge&lt;br /&gt;
* vNot&lt;br /&gt;
* vRange&lt;br /&gt;
* val&lt;br /&gt;
* valDesc&lt;br /&gt;
* valItem&lt;br /&gt;
* valList&lt;br /&gt;
* value&lt;br /&gt;
* variantEncoding&lt;br /&gt;
 view {display:inline; font-style: italic;}&lt;br /&gt;
* vocal (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==w==&lt;br /&gt;
&lt;br /&gt;
* w&lt;br /&gt;
* watermark&lt;br /&gt;
* when&lt;br /&gt;
* width&lt;br /&gt;
* wit&lt;br /&gt;
* witDetail&lt;br /&gt;
* witEnd&lt;br /&gt;
* witStart&lt;br /&gt;
* witness&lt;br /&gt;
* writing (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==x==&lt;br /&gt;
&lt;br /&gt;
* xr&lt;br /&gt;
&lt;br /&gt;
==y==&lt;br /&gt;
&lt;br /&gt;
(none)&lt;br /&gt;
&lt;br /&gt;
==z==&lt;br /&gt;
z&lt;br /&gt;
&lt;br /&gt;
* zone&lt;br /&gt;
&lt;br /&gt;
==References used==&lt;br /&gt;
* http://math.ut.ee/~kaarel/NLP/TEI/visualization/ (on rationales)&lt;br /&gt;
&lt;br /&gt;
[[Category:CSS]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7785</id>
		<title>Comprehensive CSS Stylesheet</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7785"/>
		<updated>2010-06-16T03:40:10Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: /* c */ +catDesc&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following is an attempt to gradually build CSS for each TEI element, paralleling the default TEI stylesheets (while also potentially serving as a kind of discussion center for how the stylesheets ought to operate (see [[Formatting TEI documents]] on how there is a need for this despite TEI being agnostic as to output formatting), at least for issues pertaining solely to formatting as opposed to semantics), by indicating here necessary deviations from the XHTML stylesheets (due to CSS constraints) or potentially desirable alternatives, etc.).&lt;br /&gt;
&lt;br /&gt;
Advantages of CSS over XSL might include:&lt;br /&gt;
# Simpler for maintenance/alteration (though CSS can still be combined with simpler XSL as needed)&lt;br /&gt;
# Downloading (and parsing?) is faster&lt;br /&gt;
# Wider browser support (and for browser caching?)&lt;br /&gt;
# Allows DOM and other manipulation directly on semantically-named TEI elements (though admittedly, use of frameworks like jQuery may make traversal of X/HTML as easy or easier)&lt;br /&gt;
# TEI could potentially be used as is in HTML (though empty self-closing elements will not be treated properly unless changed to &amp;lt;elem&amp;gt;&amp;lt;/elem&amp;gt; form and namespaces will not be present) in addition to true XHTML.&lt;br /&gt;
&lt;br /&gt;
Disadvantages:&lt;br /&gt;
# Does not allow for certain kinds of transformations (though again, CSS can be combined with a simple XSL stylesheet which preserves TEI except in cases where needed)&lt;br /&gt;
# Is cumbersome for certain variable structures (e.g., for values varying by integer but not including the integer (e.g., space.extent =&amp;gt; number of spaces) a separate rule must be created for each possible attribute value)&lt;br /&gt;
# (Another disadvantage of CSS in general is being unable to create certain kinds of output such as form controls, but in the case of TEI, we hardly need this.)&lt;br /&gt;
&lt;br /&gt;
Per CSS Namespaces, one can use either&lt;br /&gt;
 @namespace &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 @namespace tei &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
...but we will use the former since we will presume the stylesheet will be primarily (if not exclusively) for TEI.&lt;br /&gt;
&lt;br /&gt;
We will not be able to make equivalents for XSLT templates like rendToClass (e.g., ab) or applyRend (emph), applyRendition (emph) since we cannot (nor do we need to) add an id or class (though @rend or @rendition would be useful to utilize, there is no &amp;quot;eval()&amp;quot;-like code in CSS; however, we could test against predefined values like &amp;quot;bold&amp;quot; (maybe as a global * or at least the elements using these in the stylesheets (emph, hi, ...))).&lt;br /&gt;
&lt;br /&gt;
All fields below should be complete for an element, or otherwise noted that it is incomplete, so that it can otherwise be assumed that the CSS has been completely applied as far as possible (besides rend/rendition which may later be done globally for all elements, as these are indeed globals).&lt;br /&gt;
&lt;br /&gt;
==a==&lt;br /&gt;
 ab {display:block;}&lt;br /&gt;
* abbr&lt;br /&gt;
* accMat&lt;br /&gt;
* acquisition&lt;br /&gt;
* activity&lt;br /&gt;
 actor {display:inline; font-style: italic;}&lt;br /&gt;
* add&lt;br /&gt;
* addName&lt;br /&gt;
* addSpan&lt;br /&gt;
* additional&lt;br /&gt;
* additions&lt;br /&gt;
 addrLine {display:block;}&lt;br /&gt;
 address {display:block; /* font-style:italic; If wish to appear as HTML addresses are rendered by default, at least in Firefox */}&lt;br /&gt;
* adminInfo&lt;br /&gt;
* affiliation&lt;br /&gt;
* age&lt;br /&gt;
* alt&lt;br /&gt;
* altGrp&lt;br /&gt;
* altIdent&lt;br /&gt;
* altIdentifier&lt;br /&gt;
* am&lt;br /&gt;
* analytic&lt;br /&gt;
* anchor&lt;br /&gt;
* app&lt;br /&gt;
* appInfo&lt;br /&gt;
* application&lt;br /&gt;
* arc&lt;br /&gt;
* argument&lt;br /&gt;
 att {display:inline; font-weight:bold;} att:before {content:&amp;quot;@&amp;quot;}&lt;br /&gt;
* attDef&lt;br /&gt;
* attList&lt;br /&gt;
* attRef&lt;br /&gt;
* author&lt;br /&gt;
* authority&lt;br /&gt;
* availability&lt;br /&gt;
&lt;br /&gt;
==b==&lt;br /&gt;
&lt;br /&gt;
* back&lt;br /&gt;
* bibl&lt;br /&gt;
* biblFull&lt;br /&gt;
* biblScope&lt;br /&gt;
* biblStruct&lt;br /&gt;
* bicond&lt;br /&gt;
* binary&lt;br /&gt;
* binaryObject&lt;br /&gt;
* binding&lt;br /&gt;
* bindingDesc&lt;br /&gt;
* birth&lt;br /&gt;
* bloc&lt;br /&gt;
* body&lt;br /&gt;
* broadcast&lt;br /&gt;
 byline {display:block;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==c==&lt;br /&gt;
&lt;br /&gt;
* c&lt;br /&gt;
* cRefPattern&lt;br /&gt;
 caesura:before {display:inline; content:&amp;quot;\a0\a0\a0\a0&amp;quot;; /* could be :after too */}&lt;br /&gt;
 camera {display:inline; font-style: italic;}&lt;br /&gt;
 caption {display:inline; font-style: italic;}&lt;br /&gt;
* case&lt;br /&gt;
* castGroup&lt;br /&gt;
* castItem&lt;br /&gt;
* castList&lt;br /&gt;
* catDesc (Only defined in XSL conditionally if using catRef)&lt;br /&gt;
 catRef {} /* Note: has additional rules: */&lt;br /&gt;
 catRef + catRef:before {'\A'} /* Add line break if preceded by another catRef */&lt;br /&gt;
 catRef:after {content:attr(scheme); display:inline; font-style:italic;} /* Add scheme in italics */&lt;br /&gt;
 /* &lt;br /&gt;
 Commenting out as XPath not currently supported in CSS as needed by third 'after'&lt;br /&gt;
 catRef:after(2) {content:':'}*//* Requires CSS3 to add such additional 'after' content; See http://www.w3.org/TR/css3-content/#nesting or http://www.w3.org/TR/css3-content/#inserting0 */&lt;br /&gt;
 /* &lt;br /&gt;
 catRef:after(3) {content: &amp;lt;not possible to reference target's catDesc unless XPath gets added to CSS&amp;gt;} */&lt;br /&gt;
* catchwords&lt;br /&gt;
* category&lt;br /&gt;
* cb&lt;br /&gt;
* cell&lt;br /&gt;
* certainty&lt;br /&gt;
* change&lt;br /&gt;
* channel&lt;br /&gt;
* char&lt;br /&gt;
* charDecl&lt;br /&gt;
* charName&lt;br /&gt;
* charProp&lt;br /&gt;
* choice&lt;br /&gt;
* cit&lt;br /&gt;
* cl&lt;br /&gt;
* classCode (XSL has not yet covered (from header module))&lt;br /&gt;
* classDecl&lt;br /&gt;
* classSpec&lt;br /&gt;
* classes&lt;br /&gt;
* climate&lt;br /&gt;
* closer&lt;br /&gt;
 code {display:inline; font-family:monospace;}&lt;br /&gt;
* collation&lt;br /&gt;
* collection&lt;br /&gt;
* colloc&lt;br /&gt;
* colophon&lt;br /&gt;
* cond&lt;br /&gt;
* condition&lt;br /&gt;
* constitution&lt;br /&gt;
* constraint&lt;br /&gt;
* constraintSpec&lt;br /&gt;
* content&lt;br /&gt;
* corr&lt;br /&gt;
* correction&lt;br /&gt;
* country&lt;br /&gt;
* creation&lt;br /&gt;
* custEvent&lt;br /&gt;
* custodialHist&lt;br /&gt;
&lt;br /&gt;
==d==&lt;br /&gt;
&lt;br /&gt;
* damage&lt;br /&gt;
* damageSpan&lt;br /&gt;
* datatype&lt;br /&gt;
* date&lt;br /&gt;
* dateline&lt;br /&gt;
* death&lt;br /&gt;
* decoDesc&lt;br /&gt;
* decoNote&lt;br /&gt;
* def&lt;br /&gt;
* default&lt;br /&gt;
* defaultVal&lt;br /&gt;
 del {display:inline; text-decoration: line-through;}&lt;br /&gt;
* delSpan&lt;br /&gt;
* depth&lt;br /&gt;
* derivation&lt;br /&gt;
* desc&lt;br /&gt;
* dictScrap&lt;br /&gt;
* dim&lt;br /&gt;
* dimensions&lt;br /&gt;
* distinct&lt;br /&gt;
* distributor&lt;br /&gt;
* district&lt;br /&gt;
* div&lt;br /&gt;
* div1&lt;br /&gt;
* div2&lt;br /&gt;
* div3&lt;br /&gt;
* div4&lt;br /&gt;
* div5&lt;br /&gt;
* div6&lt;br /&gt;
* div7&lt;br /&gt;
* divGen&lt;br /&gt;
* docAuthor&lt;br /&gt;
* docDate&lt;br /&gt;
* docEdition&lt;br /&gt;
* docImprint&lt;br /&gt;
* docTitle&lt;br /&gt;
* domain&lt;br /&gt;
&lt;br /&gt;
==e==&lt;br /&gt;
&lt;br /&gt;
* eLeaf&lt;br /&gt;
* eTree&lt;br /&gt;
* edition&lt;br /&gt;
* editionStmt&lt;br /&gt;
* editor&lt;br /&gt;
* editorialDecl&lt;br /&gt;
* education&lt;br /&gt;
* eg&lt;br /&gt;
* egXML&lt;br /&gt;
* elementSpec&lt;br /&gt;
* email&lt;br /&gt;
 emph {display:inline; font-style:italic;}&lt;br /&gt;
* encodingDesc&lt;br /&gt;
* entry&lt;br /&gt;
* entryFree&lt;br /&gt;
 epigraph {display:block;}&lt;br /&gt;
* epilogue&lt;br /&gt;
* equipment&lt;br /&gt;
* equiv&lt;br /&gt;
* etym&lt;br /&gt;
* event&lt;br /&gt;
* ex&lt;br /&gt;
* exemplum&lt;br /&gt;
* expan&lt;br /&gt;
* explicit&lt;br /&gt;
* extent&lt;br /&gt;
&lt;br /&gt;
==f==&lt;br /&gt;
&lt;br /&gt;
* f&lt;br /&gt;
* fDecl&lt;br /&gt;
* fDescr&lt;br /&gt;
* fLib&lt;br /&gt;
* facsimile&lt;br /&gt;
* factuality&lt;br /&gt;
* faith&lt;br /&gt;
* figDesc&lt;br /&gt;
* figure&lt;br /&gt;
* fileDesc&lt;br /&gt;
* filiation&lt;br /&gt;
* finalRubric&lt;br /&gt;
* floatingText&lt;br /&gt;
* floruit&lt;br /&gt;
* foliation&lt;br /&gt;
 foreign {display:inline;}&lt;br /&gt;
* forename&lt;br /&gt;
* forest&lt;br /&gt;
* forestGrp&lt;br /&gt;
* form&lt;br /&gt;
* formula&lt;br /&gt;
* front&lt;br /&gt;
* fs&lt;br /&gt;
* fsConstraints&lt;br /&gt;
* fsDecl&lt;br /&gt;
* fsDescr&lt;br /&gt;
* fsdDecl&lt;br /&gt;
* fsdLink&lt;br /&gt;
* funder&lt;br /&gt;
* fvLib&lt;br /&gt;
* fw&lt;br /&gt;
&lt;br /&gt;
==g==&lt;br /&gt;
&lt;br /&gt;
* g&lt;br /&gt;
* gap&lt;br /&gt;
* gen&lt;br /&gt;
* genName&lt;br /&gt;
* geo&lt;br /&gt;
* geoDecl&lt;br /&gt;
* geogFeat&lt;br /&gt;
* geogName&lt;br /&gt;
 gi:before {display:inline;content:&amp;quot;&amp;lt;&amp;quot;}  gi:after {display:inline;content:&amp;quot;&amp;gt;&amp;quot;}&lt;br /&gt;
 gloss {display:inline;}&lt;br /&gt;
* glyph&lt;br /&gt;
* glyphName&lt;br /&gt;
* gram&lt;br /&gt;
* gramGrp&lt;br /&gt;
* graph&lt;br /&gt;
* graphic&lt;br /&gt;
* group&lt;br /&gt;
&lt;br /&gt;
==h==&lt;br /&gt;
&lt;br /&gt;
* handDesc&lt;br /&gt;
* handNote&lt;br /&gt;
* handNotes&lt;br /&gt;
* handShift&lt;br /&gt;
* head&lt;br /&gt;
* headItem&lt;br /&gt;
* headLabel&lt;br /&gt;
* height&lt;br /&gt;
* heraldry&lt;br /&gt;
 hi {display:inline; font-weight:bold;}&lt;br /&gt;
* history&lt;br /&gt;
* hom&lt;br /&gt;
* hyph&lt;br /&gt;
* hyphenation&lt;br /&gt;
&lt;br /&gt;
==i==&lt;br /&gt;
&lt;br /&gt;
* iNode&lt;br /&gt;
* iType&lt;br /&gt;
 ident[type] {display:inline; font-weight:bold;} ident:not([type]) {display:inline; } /* Just as the stylesheet allows for different types; a specific type could be styled by ident[type=&amp;quot;XXX&amp;quot;] */&lt;br /&gt;
* idno&lt;br /&gt;
* if&lt;br /&gt;
* iff&lt;br /&gt;
* imprimatur&lt;br /&gt;
* imprint&lt;br /&gt;
* incident (speech module: XSL has not yet covered)&lt;br /&gt;
* incipit&lt;br /&gt;
* index&lt;br /&gt;
* institution&lt;br /&gt;
* interaction&lt;br /&gt;
* interp&lt;br /&gt;
* interpGrp&lt;br /&gt;
* interpretation&lt;br /&gt;
* item&lt;br /&gt;
&lt;br /&gt;
==j==&lt;br /&gt;
&lt;br /&gt;
* join&lt;br /&gt;
* joinGrp&lt;br /&gt;
&lt;br /&gt;
==k==&lt;br /&gt;
&lt;br /&gt;
* keywords (XSL has not yet covered (from header module))&lt;br /&gt;
* kinesic (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==l==&lt;br /&gt;
&lt;br /&gt;
 l {display:block;}&lt;br /&gt;
 label {display:inline;}&lt;br /&gt;
* lacunaEnd&lt;br /&gt;
* lacunaStart&lt;br /&gt;
* lang&lt;br /&gt;
* langKnowledge&lt;br /&gt;
* langKnown&lt;br /&gt;
* langUsage&lt;br /&gt;
* language&lt;br /&gt;
* layout&lt;br /&gt;
* layoutDesc&lt;br /&gt;
 lb {display:block;}&lt;br /&gt;
* lbl&lt;br /&gt;
* leaf&lt;br /&gt;
* lem&lt;br /&gt;
 lg {display:block;}&lt;br /&gt;
* link&lt;br /&gt;
* linkGrp&lt;br /&gt;
* list&lt;br /&gt;
* listBibl&lt;br /&gt;
* listEvent&lt;br /&gt;
* listNym&lt;br /&gt;
* listOrg&lt;br /&gt;
* listPerson&lt;br /&gt;
* listPlace&lt;br /&gt;
* listRef&lt;br /&gt;
* listWit&lt;br /&gt;
* localName&lt;br /&gt;
* locale&lt;br /&gt;
* location&lt;br /&gt;
* locus&lt;br /&gt;
* locusGrp&lt;br /&gt;
&lt;br /&gt;
==m==&lt;br /&gt;
&lt;br /&gt;
* m&lt;br /&gt;
* macroSpec&lt;br /&gt;
* mapping&lt;br /&gt;
* material&lt;br /&gt;
* measure&lt;br /&gt;
* measureGrp&lt;br /&gt;
* meeting&lt;br /&gt;
* memberOf&lt;br /&gt;
 mentioned {display:inline;}&lt;br /&gt;
* metDecl&lt;br /&gt;
* metSym&lt;br /&gt;
* milestone&lt;br /&gt;
* moduleRef&lt;br /&gt;
* moduleSpec&lt;br /&gt;
* monogr&lt;br /&gt;
* mood&lt;br /&gt;
* move&lt;br /&gt;
* msContents&lt;br /&gt;
* msDesc&lt;br /&gt;
* msIdentifier&lt;br /&gt;
* msItem&lt;br /&gt;
* msItemStruct&lt;br /&gt;
* msName&lt;br /&gt;
* msPart&lt;br /&gt;
* musicNotation&lt;br /&gt;
&lt;br /&gt;
==n==&lt;br /&gt;
&lt;br /&gt;
* name&lt;br /&gt;
* nameLink&lt;br /&gt;
* namespace&lt;br /&gt;
* nationality&lt;br /&gt;
* node&lt;br /&gt;
* normalization&lt;br /&gt;
* note&lt;br /&gt;
* notesStmt&lt;br /&gt;
* num&lt;br /&gt;
* number&lt;br /&gt;
* numeric&lt;br /&gt;
* nym&lt;br /&gt;
&lt;br /&gt;
==o==&lt;br /&gt;
&lt;br /&gt;
* oRef&lt;br /&gt;
* oVar&lt;br /&gt;
* objectDesc&lt;br /&gt;
* occupation&lt;br /&gt;
* offset&lt;br /&gt;
* opener&lt;br /&gt;
* org&lt;br /&gt;
* orgName&lt;br /&gt;
* orig&lt;br /&gt;
* origDate&lt;br /&gt;
* origPlace&lt;br /&gt;
* origin&lt;br /&gt;
* orth&lt;br /&gt;
&lt;br /&gt;
==p==&lt;br /&gt;
&lt;br /&gt;
* p&lt;br /&gt;
* pRef&lt;br /&gt;
* pVar&lt;br /&gt;
* particDesc&lt;br /&gt;
* pause (speech module: XSL has not yet covered)&lt;br /&gt;
* pb&lt;br /&gt;
* pc&lt;br /&gt;
* per&lt;br /&gt;
* performance&lt;br /&gt;
* persName&lt;br /&gt;
* person&lt;br /&gt;
* personGrp&lt;br /&gt;
* phr&lt;br /&gt;
* physDesc&lt;br /&gt;
* place&lt;br /&gt;
* placeName&lt;br /&gt;
* population&lt;br /&gt;
* pos&lt;br /&gt;
* postBox&lt;br /&gt;
* postCode&lt;br /&gt;
* postscript&lt;br /&gt;
* precision&lt;br /&gt;
* preparedness&lt;br /&gt;
* principal&lt;br /&gt;
* profileDesc&lt;br /&gt;
* projectDesc&lt;br /&gt;
* prologue&lt;br /&gt;
* pron&lt;br /&gt;
* provenance&lt;br /&gt;
* ptr&lt;br /&gt;
* pubPlace&lt;br /&gt;
* publicationStmt&lt;br /&gt;
* publisher&lt;br /&gt;
* purpose&lt;br /&gt;
&lt;br /&gt;
==q==&lt;br /&gt;
&lt;br /&gt;
* q&lt;br /&gt;
* quotation&lt;br /&gt;
* quote&lt;br /&gt;
&lt;br /&gt;
==r==&lt;br /&gt;
&lt;br /&gt;
* rdg&lt;br /&gt;
* rdgGrp&lt;br /&gt;
* re&lt;br /&gt;
* recordHist&lt;br /&gt;
* recording&lt;br /&gt;
* recordingStmt&lt;br /&gt;
* ref&lt;br /&gt;
* refState&lt;br /&gt;
* refsDecl&lt;br /&gt;
* reg&lt;br /&gt;
* region&lt;br /&gt;
* relatedItem&lt;br /&gt;
* relation&lt;br /&gt;
* relationGrp&lt;br /&gt;
* remarks&lt;br /&gt;
* rendition&lt;br /&gt;
* repository&lt;br /&gt;
* residence&lt;br /&gt;
 resp:after {content:&amp;quot; &amp;quot;}&lt;br /&gt;
 respStmt {display:inline;}&lt;br /&gt;
* respons&lt;br /&gt;
* restore&lt;br /&gt;
* revisionDesc&lt;br /&gt;
* rhyme&lt;br /&gt;
 role {display:inline; font-style: italic;}&lt;br /&gt;
 roleDesc { margin-left: 40px; margin-right: 40px; } roleDesc &amp;gt; *:not(p) {display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* roleName&lt;br /&gt;
* root&lt;br /&gt;
* row&lt;br /&gt;
* rs&lt;br /&gt;
* rubric&lt;br /&gt;
&lt;br /&gt;
==s==&lt;br /&gt;
&lt;br /&gt;
* s&lt;br /&gt;
* said&lt;br /&gt;
 salute {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* samplingDecl&lt;br /&gt;
* schemaSpec&lt;br /&gt;
* scriptStmt&lt;br /&gt;
* seal&lt;br /&gt;
* sealDesc&lt;br /&gt;
* secFol&lt;br /&gt;
 seg {display:inline;}&lt;br /&gt;
* segmentation&lt;br /&gt;
* sense&lt;br /&gt;
* series&lt;br /&gt;
* seriesStmt&lt;br /&gt;
 set {display:inline; font-style: italic;}&lt;br /&gt;
* setting&lt;br /&gt;
* settingDesc&lt;br /&gt;
* settlement&lt;br /&gt;
* se x (separated for spam filter)&lt;br /&gt;
* shift (speech module: XSL has not yet covered)&lt;br /&gt;
 sic {display:inline;} sic:after {content: &amp;quot; (sic)&amp;quot;}&lt;br /&gt;
* signatures&lt;br /&gt;
 signed {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* soCalled&lt;br /&gt;
* socecStatus&lt;br /&gt;
 sound {display:inline; font-style: italic;}&lt;br /&gt;
* source&lt;br /&gt;
* sourceDesc&lt;br /&gt;
* sp&lt;br /&gt;
* space&lt;br /&gt;
* span&lt;br /&gt;
* spanGrp&lt;br /&gt;
* speaker&lt;br /&gt;
* specDesc&lt;br /&gt;
* specGrp&lt;br /&gt;
* specGrpRef&lt;br /&gt;
* specList&lt;br /&gt;
* sponsor&lt;br /&gt;
 stage {font-style: italic; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* stamp&lt;br /&gt;
* state&lt;br /&gt;
* stdVals&lt;br /&gt;
* street&lt;br /&gt;
* stress&lt;br /&gt;
* string&lt;br /&gt;
* stringVal&lt;br /&gt;
* subc&lt;br /&gt;
* subst&lt;br /&gt;
* summary&lt;br /&gt;
* superEntry&lt;br /&gt;
* supplied&lt;br /&gt;
* support&lt;br /&gt;
* supportDesc&lt;br /&gt;
* surface&lt;br /&gt;
* surname&lt;br /&gt;
* surplus&lt;br /&gt;
* surrogates&lt;br /&gt;
* syll&lt;br /&gt;
* symbol&lt;br /&gt;
&lt;br /&gt;
==t==&lt;br /&gt;
&lt;br /&gt;
* TEI&lt;br /&gt;
* table&lt;br /&gt;
* tag&lt;br /&gt;
* tagUsage&lt;br /&gt;
* tagsDecl&lt;br /&gt;
* taxonomy&lt;br /&gt;
 tech {display:inline; font-style: italic;}&lt;br /&gt;
* teiCorpus&lt;br /&gt;
* teiHeader&lt;br /&gt;
 term {display:inline;}&lt;br /&gt;
* terrain&lt;br /&gt;
* text&lt;br /&gt;
* textClass&lt;br /&gt;
* textDesc&lt;br /&gt;
* textLang&lt;br /&gt;
* then&lt;br /&gt;
* time&lt;br /&gt;
* timeline&lt;br /&gt;
* title&lt;br /&gt;
* titlePage&lt;br /&gt;
* titlePart&lt;br /&gt;
* titleStmt&lt;br /&gt;
* tns&lt;br /&gt;
* trailer&lt;br /&gt;
* trait&lt;br /&gt;
* tree&lt;br /&gt;
* triangle&lt;br /&gt;
* typeDesc&lt;br /&gt;
* typeNote&lt;br /&gt;
&lt;br /&gt;
==u==&lt;br /&gt;
&lt;br /&gt;
* u (speech module: XSL has not yet covered)&lt;br /&gt;
 unclear {display:inline;}&lt;br /&gt;
* unicodeName&lt;br /&gt;
* usg&lt;br /&gt;
&lt;br /&gt;
==v==&lt;br /&gt;
&lt;br /&gt;
* vAlt&lt;br /&gt;
* vColl&lt;br /&gt;
* vDefault&lt;br /&gt;
* vLabel&lt;br /&gt;
* vMerge&lt;br /&gt;
* vNot&lt;br /&gt;
* vRange&lt;br /&gt;
* val&lt;br /&gt;
* valDesc&lt;br /&gt;
* valItem&lt;br /&gt;
* valList&lt;br /&gt;
* value&lt;br /&gt;
* variantEncoding&lt;br /&gt;
 view {display:inline; font-style: italic;}&lt;br /&gt;
* vocal (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==w==&lt;br /&gt;
&lt;br /&gt;
* w&lt;br /&gt;
* watermark&lt;br /&gt;
* when&lt;br /&gt;
* width&lt;br /&gt;
* wit&lt;br /&gt;
* witDetail&lt;br /&gt;
* witEnd&lt;br /&gt;
* witStart&lt;br /&gt;
* witness&lt;br /&gt;
* writing (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==x==&lt;br /&gt;
&lt;br /&gt;
* xr&lt;br /&gt;
&lt;br /&gt;
==y==&lt;br /&gt;
&lt;br /&gt;
(none)&lt;br /&gt;
&lt;br /&gt;
==z==&lt;br /&gt;
z&lt;br /&gt;
&lt;br /&gt;
* zone&lt;br /&gt;
&lt;br /&gt;
==References used==&lt;br /&gt;
* http://math.ut.ee/~kaarel/NLP/TEI/visualization/ (on rationales)&lt;br /&gt;
&lt;br /&gt;
[[Category:CSS]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7784</id>
		<title>Comprehensive CSS Stylesheet</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7784"/>
		<updated>2010-06-16T03:38:51Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: /* c */ +note on additional rules&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following is an attempt to gradually build CSS for each TEI element, paralleling the default TEI stylesheets (while also potentially serving as a kind of discussion center for how the stylesheets ought to operate (see [[Formatting TEI documents]] on how there is a need for this despite TEI being agnostic as to output formatting), at least for issues pertaining solely to formatting as opposed to semantics), by indicating here necessary deviations from the XHTML stylesheets (due to CSS constraints) or potentially desirable alternatives, etc.).&lt;br /&gt;
&lt;br /&gt;
Advantages of CSS over XSL might include:&lt;br /&gt;
# Simpler for maintenance/alteration (though CSS can still be combined with simpler XSL as needed)&lt;br /&gt;
# Downloading (and parsing?) is faster&lt;br /&gt;
# Wider browser support (and for browser caching?)&lt;br /&gt;
# Allows DOM and other manipulation directly on semantically-named TEI elements (though admittedly, use of frameworks like jQuery may make traversal of X/HTML as easy or easier)&lt;br /&gt;
# TEI could potentially be used as is in HTML (though empty self-closing elements will not be treated properly unless changed to &amp;lt;elem&amp;gt;&amp;lt;/elem&amp;gt; form and namespaces will not be present) in addition to true XHTML.&lt;br /&gt;
&lt;br /&gt;
Disadvantages:&lt;br /&gt;
# Does not allow for certain kinds of transformations (though again, CSS can be combined with a simple XSL stylesheet which preserves TEI except in cases where needed)&lt;br /&gt;
# Is cumbersome for certain variable structures (e.g., for values varying by integer but not including the integer (e.g., space.extent =&amp;gt; number of spaces) a separate rule must be created for each possible attribute value)&lt;br /&gt;
# (Another disadvantage of CSS in general is being unable to create certain kinds of output such as form controls, but in the case of TEI, we hardly need this.)&lt;br /&gt;
&lt;br /&gt;
Per CSS Namespaces, one can use either&lt;br /&gt;
 @namespace &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 @namespace tei &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
...but we will use the former since we will presume the stylesheet will be primarily (if not exclusively) for TEI.&lt;br /&gt;
&lt;br /&gt;
We will not be able to make equivalents for XSLT templates like rendToClass (e.g., ab) or applyRend (emph), applyRendition (emph) since we cannot (nor do we need to) add an id or class (though @rend or @rendition would be useful to utilize, there is no &amp;quot;eval()&amp;quot;-like code in CSS; however, we could test against predefined values like &amp;quot;bold&amp;quot; (maybe as a global * or at least the elements using these in the stylesheets (emph, hi, ...))).&lt;br /&gt;
&lt;br /&gt;
All fields below should be complete for an element, or otherwise noted that it is incomplete, so that it can otherwise be assumed that the CSS has been completely applied as far as possible (besides rend/rendition which may later be done globally for all elements, as these are indeed globals).&lt;br /&gt;
&lt;br /&gt;
==a==&lt;br /&gt;
 ab {display:block;}&lt;br /&gt;
* abbr&lt;br /&gt;
* accMat&lt;br /&gt;
* acquisition&lt;br /&gt;
* activity&lt;br /&gt;
 actor {display:inline; font-style: italic;}&lt;br /&gt;
* add&lt;br /&gt;
* addName&lt;br /&gt;
* addSpan&lt;br /&gt;
* additional&lt;br /&gt;
* additions&lt;br /&gt;
 addrLine {display:block;}&lt;br /&gt;
 address {display:block; /* font-style:italic; If wish to appear as HTML addresses are rendered by default, at least in Firefox */}&lt;br /&gt;
* adminInfo&lt;br /&gt;
* affiliation&lt;br /&gt;
* age&lt;br /&gt;
* alt&lt;br /&gt;
* altGrp&lt;br /&gt;
* altIdent&lt;br /&gt;
* altIdentifier&lt;br /&gt;
* am&lt;br /&gt;
* analytic&lt;br /&gt;
* anchor&lt;br /&gt;
* app&lt;br /&gt;
* appInfo&lt;br /&gt;
* application&lt;br /&gt;
* arc&lt;br /&gt;
* argument&lt;br /&gt;
 att {display:inline; font-weight:bold;} att:before {content:&amp;quot;@&amp;quot;}&lt;br /&gt;
* attDef&lt;br /&gt;
* attList&lt;br /&gt;
* attRef&lt;br /&gt;
* author&lt;br /&gt;
* authority&lt;br /&gt;
* availability&lt;br /&gt;
&lt;br /&gt;
==b==&lt;br /&gt;
&lt;br /&gt;
* back&lt;br /&gt;
* bibl&lt;br /&gt;
* biblFull&lt;br /&gt;
* biblScope&lt;br /&gt;
* biblStruct&lt;br /&gt;
* bicond&lt;br /&gt;
* binary&lt;br /&gt;
* binaryObject&lt;br /&gt;
* binding&lt;br /&gt;
* bindingDesc&lt;br /&gt;
* birth&lt;br /&gt;
* bloc&lt;br /&gt;
* body&lt;br /&gt;
* broadcast&lt;br /&gt;
 byline {display:block;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==c==&lt;br /&gt;
&lt;br /&gt;
* c&lt;br /&gt;
* cRefPattern&lt;br /&gt;
 caesura:before {display:inline; content:&amp;quot;\a0\a0\a0\a0&amp;quot;; /* could be :after too */}&lt;br /&gt;
 camera {display:inline; font-style: italic;}&lt;br /&gt;
 caption {display:inline; font-style: italic;}&lt;br /&gt;
* case&lt;br /&gt;
* castGroup&lt;br /&gt;
* castItem&lt;br /&gt;
* castList&lt;br /&gt;
* catDesc&lt;br /&gt;
 catRef {} /* Note: has additional rules: */&lt;br /&gt;
 catRef + catRef:before {'\A'} /* Add line break if preceded by another catRef */&lt;br /&gt;
 catRef:after {content:attr(scheme); display:inline; font-style:italic;} /* Add scheme in italics */&lt;br /&gt;
 /* &lt;br /&gt;
 Commenting out as XPath not currently supported in CSS as needed by third 'after'&lt;br /&gt;
 catRef:after(2) {content:':'}*//* Requires CSS3 to add such additional 'after' content; See http://www.w3.org/TR/css3-content/#nesting or http://www.w3.org/TR/css3-content/#inserting0 */&lt;br /&gt;
 /* &lt;br /&gt;
 catRef:after(3) {content: &amp;lt;not possible to reference target's catDesc unless XPath gets added to CSS&amp;gt;} */&lt;br /&gt;
* catchwords&lt;br /&gt;
* category&lt;br /&gt;
* cb&lt;br /&gt;
* cell&lt;br /&gt;
* certainty&lt;br /&gt;
* change&lt;br /&gt;
* channel&lt;br /&gt;
* char&lt;br /&gt;
* charDecl&lt;br /&gt;
* charName&lt;br /&gt;
* charProp&lt;br /&gt;
* choice&lt;br /&gt;
* cit&lt;br /&gt;
* cl&lt;br /&gt;
* classCode (XSL has not yet covered (from header module))&lt;br /&gt;
* classDecl&lt;br /&gt;
* classSpec&lt;br /&gt;
* classes&lt;br /&gt;
* climate&lt;br /&gt;
* closer&lt;br /&gt;
 code {display:inline; font-family:monospace;}&lt;br /&gt;
* collation&lt;br /&gt;
* collection&lt;br /&gt;
* colloc&lt;br /&gt;
* colophon&lt;br /&gt;
* cond&lt;br /&gt;
* condition&lt;br /&gt;
* constitution&lt;br /&gt;
* constraint&lt;br /&gt;
* constraintSpec&lt;br /&gt;
* content&lt;br /&gt;
* corr&lt;br /&gt;
* correction&lt;br /&gt;
* country&lt;br /&gt;
* creation&lt;br /&gt;
* custEvent&lt;br /&gt;
* custodialHist&lt;br /&gt;
&lt;br /&gt;
==d==&lt;br /&gt;
&lt;br /&gt;
* damage&lt;br /&gt;
* damageSpan&lt;br /&gt;
* datatype&lt;br /&gt;
* date&lt;br /&gt;
* dateline&lt;br /&gt;
* death&lt;br /&gt;
* decoDesc&lt;br /&gt;
* decoNote&lt;br /&gt;
* def&lt;br /&gt;
* default&lt;br /&gt;
* defaultVal&lt;br /&gt;
 del {display:inline; text-decoration: line-through;}&lt;br /&gt;
* delSpan&lt;br /&gt;
* depth&lt;br /&gt;
* derivation&lt;br /&gt;
* desc&lt;br /&gt;
* dictScrap&lt;br /&gt;
* dim&lt;br /&gt;
* dimensions&lt;br /&gt;
* distinct&lt;br /&gt;
* distributor&lt;br /&gt;
* district&lt;br /&gt;
* div&lt;br /&gt;
* div1&lt;br /&gt;
* div2&lt;br /&gt;
* div3&lt;br /&gt;
* div4&lt;br /&gt;
* div5&lt;br /&gt;
* div6&lt;br /&gt;
* div7&lt;br /&gt;
* divGen&lt;br /&gt;
* docAuthor&lt;br /&gt;
* docDate&lt;br /&gt;
* docEdition&lt;br /&gt;
* docImprint&lt;br /&gt;
* docTitle&lt;br /&gt;
* domain&lt;br /&gt;
&lt;br /&gt;
==e==&lt;br /&gt;
&lt;br /&gt;
* eLeaf&lt;br /&gt;
* eTree&lt;br /&gt;
* edition&lt;br /&gt;
* editionStmt&lt;br /&gt;
* editor&lt;br /&gt;
* editorialDecl&lt;br /&gt;
* education&lt;br /&gt;
* eg&lt;br /&gt;
* egXML&lt;br /&gt;
* elementSpec&lt;br /&gt;
* email&lt;br /&gt;
 emph {display:inline; font-style:italic;}&lt;br /&gt;
* encodingDesc&lt;br /&gt;
* entry&lt;br /&gt;
* entryFree&lt;br /&gt;
 epigraph {display:block;}&lt;br /&gt;
* epilogue&lt;br /&gt;
* equipment&lt;br /&gt;
* equiv&lt;br /&gt;
* etym&lt;br /&gt;
* event&lt;br /&gt;
* ex&lt;br /&gt;
* exemplum&lt;br /&gt;
* expan&lt;br /&gt;
* explicit&lt;br /&gt;
* extent&lt;br /&gt;
&lt;br /&gt;
==f==&lt;br /&gt;
&lt;br /&gt;
* f&lt;br /&gt;
* fDecl&lt;br /&gt;
* fDescr&lt;br /&gt;
* fLib&lt;br /&gt;
* facsimile&lt;br /&gt;
* factuality&lt;br /&gt;
* faith&lt;br /&gt;
* figDesc&lt;br /&gt;
* figure&lt;br /&gt;
* fileDesc&lt;br /&gt;
* filiation&lt;br /&gt;
* finalRubric&lt;br /&gt;
* floatingText&lt;br /&gt;
* floruit&lt;br /&gt;
* foliation&lt;br /&gt;
 foreign {display:inline;}&lt;br /&gt;
* forename&lt;br /&gt;
* forest&lt;br /&gt;
* forestGrp&lt;br /&gt;
* form&lt;br /&gt;
* formula&lt;br /&gt;
* front&lt;br /&gt;
* fs&lt;br /&gt;
* fsConstraints&lt;br /&gt;
* fsDecl&lt;br /&gt;
* fsDescr&lt;br /&gt;
* fsdDecl&lt;br /&gt;
* fsdLink&lt;br /&gt;
* funder&lt;br /&gt;
* fvLib&lt;br /&gt;
* fw&lt;br /&gt;
&lt;br /&gt;
==g==&lt;br /&gt;
&lt;br /&gt;
* g&lt;br /&gt;
* gap&lt;br /&gt;
* gen&lt;br /&gt;
* genName&lt;br /&gt;
* geo&lt;br /&gt;
* geoDecl&lt;br /&gt;
* geogFeat&lt;br /&gt;
* geogName&lt;br /&gt;
 gi:before {display:inline;content:&amp;quot;&amp;lt;&amp;quot;}  gi:after {display:inline;content:&amp;quot;&amp;gt;&amp;quot;}&lt;br /&gt;
 gloss {display:inline;}&lt;br /&gt;
* glyph&lt;br /&gt;
* glyphName&lt;br /&gt;
* gram&lt;br /&gt;
* gramGrp&lt;br /&gt;
* graph&lt;br /&gt;
* graphic&lt;br /&gt;
* group&lt;br /&gt;
&lt;br /&gt;
==h==&lt;br /&gt;
&lt;br /&gt;
* handDesc&lt;br /&gt;
* handNote&lt;br /&gt;
* handNotes&lt;br /&gt;
* handShift&lt;br /&gt;
* head&lt;br /&gt;
* headItem&lt;br /&gt;
* headLabel&lt;br /&gt;
* height&lt;br /&gt;
* heraldry&lt;br /&gt;
 hi {display:inline; font-weight:bold;}&lt;br /&gt;
* history&lt;br /&gt;
* hom&lt;br /&gt;
* hyph&lt;br /&gt;
* hyphenation&lt;br /&gt;
&lt;br /&gt;
==i==&lt;br /&gt;
&lt;br /&gt;
* iNode&lt;br /&gt;
* iType&lt;br /&gt;
 ident[type] {display:inline; font-weight:bold;} ident:not([type]) {display:inline; } /* Just as the stylesheet allows for different types; a specific type could be styled by ident[type=&amp;quot;XXX&amp;quot;] */&lt;br /&gt;
* idno&lt;br /&gt;
* if&lt;br /&gt;
* iff&lt;br /&gt;
* imprimatur&lt;br /&gt;
* imprint&lt;br /&gt;
* incident (speech module: XSL has not yet covered)&lt;br /&gt;
* incipit&lt;br /&gt;
* index&lt;br /&gt;
* institution&lt;br /&gt;
* interaction&lt;br /&gt;
* interp&lt;br /&gt;
* interpGrp&lt;br /&gt;
* interpretation&lt;br /&gt;
* item&lt;br /&gt;
&lt;br /&gt;
==j==&lt;br /&gt;
&lt;br /&gt;
* join&lt;br /&gt;
* joinGrp&lt;br /&gt;
&lt;br /&gt;
==k==&lt;br /&gt;
&lt;br /&gt;
* keywords (XSL has not yet covered (from header module))&lt;br /&gt;
* kinesic (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==l==&lt;br /&gt;
&lt;br /&gt;
 l {display:block;}&lt;br /&gt;
 label {display:inline;}&lt;br /&gt;
* lacunaEnd&lt;br /&gt;
* lacunaStart&lt;br /&gt;
* lang&lt;br /&gt;
* langKnowledge&lt;br /&gt;
* langKnown&lt;br /&gt;
* langUsage&lt;br /&gt;
* language&lt;br /&gt;
* layout&lt;br /&gt;
* layoutDesc&lt;br /&gt;
 lb {display:block;}&lt;br /&gt;
* lbl&lt;br /&gt;
* leaf&lt;br /&gt;
* lem&lt;br /&gt;
 lg {display:block;}&lt;br /&gt;
* link&lt;br /&gt;
* linkGrp&lt;br /&gt;
* list&lt;br /&gt;
* listBibl&lt;br /&gt;
* listEvent&lt;br /&gt;
* listNym&lt;br /&gt;
* listOrg&lt;br /&gt;
* listPerson&lt;br /&gt;
* listPlace&lt;br /&gt;
* listRef&lt;br /&gt;
* listWit&lt;br /&gt;
* localName&lt;br /&gt;
* locale&lt;br /&gt;
* location&lt;br /&gt;
* locus&lt;br /&gt;
* locusGrp&lt;br /&gt;
&lt;br /&gt;
==m==&lt;br /&gt;
&lt;br /&gt;
* m&lt;br /&gt;
* macroSpec&lt;br /&gt;
* mapping&lt;br /&gt;
* material&lt;br /&gt;
* measure&lt;br /&gt;
* measureGrp&lt;br /&gt;
* meeting&lt;br /&gt;
* memberOf&lt;br /&gt;
 mentioned {display:inline;}&lt;br /&gt;
* metDecl&lt;br /&gt;
* metSym&lt;br /&gt;
* milestone&lt;br /&gt;
* moduleRef&lt;br /&gt;
* moduleSpec&lt;br /&gt;
* monogr&lt;br /&gt;
* mood&lt;br /&gt;
* move&lt;br /&gt;
* msContents&lt;br /&gt;
* msDesc&lt;br /&gt;
* msIdentifier&lt;br /&gt;
* msItem&lt;br /&gt;
* msItemStruct&lt;br /&gt;
* msName&lt;br /&gt;
* msPart&lt;br /&gt;
* musicNotation&lt;br /&gt;
&lt;br /&gt;
==n==&lt;br /&gt;
&lt;br /&gt;
* name&lt;br /&gt;
* nameLink&lt;br /&gt;
* namespace&lt;br /&gt;
* nationality&lt;br /&gt;
* node&lt;br /&gt;
* normalization&lt;br /&gt;
* note&lt;br /&gt;
* notesStmt&lt;br /&gt;
* num&lt;br /&gt;
* number&lt;br /&gt;
* numeric&lt;br /&gt;
* nym&lt;br /&gt;
&lt;br /&gt;
==o==&lt;br /&gt;
&lt;br /&gt;
* oRef&lt;br /&gt;
* oVar&lt;br /&gt;
* objectDesc&lt;br /&gt;
* occupation&lt;br /&gt;
* offset&lt;br /&gt;
* opener&lt;br /&gt;
* org&lt;br /&gt;
* orgName&lt;br /&gt;
* orig&lt;br /&gt;
* origDate&lt;br /&gt;
* origPlace&lt;br /&gt;
* origin&lt;br /&gt;
* orth&lt;br /&gt;
&lt;br /&gt;
==p==&lt;br /&gt;
&lt;br /&gt;
* p&lt;br /&gt;
* pRef&lt;br /&gt;
* pVar&lt;br /&gt;
* particDesc&lt;br /&gt;
* pause (speech module: XSL has not yet covered)&lt;br /&gt;
* pb&lt;br /&gt;
* pc&lt;br /&gt;
* per&lt;br /&gt;
* performance&lt;br /&gt;
* persName&lt;br /&gt;
* person&lt;br /&gt;
* personGrp&lt;br /&gt;
* phr&lt;br /&gt;
* physDesc&lt;br /&gt;
* place&lt;br /&gt;
* placeName&lt;br /&gt;
* population&lt;br /&gt;
* pos&lt;br /&gt;
* postBox&lt;br /&gt;
* postCode&lt;br /&gt;
* postscript&lt;br /&gt;
* precision&lt;br /&gt;
* preparedness&lt;br /&gt;
* principal&lt;br /&gt;
* profileDesc&lt;br /&gt;
* projectDesc&lt;br /&gt;
* prologue&lt;br /&gt;
* pron&lt;br /&gt;
* provenance&lt;br /&gt;
* ptr&lt;br /&gt;
* pubPlace&lt;br /&gt;
* publicationStmt&lt;br /&gt;
* publisher&lt;br /&gt;
* purpose&lt;br /&gt;
&lt;br /&gt;
==q==&lt;br /&gt;
&lt;br /&gt;
* q&lt;br /&gt;
* quotation&lt;br /&gt;
* quote&lt;br /&gt;
&lt;br /&gt;
==r==&lt;br /&gt;
&lt;br /&gt;
* rdg&lt;br /&gt;
* rdgGrp&lt;br /&gt;
* re&lt;br /&gt;
* recordHist&lt;br /&gt;
* recording&lt;br /&gt;
* recordingStmt&lt;br /&gt;
* ref&lt;br /&gt;
* refState&lt;br /&gt;
* refsDecl&lt;br /&gt;
* reg&lt;br /&gt;
* region&lt;br /&gt;
* relatedItem&lt;br /&gt;
* relation&lt;br /&gt;
* relationGrp&lt;br /&gt;
* remarks&lt;br /&gt;
* rendition&lt;br /&gt;
* repository&lt;br /&gt;
* residence&lt;br /&gt;
 resp:after {content:&amp;quot; &amp;quot;}&lt;br /&gt;
 respStmt {display:inline;}&lt;br /&gt;
* respons&lt;br /&gt;
* restore&lt;br /&gt;
* revisionDesc&lt;br /&gt;
* rhyme&lt;br /&gt;
 role {display:inline; font-style: italic;}&lt;br /&gt;
 roleDesc { margin-left: 40px; margin-right: 40px; } roleDesc &amp;gt; *:not(p) {display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* roleName&lt;br /&gt;
* root&lt;br /&gt;
* row&lt;br /&gt;
* rs&lt;br /&gt;
* rubric&lt;br /&gt;
&lt;br /&gt;
==s==&lt;br /&gt;
&lt;br /&gt;
* s&lt;br /&gt;
* said&lt;br /&gt;
 salute {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* samplingDecl&lt;br /&gt;
* schemaSpec&lt;br /&gt;
* scriptStmt&lt;br /&gt;
* seal&lt;br /&gt;
* sealDesc&lt;br /&gt;
* secFol&lt;br /&gt;
 seg {display:inline;}&lt;br /&gt;
* segmentation&lt;br /&gt;
* sense&lt;br /&gt;
* series&lt;br /&gt;
* seriesStmt&lt;br /&gt;
 set {display:inline; font-style: italic;}&lt;br /&gt;
* setting&lt;br /&gt;
* settingDesc&lt;br /&gt;
* settlement&lt;br /&gt;
* se x (separated for spam filter)&lt;br /&gt;
* shift (speech module: XSL has not yet covered)&lt;br /&gt;
 sic {display:inline;} sic:after {content: &amp;quot; (sic)&amp;quot;}&lt;br /&gt;
* signatures&lt;br /&gt;
 signed {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* soCalled&lt;br /&gt;
* socecStatus&lt;br /&gt;
 sound {display:inline; font-style: italic;}&lt;br /&gt;
* source&lt;br /&gt;
* sourceDesc&lt;br /&gt;
* sp&lt;br /&gt;
* space&lt;br /&gt;
* span&lt;br /&gt;
* spanGrp&lt;br /&gt;
* speaker&lt;br /&gt;
* specDesc&lt;br /&gt;
* specGrp&lt;br /&gt;
* specGrpRef&lt;br /&gt;
* specList&lt;br /&gt;
* sponsor&lt;br /&gt;
 stage {font-style: italic; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* stamp&lt;br /&gt;
* state&lt;br /&gt;
* stdVals&lt;br /&gt;
* street&lt;br /&gt;
* stress&lt;br /&gt;
* string&lt;br /&gt;
* stringVal&lt;br /&gt;
* subc&lt;br /&gt;
* subst&lt;br /&gt;
* summary&lt;br /&gt;
* superEntry&lt;br /&gt;
* supplied&lt;br /&gt;
* support&lt;br /&gt;
* supportDesc&lt;br /&gt;
* surface&lt;br /&gt;
* surname&lt;br /&gt;
* surplus&lt;br /&gt;
* surrogates&lt;br /&gt;
* syll&lt;br /&gt;
* symbol&lt;br /&gt;
&lt;br /&gt;
==t==&lt;br /&gt;
&lt;br /&gt;
* TEI&lt;br /&gt;
* table&lt;br /&gt;
* tag&lt;br /&gt;
* tagUsage&lt;br /&gt;
* tagsDecl&lt;br /&gt;
* taxonomy&lt;br /&gt;
 tech {display:inline; font-style: italic;}&lt;br /&gt;
* teiCorpus&lt;br /&gt;
* teiHeader&lt;br /&gt;
 term {display:inline;}&lt;br /&gt;
* terrain&lt;br /&gt;
* text&lt;br /&gt;
* textClass&lt;br /&gt;
* textDesc&lt;br /&gt;
* textLang&lt;br /&gt;
* then&lt;br /&gt;
* time&lt;br /&gt;
* timeline&lt;br /&gt;
* title&lt;br /&gt;
* titlePage&lt;br /&gt;
* titlePart&lt;br /&gt;
* titleStmt&lt;br /&gt;
* tns&lt;br /&gt;
* trailer&lt;br /&gt;
* trait&lt;br /&gt;
* tree&lt;br /&gt;
* triangle&lt;br /&gt;
* typeDesc&lt;br /&gt;
* typeNote&lt;br /&gt;
&lt;br /&gt;
==u==&lt;br /&gt;
&lt;br /&gt;
* u (speech module: XSL has not yet covered)&lt;br /&gt;
 unclear {display:inline;}&lt;br /&gt;
* unicodeName&lt;br /&gt;
* usg&lt;br /&gt;
&lt;br /&gt;
==v==&lt;br /&gt;
&lt;br /&gt;
* vAlt&lt;br /&gt;
* vColl&lt;br /&gt;
* vDefault&lt;br /&gt;
* vLabel&lt;br /&gt;
* vMerge&lt;br /&gt;
* vNot&lt;br /&gt;
* vRange&lt;br /&gt;
* val&lt;br /&gt;
* valDesc&lt;br /&gt;
* valItem&lt;br /&gt;
* valList&lt;br /&gt;
* value&lt;br /&gt;
* variantEncoding&lt;br /&gt;
 view {display:inline; font-style: italic;}&lt;br /&gt;
* vocal (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==w==&lt;br /&gt;
&lt;br /&gt;
* w&lt;br /&gt;
* watermark&lt;br /&gt;
* when&lt;br /&gt;
* width&lt;br /&gt;
* wit&lt;br /&gt;
* witDetail&lt;br /&gt;
* witEnd&lt;br /&gt;
* witStart&lt;br /&gt;
* witness&lt;br /&gt;
* writing (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==x==&lt;br /&gt;
&lt;br /&gt;
* xr&lt;br /&gt;
&lt;br /&gt;
==y==&lt;br /&gt;
&lt;br /&gt;
(none)&lt;br /&gt;
&lt;br /&gt;
==z==&lt;br /&gt;
z&lt;br /&gt;
&lt;br /&gt;
* zone&lt;br /&gt;
&lt;br /&gt;
==References used==&lt;br /&gt;
* http://math.ut.ee/~kaarel/NLP/TEI/visualization/ (on rationales)&lt;br /&gt;
&lt;br /&gt;
[[Category:CSS]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7783</id>
		<title>Comprehensive CSS Stylesheet</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7783"/>
		<updated>2010-06-16T03:36:00Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: +catRef&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following is an attempt to gradually build CSS for each TEI element, paralleling the default TEI stylesheets (while also potentially serving as a kind of discussion center for how the stylesheets ought to operate (see [[Formatting TEI documents]] on how there is a need for this despite TEI being agnostic as to output formatting), at least for issues pertaining solely to formatting as opposed to semantics), by indicating here necessary deviations from the XHTML stylesheets (due to CSS constraints) or potentially desirable alternatives, etc.).&lt;br /&gt;
&lt;br /&gt;
Advantages of CSS over XSL might include:&lt;br /&gt;
# Simpler for maintenance/alteration (though CSS can still be combined with simpler XSL as needed)&lt;br /&gt;
# Downloading (and parsing?) is faster&lt;br /&gt;
# Wider browser support (and for browser caching?)&lt;br /&gt;
# Allows DOM and other manipulation directly on semantically-named TEI elements (though admittedly, use of frameworks like jQuery may make traversal of X/HTML as easy or easier)&lt;br /&gt;
# TEI could potentially be used as is in HTML (though empty self-closing elements will not be treated properly unless changed to &amp;lt;elem&amp;gt;&amp;lt;/elem&amp;gt; form and namespaces will not be present) in addition to true XHTML.&lt;br /&gt;
&lt;br /&gt;
Disadvantages:&lt;br /&gt;
# Does not allow for certain kinds of transformations (though again, CSS can be combined with a simple XSL stylesheet which preserves TEI except in cases where needed)&lt;br /&gt;
# Is cumbersome for certain variable structures (e.g., for values varying by integer but not including the integer (e.g., space.extent =&amp;gt; number of spaces) a separate rule must be created for each possible attribute value)&lt;br /&gt;
# (Another disadvantage of CSS in general is being unable to create certain kinds of output such as form controls, but in the case of TEI, we hardly need this.)&lt;br /&gt;
&lt;br /&gt;
Per CSS Namespaces, one can use either&lt;br /&gt;
 @namespace &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 @namespace tei &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
...but we will use the former since we will presume the stylesheet will be primarily (if not exclusively) for TEI.&lt;br /&gt;
&lt;br /&gt;
We will not be able to make equivalents for XSLT templates like rendToClass (e.g., ab) or applyRend (emph), applyRendition (emph) since we cannot (nor do we need to) add an id or class (though @rend or @rendition would be useful to utilize, there is no &amp;quot;eval()&amp;quot;-like code in CSS; however, we could test against predefined values like &amp;quot;bold&amp;quot; (maybe as a global * or at least the elements using these in the stylesheets (emph, hi, ...))).&lt;br /&gt;
&lt;br /&gt;
All fields below should be complete for an element, or otherwise noted that it is incomplete, so that it can otherwise be assumed that the CSS has been completely applied as far as possible (besides rend/rendition which may later be done globally for all elements, as these are indeed globals).&lt;br /&gt;
&lt;br /&gt;
==a==&lt;br /&gt;
 ab {display:block;}&lt;br /&gt;
* abbr&lt;br /&gt;
* accMat&lt;br /&gt;
* acquisition&lt;br /&gt;
* activity&lt;br /&gt;
 actor {display:inline; font-style: italic;}&lt;br /&gt;
* add&lt;br /&gt;
* addName&lt;br /&gt;
* addSpan&lt;br /&gt;
* additional&lt;br /&gt;
* additions&lt;br /&gt;
 addrLine {display:block;}&lt;br /&gt;
 address {display:block; /* font-style:italic; If wish to appear as HTML addresses are rendered by default, at least in Firefox */}&lt;br /&gt;
* adminInfo&lt;br /&gt;
* affiliation&lt;br /&gt;
* age&lt;br /&gt;
* alt&lt;br /&gt;
* altGrp&lt;br /&gt;
* altIdent&lt;br /&gt;
* altIdentifier&lt;br /&gt;
* am&lt;br /&gt;
* analytic&lt;br /&gt;
* anchor&lt;br /&gt;
* app&lt;br /&gt;
* appInfo&lt;br /&gt;
* application&lt;br /&gt;
* arc&lt;br /&gt;
* argument&lt;br /&gt;
 att {display:inline; font-weight:bold;} att:before {content:&amp;quot;@&amp;quot;}&lt;br /&gt;
* attDef&lt;br /&gt;
* attList&lt;br /&gt;
* attRef&lt;br /&gt;
* author&lt;br /&gt;
* authority&lt;br /&gt;
* availability&lt;br /&gt;
&lt;br /&gt;
==b==&lt;br /&gt;
&lt;br /&gt;
* back&lt;br /&gt;
* bibl&lt;br /&gt;
* biblFull&lt;br /&gt;
* biblScope&lt;br /&gt;
* biblStruct&lt;br /&gt;
* bicond&lt;br /&gt;
* binary&lt;br /&gt;
* binaryObject&lt;br /&gt;
* binding&lt;br /&gt;
* bindingDesc&lt;br /&gt;
* birth&lt;br /&gt;
* bloc&lt;br /&gt;
* body&lt;br /&gt;
* broadcast&lt;br /&gt;
 byline {display:block;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==c==&lt;br /&gt;
&lt;br /&gt;
* c&lt;br /&gt;
* cRefPattern&lt;br /&gt;
 caesura:before {display:inline; content:&amp;quot;\a0\a0\a0\a0&amp;quot;; /* could be :after too */}&lt;br /&gt;
 camera {display:inline; font-style: italic;}&lt;br /&gt;
 caption {display:inline; font-style: italic;}&lt;br /&gt;
* case&lt;br /&gt;
* castGroup&lt;br /&gt;
* castItem&lt;br /&gt;
* castList&lt;br /&gt;
* catDesc&lt;br /&gt;
 catRef {}&lt;br /&gt;
 catRef + catRef:before {'\A'} /* Add line break if preceded by another catRef */&lt;br /&gt;
 catRef:after {content:attr(scheme); display:inline; font-style:italic;} /* Add scheme in italics */&lt;br /&gt;
 /* &lt;br /&gt;
 Commenting out as XPath not currently supported in CSS as needed by third 'after'&lt;br /&gt;
 catRef:after(2) {content:':'}*//* Requires CSS3 to add such additional 'after' content; See http://www.w3.org/TR/css3-content/#nesting or http://www.w3.org/TR/css3-content/#inserting0 */&lt;br /&gt;
 /* &lt;br /&gt;
 catRef:after(3) {content: &amp;lt;not possible to reference target's catDesc unless XPath gets added to CSS&amp;gt;} */&lt;br /&gt;
* catchwords&lt;br /&gt;
* category&lt;br /&gt;
* cb&lt;br /&gt;
* cell&lt;br /&gt;
* certainty&lt;br /&gt;
* change&lt;br /&gt;
* channel&lt;br /&gt;
* char&lt;br /&gt;
* charDecl&lt;br /&gt;
* charName&lt;br /&gt;
* charProp&lt;br /&gt;
* choice&lt;br /&gt;
* cit&lt;br /&gt;
* cl&lt;br /&gt;
* classCode (XSL has not yet covered (from header module))&lt;br /&gt;
* classDecl&lt;br /&gt;
* classSpec&lt;br /&gt;
* classes&lt;br /&gt;
* climate&lt;br /&gt;
* closer&lt;br /&gt;
 code {display:inline; font-family:monospace;}&lt;br /&gt;
* collation&lt;br /&gt;
* collection&lt;br /&gt;
* colloc&lt;br /&gt;
* colophon&lt;br /&gt;
* cond&lt;br /&gt;
* condition&lt;br /&gt;
* constitution&lt;br /&gt;
* constraint&lt;br /&gt;
* constraintSpec&lt;br /&gt;
* content&lt;br /&gt;
* corr&lt;br /&gt;
* correction&lt;br /&gt;
* country&lt;br /&gt;
* creation&lt;br /&gt;
* custEvent&lt;br /&gt;
* custodialHist&lt;br /&gt;
&lt;br /&gt;
==d==&lt;br /&gt;
&lt;br /&gt;
* damage&lt;br /&gt;
* damageSpan&lt;br /&gt;
* datatype&lt;br /&gt;
* date&lt;br /&gt;
* dateline&lt;br /&gt;
* death&lt;br /&gt;
* decoDesc&lt;br /&gt;
* decoNote&lt;br /&gt;
* def&lt;br /&gt;
* default&lt;br /&gt;
* defaultVal&lt;br /&gt;
 del {display:inline; text-decoration: line-through;}&lt;br /&gt;
* delSpan&lt;br /&gt;
* depth&lt;br /&gt;
* derivation&lt;br /&gt;
* desc&lt;br /&gt;
* dictScrap&lt;br /&gt;
* dim&lt;br /&gt;
* dimensions&lt;br /&gt;
* distinct&lt;br /&gt;
* distributor&lt;br /&gt;
* district&lt;br /&gt;
* div&lt;br /&gt;
* div1&lt;br /&gt;
* div2&lt;br /&gt;
* div3&lt;br /&gt;
* div4&lt;br /&gt;
* div5&lt;br /&gt;
* div6&lt;br /&gt;
* div7&lt;br /&gt;
* divGen&lt;br /&gt;
* docAuthor&lt;br /&gt;
* docDate&lt;br /&gt;
* docEdition&lt;br /&gt;
* docImprint&lt;br /&gt;
* docTitle&lt;br /&gt;
* domain&lt;br /&gt;
&lt;br /&gt;
==e==&lt;br /&gt;
&lt;br /&gt;
* eLeaf&lt;br /&gt;
* eTree&lt;br /&gt;
* edition&lt;br /&gt;
* editionStmt&lt;br /&gt;
* editor&lt;br /&gt;
* editorialDecl&lt;br /&gt;
* education&lt;br /&gt;
* eg&lt;br /&gt;
* egXML&lt;br /&gt;
* elementSpec&lt;br /&gt;
* email&lt;br /&gt;
 emph {display:inline; font-style:italic;}&lt;br /&gt;
* encodingDesc&lt;br /&gt;
* entry&lt;br /&gt;
* entryFree&lt;br /&gt;
 epigraph {display:block;}&lt;br /&gt;
* epilogue&lt;br /&gt;
* equipment&lt;br /&gt;
* equiv&lt;br /&gt;
* etym&lt;br /&gt;
* event&lt;br /&gt;
* ex&lt;br /&gt;
* exemplum&lt;br /&gt;
* expan&lt;br /&gt;
* explicit&lt;br /&gt;
* extent&lt;br /&gt;
&lt;br /&gt;
==f==&lt;br /&gt;
&lt;br /&gt;
* f&lt;br /&gt;
* fDecl&lt;br /&gt;
* fDescr&lt;br /&gt;
* fLib&lt;br /&gt;
* facsimile&lt;br /&gt;
* factuality&lt;br /&gt;
* faith&lt;br /&gt;
* figDesc&lt;br /&gt;
* figure&lt;br /&gt;
* fileDesc&lt;br /&gt;
* filiation&lt;br /&gt;
* finalRubric&lt;br /&gt;
* floatingText&lt;br /&gt;
* floruit&lt;br /&gt;
* foliation&lt;br /&gt;
 foreign {display:inline;}&lt;br /&gt;
* forename&lt;br /&gt;
* forest&lt;br /&gt;
* forestGrp&lt;br /&gt;
* form&lt;br /&gt;
* formula&lt;br /&gt;
* front&lt;br /&gt;
* fs&lt;br /&gt;
* fsConstraints&lt;br /&gt;
* fsDecl&lt;br /&gt;
* fsDescr&lt;br /&gt;
* fsdDecl&lt;br /&gt;
* fsdLink&lt;br /&gt;
* funder&lt;br /&gt;
* fvLib&lt;br /&gt;
* fw&lt;br /&gt;
&lt;br /&gt;
==g==&lt;br /&gt;
&lt;br /&gt;
* g&lt;br /&gt;
* gap&lt;br /&gt;
* gen&lt;br /&gt;
* genName&lt;br /&gt;
* geo&lt;br /&gt;
* geoDecl&lt;br /&gt;
* geogFeat&lt;br /&gt;
* geogName&lt;br /&gt;
 gi:before {display:inline;content:&amp;quot;&amp;lt;&amp;quot;}  gi:after {display:inline;content:&amp;quot;&amp;gt;&amp;quot;}&lt;br /&gt;
 gloss {display:inline;}&lt;br /&gt;
* glyph&lt;br /&gt;
* glyphName&lt;br /&gt;
* gram&lt;br /&gt;
* gramGrp&lt;br /&gt;
* graph&lt;br /&gt;
* graphic&lt;br /&gt;
* group&lt;br /&gt;
&lt;br /&gt;
==h==&lt;br /&gt;
&lt;br /&gt;
* handDesc&lt;br /&gt;
* handNote&lt;br /&gt;
* handNotes&lt;br /&gt;
* handShift&lt;br /&gt;
* head&lt;br /&gt;
* headItem&lt;br /&gt;
* headLabel&lt;br /&gt;
* height&lt;br /&gt;
* heraldry&lt;br /&gt;
 hi {display:inline; font-weight:bold;}&lt;br /&gt;
* history&lt;br /&gt;
* hom&lt;br /&gt;
* hyph&lt;br /&gt;
* hyphenation&lt;br /&gt;
&lt;br /&gt;
==i==&lt;br /&gt;
&lt;br /&gt;
* iNode&lt;br /&gt;
* iType&lt;br /&gt;
 ident[type] {display:inline; font-weight:bold;} ident:not([type]) {display:inline; } /* Just as the stylesheet allows for different types; a specific type could be styled by ident[type=&amp;quot;XXX&amp;quot;] */&lt;br /&gt;
* idno&lt;br /&gt;
* if&lt;br /&gt;
* iff&lt;br /&gt;
* imprimatur&lt;br /&gt;
* imprint&lt;br /&gt;
* incident (speech module: XSL has not yet covered)&lt;br /&gt;
* incipit&lt;br /&gt;
* index&lt;br /&gt;
* institution&lt;br /&gt;
* interaction&lt;br /&gt;
* interp&lt;br /&gt;
* interpGrp&lt;br /&gt;
* interpretation&lt;br /&gt;
* item&lt;br /&gt;
&lt;br /&gt;
==j==&lt;br /&gt;
&lt;br /&gt;
* join&lt;br /&gt;
* joinGrp&lt;br /&gt;
&lt;br /&gt;
==k==&lt;br /&gt;
&lt;br /&gt;
* keywords (XSL has not yet covered (from header module))&lt;br /&gt;
* kinesic (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==l==&lt;br /&gt;
&lt;br /&gt;
 l {display:block;}&lt;br /&gt;
 label {display:inline;}&lt;br /&gt;
* lacunaEnd&lt;br /&gt;
* lacunaStart&lt;br /&gt;
* lang&lt;br /&gt;
* langKnowledge&lt;br /&gt;
* langKnown&lt;br /&gt;
* langUsage&lt;br /&gt;
* language&lt;br /&gt;
* layout&lt;br /&gt;
* layoutDesc&lt;br /&gt;
 lb {display:block;}&lt;br /&gt;
* lbl&lt;br /&gt;
* leaf&lt;br /&gt;
* lem&lt;br /&gt;
 lg {display:block;}&lt;br /&gt;
* link&lt;br /&gt;
* linkGrp&lt;br /&gt;
* list&lt;br /&gt;
* listBibl&lt;br /&gt;
* listEvent&lt;br /&gt;
* listNym&lt;br /&gt;
* listOrg&lt;br /&gt;
* listPerson&lt;br /&gt;
* listPlace&lt;br /&gt;
* listRef&lt;br /&gt;
* listWit&lt;br /&gt;
* localName&lt;br /&gt;
* locale&lt;br /&gt;
* location&lt;br /&gt;
* locus&lt;br /&gt;
* locusGrp&lt;br /&gt;
&lt;br /&gt;
==m==&lt;br /&gt;
&lt;br /&gt;
* m&lt;br /&gt;
* macroSpec&lt;br /&gt;
* mapping&lt;br /&gt;
* material&lt;br /&gt;
* measure&lt;br /&gt;
* measureGrp&lt;br /&gt;
* meeting&lt;br /&gt;
* memberOf&lt;br /&gt;
 mentioned {display:inline;}&lt;br /&gt;
* metDecl&lt;br /&gt;
* metSym&lt;br /&gt;
* milestone&lt;br /&gt;
* moduleRef&lt;br /&gt;
* moduleSpec&lt;br /&gt;
* monogr&lt;br /&gt;
* mood&lt;br /&gt;
* move&lt;br /&gt;
* msContents&lt;br /&gt;
* msDesc&lt;br /&gt;
* msIdentifier&lt;br /&gt;
* msItem&lt;br /&gt;
* msItemStruct&lt;br /&gt;
* msName&lt;br /&gt;
* msPart&lt;br /&gt;
* musicNotation&lt;br /&gt;
&lt;br /&gt;
==n==&lt;br /&gt;
&lt;br /&gt;
* name&lt;br /&gt;
* nameLink&lt;br /&gt;
* namespace&lt;br /&gt;
* nationality&lt;br /&gt;
* node&lt;br /&gt;
* normalization&lt;br /&gt;
* note&lt;br /&gt;
* notesStmt&lt;br /&gt;
* num&lt;br /&gt;
* number&lt;br /&gt;
* numeric&lt;br /&gt;
* nym&lt;br /&gt;
&lt;br /&gt;
==o==&lt;br /&gt;
&lt;br /&gt;
* oRef&lt;br /&gt;
* oVar&lt;br /&gt;
* objectDesc&lt;br /&gt;
* occupation&lt;br /&gt;
* offset&lt;br /&gt;
* opener&lt;br /&gt;
* org&lt;br /&gt;
* orgName&lt;br /&gt;
* orig&lt;br /&gt;
* origDate&lt;br /&gt;
* origPlace&lt;br /&gt;
* origin&lt;br /&gt;
* orth&lt;br /&gt;
&lt;br /&gt;
==p==&lt;br /&gt;
&lt;br /&gt;
* p&lt;br /&gt;
* pRef&lt;br /&gt;
* pVar&lt;br /&gt;
* particDesc&lt;br /&gt;
* pause (speech module: XSL has not yet covered)&lt;br /&gt;
* pb&lt;br /&gt;
* pc&lt;br /&gt;
* per&lt;br /&gt;
* performance&lt;br /&gt;
* persName&lt;br /&gt;
* person&lt;br /&gt;
* personGrp&lt;br /&gt;
* phr&lt;br /&gt;
* physDesc&lt;br /&gt;
* place&lt;br /&gt;
* placeName&lt;br /&gt;
* population&lt;br /&gt;
* pos&lt;br /&gt;
* postBox&lt;br /&gt;
* postCode&lt;br /&gt;
* postscript&lt;br /&gt;
* precision&lt;br /&gt;
* preparedness&lt;br /&gt;
* principal&lt;br /&gt;
* profileDesc&lt;br /&gt;
* projectDesc&lt;br /&gt;
* prologue&lt;br /&gt;
* pron&lt;br /&gt;
* provenance&lt;br /&gt;
* ptr&lt;br /&gt;
* pubPlace&lt;br /&gt;
* publicationStmt&lt;br /&gt;
* publisher&lt;br /&gt;
* purpose&lt;br /&gt;
&lt;br /&gt;
==q==&lt;br /&gt;
&lt;br /&gt;
* q&lt;br /&gt;
* quotation&lt;br /&gt;
* quote&lt;br /&gt;
&lt;br /&gt;
==r==&lt;br /&gt;
&lt;br /&gt;
* rdg&lt;br /&gt;
* rdgGrp&lt;br /&gt;
* re&lt;br /&gt;
* recordHist&lt;br /&gt;
* recording&lt;br /&gt;
* recordingStmt&lt;br /&gt;
* ref&lt;br /&gt;
* refState&lt;br /&gt;
* refsDecl&lt;br /&gt;
* reg&lt;br /&gt;
* region&lt;br /&gt;
* relatedItem&lt;br /&gt;
* relation&lt;br /&gt;
* relationGrp&lt;br /&gt;
* remarks&lt;br /&gt;
* rendition&lt;br /&gt;
* repository&lt;br /&gt;
* residence&lt;br /&gt;
 resp:after {content:&amp;quot; &amp;quot;}&lt;br /&gt;
 respStmt {display:inline;}&lt;br /&gt;
* respons&lt;br /&gt;
* restore&lt;br /&gt;
* revisionDesc&lt;br /&gt;
* rhyme&lt;br /&gt;
 role {display:inline; font-style: italic;}&lt;br /&gt;
 roleDesc { margin-left: 40px; margin-right: 40px; } roleDesc &amp;gt; *:not(p) {display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* roleName&lt;br /&gt;
* root&lt;br /&gt;
* row&lt;br /&gt;
* rs&lt;br /&gt;
* rubric&lt;br /&gt;
&lt;br /&gt;
==s==&lt;br /&gt;
&lt;br /&gt;
* s&lt;br /&gt;
* said&lt;br /&gt;
 salute {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* samplingDecl&lt;br /&gt;
* schemaSpec&lt;br /&gt;
* scriptStmt&lt;br /&gt;
* seal&lt;br /&gt;
* sealDesc&lt;br /&gt;
* secFol&lt;br /&gt;
 seg {display:inline;}&lt;br /&gt;
* segmentation&lt;br /&gt;
* sense&lt;br /&gt;
* series&lt;br /&gt;
* seriesStmt&lt;br /&gt;
 set {display:inline; font-style: italic;}&lt;br /&gt;
* setting&lt;br /&gt;
* settingDesc&lt;br /&gt;
* settlement&lt;br /&gt;
* se x (separated for spam filter)&lt;br /&gt;
* shift (speech module: XSL has not yet covered)&lt;br /&gt;
 sic {display:inline;} sic:after {content: &amp;quot; (sic)&amp;quot;}&lt;br /&gt;
* signatures&lt;br /&gt;
 signed {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* soCalled&lt;br /&gt;
* socecStatus&lt;br /&gt;
 sound {display:inline; font-style: italic;}&lt;br /&gt;
* source&lt;br /&gt;
* sourceDesc&lt;br /&gt;
* sp&lt;br /&gt;
* space&lt;br /&gt;
* span&lt;br /&gt;
* spanGrp&lt;br /&gt;
* speaker&lt;br /&gt;
* specDesc&lt;br /&gt;
* specGrp&lt;br /&gt;
* specGrpRef&lt;br /&gt;
* specList&lt;br /&gt;
* sponsor&lt;br /&gt;
 stage {font-style: italic; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* stamp&lt;br /&gt;
* state&lt;br /&gt;
* stdVals&lt;br /&gt;
* street&lt;br /&gt;
* stress&lt;br /&gt;
* string&lt;br /&gt;
* stringVal&lt;br /&gt;
* subc&lt;br /&gt;
* subst&lt;br /&gt;
* summary&lt;br /&gt;
* superEntry&lt;br /&gt;
* supplied&lt;br /&gt;
* support&lt;br /&gt;
* supportDesc&lt;br /&gt;
* surface&lt;br /&gt;
* surname&lt;br /&gt;
* surplus&lt;br /&gt;
* surrogates&lt;br /&gt;
* syll&lt;br /&gt;
* symbol&lt;br /&gt;
&lt;br /&gt;
==t==&lt;br /&gt;
&lt;br /&gt;
* TEI&lt;br /&gt;
* table&lt;br /&gt;
* tag&lt;br /&gt;
* tagUsage&lt;br /&gt;
* tagsDecl&lt;br /&gt;
* taxonomy&lt;br /&gt;
 tech {display:inline; font-style: italic;}&lt;br /&gt;
* teiCorpus&lt;br /&gt;
* teiHeader&lt;br /&gt;
 term {display:inline;}&lt;br /&gt;
* terrain&lt;br /&gt;
* text&lt;br /&gt;
* textClass&lt;br /&gt;
* textDesc&lt;br /&gt;
* textLang&lt;br /&gt;
* then&lt;br /&gt;
* time&lt;br /&gt;
* timeline&lt;br /&gt;
* title&lt;br /&gt;
* titlePage&lt;br /&gt;
* titlePart&lt;br /&gt;
* titleStmt&lt;br /&gt;
* tns&lt;br /&gt;
* trailer&lt;br /&gt;
* trait&lt;br /&gt;
* tree&lt;br /&gt;
* triangle&lt;br /&gt;
* typeDesc&lt;br /&gt;
* typeNote&lt;br /&gt;
&lt;br /&gt;
==u==&lt;br /&gt;
&lt;br /&gt;
* u (speech module: XSL has not yet covered)&lt;br /&gt;
 unclear {display:inline;}&lt;br /&gt;
* unicodeName&lt;br /&gt;
* usg&lt;br /&gt;
&lt;br /&gt;
==v==&lt;br /&gt;
&lt;br /&gt;
* vAlt&lt;br /&gt;
* vColl&lt;br /&gt;
* vDefault&lt;br /&gt;
* vLabel&lt;br /&gt;
* vMerge&lt;br /&gt;
* vNot&lt;br /&gt;
* vRange&lt;br /&gt;
* val&lt;br /&gt;
* valDesc&lt;br /&gt;
* valItem&lt;br /&gt;
* valList&lt;br /&gt;
* value&lt;br /&gt;
* variantEncoding&lt;br /&gt;
 view {display:inline; font-style: italic;}&lt;br /&gt;
* vocal (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==w==&lt;br /&gt;
&lt;br /&gt;
* w&lt;br /&gt;
* watermark&lt;br /&gt;
* when&lt;br /&gt;
* width&lt;br /&gt;
* wit&lt;br /&gt;
* witDetail&lt;br /&gt;
* witEnd&lt;br /&gt;
* witStart&lt;br /&gt;
* witness&lt;br /&gt;
* writing (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==x==&lt;br /&gt;
&lt;br /&gt;
* xr&lt;br /&gt;
&lt;br /&gt;
==y==&lt;br /&gt;
&lt;br /&gt;
(none)&lt;br /&gt;
&lt;br /&gt;
==z==&lt;br /&gt;
z&lt;br /&gt;
&lt;br /&gt;
* zone&lt;br /&gt;
&lt;br /&gt;
==References used==&lt;br /&gt;
* http://math.ut.ee/~kaarel/NLP/TEI/visualization/ (on rationales)&lt;br /&gt;
&lt;br /&gt;
[[Category:CSS]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7782</id>
		<title>Comprehensive CSS Stylesheet</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7782"/>
		<updated>2010-06-16T03:00:10Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: +2 not covered&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following is an attempt to gradually build CSS for each TEI element, paralleling the default TEI stylesheets (while also potentially serving as a kind of discussion center for how the stylesheets ought to operate (see [[Formatting TEI documents]] on how there is a need for this despite TEI being agnostic as to output formatting), at least for issues pertaining solely to formatting as opposed to semantics), by indicating here necessary deviations from the XHTML stylesheets (due to CSS constraints) or potentially desirable alternatives, etc.).&lt;br /&gt;
&lt;br /&gt;
Advantages of CSS over XSL might include:&lt;br /&gt;
# Simpler for maintenance/alteration (though CSS can still be combined with simpler XSL as needed)&lt;br /&gt;
# Downloading (and parsing?) is faster&lt;br /&gt;
# Wider browser support (and for browser caching?)&lt;br /&gt;
# Allows DOM and other manipulation directly on semantically-named TEI elements (though admittedly, use of frameworks like jQuery may make traversal of X/HTML as easy or easier)&lt;br /&gt;
# TEI could potentially be used as is in HTML (though empty self-closing elements will not be treated properly unless changed to &amp;lt;elem&amp;gt;&amp;lt;/elem&amp;gt; form and namespaces will not be present) in addition to true XHTML.&lt;br /&gt;
&lt;br /&gt;
Disadvantages:&lt;br /&gt;
# Does not allow for certain kinds of transformations (though again, CSS can be combined with a simple XSL stylesheet which preserves TEI except in cases where needed)&lt;br /&gt;
# Is cumbersome for certain variable structures (e.g., for values varying by integer but not including the integer (e.g., space.extent =&amp;gt; number of spaces) a separate rule must be created for each possible attribute value)&lt;br /&gt;
# (Another disadvantage of CSS in general is being unable to create certain kinds of output such as form controls, but in the case of TEI, we hardly need this.)&lt;br /&gt;
&lt;br /&gt;
Per CSS Namespaces, one can use either&lt;br /&gt;
 @namespace &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 @namespace tei &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
...but we will use the former since we will presume the stylesheet will be primarily (if not exclusively) for TEI.&lt;br /&gt;
&lt;br /&gt;
We will not be able to make equivalents for XSLT templates like rendToClass (e.g., ab) or applyRend (emph), applyRendition (emph) since we cannot (nor do we need to) add an id or class (though @rend or @rendition would be useful to utilize, there is no &amp;quot;eval()&amp;quot;-like code in CSS; however, we could test against predefined values like &amp;quot;bold&amp;quot; (maybe as a global * or at least the elements using these in the stylesheets (emph, hi, ...))).&lt;br /&gt;
&lt;br /&gt;
All fields below should be complete for an element, or otherwise noted that it is incomplete, so that it can otherwise be assumed that the CSS has been completely applied as far as possible (besides rend/rendition which may later be done globally for all elements, as these are indeed globals).&lt;br /&gt;
&lt;br /&gt;
==a==&lt;br /&gt;
 ab {display:block;}&lt;br /&gt;
* abbr&lt;br /&gt;
* accMat&lt;br /&gt;
* acquisition&lt;br /&gt;
* activity&lt;br /&gt;
 actor {display:inline; font-style: italic;}&lt;br /&gt;
* add&lt;br /&gt;
* addName&lt;br /&gt;
* addSpan&lt;br /&gt;
* additional&lt;br /&gt;
* additions&lt;br /&gt;
 addrLine {display:block;}&lt;br /&gt;
 address {display:block; /* font-style:italic; If wish to appear as HTML addresses are rendered by default, at least in Firefox */}&lt;br /&gt;
* adminInfo&lt;br /&gt;
* affiliation&lt;br /&gt;
* age&lt;br /&gt;
* alt&lt;br /&gt;
* altGrp&lt;br /&gt;
* altIdent&lt;br /&gt;
* altIdentifier&lt;br /&gt;
* am&lt;br /&gt;
* analytic&lt;br /&gt;
* anchor&lt;br /&gt;
* app&lt;br /&gt;
* appInfo&lt;br /&gt;
* application&lt;br /&gt;
* arc&lt;br /&gt;
* argument&lt;br /&gt;
 att {display:inline; font-weight:bold;} att:before {content:&amp;quot;@&amp;quot;}&lt;br /&gt;
* attDef&lt;br /&gt;
* attList&lt;br /&gt;
* attRef&lt;br /&gt;
* author&lt;br /&gt;
* authority&lt;br /&gt;
* availability&lt;br /&gt;
&lt;br /&gt;
==b==&lt;br /&gt;
&lt;br /&gt;
* back&lt;br /&gt;
* bibl&lt;br /&gt;
* biblFull&lt;br /&gt;
* biblScope&lt;br /&gt;
* biblStruct&lt;br /&gt;
* bicond&lt;br /&gt;
* binary&lt;br /&gt;
* binaryObject&lt;br /&gt;
* binding&lt;br /&gt;
* bindingDesc&lt;br /&gt;
* birth&lt;br /&gt;
* bloc&lt;br /&gt;
* body&lt;br /&gt;
* broadcast&lt;br /&gt;
 byline {display:block;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==c==&lt;br /&gt;
&lt;br /&gt;
* c&lt;br /&gt;
* cRefPattern&lt;br /&gt;
 caesura:before {display:inline; content:&amp;quot;\a0\a0\a0\a0&amp;quot;; /* could be :after too */}&lt;br /&gt;
 camera {display:inline; font-style: italic;}&lt;br /&gt;
 caption {display:inline; font-style: italic;}&lt;br /&gt;
* case&lt;br /&gt;
* castGroup&lt;br /&gt;
* castItem&lt;br /&gt;
* castList&lt;br /&gt;
* catDesc&lt;br /&gt;
* catRef&lt;br /&gt;
* catchwords&lt;br /&gt;
* category&lt;br /&gt;
* cb&lt;br /&gt;
* cell&lt;br /&gt;
* certainty&lt;br /&gt;
* change&lt;br /&gt;
* channel&lt;br /&gt;
* char&lt;br /&gt;
* charDecl&lt;br /&gt;
* charName&lt;br /&gt;
* charProp&lt;br /&gt;
* choice&lt;br /&gt;
* cit&lt;br /&gt;
* cl&lt;br /&gt;
* classCode (XSL has not yet covered (from header module))&lt;br /&gt;
* classDecl&lt;br /&gt;
* classSpec&lt;br /&gt;
* classes&lt;br /&gt;
* climate&lt;br /&gt;
* closer&lt;br /&gt;
 code {display:inline; font-family:monospace;}&lt;br /&gt;
* collation&lt;br /&gt;
* collection&lt;br /&gt;
* colloc&lt;br /&gt;
* colophon&lt;br /&gt;
* cond&lt;br /&gt;
* condition&lt;br /&gt;
* constitution&lt;br /&gt;
* constraint&lt;br /&gt;
* constraintSpec&lt;br /&gt;
* content&lt;br /&gt;
* corr&lt;br /&gt;
* correction&lt;br /&gt;
* country&lt;br /&gt;
* creation&lt;br /&gt;
* custEvent&lt;br /&gt;
* custodialHist&lt;br /&gt;
&lt;br /&gt;
==d==&lt;br /&gt;
&lt;br /&gt;
* damage&lt;br /&gt;
* damageSpan&lt;br /&gt;
* datatype&lt;br /&gt;
* date&lt;br /&gt;
* dateline&lt;br /&gt;
* death&lt;br /&gt;
* decoDesc&lt;br /&gt;
* decoNote&lt;br /&gt;
* def&lt;br /&gt;
* default&lt;br /&gt;
* defaultVal&lt;br /&gt;
 del {display:inline; text-decoration: line-through;}&lt;br /&gt;
* delSpan&lt;br /&gt;
* depth&lt;br /&gt;
* derivation&lt;br /&gt;
* desc&lt;br /&gt;
* dictScrap&lt;br /&gt;
* dim&lt;br /&gt;
* dimensions&lt;br /&gt;
* distinct&lt;br /&gt;
* distributor&lt;br /&gt;
* district&lt;br /&gt;
* div&lt;br /&gt;
* div1&lt;br /&gt;
* div2&lt;br /&gt;
* div3&lt;br /&gt;
* div4&lt;br /&gt;
* div5&lt;br /&gt;
* div6&lt;br /&gt;
* div7&lt;br /&gt;
* divGen&lt;br /&gt;
* docAuthor&lt;br /&gt;
* docDate&lt;br /&gt;
* docEdition&lt;br /&gt;
* docImprint&lt;br /&gt;
* docTitle&lt;br /&gt;
* domain&lt;br /&gt;
&lt;br /&gt;
==e==&lt;br /&gt;
&lt;br /&gt;
* eLeaf&lt;br /&gt;
* eTree&lt;br /&gt;
* edition&lt;br /&gt;
* editionStmt&lt;br /&gt;
* editor&lt;br /&gt;
* editorialDecl&lt;br /&gt;
* education&lt;br /&gt;
* eg&lt;br /&gt;
* egXML&lt;br /&gt;
* elementSpec&lt;br /&gt;
* email&lt;br /&gt;
 emph {display:inline; font-style:italic;}&lt;br /&gt;
* encodingDesc&lt;br /&gt;
* entry&lt;br /&gt;
* entryFree&lt;br /&gt;
 epigraph {display:block;}&lt;br /&gt;
* epilogue&lt;br /&gt;
* equipment&lt;br /&gt;
* equiv&lt;br /&gt;
* etym&lt;br /&gt;
* event&lt;br /&gt;
* ex&lt;br /&gt;
* exemplum&lt;br /&gt;
* expan&lt;br /&gt;
* explicit&lt;br /&gt;
* extent&lt;br /&gt;
&lt;br /&gt;
==f==&lt;br /&gt;
&lt;br /&gt;
* f&lt;br /&gt;
* fDecl&lt;br /&gt;
* fDescr&lt;br /&gt;
* fLib&lt;br /&gt;
* facsimile&lt;br /&gt;
* factuality&lt;br /&gt;
* faith&lt;br /&gt;
* figDesc&lt;br /&gt;
* figure&lt;br /&gt;
* fileDesc&lt;br /&gt;
* filiation&lt;br /&gt;
* finalRubric&lt;br /&gt;
* floatingText&lt;br /&gt;
* floruit&lt;br /&gt;
* foliation&lt;br /&gt;
 foreign {display:inline;}&lt;br /&gt;
* forename&lt;br /&gt;
* forest&lt;br /&gt;
* forestGrp&lt;br /&gt;
* form&lt;br /&gt;
* formula&lt;br /&gt;
* front&lt;br /&gt;
* fs&lt;br /&gt;
* fsConstraints&lt;br /&gt;
* fsDecl&lt;br /&gt;
* fsDescr&lt;br /&gt;
* fsdDecl&lt;br /&gt;
* fsdLink&lt;br /&gt;
* funder&lt;br /&gt;
* fvLib&lt;br /&gt;
* fw&lt;br /&gt;
&lt;br /&gt;
==g==&lt;br /&gt;
&lt;br /&gt;
* g&lt;br /&gt;
* gap&lt;br /&gt;
* gen&lt;br /&gt;
* genName&lt;br /&gt;
* geo&lt;br /&gt;
* geoDecl&lt;br /&gt;
* geogFeat&lt;br /&gt;
* geogName&lt;br /&gt;
 gi:before {display:inline;content:&amp;quot;&amp;lt;&amp;quot;}  gi:after {display:inline;content:&amp;quot;&amp;gt;&amp;quot;}&lt;br /&gt;
 gloss {display:inline;}&lt;br /&gt;
* glyph&lt;br /&gt;
* glyphName&lt;br /&gt;
* gram&lt;br /&gt;
* gramGrp&lt;br /&gt;
* graph&lt;br /&gt;
* graphic&lt;br /&gt;
* group&lt;br /&gt;
&lt;br /&gt;
==h==&lt;br /&gt;
&lt;br /&gt;
* handDesc&lt;br /&gt;
* handNote&lt;br /&gt;
* handNotes&lt;br /&gt;
* handShift&lt;br /&gt;
* head&lt;br /&gt;
* headItem&lt;br /&gt;
* headLabel&lt;br /&gt;
* height&lt;br /&gt;
* heraldry&lt;br /&gt;
 hi {display:inline; font-weight:bold;}&lt;br /&gt;
* history&lt;br /&gt;
* hom&lt;br /&gt;
* hyph&lt;br /&gt;
* hyphenation&lt;br /&gt;
&lt;br /&gt;
==i==&lt;br /&gt;
&lt;br /&gt;
* iNode&lt;br /&gt;
* iType&lt;br /&gt;
 ident[type] {display:inline; font-weight:bold;} ident:not([type]) {display:inline; } /* Just as the stylesheet allows for different types; a specific type could be styled by ident[type=&amp;quot;XXX&amp;quot;] */&lt;br /&gt;
* idno&lt;br /&gt;
* if&lt;br /&gt;
* iff&lt;br /&gt;
* imprimatur&lt;br /&gt;
* imprint&lt;br /&gt;
* incident (speech module: XSL has not yet covered)&lt;br /&gt;
* incipit&lt;br /&gt;
* index&lt;br /&gt;
* institution&lt;br /&gt;
* interaction&lt;br /&gt;
* interp&lt;br /&gt;
* interpGrp&lt;br /&gt;
* interpretation&lt;br /&gt;
* item&lt;br /&gt;
&lt;br /&gt;
==j==&lt;br /&gt;
&lt;br /&gt;
* join&lt;br /&gt;
* joinGrp&lt;br /&gt;
&lt;br /&gt;
==k==&lt;br /&gt;
&lt;br /&gt;
* keywords (XSL has not yet covered (from header module))&lt;br /&gt;
* kinesic (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==l==&lt;br /&gt;
&lt;br /&gt;
 l {display:block;}&lt;br /&gt;
 label {display:inline;}&lt;br /&gt;
* lacunaEnd&lt;br /&gt;
* lacunaStart&lt;br /&gt;
* lang&lt;br /&gt;
* langKnowledge&lt;br /&gt;
* langKnown&lt;br /&gt;
* langUsage&lt;br /&gt;
* language&lt;br /&gt;
* layout&lt;br /&gt;
* layoutDesc&lt;br /&gt;
 lb {display:block;}&lt;br /&gt;
* lbl&lt;br /&gt;
* leaf&lt;br /&gt;
* lem&lt;br /&gt;
 lg {display:block;}&lt;br /&gt;
* link&lt;br /&gt;
* linkGrp&lt;br /&gt;
* list&lt;br /&gt;
* listBibl&lt;br /&gt;
* listEvent&lt;br /&gt;
* listNym&lt;br /&gt;
* listOrg&lt;br /&gt;
* listPerson&lt;br /&gt;
* listPlace&lt;br /&gt;
* listRef&lt;br /&gt;
* listWit&lt;br /&gt;
* localName&lt;br /&gt;
* locale&lt;br /&gt;
* location&lt;br /&gt;
* locus&lt;br /&gt;
* locusGrp&lt;br /&gt;
&lt;br /&gt;
==m==&lt;br /&gt;
&lt;br /&gt;
* m&lt;br /&gt;
* macroSpec&lt;br /&gt;
* mapping&lt;br /&gt;
* material&lt;br /&gt;
* measure&lt;br /&gt;
* measureGrp&lt;br /&gt;
* meeting&lt;br /&gt;
* memberOf&lt;br /&gt;
 mentioned {display:inline;}&lt;br /&gt;
* metDecl&lt;br /&gt;
* metSym&lt;br /&gt;
* milestone&lt;br /&gt;
* moduleRef&lt;br /&gt;
* moduleSpec&lt;br /&gt;
* monogr&lt;br /&gt;
* mood&lt;br /&gt;
* move&lt;br /&gt;
* msContents&lt;br /&gt;
* msDesc&lt;br /&gt;
* msIdentifier&lt;br /&gt;
* msItem&lt;br /&gt;
* msItemStruct&lt;br /&gt;
* msName&lt;br /&gt;
* msPart&lt;br /&gt;
* musicNotation&lt;br /&gt;
&lt;br /&gt;
==n==&lt;br /&gt;
&lt;br /&gt;
* name&lt;br /&gt;
* nameLink&lt;br /&gt;
* namespace&lt;br /&gt;
* nationality&lt;br /&gt;
* node&lt;br /&gt;
* normalization&lt;br /&gt;
* note&lt;br /&gt;
* notesStmt&lt;br /&gt;
* num&lt;br /&gt;
* number&lt;br /&gt;
* numeric&lt;br /&gt;
* nym&lt;br /&gt;
&lt;br /&gt;
==o==&lt;br /&gt;
&lt;br /&gt;
* oRef&lt;br /&gt;
* oVar&lt;br /&gt;
* objectDesc&lt;br /&gt;
* occupation&lt;br /&gt;
* offset&lt;br /&gt;
* opener&lt;br /&gt;
* org&lt;br /&gt;
* orgName&lt;br /&gt;
* orig&lt;br /&gt;
* origDate&lt;br /&gt;
* origPlace&lt;br /&gt;
* origin&lt;br /&gt;
* orth&lt;br /&gt;
&lt;br /&gt;
==p==&lt;br /&gt;
&lt;br /&gt;
* p&lt;br /&gt;
* pRef&lt;br /&gt;
* pVar&lt;br /&gt;
* particDesc&lt;br /&gt;
* pause (speech module: XSL has not yet covered)&lt;br /&gt;
* pb&lt;br /&gt;
* pc&lt;br /&gt;
* per&lt;br /&gt;
* performance&lt;br /&gt;
* persName&lt;br /&gt;
* person&lt;br /&gt;
* personGrp&lt;br /&gt;
* phr&lt;br /&gt;
* physDesc&lt;br /&gt;
* place&lt;br /&gt;
* placeName&lt;br /&gt;
* population&lt;br /&gt;
* pos&lt;br /&gt;
* postBox&lt;br /&gt;
* postCode&lt;br /&gt;
* postscript&lt;br /&gt;
* precision&lt;br /&gt;
* preparedness&lt;br /&gt;
* principal&lt;br /&gt;
* profileDesc&lt;br /&gt;
* projectDesc&lt;br /&gt;
* prologue&lt;br /&gt;
* pron&lt;br /&gt;
* provenance&lt;br /&gt;
* ptr&lt;br /&gt;
* pubPlace&lt;br /&gt;
* publicationStmt&lt;br /&gt;
* publisher&lt;br /&gt;
* purpose&lt;br /&gt;
&lt;br /&gt;
==q==&lt;br /&gt;
&lt;br /&gt;
* q&lt;br /&gt;
* quotation&lt;br /&gt;
* quote&lt;br /&gt;
&lt;br /&gt;
==r==&lt;br /&gt;
&lt;br /&gt;
* rdg&lt;br /&gt;
* rdgGrp&lt;br /&gt;
* re&lt;br /&gt;
* recordHist&lt;br /&gt;
* recording&lt;br /&gt;
* recordingStmt&lt;br /&gt;
* ref&lt;br /&gt;
* refState&lt;br /&gt;
* refsDecl&lt;br /&gt;
* reg&lt;br /&gt;
* region&lt;br /&gt;
* relatedItem&lt;br /&gt;
* relation&lt;br /&gt;
* relationGrp&lt;br /&gt;
* remarks&lt;br /&gt;
* rendition&lt;br /&gt;
* repository&lt;br /&gt;
* residence&lt;br /&gt;
 resp:after {content:&amp;quot; &amp;quot;}&lt;br /&gt;
 respStmt {display:inline;}&lt;br /&gt;
* respons&lt;br /&gt;
* restore&lt;br /&gt;
* revisionDesc&lt;br /&gt;
* rhyme&lt;br /&gt;
 role {display:inline; font-style: italic;}&lt;br /&gt;
 roleDesc { margin-left: 40px; margin-right: 40px; } roleDesc &amp;gt; *:not(p) {display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* roleName&lt;br /&gt;
* root&lt;br /&gt;
* row&lt;br /&gt;
* rs&lt;br /&gt;
* rubric&lt;br /&gt;
&lt;br /&gt;
==s==&lt;br /&gt;
&lt;br /&gt;
* s&lt;br /&gt;
* said&lt;br /&gt;
 salute {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* samplingDecl&lt;br /&gt;
* schemaSpec&lt;br /&gt;
* scriptStmt&lt;br /&gt;
* seal&lt;br /&gt;
* sealDesc&lt;br /&gt;
* secFol&lt;br /&gt;
 seg {display:inline;}&lt;br /&gt;
* segmentation&lt;br /&gt;
* sense&lt;br /&gt;
* series&lt;br /&gt;
* seriesStmt&lt;br /&gt;
 set {display:inline; font-style: italic;}&lt;br /&gt;
* setting&lt;br /&gt;
* settingDesc&lt;br /&gt;
* settlement&lt;br /&gt;
* se x (separated for spam filter)&lt;br /&gt;
* shift (speech module: XSL has not yet covered)&lt;br /&gt;
 sic {display:inline;} sic:after {content: &amp;quot; (sic)&amp;quot;}&lt;br /&gt;
* signatures&lt;br /&gt;
 signed {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* soCalled&lt;br /&gt;
* socecStatus&lt;br /&gt;
 sound {display:inline; font-style: italic;}&lt;br /&gt;
* source&lt;br /&gt;
* sourceDesc&lt;br /&gt;
* sp&lt;br /&gt;
* space&lt;br /&gt;
* span&lt;br /&gt;
* spanGrp&lt;br /&gt;
* speaker&lt;br /&gt;
* specDesc&lt;br /&gt;
* specGrp&lt;br /&gt;
* specGrpRef&lt;br /&gt;
* specList&lt;br /&gt;
* sponsor&lt;br /&gt;
 stage {font-style: italic; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* stamp&lt;br /&gt;
* state&lt;br /&gt;
* stdVals&lt;br /&gt;
* street&lt;br /&gt;
* stress&lt;br /&gt;
* string&lt;br /&gt;
* stringVal&lt;br /&gt;
* subc&lt;br /&gt;
* subst&lt;br /&gt;
* summary&lt;br /&gt;
* superEntry&lt;br /&gt;
* supplied&lt;br /&gt;
* support&lt;br /&gt;
* supportDesc&lt;br /&gt;
* surface&lt;br /&gt;
* surname&lt;br /&gt;
* surplus&lt;br /&gt;
* surrogates&lt;br /&gt;
* syll&lt;br /&gt;
* symbol&lt;br /&gt;
&lt;br /&gt;
==t==&lt;br /&gt;
&lt;br /&gt;
* TEI&lt;br /&gt;
* table&lt;br /&gt;
* tag&lt;br /&gt;
* tagUsage&lt;br /&gt;
* tagsDecl&lt;br /&gt;
* taxonomy&lt;br /&gt;
 tech {display:inline; font-style: italic;}&lt;br /&gt;
* teiCorpus&lt;br /&gt;
* teiHeader&lt;br /&gt;
 term {display:inline;}&lt;br /&gt;
* terrain&lt;br /&gt;
* text&lt;br /&gt;
* textClass&lt;br /&gt;
* textDesc&lt;br /&gt;
* textLang&lt;br /&gt;
* then&lt;br /&gt;
* time&lt;br /&gt;
* timeline&lt;br /&gt;
* title&lt;br /&gt;
* titlePage&lt;br /&gt;
* titlePart&lt;br /&gt;
* titleStmt&lt;br /&gt;
* tns&lt;br /&gt;
* trailer&lt;br /&gt;
* trait&lt;br /&gt;
* tree&lt;br /&gt;
* triangle&lt;br /&gt;
* typeDesc&lt;br /&gt;
* typeNote&lt;br /&gt;
&lt;br /&gt;
==u==&lt;br /&gt;
&lt;br /&gt;
* u (speech module: XSL has not yet covered)&lt;br /&gt;
 unclear {display:inline;}&lt;br /&gt;
* unicodeName&lt;br /&gt;
* usg&lt;br /&gt;
&lt;br /&gt;
==v==&lt;br /&gt;
&lt;br /&gt;
* vAlt&lt;br /&gt;
* vColl&lt;br /&gt;
* vDefault&lt;br /&gt;
* vLabel&lt;br /&gt;
* vMerge&lt;br /&gt;
* vNot&lt;br /&gt;
* vRange&lt;br /&gt;
* val&lt;br /&gt;
* valDesc&lt;br /&gt;
* valItem&lt;br /&gt;
* valList&lt;br /&gt;
* value&lt;br /&gt;
* variantEncoding&lt;br /&gt;
 view {display:inline; font-style: italic;}&lt;br /&gt;
* vocal (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==w==&lt;br /&gt;
&lt;br /&gt;
* w&lt;br /&gt;
* watermark&lt;br /&gt;
* when&lt;br /&gt;
* width&lt;br /&gt;
* wit&lt;br /&gt;
* witDetail&lt;br /&gt;
* witEnd&lt;br /&gt;
* witStart&lt;br /&gt;
* witness&lt;br /&gt;
* writing (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==x==&lt;br /&gt;
&lt;br /&gt;
* xr&lt;br /&gt;
&lt;br /&gt;
==y==&lt;br /&gt;
&lt;br /&gt;
(none)&lt;br /&gt;
&lt;br /&gt;
==z==&lt;br /&gt;
z&lt;br /&gt;
&lt;br /&gt;
* zone&lt;br /&gt;
&lt;br /&gt;
==References used==&lt;br /&gt;
* http://math.ut.ee/~kaarel/NLP/TEI/visualization/ (on rationales)&lt;br /&gt;
&lt;br /&gt;
[[Category:CSS]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Category:CSS&amp;diff=7659</id>
		<title>Category:CSS</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Category:CSS&amp;diff=7659"/>
		<updated>2010-06-08T12:13:04Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: +see also&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page collects together any pages relating to CSS (Cascading Style Sheets) for TEI resources.  The main TEI website has  [http://www.tei-c.org/Stylesheets/ a page about stylesheets] as well.  &amp;lt;!-- This page gathers together any wiki pages which have '''&amp;lt;nowiki&amp;gt;[[Category:CSS]]&amp;lt;/nowiki&amp;gt;''' on them. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
All of the stylesheets posted here are freely available for public use. They are offered as is, and we make no guarantees about their usefulness or effectiveness. Please feel free to experiment with them. If you make any useful revisions, please post the modified version here.&lt;br /&gt;
The [[call for stylesheets]] includes more details about what we are seeking and how you can help.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
'''To contribute a stylesheet, please create a new page within this category and paste it there, between &amp;lt;nowiki&amp;gt;&amp;lt;pre&amp;gt;&amp;amp;lt;nowiki&amp;gt;...&amp;amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/nowiki&amp;gt; tags. Documenting it will be appreciated.'''&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[tips on using CSS with XML/TEI]]&lt;br /&gt;
* http://tei.svn.sourceforge.net/viewvc/tei/trunk/TEICSS/tei.css?view=markup&lt;br /&gt;
* http://math.ut.ee/~kaarel/NLP/TEI/visualization/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Code]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7658</id>
		<title>Comprehensive CSS Stylesheet</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7658"/>
		<updated>2010-06-08T08:40:06Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: attribute issue&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following is an attempt to gradually build CSS for each TEI element, paralleling the default TEI stylesheets (while also potentially serving as a kind of discussion center for how the stylesheets ought to operate (see [[Formatting TEI documents]] on how there is a need for this despite TEI being agnostic as to output formatting), at least for issues pertaining solely to formatting as opposed to semantics), by indicating here necessary deviations from the XHTML stylesheets (due to CSS constraints) or potentially desirable alternatives, etc.).&lt;br /&gt;
&lt;br /&gt;
Advantages of CSS over XSL might include:&lt;br /&gt;
# Simpler for maintenance/alteration (though CSS can still be combined with simpler XSL as needed)&lt;br /&gt;
# Downloading (and parsing?) is faster&lt;br /&gt;
# Wider browser support (and for browser caching?)&lt;br /&gt;
# Allows DOM and other manipulation directly on semantically-named TEI elements (though admittedly, use of frameworks like jQuery may make traversal of X/HTML as easy or easier)&lt;br /&gt;
# TEI could potentially be used as is in HTML (though empty self-closing elements will not be treated properly unless changed to &amp;lt;elem&amp;gt;&amp;lt;/elem&amp;gt; form and namespaces will not be present) in addition to true XHTML.&lt;br /&gt;
&lt;br /&gt;
Disadvantages:&lt;br /&gt;
# Does not allow for certain kinds of transformations (though again, CSS can be combined with a simple XSL stylesheet which preserves TEI except in cases where needed)&lt;br /&gt;
# Is cumbersome for certain variable structures (e.g., for values varying by integer but not including the integer (e.g., space.extent =&amp;gt; number of spaces) a separate rule must be created for each possible attribute value)&lt;br /&gt;
# (Another disadvantage of CSS in general is being unable to create certain kinds of output such as form controls, but in the case of TEI, we hardly need this.)&lt;br /&gt;
&lt;br /&gt;
Per CSS Namespaces, one can use either&lt;br /&gt;
 @namespace &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 @namespace tei &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
...but we will use the former since we will presume the stylesheet will be primarily (if not exclusively) for TEI.&lt;br /&gt;
&lt;br /&gt;
We will not be able to make equivalents for XSLT templates like rendToClass (e.g., ab) or applyRend (emph), applyRendition (emph) since we cannot (nor do we need to) add an id or class (though @rend or @rendition would be useful to utilize, there is no &amp;quot;eval()&amp;quot;-like code in CSS; however, we could test against predefined values like &amp;quot;bold&amp;quot; (maybe as a global * or at least the elements using these in the stylesheets (emph, hi, ...))).&lt;br /&gt;
&lt;br /&gt;
All fields below should be complete for an element, or otherwise noted that it is incomplete, so that it can otherwise be assumed that the CSS has been completely applied as far as possible (besides rend/rendition which may later be done globally for all elements, as these are indeed globals).&lt;br /&gt;
&lt;br /&gt;
==a==&lt;br /&gt;
 ab {display:block;}&lt;br /&gt;
* abbr&lt;br /&gt;
* accMat&lt;br /&gt;
* acquisition&lt;br /&gt;
* activity&lt;br /&gt;
 actor {display:inline; font-style: italic;}&lt;br /&gt;
* add&lt;br /&gt;
* addName&lt;br /&gt;
* addSpan&lt;br /&gt;
* additional&lt;br /&gt;
* additions&lt;br /&gt;
 addrLine {display:block;}&lt;br /&gt;
 address {display:block; /* font-style:italic; If wish to appear as HTML addresses are rendered by default, at least in Firefox */}&lt;br /&gt;
* adminInfo&lt;br /&gt;
* affiliation&lt;br /&gt;
* age&lt;br /&gt;
* alt&lt;br /&gt;
* altGrp&lt;br /&gt;
* altIdent&lt;br /&gt;
* altIdentifier&lt;br /&gt;
* am&lt;br /&gt;
* analytic&lt;br /&gt;
* anchor&lt;br /&gt;
* app&lt;br /&gt;
* appInfo&lt;br /&gt;
* application&lt;br /&gt;
* arc&lt;br /&gt;
* argument&lt;br /&gt;
 att {display:inline; font-weight:bold;} att:before {content:&amp;quot;@&amp;quot;}&lt;br /&gt;
* attDef&lt;br /&gt;
* attList&lt;br /&gt;
* attRef&lt;br /&gt;
* author&lt;br /&gt;
* authority&lt;br /&gt;
* availability&lt;br /&gt;
&lt;br /&gt;
==b==&lt;br /&gt;
&lt;br /&gt;
* back&lt;br /&gt;
* bibl&lt;br /&gt;
* biblFull&lt;br /&gt;
* biblScope&lt;br /&gt;
* biblStruct&lt;br /&gt;
* bicond&lt;br /&gt;
* binary&lt;br /&gt;
* binaryObject&lt;br /&gt;
* binding&lt;br /&gt;
* bindingDesc&lt;br /&gt;
* birth&lt;br /&gt;
* bloc&lt;br /&gt;
* body&lt;br /&gt;
* broadcast&lt;br /&gt;
 byline {display:block;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==c==&lt;br /&gt;
&lt;br /&gt;
* c&lt;br /&gt;
* cRefPattern&lt;br /&gt;
 caesura:before {display:inline; content:&amp;quot;\a0\a0\a0\a0&amp;quot;; /* could be :after too */}&lt;br /&gt;
 camera {display:inline; font-style: italic;}&lt;br /&gt;
 caption {display:inline; font-style: italic;}&lt;br /&gt;
* case&lt;br /&gt;
* castGroup&lt;br /&gt;
* castItem&lt;br /&gt;
* castList&lt;br /&gt;
* catDesc&lt;br /&gt;
* catRef&lt;br /&gt;
* catchwords&lt;br /&gt;
* category&lt;br /&gt;
* cb&lt;br /&gt;
* cell&lt;br /&gt;
* certainty&lt;br /&gt;
* change&lt;br /&gt;
* channel&lt;br /&gt;
* char&lt;br /&gt;
* charDecl&lt;br /&gt;
* charName&lt;br /&gt;
* charProp&lt;br /&gt;
* choice&lt;br /&gt;
* cit&lt;br /&gt;
* cl&lt;br /&gt;
* classCode&lt;br /&gt;
* classDecl&lt;br /&gt;
* classSpec&lt;br /&gt;
* classes&lt;br /&gt;
* climate&lt;br /&gt;
* closer&lt;br /&gt;
 code {display:inline; font-family:monospace;}&lt;br /&gt;
* collation&lt;br /&gt;
* collection&lt;br /&gt;
* colloc&lt;br /&gt;
* colophon&lt;br /&gt;
* cond&lt;br /&gt;
* condition&lt;br /&gt;
* constitution&lt;br /&gt;
* constraint&lt;br /&gt;
* constraintSpec&lt;br /&gt;
* content&lt;br /&gt;
* corr&lt;br /&gt;
* correction&lt;br /&gt;
* country&lt;br /&gt;
* creation&lt;br /&gt;
* custEvent&lt;br /&gt;
* custodialHist&lt;br /&gt;
&lt;br /&gt;
==d==&lt;br /&gt;
&lt;br /&gt;
* damage&lt;br /&gt;
* damageSpan&lt;br /&gt;
* datatype&lt;br /&gt;
* date&lt;br /&gt;
* dateline&lt;br /&gt;
* death&lt;br /&gt;
* decoDesc&lt;br /&gt;
* decoNote&lt;br /&gt;
* def&lt;br /&gt;
* default&lt;br /&gt;
* defaultVal&lt;br /&gt;
 del {display:inline; text-decoration: line-through;}&lt;br /&gt;
* delSpan&lt;br /&gt;
* depth&lt;br /&gt;
* derivation&lt;br /&gt;
* desc&lt;br /&gt;
* dictScrap&lt;br /&gt;
* dim&lt;br /&gt;
* dimensions&lt;br /&gt;
* distinct&lt;br /&gt;
* distributor&lt;br /&gt;
* district&lt;br /&gt;
* div&lt;br /&gt;
* div1&lt;br /&gt;
* div2&lt;br /&gt;
* div3&lt;br /&gt;
* div4&lt;br /&gt;
* div5&lt;br /&gt;
* div6&lt;br /&gt;
* div7&lt;br /&gt;
* divGen&lt;br /&gt;
* docAuthor&lt;br /&gt;
* docDate&lt;br /&gt;
* docEdition&lt;br /&gt;
* docImprint&lt;br /&gt;
* docTitle&lt;br /&gt;
* domain&lt;br /&gt;
&lt;br /&gt;
==e==&lt;br /&gt;
&lt;br /&gt;
* eLeaf&lt;br /&gt;
* eTree&lt;br /&gt;
* edition&lt;br /&gt;
* editionStmt&lt;br /&gt;
* editor&lt;br /&gt;
* editorialDecl&lt;br /&gt;
* education&lt;br /&gt;
* eg&lt;br /&gt;
* egXML&lt;br /&gt;
* elementSpec&lt;br /&gt;
* email&lt;br /&gt;
 emph {display:inline; font-style:italic;}&lt;br /&gt;
* encodingDesc&lt;br /&gt;
* entry&lt;br /&gt;
* entryFree&lt;br /&gt;
 epigraph {display:block;}&lt;br /&gt;
* epilogue&lt;br /&gt;
* equipment&lt;br /&gt;
* equiv&lt;br /&gt;
* etym&lt;br /&gt;
* event&lt;br /&gt;
* ex&lt;br /&gt;
* exemplum&lt;br /&gt;
* expan&lt;br /&gt;
* explicit&lt;br /&gt;
* extent&lt;br /&gt;
&lt;br /&gt;
==f==&lt;br /&gt;
&lt;br /&gt;
* f&lt;br /&gt;
* fDecl&lt;br /&gt;
* fDescr&lt;br /&gt;
* fLib&lt;br /&gt;
* facsimile&lt;br /&gt;
* factuality&lt;br /&gt;
* faith&lt;br /&gt;
* figDesc&lt;br /&gt;
* figure&lt;br /&gt;
* fileDesc&lt;br /&gt;
* filiation&lt;br /&gt;
* finalRubric&lt;br /&gt;
* floatingText&lt;br /&gt;
* floruit&lt;br /&gt;
* foliation&lt;br /&gt;
 foreign {display:inline;}&lt;br /&gt;
* forename&lt;br /&gt;
* forest&lt;br /&gt;
* forestGrp&lt;br /&gt;
* form&lt;br /&gt;
* formula&lt;br /&gt;
* front&lt;br /&gt;
* fs&lt;br /&gt;
* fsConstraints&lt;br /&gt;
* fsDecl&lt;br /&gt;
* fsDescr&lt;br /&gt;
* fsdDecl&lt;br /&gt;
* fsdLink&lt;br /&gt;
* funder&lt;br /&gt;
* fvLib&lt;br /&gt;
* fw&lt;br /&gt;
&lt;br /&gt;
==g==&lt;br /&gt;
&lt;br /&gt;
* g&lt;br /&gt;
* gap&lt;br /&gt;
* gen&lt;br /&gt;
* genName&lt;br /&gt;
* geo&lt;br /&gt;
* geoDecl&lt;br /&gt;
* geogFeat&lt;br /&gt;
* geogName&lt;br /&gt;
 gi:before {display:inline;content:&amp;quot;&amp;lt;&amp;quot;}  gi:after {display:inline;content:&amp;quot;&amp;gt;&amp;quot;}&lt;br /&gt;
 gloss {display:inline;}&lt;br /&gt;
* glyph&lt;br /&gt;
* glyphName&lt;br /&gt;
* gram&lt;br /&gt;
* gramGrp&lt;br /&gt;
* graph&lt;br /&gt;
* graphic&lt;br /&gt;
* group&lt;br /&gt;
&lt;br /&gt;
==h==&lt;br /&gt;
&lt;br /&gt;
* handDesc&lt;br /&gt;
* handNote&lt;br /&gt;
* handNotes&lt;br /&gt;
* handShift&lt;br /&gt;
* head&lt;br /&gt;
* headItem&lt;br /&gt;
* headLabel&lt;br /&gt;
* height&lt;br /&gt;
* heraldry&lt;br /&gt;
 hi {display:inline; font-weight:bold;}&lt;br /&gt;
* history&lt;br /&gt;
* hom&lt;br /&gt;
* hyph&lt;br /&gt;
* hyphenation&lt;br /&gt;
&lt;br /&gt;
==i==&lt;br /&gt;
&lt;br /&gt;
* iNode&lt;br /&gt;
* iType&lt;br /&gt;
 ident[type] {display:inline; font-weight:bold;} ident:not([type]) {display:inline; } /* Just as the stylesheet allows for different types; a specific type could be styled by ident[type=&amp;quot;XXX&amp;quot;] */&lt;br /&gt;
* idno&lt;br /&gt;
* if&lt;br /&gt;
* iff&lt;br /&gt;
* imprimatur&lt;br /&gt;
* imprint&lt;br /&gt;
* incident (speech module: XSL has not yet covered)&lt;br /&gt;
* incipit&lt;br /&gt;
* index&lt;br /&gt;
* institution&lt;br /&gt;
* interaction&lt;br /&gt;
* interp&lt;br /&gt;
* interpGrp&lt;br /&gt;
* interpretation&lt;br /&gt;
* item&lt;br /&gt;
&lt;br /&gt;
==j==&lt;br /&gt;
&lt;br /&gt;
* join&lt;br /&gt;
* joinGrp&lt;br /&gt;
&lt;br /&gt;
==k==&lt;br /&gt;
&lt;br /&gt;
* keywords&lt;br /&gt;
* kinesic (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==l==&lt;br /&gt;
&lt;br /&gt;
 l {display:block;}&lt;br /&gt;
 label {display:inline;}&lt;br /&gt;
* lacunaEnd&lt;br /&gt;
* lacunaStart&lt;br /&gt;
* lang&lt;br /&gt;
* langKnowledge&lt;br /&gt;
* langKnown&lt;br /&gt;
* langUsage&lt;br /&gt;
* language&lt;br /&gt;
* layout&lt;br /&gt;
* layoutDesc&lt;br /&gt;
 lb {display:block;}&lt;br /&gt;
* lbl&lt;br /&gt;
* leaf&lt;br /&gt;
* lem&lt;br /&gt;
 lg {display:block;}&lt;br /&gt;
* link&lt;br /&gt;
* linkGrp&lt;br /&gt;
* list&lt;br /&gt;
* listBibl&lt;br /&gt;
* listEvent&lt;br /&gt;
* listNym&lt;br /&gt;
* listOrg&lt;br /&gt;
* listPerson&lt;br /&gt;
* listPlace&lt;br /&gt;
* listRef&lt;br /&gt;
* listWit&lt;br /&gt;
* localName&lt;br /&gt;
* locale&lt;br /&gt;
* location&lt;br /&gt;
* locus&lt;br /&gt;
* locusGrp&lt;br /&gt;
&lt;br /&gt;
==m==&lt;br /&gt;
&lt;br /&gt;
* m&lt;br /&gt;
* macroSpec&lt;br /&gt;
* mapping&lt;br /&gt;
* material&lt;br /&gt;
* measure&lt;br /&gt;
* measureGrp&lt;br /&gt;
* meeting&lt;br /&gt;
* memberOf&lt;br /&gt;
 mentioned {display:inline;}&lt;br /&gt;
* metDecl&lt;br /&gt;
* metSym&lt;br /&gt;
* milestone&lt;br /&gt;
* moduleRef&lt;br /&gt;
* moduleSpec&lt;br /&gt;
* monogr&lt;br /&gt;
* mood&lt;br /&gt;
* move&lt;br /&gt;
* msContents&lt;br /&gt;
* msDesc&lt;br /&gt;
* msIdentifier&lt;br /&gt;
* msItem&lt;br /&gt;
* msItemStruct&lt;br /&gt;
* msName&lt;br /&gt;
* msPart&lt;br /&gt;
* musicNotation&lt;br /&gt;
&lt;br /&gt;
==n==&lt;br /&gt;
&lt;br /&gt;
* name&lt;br /&gt;
* nameLink&lt;br /&gt;
* namespace&lt;br /&gt;
* nationality&lt;br /&gt;
* node&lt;br /&gt;
* normalization&lt;br /&gt;
* note&lt;br /&gt;
* notesStmt&lt;br /&gt;
* num&lt;br /&gt;
* number&lt;br /&gt;
* numeric&lt;br /&gt;
* nym&lt;br /&gt;
&lt;br /&gt;
==o==&lt;br /&gt;
&lt;br /&gt;
* oRef&lt;br /&gt;
* oVar&lt;br /&gt;
* objectDesc&lt;br /&gt;
* occupation&lt;br /&gt;
* offset&lt;br /&gt;
* opener&lt;br /&gt;
* org&lt;br /&gt;
* orgName&lt;br /&gt;
* orig&lt;br /&gt;
* origDate&lt;br /&gt;
* origPlace&lt;br /&gt;
* origin&lt;br /&gt;
* orth&lt;br /&gt;
&lt;br /&gt;
==p==&lt;br /&gt;
&lt;br /&gt;
* p&lt;br /&gt;
* pRef&lt;br /&gt;
* pVar&lt;br /&gt;
* particDesc&lt;br /&gt;
* pause (speech module: XSL has not yet covered)&lt;br /&gt;
* pb&lt;br /&gt;
* pc&lt;br /&gt;
* per&lt;br /&gt;
* performance&lt;br /&gt;
* persName&lt;br /&gt;
* person&lt;br /&gt;
* personGrp&lt;br /&gt;
* phr&lt;br /&gt;
* physDesc&lt;br /&gt;
* place&lt;br /&gt;
* placeName&lt;br /&gt;
* population&lt;br /&gt;
* pos&lt;br /&gt;
* postBox&lt;br /&gt;
* postCode&lt;br /&gt;
* postscript&lt;br /&gt;
* precision&lt;br /&gt;
* preparedness&lt;br /&gt;
* principal&lt;br /&gt;
* profileDesc&lt;br /&gt;
* projectDesc&lt;br /&gt;
* prologue&lt;br /&gt;
* pron&lt;br /&gt;
* provenance&lt;br /&gt;
* ptr&lt;br /&gt;
* pubPlace&lt;br /&gt;
* publicationStmt&lt;br /&gt;
* publisher&lt;br /&gt;
* purpose&lt;br /&gt;
&lt;br /&gt;
==q==&lt;br /&gt;
&lt;br /&gt;
* q&lt;br /&gt;
* quotation&lt;br /&gt;
* quote&lt;br /&gt;
&lt;br /&gt;
==r==&lt;br /&gt;
&lt;br /&gt;
* rdg&lt;br /&gt;
* rdgGrp&lt;br /&gt;
* re&lt;br /&gt;
* recordHist&lt;br /&gt;
* recording&lt;br /&gt;
* recordingStmt&lt;br /&gt;
* ref&lt;br /&gt;
* refState&lt;br /&gt;
* refsDecl&lt;br /&gt;
* reg&lt;br /&gt;
* region&lt;br /&gt;
* relatedItem&lt;br /&gt;
* relation&lt;br /&gt;
* relationGrp&lt;br /&gt;
* remarks&lt;br /&gt;
* rendition&lt;br /&gt;
* repository&lt;br /&gt;
* residence&lt;br /&gt;
 resp:after {content:&amp;quot; &amp;quot;}&lt;br /&gt;
 respStmt {display:inline;}&lt;br /&gt;
* respons&lt;br /&gt;
* restore&lt;br /&gt;
* revisionDesc&lt;br /&gt;
* rhyme&lt;br /&gt;
 role {display:inline; font-style: italic;}&lt;br /&gt;
 roleDesc { margin-left: 40px; margin-right: 40px; } roleDesc &amp;gt; *:not(p) {display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* roleName&lt;br /&gt;
* root&lt;br /&gt;
* row&lt;br /&gt;
* rs&lt;br /&gt;
* rubric&lt;br /&gt;
&lt;br /&gt;
==s==&lt;br /&gt;
&lt;br /&gt;
* s&lt;br /&gt;
* said&lt;br /&gt;
 salute {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* samplingDecl&lt;br /&gt;
* schemaSpec&lt;br /&gt;
* scriptStmt&lt;br /&gt;
* seal&lt;br /&gt;
* sealDesc&lt;br /&gt;
* secFol&lt;br /&gt;
 seg {display:inline;}&lt;br /&gt;
* segmentation&lt;br /&gt;
* sense&lt;br /&gt;
* series&lt;br /&gt;
* seriesStmt&lt;br /&gt;
 set {display:inline; font-style: italic;}&lt;br /&gt;
* setting&lt;br /&gt;
* settingDesc&lt;br /&gt;
* settlement&lt;br /&gt;
* se x (separated for spam filter)&lt;br /&gt;
* shift (speech module: XSL has not yet covered)&lt;br /&gt;
 sic {display:inline;} sic:after {content: &amp;quot; (sic)&amp;quot;}&lt;br /&gt;
* signatures&lt;br /&gt;
 signed {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* soCalled&lt;br /&gt;
* socecStatus&lt;br /&gt;
 sound {display:inline; font-style: italic;}&lt;br /&gt;
* source&lt;br /&gt;
* sourceDesc&lt;br /&gt;
* sp&lt;br /&gt;
* space&lt;br /&gt;
* span&lt;br /&gt;
* spanGrp&lt;br /&gt;
* speaker&lt;br /&gt;
* specDesc&lt;br /&gt;
* specGrp&lt;br /&gt;
* specGrpRef&lt;br /&gt;
* specList&lt;br /&gt;
* sponsor&lt;br /&gt;
 stage {font-style: italic; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* stamp&lt;br /&gt;
* state&lt;br /&gt;
* stdVals&lt;br /&gt;
* street&lt;br /&gt;
* stress&lt;br /&gt;
* string&lt;br /&gt;
* stringVal&lt;br /&gt;
* subc&lt;br /&gt;
* subst&lt;br /&gt;
* summary&lt;br /&gt;
* superEntry&lt;br /&gt;
* supplied&lt;br /&gt;
* support&lt;br /&gt;
* supportDesc&lt;br /&gt;
* surface&lt;br /&gt;
* surname&lt;br /&gt;
* surplus&lt;br /&gt;
* surrogates&lt;br /&gt;
* syll&lt;br /&gt;
* symbol&lt;br /&gt;
&lt;br /&gt;
==t==&lt;br /&gt;
&lt;br /&gt;
* TEI&lt;br /&gt;
* table&lt;br /&gt;
* tag&lt;br /&gt;
* tagUsage&lt;br /&gt;
* tagsDecl&lt;br /&gt;
* taxonomy&lt;br /&gt;
 tech {display:inline; font-style: italic;}&lt;br /&gt;
* teiCorpus&lt;br /&gt;
* teiHeader&lt;br /&gt;
 term {display:inline;}&lt;br /&gt;
* terrain&lt;br /&gt;
* text&lt;br /&gt;
* textClass&lt;br /&gt;
* textDesc&lt;br /&gt;
* textLang&lt;br /&gt;
* then&lt;br /&gt;
* time&lt;br /&gt;
* timeline&lt;br /&gt;
* title&lt;br /&gt;
* titlePage&lt;br /&gt;
* titlePart&lt;br /&gt;
* titleStmt&lt;br /&gt;
* tns&lt;br /&gt;
* trailer&lt;br /&gt;
* trait&lt;br /&gt;
* tree&lt;br /&gt;
* triangle&lt;br /&gt;
* typeDesc&lt;br /&gt;
* typeNote&lt;br /&gt;
&lt;br /&gt;
==u==&lt;br /&gt;
&lt;br /&gt;
* u (speech module: XSL has not yet covered)&lt;br /&gt;
 unclear {display:inline;}&lt;br /&gt;
* unicodeName&lt;br /&gt;
* usg&lt;br /&gt;
&lt;br /&gt;
==v==&lt;br /&gt;
&lt;br /&gt;
* vAlt&lt;br /&gt;
* vColl&lt;br /&gt;
* vDefault&lt;br /&gt;
* vLabel&lt;br /&gt;
* vMerge&lt;br /&gt;
* vNot&lt;br /&gt;
* vRange&lt;br /&gt;
* val&lt;br /&gt;
* valDesc&lt;br /&gt;
* valItem&lt;br /&gt;
* valList&lt;br /&gt;
* value&lt;br /&gt;
* variantEncoding&lt;br /&gt;
 view {display:inline; font-style: italic;}&lt;br /&gt;
* vocal (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==w==&lt;br /&gt;
&lt;br /&gt;
* w&lt;br /&gt;
* watermark&lt;br /&gt;
* when&lt;br /&gt;
* width&lt;br /&gt;
* wit&lt;br /&gt;
* witDetail&lt;br /&gt;
* witEnd&lt;br /&gt;
* witStart&lt;br /&gt;
* witness&lt;br /&gt;
* writing (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==x==&lt;br /&gt;
&lt;br /&gt;
* xr&lt;br /&gt;
&lt;br /&gt;
==y==&lt;br /&gt;
&lt;br /&gt;
(none)&lt;br /&gt;
&lt;br /&gt;
==z==&lt;br /&gt;
z&lt;br /&gt;
&lt;br /&gt;
* zone&lt;br /&gt;
&lt;br /&gt;
==References used==&lt;br /&gt;
* http://math.ut.ee/~kaarel/NLP/TEI/visualization/ (on rationales)&lt;br /&gt;
&lt;br /&gt;
[[Category:CSS]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7657</id>
		<title>Comprehensive CSS Stylesheet</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7657"/>
		<updated>2010-06-08T05:38:23Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following is an attempt to gradually build CSS for each TEI element, paralleling the default TEI stylesheets (while also potentially serving as a kind of discussion center for how the stylesheets ought to operate (see [[Formatting TEI documents]] on how there is a need for this despite TEI being agnostic as to output formatting), at least for issues pertaining solely to formatting as opposed to semantics), by indicating here necessary deviations from the XHTML stylesheets (due to CSS constraints) or potentially desirable alternatives, etc.).&lt;br /&gt;
&lt;br /&gt;
Advantages of CSS over XSL might include:&lt;br /&gt;
# Simpler for maintenance/alteration (though CSS can still be combined with simpler XSL as needed)&lt;br /&gt;
# Downloading (and parsing?) is faster&lt;br /&gt;
# Wider browser support (and for browser caching?)&lt;br /&gt;
# Allows DOM and other manipulation directly on semantically-named TEI elements (though admittedly, use of frameworks like jQuery may make traversal of X/HTML as easy or easier)&lt;br /&gt;
# TEI could potentially be used as is in HTML (though empty self-closing elements will not be treated properly unless changed to &amp;lt;elem&amp;gt;&amp;lt;/elem&amp;gt; form and namespaces will not be present) in addition to true XHTML.&lt;br /&gt;
&lt;br /&gt;
Disadvantages:&lt;br /&gt;
# Does not allow for certain kinds of transformations (though again, CSS can be combined with a simple XSL stylesheet which preserves TEI except in cases where needed)&lt;br /&gt;
# Is cumbersome for certain variable structures (e.g., for values varying by integer (e.g., item.n =&amp;gt; li.value or space.extent =&amp;gt; number of spaces) a separate rule must be created for each possible attribute value)&lt;br /&gt;
# (Another disadvantage of CSS in general is being unable to create certain kinds of output such as form controls, but in the case of TEI, we hardly need this.)&lt;br /&gt;
&lt;br /&gt;
Per CSS Namespaces, one can use either&lt;br /&gt;
 @namespace &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 @namespace tei &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
...but we will use the former since we will presume the stylesheet will be primarily (if not exclusively) for TEI.&lt;br /&gt;
&lt;br /&gt;
We will not be able to make equivalents for XSLT templates like rendToClass (e.g., ab) or applyRend (emph), applyRendition (emph) since we cannot (nor do we need to) add an id or class (though @rend or @rendition would be useful to utilize, there is no &amp;quot;eval()&amp;quot;-like code in CSS; however, we could test against predefined values like &amp;quot;bold&amp;quot; (maybe as a global * or at least the elements using these in the stylesheets (emph, hi, ...))).&lt;br /&gt;
&lt;br /&gt;
All fields below should be complete for an element, or otherwise noted that it is incomplete, so that it can otherwise be assumed that the CSS has been completely applied as far as possible (besides rend/rendition which may later be done globally for all elements, as these are indeed globals).&lt;br /&gt;
&lt;br /&gt;
==a==&lt;br /&gt;
 ab {display:block;}&lt;br /&gt;
* abbr&lt;br /&gt;
* accMat&lt;br /&gt;
* acquisition&lt;br /&gt;
* activity&lt;br /&gt;
 actor {display:inline; font-style: italic;}&lt;br /&gt;
* add&lt;br /&gt;
* addName&lt;br /&gt;
* addSpan&lt;br /&gt;
* additional&lt;br /&gt;
* additions&lt;br /&gt;
 addrLine {display:block;}&lt;br /&gt;
 address {display:block; /* font-style:italic; If wish to appear as HTML addresses are rendered by default, at least in Firefox */}&lt;br /&gt;
* adminInfo&lt;br /&gt;
* affiliation&lt;br /&gt;
* age&lt;br /&gt;
* alt&lt;br /&gt;
* altGrp&lt;br /&gt;
* altIdent&lt;br /&gt;
* altIdentifier&lt;br /&gt;
* am&lt;br /&gt;
* analytic&lt;br /&gt;
* anchor&lt;br /&gt;
* app&lt;br /&gt;
* appInfo&lt;br /&gt;
* application&lt;br /&gt;
* arc&lt;br /&gt;
* argument&lt;br /&gt;
 att {display:inline; font-weight:bold;} att:before {content:&amp;quot;@&amp;quot;}&lt;br /&gt;
* attDef&lt;br /&gt;
* attList&lt;br /&gt;
* attRef&lt;br /&gt;
* author&lt;br /&gt;
* authority&lt;br /&gt;
* availability&lt;br /&gt;
&lt;br /&gt;
==b==&lt;br /&gt;
&lt;br /&gt;
* back&lt;br /&gt;
* bibl&lt;br /&gt;
* biblFull&lt;br /&gt;
* biblScope&lt;br /&gt;
* biblStruct&lt;br /&gt;
* bicond&lt;br /&gt;
* binary&lt;br /&gt;
* binaryObject&lt;br /&gt;
* binding&lt;br /&gt;
* bindingDesc&lt;br /&gt;
* birth&lt;br /&gt;
* bloc&lt;br /&gt;
* body&lt;br /&gt;
* broadcast&lt;br /&gt;
 byline {display:block;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==c==&lt;br /&gt;
&lt;br /&gt;
* c&lt;br /&gt;
* cRefPattern&lt;br /&gt;
 caesura:before {display:inline; content:&amp;quot;\a0\a0\a0\a0&amp;quot;; /* could be :after too */}&lt;br /&gt;
 camera {display:inline; font-style: italic;}&lt;br /&gt;
 caption {display:inline; font-style: italic;}&lt;br /&gt;
* case&lt;br /&gt;
* castGroup&lt;br /&gt;
* castItem&lt;br /&gt;
* castList&lt;br /&gt;
* catDesc&lt;br /&gt;
* catRef&lt;br /&gt;
* catchwords&lt;br /&gt;
* category&lt;br /&gt;
* cb&lt;br /&gt;
* cell&lt;br /&gt;
* certainty&lt;br /&gt;
* change&lt;br /&gt;
* channel&lt;br /&gt;
* char&lt;br /&gt;
* charDecl&lt;br /&gt;
* charName&lt;br /&gt;
* charProp&lt;br /&gt;
* choice&lt;br /&gt;
* cit&lt;br /&gt;
* cl&lt;br /&gt;
* classCode&lt;br /&gt;
* classDecl&lt;br /&gt;
* classSpec&lt;br /&gt;
* classes&lt;br /&gt;
* climate&lt;br /&gt;
* closer&lt;br /&gt;
 code {display:inline; font-family:monospace;}&lt;br /&gt;
* collation&lt;br /&gt;
* collection&lt;br /&gt;
* colloc&lt;br /&gt;
* colophon&lt;br /&gt;
* cond&lt;br /&gt;
* condition&lt;br /&gt;
* constitution&lt;br /&gt;
* constraint&lt;br /&gt;
* constraintSpec&lt;br /&gt;
* content&lt;br /&gt;
* corr&lt;br /&gt;
* correction&lt;br /&gt;
* country&lt;br /&gt;
* creation&lt;br /&gt;
* custEvent&lt;br /&gt;
* custodialHist&lt;br /&gt;
&lt;br /&gt;
==d==&lt;br /&gt;
&lt;br /&gt;
* damage&lt;br /&gt;
* damageSpan&lt;br /&gt;
* datatype&lt;br /&gt;
* date&lt;br /&gt;
* dateline&lt;br /&gt;
* death&lt;br /&gt;
* decoDesc&lt;br /&gt;
* decoNote&lt;br /&gt;
* def&lt;br /&gt;
* default&lt;br /&gt;
* defaultVal&lt;br /&gt;
 del {display:inline; text-decoration: line-through;}&lt;br /&gt;
* delSpan&lt;br /&gt;
* depth&lt;br /&gt;
* derivation&lt;br /&gt;
* desc&lt;br /&gt;
* dictScrap&lt;br /&gt;
* dim&lt;br /&gt;
* dimensions&lt;br /&gt;
* distinct&lt;br /&gt;
* distributor&lt;br /&gt;
* district&lt;br /&gt;
* div&lt;br /&gt;
* div1&lt;br /&gt;
* div2&lt;br /&gt;
* div3&lt;br /&gt;
* div4&lt;br /&gt;
* div5&lt;br /&gt;
* div6&lt;br /&gt;
* div7&lt;br /&gt;
* divGen&lt;br /&gt;
* docAuthor&lt;br /&gt;
* docDate&lt;br /&gt;
* docEdition&lt;br /&gt;
* docImprint&lt;br /&gt;
* docTitle&lt;br /&gt;
* domain&lt;br /&gt;
&lt;br /&gt;
==e==&lt;br /&gt;
&lt;br /&gt;
* eLeaf&lt;br /&gt;
* eTree&lt;br /&gt;
* edition&lt;br /&gt;
* editionStmt&lt;br /&gt;
* editor&lt;br /&gt;
* editorialDecl&lt;br /&gt;
* education&lt;br /&gt;
* eg&lt;br /&gt;
* egXML&lt;br /&gt;
* elementSpec&lt;br /&gt;
* email&lt;br /&gt;
 emph {display:inline; font-style:italic;}&lt;br /&gt;
* encodingDesc&lt;br /&gt;
* entry&lt;br /&gt;
* entryFree&lt;br /&gt;
 epigraph {display:block;}&lt;br /&gt;
* epilogue&lt;br /&gt;
* equipment&lt;br /&gt;
* equiv&lt;br /&gt;
* etym&lt;br /&gt;
* event&lt;br /&gt;
* ex&lt;br /&gt;
* exemplum&lt;br /&gt;
* expan&lt;br /&gt;
* explicit&lt;br /&gt;
* extent&lt;br /&gt;
&lt;br /&gt;
==f==&lt;br /&gt;
&lt;br /&gt;
* f&lt;br /&gt;
* fDecl&lt;br /&gt;
* fDescr&lt;br /&gt;
* fLib&lt;br /&gt;
* facsimile&lt;br /&gt;
* factuality&lt;br /&gt;
* faith&lt;br /&gt;
* figDesc&lt;br /&gt;
* figure&lt;br /&gt;
* fileDesc&lt;br /&gt;
* filiation&lt;br /&gt;
* finalRubric&lt;br /&gt;
* floatingText&lt;br /&gt;
* floruit&lt;br /&gt;
* foliation&lt;br /&gt;
 foreign {display:inline;}&lt;br /&gt;
* forename&lt;br /&gt;
* forest&lt;br /&gt;
* forestGrp&lt;br /&gt;
* form&lt;br /&gt;
* formula&lt;br /&gt;
* front&lt;br /&gt;
* fs&lt;br /&gt;
* fsConstraints&lt;br /&gt;
* fsDecl&lt;br /&gt;
* fsDescr&lt;br /&gt;
* fsdDecl&lt;br /&gt;
* fsdLink&lt;br /&gt;
* funder&lt;br /&gt;
* fvLib&lt;br /&gt;
* fw&lt;br /&gt;
&lt;br /&gt;
==g==&lt;br /&gt;
&lt;br /&gt;
* g&lt;br /&gt;
* gap&lt;br /&gt;
* gen&lt;br /&gt;
* genName&lt;br /&gt;
* geo&lt;br /&gt;
* geoDecl&lt;br /&gt;
* geogFeat&lt;br /&gt;
* geogName&lt;br /&gt;
 gi:before {display:inline;content:&amp;quot;&amp;lt;&amp;quot;}  gi:after {display:inline;content:&amp;quot;&amp;gt;&amp;quot;}&lt;br /&gt;
 gloss {display:inline;}&lt;br /&gt;
* glyph&lt;br /&gt;
* glyphName&lt;br /&gt;
* gram&lt;br /&gt;
* gramGrp&lt;br /&gt;
* graph&lt;br /&gt;
* graphic&lt;br /&gt;
* group&lt;br /&gt;
&lt;br /&gt;
==h==&lt;br /&gt;
&lt;br /&gt;
* handDesc&lt;br /&gt;
* handNote&lt;br /&gt;
* handNotes&lt;br /&gt;
* handShift&lt;br /&gt;
* head&lt;br /&gt;
* headItem&lt;br /&gt;
* headLabel&lt;br /&gt;
* height&lt;br /&gt;
* heraldry&lt;br /&gt;
 hi {display:inline; font-weight:bold;}&lt;br /&gt;
* history&lt;br /&gt;
* hom&lt;br /&gt;
* hyph&lt;br /&gt;
* hyphenation&lt;br /&gt;
&lt;br /&gt;
==i==&lt;br /&gt;
&lt;br /&gt;
* iNode&lt;br /&gt;
* iType&lt;br /&gt;
 ident[type] {display:inline; font-weight:bold;} ident:not([type]) {display:inline; } /* Just as the stylesheet allows for different types; a specific type could be styled by ident[type=&amp;quot;XXX&amp;quot;] */&lt;br /&gt;
* idno&lt;br /&gt;
* if&lt;br /&gt;
* iff&lt;br /&gt;
* imprimatur&lt;br /&gt;
* imprint&lt;br /&gt;
* incident (speech module: XSL has not yet covered)&lt;br /&gt;
* incipit&lt;br /&gt;
* index&lt;br /&gt;
* institution&lt;br /&gt;
* interaction&lt;br /&gt;
* interp&lt;br /&gt;
* interpGrp&lt;br /&gt;
* interpretation&lt;br /&gt;
* item&lt;br /&gt;
&lt;br /&gt;
==j==&lt;br /&gt;
&lt;br /&gt;
* join&lt;br /&gt;
* joinGrp&lt;br /&gt;
&lt;br /&gt;
==k==&lt;br /&gt;
&lt;br /&gt;
* keywords&lt;br /&gt;
* kinesic (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==l==&lt;br /&gt;
&lt;br /&gt;
 l {display:block;}&lt;br /&gt;
 label {display:inline;}&lt;br /&gt;
* lacunaEnd&lt;br /&gt;
* lacunaStart&lt;br /&gt;
* lang&lt;br /&gt;
* langKnowledge&lt;br /&gt;
* langKnown&lt;br /&gt;
* langUsage&lt;br /&gt;
* language&lt;br /&gt;
* layout&lt;br /&gt;
* layoutDesc&lt;br /&gt;
 lb {display:block;}&lt;br /&gt;
* lbl&lt;br /&gt;
* leaf&lt;br /&gt;
* lem&lt;br /&gt;
 lg {display:block;}&lt;br /&gt;
* link&lt;br /&gt;
* linkGrp&lt;br /&gt;
* list&lt;br /&gt;
* listBibl&lt;br /&gt;
* listEvent&lt;br /&gt;
* listNym&lt;br /&gt;
* listOrg&lt;br /&gt;
* listPerson&lt;br /&gt;
* listPlace&lt;br /&gt;
* listRef&lt;br /&gt;
* listWit&lt;br /&gt;
* localName&lt;br /&gt;
* locale&lt;br /&gt;
* location&lt;br /&gt;
* locus&lt;br /&gt;
* locusGrp&lt;br /&gt;
&lt;br /&gt;
==m==&lt;br /&gt;
&lt;br /&gt;
* m&lt;br /&gt;
* macroSpec&lt;br /&gt;
* mapping&lt;br /&gt;
* material&lt;br /&gt;
* measure&lt;br /&gt;
* measureGrp&lt;br /&gt;
* meeting&lt;br /&gt;
* memberOf&lt;br /&gt;
 mentioned {display:inline;}&lt;br /&gt;
* metDecl&lt;br /&gt;
* metSym&lt;br /&gt;
* milestone&lt;br /&gt;
* moduleRef&lt;br /&gt;
* moduleSpec&lt;br /&gt;
* monogr&lt;br /&gt;
* mood&lt;br /&gt;
* move&lt;br /&gt;
* msContents&lt;br /&gt;
* msDesc&lt;br /&gt;
* msIdentifier&lt;br /&gt;
* msItem&lt;br /&gt;
* msItemStruct&lt;br /&gt;
* msName&lt;br /&gt;
* msPart&lt;br /&gt;
* musicNotation&lt;br /&gt;
&lt;br /&gt;
==n==&lt;br /&gt;
&lt;br /&gt;
* name&lt;br /&gt;
* nameLink&lt;br /&gt;
* namespace&lt;br /&gt;
* nationality&lt;br /&gt;
* node&lt;br /&gt;
* normalization&lt;br /&gt;
* note&lt;br /&gt;
* notesStmt&lt;br /&gt;
* num&lt;br /&gt;
* number&lt;br /&gt;
* numeric&lt;br /&gt;
* nym&lt;br /&gt;
&lt;br /&gt;
==o==&lt;br /&gt;
&lt;br /&gt;
* oRef&lt;br /&gt;
* oVar&lt;br /&gt;
* objectDesc&lt;br /&gt;
* occupation&lt;br /&gt;
* offset&lt;br /&gt;
* opener&lt;br /&gt;
* org&lt;br /&gt;
* orgName&lt;br /&gt;
* orig&lt;br /&gt;
* origDate&lt;br /&gt;
* origPlace&lt;br /&gt;
* origin&lt;br /&gt;
* orth&lt;br /&gt;
&lt;br /&gt;
==p==&lt;br /&gt;
&lt;br /&gt;
* p&lt;br /&gt;
* pRef&lt;br /&gt;
* pVar&lt;br /&gt;
* particDesc&lt;br /&gt;
* pause (speech module: XSL has not yet covered)&lt;br /&gt;
* pb&lt;br /&gt;
* pc&lt;br /&gt;
* per&lt;br /&gt;
* performance&lt;br /&gt;
* persName&lt;br /&gt;
* person&lt;br /&gt;
* personGrp&lt;br /&gt;
* phr&lt;br /&gt;
* physDesc&lt;br /&gt;
* place&lt;br /&gt;
* placeName&lt;br /&gt;
* population&lt;br /&gt;
* pos&lt;br /&gt;
* postBox&lt;br /&gt;
* postCode&lt;br /&gt;
* postscript&lt;br /&gt;
* precision&lt;br /&gt;
* preparedness&lt;br /&gt;
* principal&lt;br /&gt;
* profileDesc&lt;br /&gt;
* projectDesc&lt;br /&gt;
* prologue&lt;br /&gt;
* pron&lt;br /&gt;
* provenance&lt;br /&gt;
* ptr&lt;br /&gt;
* pubPlace&lt;br /&gt;
* publicationStmt&lt;br /&gt;
* publisher&lt;br /&gt;
* purpose&lt;br /&gt;
&lt;br /&gt;
==q==&lt;br /&gt;
&lt;br /&gt;
* q&lt;br /&gt;
* quotation&lt;br /&gt;
* quote&lt;br /&gt;
&lt;br /&gt;
==r==&lt;br /&gt;
&lt;br /&gt;
* rdg&lt;br /&gt;
* rdgGrp&lt;br /&gt;
* re&lt;br /&gt;
* recordHist&lt;br /&gt;
* recording&lt;br /&gt;
* recordingStmt&lt;br /&gt;
* ref&lt;br /&gt;
* refState&lt;br /&gt;
* refsDecl&lt;br /&gt;
* reg&lt;br /&gt;
* region&lt;br /&gt;
* relatedItem&lt;br /&gt;
* relation&lt;br /&gt;
* relationGrp&lt;br /&gt;
* remarks&lt;br /&gt;
* rendition&lt;br /&gt;
* repository&lt;br /&gt;
* residence&lt;br /&gt;
 resp:after {content:&amp;quot; &amp;quot;}&lt;br /&gt;
 respStmt {display:inline;}&lt;br /&gt;
* respons&lt;br /&gt;
* restore&lt;br /&gt;
* revisionDesc&lt;br /&gt;
* rhyme&lt;br /&gt;
 role {display:inline; font-style: italic;}&lt;br /&gt;
 roleDesc { margin-left: 40px; margin-right: 40px; } roleDesc &amp;gt; *:not(p) {display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* roleName&lt;br /&gt;
* root&lt;br /&gt;
* row&lt;br /&gt;
* rs&lt;br /&gt;
* rubric&lt;br /&gt;
&lt;br /&gt;
==s==&lt;br /&gt;
&lt;br /&gt;
* s&lt;br /&gt;
* said&lt;br /&gt;
 salute {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* samplingDecl&lt;br /&gt;
* schemaSpec&lt;br /&gt;
* scriptStmt&lt;br /&gt;
* seal&lt;br /&gt;
* sealDesc&lt;br /&gt;
* secFol&lt;br /&gt;
 seg {display:inline;}&lt;br /&gt;
* segmentation&lt;br /&gt;
* sense&lt;br /&gt;
* series&lt;br /&gt;
* seriesStmt&lt;br /&gt;
 set {display:inline; font-style: italic;}&lt;br /&gt;
* setting&lt;br /&gt;
* settingDesc&lt;br /&gt;
* settlement&lt;br /&gt;
* se x (separated for spam filter)&lt;br /&gt;
* shift (speech module: XSL has not yet covered)&lt;br /&gt;
 sic {display:inline;} sic:after {content: &amp;quot; (sic)&amp;quot;}&lt;br /&gt;
* signatures&lt;br /&gt;
 signed {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* soCalled&lt;br /&gt;
* socecStatus&lt;br /&gt;
 sound {display:inline; font-style: italic;}&lt;br /&gt;
* source&lt;br /&gt;
* sourceDesc&lt;br /&gt;
* sp&lt;br /&gt;
* space&lt;br /&gt;
* span&lt;br /&gt;
* spanGrp&lt;br /&gt;
* speaker&lt;br /&gt;
* specDesc&lt;br /&gt;
* specGrp&lt;br /&gt;
* specGrpRef&lt;br /&gt;
* specList&lt;br /&gt;
* sponsor&lt;br /&gt;
 stage {font-style: italic; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* stamp&lt;br /&gt;
* state&lt;br /&gt;
* stdVals&lt;br /&gt;
* street&lt;br /&gt;
* stress&lt;br /&gt;
* string&lt;br /&gt;
* stringVal&lt;br /&gt;
* subc&lt;br /&gt;
* subst&lt;br /&gt;
* summary&lt;br /&gt;
* superEntry&lt;br /&gt;
* supplied&lt;br /&gt;
* support&lt;br /&gt;
* supportDesc&lt;br /&gt;
* surface&lt;br /&gt;
* surname&lt;br /&gt;
* surplus&lt;br /&gt;
* surrogates&lt;br /&gt;
* syll&lt;br /&gt;
* symbol&lt;br /&gt;
&lt;br /&gt;
==t==&lt;br /&gt;
&lt;br /&gt;
* TEI&lt;br /&gt;
* table&lt;br /&gt;
* tag&lt;br /&gt;
* tagUsage&lt;br /&gt;
* tagsDecl&lt;br /&gt;
* taxonomy&lt;br /&gt;
 tech {display:inline; font-style: italic;}&lt;br /&gt;
* teiCorpus&lt;br /&gt;
* teiHeader&lt;br /&gt;
 term {display:inline;}&lt;br /&gt;
* terrain&lt;br /&gt;
* text&lt;br /&gt;
* textClass&lt;br /&gt;
* textDesc&lt;br /&gt;
* textLang&lt;br /&gt;
* then&lt;br /&gt;
* time&lt;br /&gt;
* timeline&lt;br /&gt;
* title&lt;br /&gt;
* titlePage&lt;br /&gt;
* titlePart&lt;br /&gt;
* titleStmt&lt;br /&gt;
* tns&lt;br /&gt;
* trailer&lt;br /&gt;
* trait&lt;br /&gt;
* tree&lt;br /&gt;
* triangle&lt;br /&gt;
* typeDesc&lt;br /&gt;
* typeNote&lt;br /&gt;
&lt;br /&gt;
==u==&lt;br /&gt;
&lt;br /&gt;
* u (speech module: XSL has not yet covered)&lt;br /&gt;
 unclear {display:inline;}&lt;br /&gt;
* unicodeName&lt;br /&gt;
* usg&lt;br /&gt;
&lt;br /&gt;
==v==&lt;br /&gt;
&lt;br /&gt;
* vAlt&lt;br /&gt;
* vColl&lt;br /&gt;
* vDefault&lt;br /&gt;
* vLabel&lt;br /&gt;
* vMerge&lt;br /&gt;
* vNot&lt;br /&gt;
* vRange&lt;br /&gt;
* val&lt;br /&gt;
* valDesc&lt;br /&gt;
* valItem&lt;br /&gt;
* valList&lt;br /&gt;
* value&lt;br /&gt;
* variantEncoding&lt;br /&gt;
 view {display:inline; font-style: italic;}&lt;br /&gt;
* vocal (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==w==&lt;br /&gt;
&lt;br /&gt;
* w&lt;br /&gt;
* watermark&lt;br /&gt;
* when&lt;br /&gt;
* width&lt;br /&gt;
* wit&lt;br /&gt;
* witDetail&lt;br /&gt;
* witEnd&lt;br /&gt;
* witStart&lt;br /&gt;
* witness&lt;br /&gt;
* writing (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==x==&lt;br /&gt;
&lt;br /&gt;
* xr&lt;br /&gt;
&lt;br /&gt;
==y==&lt;br /&gt;
&lt;br /&gt;
(none)&lt;br /&gt;
&lt;br /&gt;
==z==&lt;br /&gt;
z&lt;br /&gt;
&lt;br /&gt;
* zone&lt;br /&gt;
&lt;br /&gt;
==References used==&lt;br /&gt;
* http://math.ut.ee/~kaarel/NLP/TEI/visualization/ (on rationales)&lt;br /&gt;
&lt;br /&gt;
[[Category:CSS]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Formatting_TEI_documents&amp;diff=7656</id>
		<title>Formatting TEI documents</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Formatting_TEI_documents&amp;diff=7656"/>
		<updated>2010-06-08T05:37:06Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: /* Specific formatting for specific elements (and any attributes) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page aims to spell out some considerations when formatting TEI documents or considering how mark-up issues inter-relate with (or should not inter-relate with) output formatting. It is based on a proposed chapter draft at http://www.tei-c.org/Activities/Council/Working/tcw10.xml &lt;br /&gt;
&lt;br /&gt;
Per http://www.tei-c.org/Activities/Council/Meetings/tcm38.xml?style=raw , the TEI &amp;quot;Council reached a consensus that the draft document is not suitable as a formal chapter of the Guidelines, largely because the technologies and procedures used for output rendering change frequently and are not under the control of the TEI Consortium (e.g., XSLT processors, CSS standards, etc.)&amp;quot;, but I wanted to offer it here in case others wish to revise or expand on it.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
While TEI makes no claims about how a document is to be rendered--except to the extent that it allows description of the original formatting and to the extent that publishers wish to reflect that formatting--it is a general expectation that the TEI documents a project is creating can be rendered at some point in a more human-readable manner. While the desired formatting should not prompt one to violate the TEI Abstract model by altering the semantics of a document in order to adjust output formatting, the process of creating formatting output (or even well before doing so), may lead a project to reconsider some aspects of its semantic markup, as well as the more conventional means of adjusting a stylesheet, so the issues raised here go beyond the work of a designer. This chapter will discuss various issues related to formatting a TEI document.&lt;br /&gt;
&lt;br /&gt;
==Respecting the original formatting==&lt;br /&gt;
&lt;br /&gt;
In order to fully respect the original formatting of a document, it is necessary to consider (and thoroughly use) the global @rendition attribute and/or the @render attribute on &amp;lt;tagUsage&amp;gt; elements to point to &amp;lt;rendition&amp;gt; elements and/or the global @rend attribute to provide its own definition without referring elsewhere.&lt;br /&gt;
&lt;br /&gt;
While semantic hooks and reliance on the typical formatting of specific tags for cases where @rend and @rendition are not needed to override typical behaviors might be sufficient to create an output document reflecting the formatting of the original document, if the original rendering is important information to preserve, this can be done more explicitly by ensuring that all elements are given a &amp;lt;tagUsage&amp;gt; element which uses its @render attribute to point to a &amp;lt;rendition&amp;gt; element which contains the styling details that can be applied to all instances of the tag. In this way, there is no ambiguity about how a tag is to be rendered. This is also recommended practice when &amp;lt;tagUsage&amp;gt; elements are provided. (see http://tei.oucs.ox.ac.uk/P5/Guidelines-web/en/html/HD.html#HD57 ).&lt;br /&gt;
&lt;br /&gt;
However, note that &amp;lt;tagUsage&amp;gt; elements do not allow for the specification of a default rendering behavior for element-attribute combinations--only for specific elements regardless of any attributes or attribute values. They also do not allow the specification of a default behavior for an element based on its position (e.g., &amp;lt;quote&amp;gt; within &amp;lt;cit&amp;gt; ), so as this point, it may be inevitable to heavily rely on @rend and @rendition if one must thoroughly indicate this original formatting, independent of a stylesheet.&lt;br /&gt;
&lt;br /&gt;
For maximum specificity in encoding formatting details, the content supplied within &amp;lt;rendition&amp;gt; and @rend ought to use a formal formatting language. However, besides not specifying a particular formatting language that ought to be used, at present TEI does not offer a fail-safe means of translating @rend and &amp;lt;rendition&amp;gt; content into a stylesheet (even though this information could potentially be used to create @style attribute content, or, by using XSLT 2.0, simultaneously create a CSS stylesheet alongside the X/HTML output.&lt;br /&gt;
&lt;br /&gt;
While it might be sufficient in most cases, there is no formal means at present to express that a particular style rule should target CSS pseudo-elements (like :before, :after, :first), such as one might wish to do in specifying the addition of distinct content at the beginning or end of a tag (e.g., adding left and right curly quotes to a &amp;lt;q&amp;gt; element; this is nothing to speak of needing to target a specific attribute, say xml:lang to determine which type of quotation marks to add). And even where the output does faithfully reflect the original, it should be fairly common to need to optimize the resulting CSS stylesheet, since it would likely be fairly large with there being no means besides &amp;lt;tagUsage&amp;gt; to indicate a behavior to apply to element-attribute combinations or elements in particular positions.&lt;br /&gt;
&lt;br /&gt;
==Original vs. output rendering==&lt;br /&gt;
&lt;br /&gt;
One might find oneself tempted to force the rendition mechansims in TEI (@rend or @rendition or &amp;lt;tagUsage's&amp;gt; @render with &amp;lt;rendition&amp;gt; ) to go beyond their intended use for describing the original rendering of a document. However, it is important to keep in mind that if one wishes to control how the formatting will be output, independently of the original formatting (adding details of formatting not expressed about the original with the TEI render mechanisms or overriding these details), one must not subvert the semantics of a TEI document (at the risk of introducing TEI non-conformance and interoperability issues) for the sake of controlling formatting--that should instead be handled by a stylesheet.&lt;br /&gt;
&lt;br /&gt;
This might necessitate a different stylesheet or, as is probable for most cases, modifications to the default stylesheets provided by TEI, if the parameter options (assuming XSL stylesheets are used) are insufficient to express a project's output requirements. It is, for example, possible to allow the stylesheets to recognize multiple attributes, even at the same time.&lt;br /&gt;
&lt;br /&gt;
==Returning changes to the default stylesheets==&lt;br /&gt;
&lt;br /&gt;
The stylesheets from TEI are evolving with the TEI project, however, so it may be possible that the TEI project might be open to certain changes (whether optional or required) to its default stylesheets, if the changes offered may be of interest to a wider audience and TEI has the resources to implement the changes. Given that the code of these stylesheets is open source, it may benefit both TEI and its users as well as an individual project for stylesheet improvements (or other TEI resources for that matter) to be returned back to the community, as it precludes the individual project from needing to make modifications each time an update occurs.&lt;br /&gt;
&lt;br /&gt;
With more standard (but not standardized) styling expectations (and stylesheet), the more likely that TEI processing applications might be used to render TEI in a familiar format (such as when obtained directly off the web, etc.), even while allowing publishers' full freedom to deviate from such common conventions if they wish.&lt;br /&gt;
&lt;br /&gt;
==Influence of formatting (or accessibility) concerns on markup==&lt;br /&gt;
&lt;br /&gt;
While one should not subvert the semantics of a TEI document in order to control formatting, besides customizing a stylesheet alone, the viewing of a formatted document might prompt a project to consider changes to the original TEI documents, such as:&lt;br /&gt;
&lt;br /&gt;
# giving a more detailed encoding of the original rendering (as that information can be used to produce output rendering, assuming again that the original document being represented indeed possesses this rendering), using &amp;lt;rendition&amp;gt; , &amp;lt;tagUsage&amp;gt; render, @rendition, and @rend&lt;br /&gt;
# adding more semantic &amp;quot;hooks&amp;quot; whether this is the use of hitherto unused elements or attributes such as @n or @type (potentially with the adding of generic elements like &amp;lt;seg&amp;gt; ) which can provide more semantic detail about certain text that can in turn be targeted by a stylesheet to provide more granular control in output formatting. This may also have the benefit of providing more semantic richness to the document (ideally using the more specific elements already recommended for this purpose). Such semantic 'hooks' can also be of the variety that ensures that the output formatting includes sufficient accessibility features such as to make available alternative text along with any graphics or images that could not otherwise be interpreted by a speech browser.&lt;br /&gt;
&lt;br /&gt;
==Semantic information and output formatting==&lt;br /&gt;
&lt;br /&gt;
Besides formatting concerns leading one to add additional semantic distinctions into a TEI document, one may also wish to encode a certain degree of semantic information (to the extent allowed in the output formatting language) into one's formatting output and consider the extent to which output formatting markup is separated from any more generic output structural markup (e.g., creating CSS to hold styles with XHTML used to present the structure or encoding structural and formatting markup together). These are both discussed below.&lt;br /&gt;
&lt;br /&gt;
===Encoding semantic information within formatted output===&lt;br /&gt;
&lt;br /&gt;
While it may often be the case that TEI will be converted to a formatted output in which semantic information is lost, certain output formats allow some if not all semantic information to be retained in some manner. For example, XHTML can use the approach of microformats (http://microformats.org) to use the global and generic XHTML @class attribute to contain information such as the original TEI tag name. While it would likely be too cumbersome to originate documents in such a format (assuming all TEI semantics could be encoded with such an approach), it offers the advantage that one might, for example, use a web browser to obtain a document already pre-rendered, yet use a microformat processor within the browser (possibly available as a browser extension) to search for semantic information.&lt;br /&gt;
&lt;br /&gt;
===Encoding formatting within structural and semantic output===&lt;br /&gt;
&lt;br /&gt;
It has become a generally recommended practice for even XHTML documents on the web to separate their formatting content (as with CSS) into a separate file from the structural content (of paragraphs, generic divisions, etc.). This offers various advantages such as speed in downloading (by browser caching for repeatedly used stylesheet files or by those using speech browsers being able to avoid downloading visually-oriented stylesheets), or flexibility in subsequent style changes. While one might define an XSL stylesheet to create specific XHTML @class attribute values which are associated with those classes targeted in a predefined CSS stylesheet, XSLT 2.0 might be employed to utilize information such as contained within @rend or &amp;lt;rendition&amp;gt; elements to specify the creation of a CSS document while also simultaneously creating the XHTML output document. See the sections on preserving original formatting.&lt;br /&gt;
&lt;br /&gt;
Despite the generally recommended practice of separating styles from structure and semantic information, given the present absence of a means of making queries which utilize style information contained in separate files, it may be conceivable for some to wish to have their formatting output mixed in with structural output (the @style attribute might be harder to parse in a query than if specific XHTML formatting structures were used--even though these may be deprecated in later versions)--just as one might prefer to encode say italic emphasis using &amp;lt;emph n=&amp;quot;italic&amp;quot; rend=&amp;quot;font-style:italic&amp;quot;&amp;gt; rather than use a more formal but correct syntax of &amp;lt;emph rend=&amp;quot;font-style: italic;&amp;quot;&amp;gt; since the former is easier to parse -- so that queries can take advantage of both styling information and/or semantic information. For example, if one views a document and sees that italic text is used for emphasis, one might wish to search for a certain phrase contained within italic text, for example, because one recalled the text occurring there, or because one identified a pattern represented by italic text but where one did not know what the exact name of the pattern was, and thus not knowing what specific tag one must search for to find the desired text.&lt;br /&gt;
&lt;br /&gt;
==General categories of elements to consider in formatting (or not formatting at all)==&lt;br /&gt;
&lt;br /&gt;
Before considering the usual rendering and default rendering options for specific elements (along with any specific attributes), it is worth considering some general issues pertaining to certain types of elements.&lt;br /&gt;
&lt;br /&gt;
===Likelihood of printing out specific elements===&lt;br /&gt;
&lt;br /&gt;
Elements differ in the likelihood a project will wish to render them in a formatted output document. They range from editorial information which might never be printed out for common viewing, to elements which will sometimes be printed out (such as a &amp;lt;choice&amp;gt; listing the original text and a regularized or corrected form) to elements such as paragraphs which almost certainly will be printed out.&lt;br /&gt;
&lt;br /&gt;
For the case of those which will always be printed out, one can make their styling explicit by using &amp;lt;tagUsage&amp;gt; elements with a @render attribute pointing to a &amp;lt;rendition&amp;gt; element with the styling details (and optionally the code). One might optionally even indicate specific elements which should not be displayed (though depending on the stylesheet language, this might not strictly be necessary).&lt;br /&gt;
&lt;br /&gt;
Moreover, a stylesheet might wish to depend on element-specific or global attributes (whether semantic or rendition-related) to target elements with or without these attributes or with specific values to display or not display them selectively.&lt;br /&gt;
&lt;br /&gt;
Elements which occur in the header, will generally not be printed out, though for some project's purposes, display of this information (e.g., bibliographic data) may be useful to include in the formatting output.&lt;br /&gt;
&lt;br /&gt;
While other elements that occur within the running text will generally be printed out, it is important to understand that with TEI--which, as cannot be emphasized enough, is not a formatting language--this will not always be the case. If one has editorial information that should not be printed out within the running text (or at least should not appear alongside the running text), as a project might not wish the encoder-added information to disrupt the flow of the text (e.g., of a narrative) and for which it might even be considered irreverent by some viewers (such as for scriptural works), it will be important to be aware of all such tags that a project might not want printed out so that the stylesheet (possibly in conjunction with special semantic TEI markup if not markup indicating original rendering) does not display those tags' content.&lt;br /&gt;
Elements which are defined by the following macros are generally not to be displayed:&lt;br /&gt;
&lt;br /&gt;
# macro.limitedContent (http://www.tei-c.org/release/doc/tei-p5-doc/html/ref-macro.limitedContent.html ): desc, fDescr, figDesc, fsDescr, meeting, rendition, tagUsage, witness&lt;br /&gt;
# macro.phraseSeq.limited (http://www.tei-c.org/release/doc/tei-p5-doc/html/ref-macro.phraseSeq.limited.html ): activity, age, authority, channel, classCode, constitution, creation. derivation, domain, factuality, funder, interaction, interp, langKnown, language, locale, metSym, preparedness, principal, purpose, resp, span, sponsor, valDesc&lt;br /&gt;
&lt;br /&gt;
Moreover, there are some elements such as those in model.noteLike ( &amp;lt;note&amp;gt; and &amp;lt;witDetail&amp;gt; ) which while they might occur in the outputted document, might also in other cases or within some projects not always be rendered if at all. model.global.meta with members such as alt, altGrp, certainty, fLib, fs, fvLib, index, interp, interpGrp, join, joinGrp, link, linkGrp, respons, span, spanGrp, and timeline as well as elements containing the global @exclude attribute may or may not be output when included within a document.&lt;br /&gt;
&lt;br /&gt;
Still others include items such as may be contained within &amp;lt;choice&amp;gt; : abbr, am, corr, ex, expan, orig, reg, seg, sic, unclear .. A project may need to consider whether to output these elements with both choices being shown in some manner (even as a mere tooltip that is exposed when certain text is hovered over) or whether to only show one of the choices (such as that reflecting the original or some regularization, correction, expansion, or abbreviation).&lt;br /&gt;
&lt;br /&gt;
Likewise with elements belonging to model.pPart.transcriptional: add, app, corr, damage, del, orig, reg, restore, sic, supplied, unclear . One may or may not wish to indicate &amp;lt;supplied&amp;gt; text for example, or choose how to format damaged sections in some particular manner.&lt;br /&gt;
&lt;br /&gt;
(any others????)&lt;br /&gt;
&lt;br /&gt;
Since there is no way of knowing whether some of the elements mentioned above such as &amp;lt;note&amp;gt; refer to text that should be printed out or not, one must rely on other mechanisms to specify or glean this information. One way would be to use attributes, such as @resp to detect whether the note was the responsibility of a markup editor of the document, or whether it was provided by an original annotator of the document. However, as the detection of this might not always be clear (especially if the markup annotator also served as the original annotator), the user of other attributes such as @type, or where @type is not available, possibly @n or even xml:id might be used.&lt;br /&gt;
&lt;br /&gt;
Note that despite its being listed above, an element such as &amp;lt;figDesc&amp;gt; , while it might not normally be displayed immediately to a visual browser, might still nevertheless be important (or even required in some formatting languages or in use with projects needing by law to adhere to accessibility regulations) for the sake of being accessible to those with visual disabilities who might depend on speech browsers or tooltips to be able to get a sense of what a particular graphic, photograph, etc. was displaying. It is certainly good practice to follow such an encoding, both within TEI documents and in the formatted output, where available.&lt;br /&gt;
&lt;br /&gt;
===Behaviour within &amp;lt;corr&amp;gt; and similar elements===&lt;br /&gt;
&lt;br /&gt;
One exception to @rend, @rendition (or their absence) indicating original formatting is that within a &amp;lt;corr&amp;gt; tag.&lt;br /&gt;
&lt;br /&gt;
The addition of a @rend within &amp;lt;corr&amp;gt; (or &amp;lt;reg&amp;gt; ) would apply to an intended output formatting, rather than to the original formatting as it normally does.&lt;br /&gt;
&amp;lt;choice&amp;gt;&amp;lt;sic&amp;gt;&amp;lt;title level=&amp;quot;j&amp;quot; rend=&amp;quot;noitalic&amp;quot;&amp;gt;The Times&amp;lt;/title&amp;gt;&amp;lt;/sic&amp;gt;&amp;lt;corr&amp;gt;&amp;lt;title level=&amp;quot;j&amp;quot; rend=&amp;quot;italic&amp;quot;&amp;gt;The Times&amp;lt;/corr&amp;gt;&amp;lt;/choice&amp;gt;&lt;br /&gt;
Likewise, especially if the default rendering of &amp;lt;title&amp;gt; were specified by a &amp;lt;tagUsage&amp;gt; and &amp;lt;rendition&amp;gt; element (here to indicate a title as being by default in italic), the absence of @rend or @rendition would still imply a change of formatting:&lt;br /&gt;
&amp;lt;choice&amp;gt;&amp;lt;sic&amp;gt;&amp;lt;title level=&amp;quot;j&amp;quot; rend=&amp;quot;noitalic&amp;quot;&amp;gt;The Times&amp;lt;/title&amp;gt;&amp;lt;/sic&amp;gt;&amp;lt;corr&amp;gt;&amp;lt;title level=&amp;quot;j&amp;quot;&amp;gt;The Times&amp;lt;/corr&amp;gt;&amp;lt;/choice&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Items needing replication===&lt;br /&gt;
&lt;br /&gt;
Some elements or elements with certain attributes may need special consideration for output such as @copyOf or &amp;lt;join&amp;gt; , as these might indicate that certain formatting output might need to be created such as might (as with other cases described earlier) not be evident by simply stripping the markup out of the document.&lt;br /&gt;
&lt;br /&gt;
===Text attributes===&lt;br /&gt;
&lt;br /&gt;
Most attributes are used with coded values, as they are not mean to represent human language or to be displayed. Text attributes represent the exception to this, though it is commonly preferred for an XML language to represent these attributes as elements so that further nested subelements representing markup at the phrasal level, etc. can be added within as needed.&lt;br /&gt;
&lt;br /&gt;
Text attributes have generally been removed from TEI, and some of the ones that remain one might not wish to output in a formatted version anyways, but if one wishes to include, for example, @reason in one's output, one will be unable to add styling which depends on child elements for more specific formatting since the information is expressed within an attribute (but one can style differently depending on the element's @xml:lang, as that does apply for text attributes, as well as any other attributes on the element). Likewise for the dictionary attributes, @expand, @norm, @split, @value, and @orig which represent the remaining text attributes????.&lt;br /&gt;
&lt;br /&gt;
((((Syd prepared a list of potential text attributes to review to see if they were still text attributes--it'd be nice to be able to give such an exhaustive list here.))))&lt;br /&gt;
&lt;br /&gt;
I think the element-specific details might be logically incorporated as documentation elements within XSL that could be extracted for automatic inclusion within the TEI reference pages, making clear that the formatting discussed is only that of the default behavior used in TEI-provided stylesheets (though also discussing the range of options that the stylesheet makes available through parameters). I really think giving awareness of these formatting issues in the context of considering these elements would be more helpful than waiting for people to discover them separately in the stylesheets.&lt;br /&gt;
&lt;br /&gt;
==Consideration of default transformation behavior==&lt;br /&gt;
&lt;br /&gt;
While, as mentioned earlier, there is no required mapping of TEI elements and attributes to specific output document structures (e.g., XHTML/CSS, LaTeX, etc.), the fact that TEI provides a default set of stylesheets to work with (albeit a parameterized one) and that these are presumably well-used [by the number of downloads????] indicates that there are a general set of expectations about how most TEI structures will appear when output. The effort required to create one's own stylesheets from scratch for such a large vocabulary as TEI provides, or even to significantly modify existing stylesheets (no less each time as improvements and adjustments are made to the default files), also makes the understanding of how documents will be transformed an imperative for many projects. Thus, it becomes necessary to understand how TEI might commonly be transformed (or understood to be transformed), even beyond the extent to which the stylesheets themselves are documented and express (mostly in technical language) the templates used to transform TEI into a formatting language.&lt;br /&gt;
&lt;br /&gt;
The default stylesheets provided by TEI serve as a good basis for discussion on how formatting can be performed and are documented here for the sake of those who wish to know how each structure they might use in a TEI document might be rendered by default. The stylesheets nor this discussion should be taken as any kind of requirement to use these stylesheets as a base, or even at all.&lt;br /&gt;
&lt;br /&gt;
===Specific formatting for specific elements (and any attributes)===&lt;br /&gt;
&lt;br /&gt;
(to be displayed on reference pages?)&lt;br /&gt;
&lt;br /&gt;
See [[Comprehensive CSS Stylesheet]] for a beginning at describing default styling (attempting to mimic the XSL stylesheets) as expressed in the simple, precise, and usually intuitive, but still technical, language CSS.&lt;br /&gt;
&lt;br /&gt;
===Specific formatting for specific categories of formatting (images, etc.)===&lt;br /&gt;
&lt;br /&gt;
(to be compiled after reference pages have their information fleshed out)&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7655</id>
		<title>Comprehensive CSS Stylesheet</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7655"/>
		<updated>2010-06-08T05:30:27Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: noting elements in speech module (not yet supported in XSL either)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following is an attempt to gradually build CSS for each TEI element, paralleling the default TEI stylesheets (while also potentially serving as a kind of discussion center for how the stylesheets ought to operate, at least for issues pertaining solely to formatting as opposed to semantics), by indicating here necessary deviations from the XHTML stylesheets (due to CSS constraints) or potentially desirable alternatives, etc.).&lt;br /&gt;
&lt;br /&gt;
Advantages of CSS over XSL might include:&lt;br /&gt;
# Simpler for maintenance/alteration (though CSS can still be combined with simpler XSL as needed)&lt;br /&gt;
# Downloading (and parsing?) is faster&lt;br /&gt;
# Wider browser support (and for browser caching?)&lt;br /&gt;
# Allows DOM and other manipulation directly on semantically-named TEI elements (though admittedly, use of frameworks like jQuery may make traversal of X/HTML as easy or easier)&lt;br /&gt;
# TEI could potentially be used as is in HTML (though empty self-closing elements will not be treated properly unless changed to &amp;lt;elem&amp;gt;&amp;lt;/elem&amp;gt; form and namespaces will not be present) in addition to true XHTML.&lt;br /&gt;
&lt;br /&gt;
Disadvantages:&lt;br /&gt;
# Does not allow for certain kinds of transformations (though again, CSS can be combined with a simple XSL stylesheet which preserves TEI except in cases where needed)&lt;br /&gt;
# Is cumbersome for certain variable structures (e.g., for values varying by integer (e.g., item.n =&amp;gt; li.value or space.extent =&amp;gt; number of spaces) a separate rule must be created for each possible attribute value)&lt;br /&gt;
# (Another disadvantage of CSS in general is being unable to create certain kinds of output such as form controls, but in the case of TEI, we hardly need this.)&lt;br /&gt;
&lt;br /&gt;
Per CSS Namespaces, one can use either&lt;br /&gt;
 @namespace &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 @namespace tei &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
...but we will use the former since we will presume the stylesheet will be primarily (if not exclusively) for TEI.&lt;br /&gt;
&lt;br /&gt;
We will not be able to make equivalents for XSLT templates like rendToClass (e.g., ab) or applyRend (emph), applyRendition (emph) since we cannot (nor do we need to) add an id or class (though @rend or @rendition would be useful to utilize, there is no &amp;quot;eval()&amp;quot;-like code in CSS; however, we could test against predefined values like &amp;quot;bold&amp;quot; (maybe as a global * or at least the elements using these in the stylesheets (emph, hi, ...))).&lt;br /&gt;
&lt;br /&gt;
All fields below should be complete for an element, or otherwise noted that it is incomplete, so that it can otherwise be assumed that the CSS has been completely applied as far as possible (besides rend/rendition which may later be done globally for all elements, as these are indeed globals).&lt;br /&gt;
&lt;br /&gt;
==a==&lt;br /&gt;
 ab {display:block;}&lt;br /&gt;
* abbr&lt;br /&gt;
* accMat&lt;br /&gt;
* acquisition&lt;br /&gt;
* activity&lt;br /&gt;
 actor {display:inline; font-style: italic;}&lt;br /&gt;
* add&lt;br /&gt;
* addName&lt;br /&gt;
* addSpan&lt;br /&gt;
* additional&lt;br /&gt;
* additions&lt;br /&gt;
 addrLine {display:block;}&lt;br /&gt;
 address {display:block; /* font-style:italic; If wish to appear as HTML addresses are rendered by default, at least in Firefox */}&lt;br /&gt;
* adminInfo&lt;br /&gt;
* affiliation&lt;br /&gt;
* age&lt;br /&gt;
* alt&lt;br /&gt;
* altGrp&lt;br /&gt;
* altIdent&lt;br /&gt;
* altIdentifier&lt;br /&gt;
* am&lt;br /&gt;
* analytic&lt;br /&gt;
* anchor&lt;br /&gt;
* app&lt;br /&gt;
* appInfo&lt;br /&gt;
* application&lt;br /&gt;
* arc&lt;br /&gt;
* argument&lt;br /&gt;
 att {display:inline; font-weight:bold;} att:before {content:&amp;quot;@&amp;quot;}&lt;br /&gt;
* attDef&lt;br /&gt;
* attList&lt;br /&gt;
* attRef&lt;br /&gt;
* author&lt;br /&gt;
* authority&lt;br /&gt;
* availability&lt;br /&gt;
&lt;br /&gt;
==b==&lt;br /&gt;
&lt;br /&gt;
* back&lt;br /&gt;
* bibl&lt;br /&gt;
* biblFull&lt;br /&gt;
* biblScope&lt;br /&gt;
* biblStruct&lt;br /&gt;
* bicond&lt;br /&gt;
* binary&lt;br /&gt;
* binaryObject&lt;br /&gt;
* binding&lt;br /&gt;
* bindingDesc&lt;br /&gt;
* birth&lt;br /&gt;
* bloc&lt;br /&gt;
* body&lt;br /&gt;
* broadcast&lt;br /&gt;
 byline {display:block;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==c==&lt;br /&gt;
&lt;br /&gt;
* c&lt;br /&gt;
* cRefPattern&lt;br /&gt;
 caesura:before {display:inline; content:&amp;quot;\a0\a0\a0\a0&amp;quot;; /* could be :after too */}&lt;br /&gt;
 camera {display:inline; font-style: italic;}&lt;br /&gt;
 caption {display:inline; font-style: italic;}&lt;br /&gt;
* case&lt;br /&gt;
* castGroup&lt;br /&gt;
* castItem&lt;br /&gt;
* castList&lt;br /&gt;
* catDesc&lt;br /&gt;
* catRef&lt;br /&gt;
* catchwords&lt;br /&gt;
* category&lt;br /&gt;
* cb&lt;br /&gt;
* cell&lt;br /&gt;
* certainty&lt;br /&gt;
* change&lt;br /&gt;
* channel&lt;br /&gt;
* char&lt;br /&gt;
* charDecl&lt;br /&gt;
* charName&lt;br /&gt;
* charProp&lt;br /&gt;
* choice&lt;br /&gt;
* cit&lt;br /&gt;
* cl&lt;br /&gt;
* classCode&lt;br /&gt;
* classDecl&lt;br /&gt;
* classSpec&lt;br /&gt;
* classes&lt;br /&gt;
* climate&lt;br /&gt;
* closer&lt;br /&gt;
 code {display:inline; font-family:monospace;}&lt;br /&gt;
* collation&lt;br /&gt;
* collection&lt;br /&gt;
* colloc&lt;br /&gt;
* colophon&lt;br /&gt;
* cond&lt;br /&gt;
* condition&lt;br /&gt;
* constitution&lt;br /&gt;
* constraint&lt;br /&gt;
* constraintSpec&lt;br /&gt;
* content&lt;br /&gt;
* corr&lt;br /&gt;
* correction&lt;br /&gt;
* country&lt;br /&gt;
* creation&lt;br /&gt;
* custEvent&lt;br /&gt;
* custodialHist&lt;br /&gt;
&lt;br /&gt;
==d==&lt;br /&gt;
&lt;br /&gt;
* damage&lt;br /&gt;
* damageSpan&lt;br /&gt;
* datatype&lt;br /&gt;
* date&lt;br /&gt;
* dateline&lt;br /&gt;
* death&lt;br /&gt;
* decoDesc&lt;br /&gt;
* decoNote&lt;br /&gt;
* def&lt;br /&gt;
* default&lt;br /&gt;
* defaultVal&lt;br /&gt;
 del {display:inline; text-decoration: line-through;}&lt;br /&gt;
* delSpan&lt;br /&gt;
* depth&lt;br /&gt;
* derivation&lt;br /&gt;
* desc&lt;br /&gt;
* dictScrap&lt;br /&gt;
* dim&lt;br /&gt;
* dimensions&lt;br /&gt;
* distinct&lt;br /&gt;
* distributor&lt;br /&gt;
* district&lt;br /&gt;
* div&lt;br /&gt;
* div1&lt;br /&gt;
* div2&lt;br /&gt;
* div3&lt;br /&gt;
* div4&lt;br /&gt;
* div5&lt;br /&gt;
* div6&lt;br /&gt;
* div7&lt;br /&gt;
* divGen&lt;br /&gt;
* docAuthor&lt;br /&gt;
* docDate&lt;br /&gt;
* docEdition&lt;br /&gt;
* docImprint&lt;br /&gt;
* docTitle&lt;br /&gt;
* domain&lt;br /&gt;
&lt;br /&gt;
==e==&lt;br /&gt;
&lt;br /&gt;
* eLeaf&lt;br /&gt;
* eTree&lt;br /&gt;
* edition&lt;br /&gt;
* editionStmt&lt;br /&gt;
* editor&lt;br /&gt;
* editorialDecl&lt;br /&gt;
* education&lt;br /&gt;
* eg&lt;br /&gt;
* egXML&lt;br /&gt;
* elementSpec&lt;br /&gt;
* email&lt;br /&gt;
 emph {display:inline; font-style:italic;}&lt;br /&gt;
* encodingDesc&lt;br /&gt;
* entry&lt;br /&gt;
* entryFree&lt;br /&gt;
 epigraph {display:block;}&lt;br /&gt;
* epilogue&lt;br /&gt;
* equipment&lt;br /&gt;
* equiv&lt;br /&gt;
* etym&lt;br /&gt;
* event&lt;br /&gt;
* ex&lt;br /&gt;
* exemplum&lt;br /&gt;
* expan&lt;br /&gt;
* explicit&lt;br /&gt;
* extent&lt;br /&gt;
&lt;br /&gt;
==f==&lt;br /&gt;
&lt;br /&gt;
* f&lt;br /&gt;
* fDecl&lt;br /&gt;
* fDescr&lt;br /&gt;
* fLib&lt;br /&gt;
* facsimile&lt;br /&gt;
* factuality&lt;br /&gt;
* faith&lt;br /&gt;
* figDesc&lt;br /&gt;
* figure&lt;br /&gt;
* fileDesc&lt;br /&gt;
* filiation&lt;br /&gt;
* finalRubric&lt;br /&gt;
* floatingText&lt;br /&gt;
* floruit&lt;br /&gt;
* foliation&lt;br /&gt;
 foreign {display:inline;}&lt;br /&gt;
* forename&lt;br /&gt;
* forest&lt;br /&gt;
* forestGrp&lt;br /&gt;
* form&lt;br /&gt;
* formula&lt;br /&gt;
* front&lt;br /&gt;
* fs&lt;br /&gt;
* fsConstraints&lt;br /&gt;
* fsDecl&lt;br /&gt;
* fsDescr&lt;br /&gt;
* fsdDecl&lt;br /&gt;
* fsdLink&lt;br /&gt;
* funder&lt;br /&gt;
* fvLib&lt;br /&gt;
* fw&lt;br /&gt;
&lt;br /&gt;
==g==&lt;br /&gt;
&lt;br /&gt;
* g&lt;br /&gt;
* gap&lt;br /&gt;
* gen&lt;br /&gt;
* genName&lt;br /&gt;
* geo&lt;br /&gt;
* geoDecl&lt;br /&gt;
* geogFeat&lt;br /&gt;
* geogName&lt;br /&gt;
 gi:before {display:inline;content:&amp;quot;&amp;lt;&amp;quot;}  gi:after {display:inline;content:&amp;quot;&amp;gt;&amp;quot;}&lt;br /&gt;
 gloss {display:inline;}&lt;br /&gt;
* glyph&lt;br /&gt;
* glyphName&lt;br /&gt;
* gram&lt;br /&gt;
* gramGrp&lt;br /&gt;
* graph&lt;br /&gt;
* graphic&lt;br /&gt;
* group&lt;br /&gt;
&lt;br /&gt;
==h==&lt;br /&gt;
&lt;br /&gt;
* handDesc&lt;br /&gt;
* handNote&lt;br /&gt;
* handNotes&lt;br /&gt;
* handShift&lt;br /&gt;
* head&lt;br /&gt;
* headItem&lt;br /&gt;
* headLabel&lt;br /&gt;
* height&lt;br /&gt;
* heraldry&lt;br /&gt;
 hi {display:inline; font-weight:bold;}&lt;br /&gt;
* history&lt;br /&gt;
* hom&lt;br /&gt;
* hyph&lt;br /&gt;
* hyphenation&lt;br /&gt;
&lt;br /&gt;
==i==&lt;br /&gt;
&lt;br /&gt;
* iNode&lt;br /&gt;
* iType&lt;br /&gt;
 ident[type] {display:inline; font-weight:bold;} ident:not([type]) {display:inline; } /* Just as the stylesheet allows for different types; a specific type could be styled by ident[type=&amp;quot;XXX&amp;quot;] */&lt;br /&gt;
* idno&lt;br /&gt;
* if&lt;br /&gt;
* iff&lt;br /&gt;
* imprimatur&lt;br /&gt;
* imprint&lt;br /&gt;
* incident (speech module: XSL has not yet covered)&lt;br /&gt;
* incipit&lt;br /&gt;
* index&lt;br /&gt;
* institution&lt;br /&gt;
* interaction&lt;br /&gt;
* interp&lt;br /&gt;
* interpGrp&lt;br /&gt;
* interpretation&lt;br /&gt;
* item&lt;br /&gt;
&lt;br /&gt;
==j==&lt;br /&gt;
&lt;br /&gt;
* join&lt;br /&gt;
* joinGrp&lt;br /&gt;
&lt;br /&gt;
==k==&lt;br /&gt;
&lt;br /&gt;
* keywords&lt;br /&gt;
* kinesic (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==l==&lt;br /&gt;
&lt;br /&gt;
 l {display:block;}&lt;br /&gt;
 label {display:inline;}&lt;br /&gt;
* lacunaEnd&lt;br /&gt;
* lacunaStart&lt;br /&gt;
* lang&lt;br /&gt;
* langKnowledge&lt;br /&gt;
* langKnown&lt;br /&gt;
* langUsage&lt;br /&gt;
* language&lt;br /&gt;
* layout&lt;br /&gt;
* layoutDesc&lt;br /&gt;
 lb {display:block;}&lt;br /&gt;
* lbl&lt;br /&gt;
* leaf&lt;br /&gt;
* lem&lt;br /&gt;
 lg {display:block;}&lt;br /&gt;
* link&lt;br /&gt;
* linkGrp&lt;br /&gt;
* list&lt;br /&gt;
* listBibl&lt;br /&gt;
* listEvent&lt;br /&gt;
* listNym&lt;br /&gt;
* listOrg&lt;br /&gt;
* listPerson&lt;br /&gt;
* listPlace&lt;br /&gt;
* listRef&lt;br /&gt;
* listWit&lt;br /&gt;
* localName&lt;br /&gt;
* locale&lt;br /&gt;
* location&lt;br /&gt;
* locus&lt;br /&gt;
* locusGrp&lt;br /&gt;
&lt;br /&gt;
==m==&lt;br /&gt;
&lt;br /&gt;
* m&lt;br /&gt;
* macroSpec&lt;br /&gt;
* mapping&lt;br /&gt;
* material&lt;br /&gt;
* measure&lt;br /&gt;
* measureGrp&lt;br /&gt;
* meeting&lt;br /&gt;
* memberOf&lt;br /&gt;
 mentioned {display:inline;}&lt;br /&gt;
* metDecl&lt;br /&gt;
* metSym&lt;br /&gt;
* milestone&lt;br /&gt;
* moduleRef&lt;br /&gt;
* moduleSpec&lt;br /&gt;
* monogr&lt;br /&gt;
* mood&lt;br /&gt;
* move&lt;br /&gt;
* msContents&lt;br /&gt;
* msDesc&lt;br /&gt;
* msIdentifier&lt;br /&gt;
* msItem&lt;br /&gt;
* msItemStruct&lt;br /&gt;
* msName&lt;br /&gt;
* msPart&lt;br /&gt;
* musicNotation&lt;br /&gt;
&lt;br /&gt;
==n==&lt;br /&gt;
&lt;br /&gt;
* name&lt;br /&gt;
* nameLink&lt;br /&gt;
* namespace&lt;br /&gt;
* nationality&lt;br /&gt;
* node&lt;br /&gt;
* normalization&lt;br /&gt;
* note&lt;br /&gt;
* notesStmt&lt;br /&gt;
* num&lt;br /&gt;
* number&lt;br /&gt;
* numeric&lt;br /&gt;
* nym&lt;br /&gt;
&lt;br /&gt;
==o==&lt;br /&gt;
&lt;br /&gt;
* oRef&lt;br /&gt;
* oVar&lt;br /&gt;
* objectDesc&lt;br /&gt;
* occupation&lt;br /&gt;
* offset&lt;br /&gt;
* opener&lt;br /&gt;
* org&lt;br /&gt;
* orgName&lt;br /&gt;
* orig&lt;br /&gt;
* origDate&lt;br /&gt;
* origPlace&lt;br /&gt;
* origin&lt;br /&gt;
* orth&lt;br /&gt;
&lt;br /&gt;
==p==&lt;br /&gt;
&lt;br /&gt;
* p&lt;br /&gt;
* pRef&lt;br /&gt;
* pVar&lt;br /&gt;
* particDesc&lt;br /&gt;
* pause (speech module: XSL has not yet covered)&lt;br /&gt;
* pb&lt;br /&gt;
* pc&lt;br /&gt;
* per&lt;br /&gt;
* performance&lt;br /&gt;
* persName&lt;br /&gt;
* person&lt;br /&gt;
* personGrp&lt;br /&gt;
* phr&lt;br /&gt;
* physDesc&lt;br /&gt;
* place&lt;br /&gt;
* placeName&lt;br /&gt;
* population&lt;br /&gt;
* pos&lt;br /&gt;
* postBox&lt;br /&gt;
* postCode&lt;br /&gt;
* postscript&lt;br /&gt;
* precision&lt;br /&gt;
* preparedness&lt;br /&gt;
* principal&lt;br /&gt;
* profileDesc&lt;br /&gt;
* projectDesc&lt;br /&gt;
* prologue&lt;br /&gt;
* pron&lt;br /&gt;
* provenance&lt;br /&gt;
* ptr&lt;br /&gt;
* pubPlace&lt;br /&gt;
* publicationStmt&lt;br /&gt;
* publisher&lt;br /&gt;
* purpose&lt;br /&gt;
&lt;br /&gt;
==q==&lt;br /&gt;
&lt;br /&gt;
* q&lt;br /&gt;
* quotation&lt;br /&gt;
* quote&lt;br /&gt;
&lt;br /&gt;
==r==&lt;br /&gt;
&lt;br /&gt;
* rdg&lt;br /&gt;
* rdgGrp&lt;br /&gt;
* re&lt;br /&gt;
* recordHist&lt;br /&gt;
* recording&lt;br /&gt;
* recordingStmt&lt;br /&gt;
* ref&lt;br /&gt;
* refState&lt;br /&gt;
* refsDecl&lt;br /&gt;
* reg&lt;br /&gt;
* region&lt;br /&gt;
* relatedItem&lt;br /&gt;
* relation&lt;br /&gt;
* relationGrp&lt;br /&gt;
* remarks&lt;br /&gt;
* rendition&lt;br /&gt;
* repository&lt;br /&gt;
* residence&lt;br /&gt;
 resp:after {content:&amp;quot; &amp;quot;}&lt;br /&gt;
 respStmt {display:inline;}&lt;br /&gt;
* respons&lt;br /&gt;
* restore&lt;br /&gt;
* revisionDesc&lt;br /&gt;
* rhyme&lt;br /&gt;
 role {display:inline; font-style: italic;}&lt;br /&gt;
 roleDesc { margin-left: 40px; margin-right: 40px; } roleDesc &amp;gt; *:not(p) {display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* roleName&lt;br /&gt;
* root&lt;br /&gt;
* row&lt;br /&gt;
* rs&lt;br /&gt;
* rubric&lt;br /&gt;
&lt;br /&gt;
==s==&lt;br /&gt;
&lt;br /&gt;
* s&lt;br /&gt;
* said&lt;br /&gt;
 salute {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* samplingDecl&lt;br /&gt;
* schemaSpec&lt;br /&gt;
* scriptStmt&lt;br /&gt;
* seal&lt;br /&gt;
* sealDesc&lt;br /&gt;
* secFol&lt;br /&gt;
 seg {display:inline;}&lt;br /&gt;
* segmentation&lt;br /&gt;
* sense&lt;br /&gt;
* series&lt;br /&gt;
* seriesStmt&lt;br /&gt;
 set {display:inline; font-style: italic;}&lt;br /&gt;
* setting&lt;br /&gt;
* settingDesc&lt;br /&gt;
* settlement&lt;br /&gt;
* se x (separated for spam filter)&lt;br /&gt;
* shift (speech module: XSL has not yet covered)&lt;br /&gt;
 sic {display:inline;} sic:after {content: &amp;quot; (sic)&amp;quot;}&lt;br /&gt;
* signatures&lt;br /&gt;
 signed {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* soCalled&lt;br /&gt;
* socecStatus&lt;br /&gt;
 sound {display:inline; font-style: italic;}&lt;br /&gt;
* source&lt;br /&gt;
* sourceDesc&lt;br /&gt;
* sp&lt;br /&gt;
* space&lt;br /&gt;
* span&lt;br /&gt;
* spanGrp&lt;br /&gt;
* speaker&lt;br /&gt;
* specDesc&lt;br /&gt;
* specGrp&lt;br /&gt;
* specGrpRef&lt;br /&gt;
* specList&lt;br /&gt;
* sponsor&lt;br /&gt;
 stage {font-style: italic; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* stamp&lt;br /&gt;
* state&lt;br /&gt;
* stdVals&lt;br /&gt;
* street&lt;br /&gt;
* stress&lt;br /&gt;
* string&lt;br /&gt;
* stringVal&lt;br /&gt;
* subc&lt;br /&gt;
* subst&lt;br /&gt;
* summary&lt;br /&gt;
* superEntry&lt;br /&gt;
* supplied&lt;br /&gt;
* support&lt;br /&gt;
* supportDesc&lt;br /&gt;
* surface&lt;br /&gt;
* surname&lt;br /&gt;
* surplus&lt;br /&gt;
* surrogates&lt;br /&gt;
* syll&lt;br /&gt;
* symbol&lt;br /&gt;
&lt;br /&gt;
==t==&lt;br /&gt;
&lt;br /&gt;
* TEI&lt;br /&gt;
* table&lt;br /&gt;
* tag&lt;br /&gt;
* tagUsage&lt;br /&gt;
* tagsDecl&lt;br /&gt;
* taxonomy&lt;br /&gt;
 tech {display:inline; font-style: italic;}&lt;br /&gt;
* teiCorpus&lt;br /&gt;
* teiHeader&lt;br /&gt;
 term {display:inline;}&lt;br /&gt;
* terrain&lt;br /&gt;
* text&lt;br /&gt;
* textClass&lt;br /&gt;
* textDesc&lt;br /&gt;
* textLang&lt;br /&gt;
* then&lt;br /&gt;
* time&lt;br /&gt;
* timeline&lt;br /&gt;
* title&lt;br /&gt;
* titlePage&lt;br /&gt;
* titlePart&lt;br /&gt;
* titleStmt&lt;br /&gt;
* tns&lt;br /&gt;
* trailer&lt;br /&gt;
* trait&lt;br /&gt;
* tree&lt;br /&gt;
* triangle&lt;br /&gt;
* typeDesc&lt;br /&gt;
* typeNote&lt;br /&gt;
&lt;br /&gt;
==u==&lt;br /&gt;
&lt;br /&gt;
* u (speech module: XSL has not yet covered)&lt;br /&gt;
 unclear {display:inline;}&lt;br /&gt;
* unicodeName&lt;br /&gt;
* usg&lt;br /&gt;
&lt;br /&gt;
==v==&lt;br /&gt;
&lt;br /&gt;
* vAlt&lt;br /&gt;
* vColl&lt;br /&gt;
* vDefault&lt;br /&gt;
* vLabel&lt;br /&gt;
* vMerge&lt;br /&gt;
* vNot&lt;br /&gt;
* vRange&lt;br /&gt;
* val&lt;br /&gt;
* valDesc&lt;br /&gt;
* valItem&lt;br /&gt;
* valList&lt;br /&gt;
* value&lt;br /&gt;
* variantEncoding&lt;br /&gt;
 view {display:inline; font-style: italic;}&lt;br /&gt;
* vocal (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==w==&lt;br /&gt;
&lt;br /&gt;
* w&lt;br /&gt;
* watermark&lt;br /&gt;
* when&lt;br /&gt;
* width&lt;br /&gt;
* wit&lt;br /&gt;
* witDetail&lt;br /&gt;
* witEnd&lt;br /&gt;
* witStart&lt;br /&gt;
* witness&lt;br /&gt;
* writing (speech module: XSL has not yet covered)&lt;br /&gt;
&lt;br /&gt;
==x==&lt;br /&gt;
&lt;br /&gt;
* xr&lt;br /&gt;
&lt;br /&gt;
==y==&lt;br /&gt;
&lt;br /&gt;
(none)&lt;br /&gt;
&lt;br /&gt;
==z==&lt;br /&gt;
z&lt;br /&gt;
&lt;br /&gt;
* zone&lt;br /&gt;
&lt;br /&gt;
==References used==&lt;br /&gt;
* http://math.ut.ee/~kaarel/NLP/TEI/visualization/ (on rationales)&lt;br /&gt;
&lt;br /&gt;
[[Category:CSS]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7654</id>
		<title>Comprehensive CSS Stylesheet</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7654"/>
		<updated>2010-06-07T03:15:02Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: +disadvanage&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following is an attempt to gradually build CSS for each TEI element, paralleling the default TEI stylesheets (while also potentially serving as a kind of discussion center for how the stylesheets ought to operate, at least for issues pertaining solely to formatting as opposed to semantics), by indicating here necessary deviations from the XHTML stylesheets (due to CSS constraints) or potentially desirable alternatives, etc.).&lt;br /&gt;
&lt;br /&gt;
Advantages of CSS over XSL might include:&lt;br /&gt;
# Simpler for maintenance/alteration (though CSS can still be combined with simpler XSL as needed)&lt;br /&gt;
# Downloading (and parsing?) is faster&lt;br /&gt;
# Wider browser support (and for browser caching?)&lt;br /&gt;
# Allows DOM and other manipulation directly on semantically-named TEI elements (though admittedly, use of frameworks like jQuery may make traversal of X/HTML as easy or easier)&lt;br /&gt;
# TEI could potentially be used as is in HTML (though empty self-closing elements will not be treated properly unless changed to &amp;lt;elem&amp;gt;&amp;lt;/elem&amp;gt; form and namespaces will not be present) in addition to true XHTML.&lt;br /&gt;
&lt;br /&gt;
Disadvantages:&lt;br /&gt;
# Does not allow for certain kinds of transformations (though again, CSS can be combined with a simple XSL stylesheet which preserves TEI except in cases where needed)&lt;br /&gt;
# Is cumbersome for certain variable structures (e.g., for values varying by integer (e.g., item.n =&amp;gt; li.value or space.extent =&amp;gt; number of spaces) a separate rule must be created for each possible attribute value)&lt;br /&gt;
# (Another disadvantage of CSS in general is being unable to create certain kinds of output such as form controls, but in the case of TEI, we hardly need this.)&lt;br /&gt;
&lt;br /&gt;
Per CSS Namespaces, one can use either&lt;br /&gt;
 @namespace &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 @namespace tei &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
...but we will use the former since we will presume the stylesheet will be primarily (if not exclusively) for TEI.&lt;br /&gt;
&lt;br /&gt;
We will not be able to make equivalents for XSLT templates like rendToClass (e.g., ab) or applyRend (emph), applyRendition (emph) since we cannot (nor do we need to) add an id or class (though @rend or @rendition would be useful to utilize, there is no &amp;quot;eval()&amp;quot;-like code in CSS; however, we could test against predefined values like &amp;quot;bold&amp;quot; (maybe as a global * or at least the elements using these in the stylesheets (emph, hi, ...))).&lt;br /&gt;
&lt;br /&gt;
All fields below should be complete for an element, or otherwise noted that it is incomplete, so that it can otherwise be assumed that the CSS has been completely applied as far as possible (besides rend/rendition which may later be done globally for all elements, as these are indeed globals).&lt;br /&gt;
&lt;br /&gt;
==a==&lt;br /&gt;
 ab {display:block;}&lt;br /&gt;
* abbr&lt;br /&gt;
* accMat&lt;br /&gt;
* acquisition&lt;br /&gt;
* activity&lt;br /&gt;
 actor {display:inline; font-style: italic;}&lt;br /&gt;
* add&lt;br /&gt;
* addName&lt;br /&gt;
* addSpan&lt;br /&gt;
* additional&lt;br /&gt;
* additions&lt;br /&gt;
 addrLine {display:block;}&lt;br /&gt;
 address {display:block; /* font-style:italic; If wish to appear as HTML addresses are rendered by default, at least in Firefox */}&lt;br /&gt;
* adminInfo&lt;br /&gt;
* affiliation&lt;br /&gt;
* age&lt;br /&gt;
* alt&lt;br /&gt;
* altGrp&lt;br /&gt;
* altIdent&lt;br /&gt;
* altIdentifier&lt;br /&gt;
* am&lt;br /&gt;
* analytic&lt;br /&gt;
* anchor&lt;br /&gt;
* app&lt;br /&gt;
* appInfo&lt;br /&gt;
* application&lt;br /&gt;
* arc&lt;br /&gt;
* argument&lt;br /&gt;
 att {display:inline; font-weight:bold;} att:before {content:&amp;quot;@&amp;quot;}&lt;br /&gt;
* attDef&lt;br /&gt;
* attList&lt;br /&gt;
* attRef&lt;br /&gt;
* author&lt;br /&gt;
* authority&lt;br /&gt;
* availability&lt;br /&gt;
&lt;br /&gt;
==b==&lt;br /&gt;
&lt;br /&gt;
* back&lt;br /&gt;
* bibl&lt;br /&gt;
* biblFull&lt;br /&gt;
* biblScope&lt;br /&gt;
* biblStruct&lt;br /&gt;
* bicond&lt;br /&gt;
* binary&lt;br /&gt;
* binaryObject&lt;br /&gt;
* binding&lt;br /&gt;
* bindingDesc&lt;br /&gt;
* birth&lt;br /&gt;
* bloc&lt;br /&gt;
* body&lt;br /&gt;
* broadcast&lt;br /&gt;
 byline {display:block;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==c==&lt;br /&gt;
&lt;br /&gt;
* c&lt;br /&gt;
* cRefPattern&lt;br /&gt;
 caesura:before {display:inline; content:&amp;quot;\a0\a0\a0\a0&amp;quot;; /* could be :after too */}&lt;br /&gt;
 camera {display:inline; font-style: italic;}&lt;br /&gt;
 caption {display:inline; font-style: italic;}&lt;br /&gt;
* case&lt;br /&gt;
* castGroup&lt;br /&gt;
* castItem&lt;br /&gt;
* castList&lt;br /&gt;
* catDesc&lt;br /&gt;
* catRef&lt;br /&gt;
* catchwords&lt;br /&gt;
* category&lt;br /&gt;
* cb&lt;br /&gt;
* cell&lt;br /&gt;
* certainty&lt;br /&gt;
* change&lt;br /&gt;
* channel&lt;br /&gt;
* char&lt;br /&gt;
* charDecl&lt;br /&gt;
* charName&lt;br /&gt;
* charProp&lt;br /&gt;
* choice&lt;br /&gt;
* cit&lt;br /&gt;
* cl&lt;br /&gt;
* classCode&lt;br /&gt;
* classDecl&lt;br /&gt;
* classSpec&lt;br /&gt;
* classes&lt;br /&gt;
* climate&lt;br /&gt;
* closer&lt;br /&gt;
 code {display:inline; font-family:monospace;}&lt;br /&gt;
* collation&lt;br /&gt;
* collection&lt;br /&gt;
* colloc&lt;br /&gt;
* colophon&lt;br /&gt;
* cond&lt;br /&gt;
* condition&lt;br /&gt;
* constitution&lt;br /&gt;
* constraint&lt;br /&gt;
* constraintSpec&lt;br /&gt;
* content&lt;br /&gt;
* corr&lt;br /&gt;
* correction&lt;br /&gt;
* country&lt;br /&gt;
* creation&lt;br /&gt;
* custEvent&lt;br /&gt;
* custodialHist&lt;br /&gt;
&lt;br /&gt;
==d==&lt;br /&gt;
&lt;br /&gt;
* damage&lt;br /&gt;
* damageSpan&lt;br /&gt;
* datatype&lt;br /&gt;
* date&lt;br /&gt;
* dateline&lt;br /&gt;
* death&lt;br /&gt;
* decoDesc&lt;br /&gt;
* decoNote&lt;br /&gt;
* def&lt;br /&gt;
* default&lt;br /&gt;
* defaultVal&lt;br /&gt;
 del {display:inline; text-decoration: line-through;}&lt;br /&gt;
* delSpan&lt;br /&gt;
* depth&lt;br /&gt;
* derivation&lt;br /&gt;
* desc&lt;br /&gt;
* dictScrap&lt;br /&gt;
* dim&lt;br /&gt;
* dimensions&lt;br /&gt;
* distinct&lt;br /&gt;
* distributor&lt;br /&gt;
* district&lt;br /&gt;
* div&lt;br /&gt;
* div1&lt;br /&gt;
* div2&lt;br /&gt;
* div3&lt;br /&gt;
* div4&lt;br /&gt;
* div5&lt;br /&gt;
* div6&lt;br /&gt;
* div7&lt;br /&gt;
* divGen&lt;br /&gt;
* docAuthor&lt;br /&gt;
* docDate&lt;br /&gt;
* docEdition&lt;br /&gt;
* docImprint&lt;br /&gt;
* docTitle&lt;br /&gt;
* domain&lt;br /&gt;
&lt;br /&gt;
==e==&lt;br /&gt;
&lt;br /&gt;
* eLeaf&lt;br /&gt;
* eTree&lt;br /&gt;
* edition&lt;br /&gt;
* editionStmt&lt;br /&gt;
* editor&lt;br /&gt;
* editorialDecl&lt;br /&gt;
* education&lt;br /&gt;
* eg&lt;br /&gt;
* egXML&lt;br /&gt;
* elementSpec&lt;br /&gt;
* email&lt;br /&gt;
 emph {display:inline; font-style:italic;}&lt;br /&gt;
* encodingDesc&lt;br /&gt;
* entry&lt;br /&gt;
* entryFree&lt;br /&gt;
 epigraph {display:block;}&lt;br /&gt;
* epilogue&lt;br /&gt;
* equipment&lt;br /&gt;
* equiv&lt;br /&gt;
* etym&lt;br /&gt;
* event&lt;br /&gt;
* ex&lt;br /&gt;
* exemplum&lt;br /&gt;
* expan&lt;br /&gt;
* explicit&lt;br /&gt;
* extent&lt;br /&gt;
&lt;br /&gt;
==f==&lt;br /&gt;
&lt;br /&gt;
* f&lt;br /&gt;
* fDecl&lt;br /&gt;
* fDescr&lt;br /&gt;
* fLib&lt;br /&gt;
* facsimile&lt;br /&gt;
* factuality&lt;br /&gt;
* faith&lt;br /&gt;
* figDesc&lt;br /&gt;
* figure&lt;br /&gt;
* fileDesc&lt;br /&gt;
* filiation&lt;br /&gt;
* finalRubric&lt;br /&gt;
* floatingText&lt;br /&gt;
* floruit&lt;br /&gt;
* foliation&lt;br /&gt;
 foreign {display:inline;}&lt;br /&gt;
* forename&lt;br /&gt;
* forest&lt;br /&gt;
* forestGrp&lt;br /&gt;
* form&lt;br /&gt;
* formula&lt;br /&gt;
* front&lt;br /&gt;
* fs&lt;br /&gt;
* fsConstraints&lt;br /&gt;
* fsDecl&lt;br /&gt;
* fsDescr&lt;br /&gt;
* fsdDecl&lt;br /&gt;
* fsdLink&lt;br /&gt;
* funder&lt;br /&gt;
* fvLib&lt;br /&gt;
* fw&lt;br /&gt;
&lt;br /&gt;
==g==&lt;br /&gt;
&lt;br /&gt;
* g&lt;br /&gt;
* gap&lt;br /&gt;
* gen&lt;br /&gt;
* genName&lt;br /&gt;
* geo&lt;br /&gt;
* geoDecl&lt;br /&gt;
* geogFeat&lt;br /&gt;
* geogName&lt;br /&gt;
 gi:before {display:inline;content:&amp;quot;&amp;lt;&amp;quot;}  gi:after {display:inline;content:&amp;quot;&amp;gt;&amp;quot;}&lt;br /&gt;
 gloss {display:inline;}&lt;br /&gt;
* glyph&lt;br /&gt;
* glyphName&lt;br /&gt;
* gram&lt;br /&gt;
* gramGrp&lt;br /&gt;
* graph&lt;br /&gt;
* graphic&lt;br /&gt;
* group&lt;br /&gt;
&lt;br /&gt;
==h==&lt;br /&gt;
&lt;br /&gt;
* handDesc&lt;br /&gt;
* handNote&lt;br /&gt;
* handNotes&lt;br /&gt;
* handShift&lt;br /&gt;
* head&lt;br /&gt;
* headItem&lt;br /&gt;
* headLabel&lt;br /&gt;
* height&lt;br /&gt;
* heraldry&lt;br /&gt;
 hi {display:inline; font-weight:bold;}&lt;br /&gt;
* history&lt;br /&gt;
* hom&lt;br /&gt;
* hyph&lt;br /&gt;
* hyphenation&lt;br /&gt;
&lt;br /&gt;
==i==&lt;br /&gt;
&lt;br /&gt;
* iNode&lt;br /&gt;
* iType&lt;br /&gt;
 ident[type] {display:inline; font-weight:bold;} ident:not([type]) {display:inline; } /* Just as the stylesheet allows for different types; a specific type could be styled by ident[type=&amp;quot;XXX&amp;quot;] */&lt;br /&gt;
* idno&lt;br /&gt;
* if&lt;br /&gt;
* iff&lt;br /&gt;
* imprimatur&lt;br /&gt;
* imprint&lt;br /&gt;
* incident&lt;br /&gt;
* incipit&lt;br /&gt;
* index&lt;br /&gt;
* institution&lt;br /&gt;
* interaction&lt;br /&gt;
* interp&lt;br /&gt;
* interpGrp&lt;br /&gt;
* interpretation&lt;br /&gt;
* item&lt;br /&gt;
&lt;br /&gt;
==j==&lt;br /&gt;
&lt;br /&gt;
* join&lt;br /&gt;
* joinGrp&lt;br /&gt;
&lt;br /&gt;
==k==&lt;br /&gt;
&lt;br /&gt;
* keywords&lt;br /&gt;
* kinesic&lt;br /&gt;
&lt;br /&gt;
==l==&lt;br /&gt;
&lt;br /&gt;
 l {display:block;}&lt;br /&gt;
 label {display:inline;}&lt;br /&gt;
* lacunaEnd&lt;br /&gt;
* lacunaStart&lt;br /&gt;
* lang&lt;br /&gt;
* langKnowledge&lt;br /&gt;
* langKnown&lt;br /&gt;
* langUsage&lt;br /&gt;
* language&lt;br /&gt;
* layout&lt;br /&gt;
* layoutDesc&lt;br /&gt;
 lb {display:block;}&lt;br /&gt;
* lbl&lt;br /&gt;
* leaf&lt;br /&gt;
* lem&lt;br /&gt;
 lg {display:block;}&lt;br /&gt;
* link&lt;br /&gt;
* linkGrp&lt;br /&gt;
* list&lt;br /&gt;
* listBibl&lt;br /&gt;
* listEvent&lt;br /&gt;
* listNym&lt;br /&gt;
* listOrg&lt;br /&gt;
* listPerson&lt;br /&gt;
* listPlace&lt;br /&gt;
* listRef&lt;br /&gt;
* listWit&lt;br /&gt;
* localName&lt;br /&gt;
* locale&lt;br /&gt;
* location&lt;br /&gt;
* locus&lt;br /&gt;
* locusGrp&lt;br /&gt;
&lt;br /&gt;
==m==&lt;br /&gt;
&lt;br /&gt;
* m&lt;br /&gt;
* macroSpec&lt;br /&gt;
* mapping&lt;br /&gt;
* material&lt;br /&gt;
* measure&lt;br /&gt;
* measureGrp&lt;br /&gt;
* meeting&lt;br /&gt;
* memberOf&lt;br /&gt;
 mentioned {display:inline;}&lt;br /&gt;
* metDecl&lt;br /&gt;
* metSym&lt;br /&gt;
* milestone&lt;br /&gt;
* moduleRef&lt;br /&gt;
* moduleSpec&lt;br /&gt;
* monogr&lt;br /&gt;
* mood&lt;br /&gt;
* move&lt;br /&gt;
* msContents&lt;br /&gt;
* msDesc&lt;br /&gt;
* msIdentifier&lt;br /&gt;
* msItem&lt;br /&gt;
* msItemStruct&lt;br /&gt;
* msName&lt;br /&gt;
* msPart&lt;br /&gt;
* musicNotation&lt;br /&gt;
&lt;br /&gt;
==n==&lt;br /&gt;
&lt;br /&gt;
* name&lt;br /&gt;
* nameLink&lt;br /&gt;
* namespace&lt;br /&gt;
* nationality&lt;br /&gt;
* node&lt;br /&gt;
* normalization&lt;br /&gt;
* note&lt;br /&gt;
* notesStmt&lt;br /&gt;
* num&lt;br /&gt;
* number&lt;br /&gt;
* numeric&lt;br /&gt;
* nym&lt;br /&gt;
&lt;br /&gt;
==o==&lt;br /&gt;
&lt;br /&gt;
* oRef&lt;br /&gt;
* oVar&lt;br /&gt;
* objectDesc&lt;br /&gt;
* occupation&lt;br /&gt;
* offset&lt;br /&gt;
* opener&lt;br /&gt;
* org&lt;br /&gt;
* orgName&lt;br /&gt;
* orig&lt;br /&gt;
* origDate&lt;br /&gt;
* origPlace&lt;br /&gt;
* origin&lt;br /&gt;
* orth&lt;br /&gt;
&lt;br /&gt;
==p==&lt;br /&gt;
&lt;br /&gt;
* p&lt;br /&gt;
* pRef&lt;br /&gt;
* pVar&lt;br /&gt;
* particDesc&lt;br /&gt;
* pause&lt;br /&gt;
* pb&lt;br /&gt;
* pc&lt;br /&gt;
* per&lt;br /&gt;
* performance&lt;br /&gt;
* persName&lt;br /&gt;
* person&lt;br /&gt;
* personGrp&lt;br /&gt;
* phr&lt;br /&gt;
* physDesc&lt;br /&gt;
* place&lt;br /&gt;
* placeName&lt;br /&gt;
* population&lt;br /&gt;
* pos&lt;br /&gt;
* postBox&lt;br /&gt;
* postCode&lt;br /&gt;
* postscript&lt;br /&gt;
* precision&lt;br /&gt;
* preparedness&lt;br /&gt;
* principal&lt;br /&gt;
* profileDesc&lt;br /&gt;
* projectDesc&lt;br /&gt;
* prologue&lt;br /&gt;
* pron&lt;br /&gt;
* provenance&lt;br /&gt;
* ptr&lt;br /&gt;
* pubPlace&lt;br /&gt;
* publicationStmt&lt;br /&gt;
* publisher&lt;br /&gt;
* purpose&lt;br /&gt;
&lt;br /&gt;
==q==&lt;br /&gt;
&lt;br /&gt;
* q&lt;br /&gt;
* quotation&lt;br /&gt;
* quote&lt;br /&gt;
&lt;br /&gt;
==r==&lt;br /&gt;
&lt;br /&gt;
* rdg&lt;br /&gt;
* rdgGrp&lt;br /&gt;
* re&lt;br /&gt;
* recordHist&lt;br /&gt;
* recording&lt;br /&gt;
* recordingStmt&lt;br /&gt;
* ref&lt;br /&gt;
* refState&lt;br /&gt;
* refsDecl&lt;br /&gt;
* reg&lt;br /&gt;
* region&lt;br /&gt;
* relatedItem&lt;br /&gt;
* relation&lt;br /&gt;
* relationGrp&lt;br /&gt;
* remarks&lt;br /&gt;
* rendition&lt;br /&gt;
* repository&lt;br /&gt;
* residence&lt;br /&gt;
 resp:after {content:&amp;quot; &amp;quot;}&lt;br /&gt;
 respStmt {display:inline;}&lt;br /&gt;
* respons&lt;br /&gt;
* restore&lt;br /&gt;
* revisionDesc&lt;br /&gt;
* rhyme&lt;br /&gt;
 role {display:inline; font-style: italic;}&lt;br /&gt;
 roleDesc { margin-left: 40px; margin-right: 40px; } roleDesc &amp;gt; *:not(p) {display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* roleName&lt;br /&gt;
* root&lt;br /&gt;
* row&lt;br /&gt;
* rs&lt;br /&gt;
* rubric&lt;br /&gt;
&lt;br /&gt;
==s==&lt;br /&gt;
&lt;br /&gt;
* s&lt;br /&gt;
* said&lt;br /&gt;
 salute {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* samplingDecl&lt;br /&gt;
* schemaSpec&lt;br /&gt;
* scriptStmt&lt;br /&gt;
* seal&lt;br /&gt;
* sealDesc&lt;br /&gt;
* secFol&lt;br /&gt;
 seg {display:inline;}&lt;br /&gt;
* segmentation&lt;br /&gt;
* sense&lt;br /&gt;
* series&lt;br /&gt;
* seriesStmt&lt;br /&gt;
 set {display:inline; font-style: italic;}&lt;br /&gt;
* setting&lt;br /&gt;
* settingDesc&lt;br /&gt;
* settlement&lt;br /&gt;
* se x (separated for spam filter)&lt;br /&gt;
* shift&lt;br /&gt;
 sic {display:inline;} sic:after {content: &amp;quot; (sic)&amp;quot;}&lt;br /&gt;
* signatures&lt;br /&gt;
 signed {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* soCalled&lt;br /&gt;
* socecStatus&lt;br /&gt;
 sound {display:inline; font-style: italic;}&lt;br /&gt;
* source&lt;br /&gt;
* sourceDesc&lt;br /&gt;
* sp&lt;br /&gt;
* space&lt;br /&gt;
* span&lt;br /&gt;
* spanGrp&lt;br /&gt;
* speaker&lt;br /&gt;
* specDesc&lt;br /&gt;
* specGrp&lt;br /&gt;
* specGrpRef&lt;br /&gt;
* specList&lt;br /&gt;
* sponsor&lt;br /&gt;
 stage {font-style: italic; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* stamp&lt;br /&gt;
* state&lt;br /&gt;
* stdVals&lt;br /&gt;
* street&lt;br /&gt;
* stress&lt;br /&gt;
* string&lt;br /&gt;
* stringVal&lt;br /&gt;
* subc&lt;br /&gt;
* subst&lt;br /&gt;
* summary&lt;br /&gt;
* superEntry&lt;br /&gt;
* supplied&lt;br /&gt;
* support&lt;br /&gt;
* supportDesc&lt;br /&gt;
* surface&lt;br /&gt;
* surname&lt;br /&gt;
* surplus&lt;br /&gt;
* surrogates&lt;br /&gt;
* syll&lt;br /&gt;
* symbol&lt;br /&gt;
&lt;br /&gt;
==t==&lt;br /&gt;
&lt;br /&gt;
* TEI&lt;br /&gt;
* table&lt;br /&gt;
* tag&lt;br /&gt;
* tagUsage&lt;br /&gt;
* tagsDecl&lt;br /&gt;
* taxonomy&lt;br /&gt;
 tech {display:inline; font-style: italic;}&lt;br /&gt;
* teiCorpus&lt;br /&gt;
* teiHeader&lt;br /&gt;
 term {display:inline;}&lt;br /&gt;
* terrain&lt;br /&gt;
* text&lt;br /&gt;
* textClass&lt;br /&gt;
* textDesc&lt;br /&gt;
* textLang&lt;br /&gt;
* then&lt;br /&gt;
* time&lt;br /&gt;
* timeline&lt;br /&gt;
* title&lt;br /&gt;
* titlePage&lt;br /&gt;
* titlePart&lt;br /&gt;
* titleStmt&lt;br /&gt;
* tns&lt;br /&gt;
* trailer&lt;br /&gt;
* trait&lt;br /&gt;
* tree&lt;br /&gt;
* triangle&lt;br /&gt;
* typeDesc&lt;br /&gt;
* typeNote&lt;br /&gt;
&lt;br /&gt;
==u==&lt;br /&gt;
&lt;br /&gt;
* u&lt;br /&gt;
 unclear {display:inline;}&lt;br /&gt;
* unicodeName&lt;br /&gt;
* usg&lt;br /&gt;
&lt;br /&gt;
==v==&lt;br /&gt;
&lt;br /&gt;
* vAlt&lt;br /&gt;
* vColl&lt;br /&gt;
* vDefault&lt;br /&gt;
* vLabel&lt;br /&gt;
* vMerge&lt;br /&gt;
* vNot&lt;br /&gt;
* vRange&lt;br /&gt;
* val&lt;br /&gt;
* valDesc&lt;br /&gt;
* valItem&lt;br /&gt;
* valList&lt;br /&gt;
* value&lt;br /&gt;
* variantEncoding&lt;br /&gt;
 view {display:inline; font-style: italic;}&lt;br /&gt;
* vocal&lt;br /&gt;
&lt;br /&gt;
==w==&lt;br /&gt;
&lt;br /&gt;
* w&lt;br /&gt;
* watermark&lt;br /&gt;
* when&lt;br /&gt;
* width&lt;br /&gt;
* wit&lt;br /&gt;
* witDetail&lt;br /&gt;
* witEnd&lt;br /&gt;
* witStart&lt;br /&gt;
* witness&lt;br /&gt;
* writing&lt;br /&gt;
&lt;br /&gt;
==x==&lt;br /&gt;
&lt;br /&gt;
* xr&lt;br /&gt;
&lt;br /&gt;
==y==&lt;br /&gt;
&lt;br /&gt;
(none)&lt;br /&gt;
&lt;br /&gt;
==z==&lt;br /&gt;
z&lt;br /&gt;
&lt;br /&gt;
* zone&lt;br /&gt;
&lt;br /&gt;
==References used==&lt;br /&gt;
* http://math.ut.ee/~kaarel/NLP/TEI/visualization/ (on rationales)&lt;br /&gt;
&lt;br /&gt;
[[Category:CSS]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7653</id>
		<title>Comprehensive CSS Stylesheet</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7653"/>
		<updated>2010-06-07T03:13:48Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following is an attempt to gradually build CSS for each TEI element, paralleling the default TEI stylesheets (while also potentially serving as a kind of discussion center for how the stylesheets ought to operate, at least for issues pertaining solely to formatting as opposed to semantics), by indicating here necessary deviations from the XHTML stylesheets (due to CSS constraints) or potentially desirable alternatives, etc.).&lt;br /&gt;
&lt;br /&gt;
Advantages of CSS over XSL might include:&lt;br /&gt;
# Simpler for maintenance/alteration (though CSS can still be combined with simpler XSL as needed)&lt;br /&gt;
# Downloading (and parsing?) is faster&lt;br /&gt;
# Wider browser support (and for browser caching?)&lt;br /&gt;
# Allows DOM and other manipulation directly on semantically-named TEI elements (though admittedly, use of frameworks like jQuery may make traversal of X/HTML as easy or easier)&lt;br /&gt;
# TEI could potentially be used as is in HTML (though empty self-closing elements will not be treated properly unless changed to &amp;lt;elem&amp;gt;&amp;lt;/elem&amp;gt; form and namespaces will not be present) in addition to true XHTML.&lt;br /&gt;
&lt;br /&gt;
Disadvantages:&lt;br /&gt;
# Does not allow for certain kinds of transformations (though again, CSS can be combined with a simple XSL stylesheet which preserves TEI except in cases where needed)&lt;br /&gt;
# Is cumbersome for certain variable structures (e.g., for values varying by integer (e.g., item.n =&amp;gt; li.value or space.extent =&amp;gt; number of spaces) a separate rule must be created for each possible attribute value)&lt;br /&gt;
&lt;br /&gt;
Per CSS Namespaces, one can use either&lt;br /&gt;
 @namespace &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 @namespace tei &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
...but we will use the former since we will presume the stylesheet will be primarily (if not exclusively) for TEI.&lt;br /&gt;
&lt;br /&gt;
We will not be able to make equivalents for XSLT templates like rendToClass (e.g., ab) or applyRend (emph), applyRendition (emph) since we cannot (nor do we need to) add an id or class (though @rend or @rendition would be useful to utilize, there is no &amp;quot;eval()&amp;quot;-like code in CSS; however, we could test against predefined values like &amp;quot;bold&amp;quot; (maybe as a global * or at least the elements using these in the stylesheets (emph, hi, ...))).&lt;br /&gt;
&lt;br /&gt;
All fields below should be complete for an element, or otherwise noted that it is incomplete, so that it can otherwise be assumed that the CSS has been completely applied as far as possible (besides rend/rendition which may later be done globally for all elements, as these are indeed globals).&lt;br /&gt;
&lt;br /&gt;
==a==&lt;br /&gt;
 ab {display:block;}&lt;br /&gt;
* abbr&lt;br /&gt;
* accMat&lt;br /&gt;
* acquisition&lt;br /&gt;
* activity&lt;br /&gt;
 actor {display:inline; font-style: italic;}&lt;br /&gt;
* add&lt;br /&gt;
* addName&lt;br /&gt;
* addSpan&lt;br /&gt;
* additional&lt;br /&gt;
* additions&lt;br /&gt;
 addrLine {display:block;}&lt;br /&gt;
 address {display:block; /* font-style:italic; If wish to appear as HTML addresses are rendered by default, at least in Firefox */}&lt;br /&gt;
* adminInfo&lt;br /&gt;
* affiliation&lt;br /&gt;
* age&lt;br /&gt;
* alt&lt;br /&gt;
* altGrp&lt;br /&gt;
* altIdent&lt;br /&gt;
* altIdentifier&lt;br /&gt;
* am&lt;br /&gt;
* analytic&lt;br /&gt;
* anchor&lt;br /&gt;
* app&lt;br /&gt;
* appInfo&lt;br /&gt;
* application&lt;br /&gt;
* arc&lt;br /&gt;
* argument&lt;br /&gt;
 att {display:inline; font-weight:bold;} att:before {content:&amp;quot;@&amp;quot;}&lt;br /&gt;
* attDef&lt;br /&gt;
* attList&lt;br /&gt;
* attRef&lt;br /&gt;
* author&lt;br /&gt;
* authority&lt;br /&gt;
* availability&lt;br /&gt;
&lt;br /&gt;
==b==&lt;br /&gt;
&lt;br /&gt;
* back&lt;br /&gt;
* bibl&lt;br /&gt;
* biblFull&lt;br /&gt;
* biblScope&lt;br /&gt;
* biblStruct&lt;br /&gt;
* bicond&lt;br /&gt;
* binary&lt;br /&gt;
* binaryObject&lt;br /&gt;
* binding&lt;br /&gt;
* bindingDesc&lt;br /&gt;
* birth&lt;br /&gt;
* bloc&lt;br /&gt;
* body&lt;br /&gt;
* broadcast&lt;br /&gt;
 byline {display:block;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==c==&lt;br /&gt;
&lt;br /&gt;
* c&lt;br /&gt;
* cRefPattern&lt;br /&gt;
 caesura:before {display:inline; content:&amp;quot;\a0\a0\a0\a0&amp;quot;; /* could be :after too */}&lt;br /&gt;
 camera {display:inline; font-style: italic;}&lt;br /&gt;
 caption {display:inline; font-style: italic;}&lt;br /&gt;
* case&lt;br /&gt;
* castGroup&lt;br /&gt;
* castItem&lt;br /&gt;
* castList&lt;br /&gt;
* catDesc&lt;br /&gt;
* catRef&lt;br /&gt;
* catchwords&lt;br /&gt;
* category&lt;br /&gt;
* cb&lt;br /&gt;
* cell&lt;br /&gt;
* certainty&lt;br /&gt;
* change&lt;br /&gt;
* channel&lt;br /&gt;
* char&lt;br /&gt;
* charDecl&lt;br /&gt;
* charName&lt;br /&gt;
* charProp&lt;br /&gt;
* choice&lt;br /&gt;
* cit&lt;br /&gt;
* cl&lt;br /&gt;
* classCode&lt;br /&gt;
* classDecl&lt;br /&gt;
* classSpec&lt;br /&gt;
* classes&lt;br /&gt;
* climate&lt;br /&gt;
* closer&lt;br /&gt;
 code {display:inline; font-family:monospace;}&lt;br /&gt;
* collation&lt;br /&gt;
* collection&lt;br /&gt;
* colloc&lt;br /&gt;
* colophon&lt;br /&gt;
* cond&lt;br /&gt;
* condition&lt;br /&gt;
* constitution&lt;br /&gt;
* constraint&lt;br /&gt;
* constraintSpec&lt;br /&gt;
* content&lt;br /&gt;
* corr&lt;br /&gt;
* correction&lt;br /&gt;
* country&lt;br /&gt;
* creation&lt;br /&gt;
* custEvent&lt;br /&gt;
* custodialHist&lt;br /&gt;
&lt;br /&gt;
==d==&lt;br /&gt;
&lt;br /&gt;
* damage&lt;br /&gt;
* damageSpan&lt;br /&gt;
* datatype&lt;br /&gt;
* date&lt;br /&gt;
* dateline&lt;br /&gt;
* death&lt;br /&gt;
* decoDesc&lt;br /&gt;
* decoNote&lt;br /&gt;
* def&lt;br /&gt;
* default&lt;br /&gt;
* defaultVal&lt;br /&gt;
 del {display:inline; text-decoration: line-through;}&lt;br /&gt;
* delSpan&lt;br /&gt;
* depth&lt;br /&gt;
* derivation&lt;br /&gt;
* desc&lt;br /&gt;
* dictScrap&lt;br /&gt;
* dim&lt;br /&gt;
* dimensions&lt;br /&gt;
* distinct&lt;br /&gt;
* distributor&lt;br /&gt;
* district&lt;br /&gt;
* div&lt;br /&gt;
* div1&lt;br /&gt;
* div2&lt;br /&gt;
* div3&lt;br /&gt;
* div4&lt;br /&gt;
* div5&lt;br /&gt;
* div6&lt;br /&gt;
* div7&lt;br /&gt;
* divGen&lt;br /&gt;
* docAuthor&lt;br /&gt;
* docDate&lt;br /&gt;
* docEdition&lt;br /&gt;
* docImprint&lt;br /&gt;
* docTitle&lt;br /&gt;
* domain&lt;br /&gt;
&lt;br /&gt;
==e==&lt;br /&gt;
&lt;br /&gt;
* eLeaf&lt;br /&gt;
* eTree&lt;br /&gt;
* edition&lt;br /&gt;
* editionStmt&lt;br /&gt;
* editor&lt;br /&gt;
* editorialDecl&lt;br /&gt;
* education&lt;br /&gt;
* eg&lt;br /&gt;
* egXML&lt;br /&gt;
* elementSpec&lt;br /&gt;
* email&lt;br /&gt;
 emph {display:inline; font-style:italic;}&lt;br /&gt;
* encodingDesc&lt;br /&gt;
* entry&lt;br /&gt;
* entryFree&lt;br /&gt;
 epigraph {display:block;}&lt;br /&gt;
* epilogue&lt;br /&gt;
* equipment&lt;br /&gt;
* equiv&lt;br /&gt;
* etym&lt;br /&gt;
* event&lt;br /&gt;
* ex&lt;br /&gt;
* exemplum&lt;br /&gt;
* expan&lt;br /&gt;
* explicit&lt;br /&gt;
* extent&lt;br /&gt;
&lt;br /&gt;
==f==&lt;br /&gt;
&lt;br /&gt;
* f&lt;br /&gt;
* fDecl&lt;br /&gt;
* fDescr&lt;br /&gt;
* fLib&lt;br /&gt;
* facsimile&lt;br /&gt;
* factuality&lt;br /&gt;
* faith&lt;br /&gt;
* figDesc&lt;br /&gt;
* figure&lt;br /&gt;
* fileDesc&lt;br /&gt;
* filiation&lt;br /&gt;
* finalRubric&lt;br /&gt;
* floatingText&lt;br /&gt;
* floruit&lt;br /&gt;
* foliation&lt;br /&gt;
 foreign {display:inline;}&lt;br /&gt;
* forename&lt;br /&gt;
* forest&lt;br /&gt;
* forestGrp&lt;br /&gt;
* form&lt;br /&gt;
* formula&lt;br /&gt;
* front&lt;br /&gt;
* fs&lt;br /&gt;
* fsConstraints&lt;br /&gt;
* fsDecl&lt;br /&gt;
* fsDescr&lt;br /&gt;
* fsdDecl&lt;br /&gt;
* fsdLink&lt;br /&gt;
* funder&lt;br /&gt;
* fvLib&lt;br /&gt;
* fw&lt;br /&gt;
&lt;br /&gt;
==g==&lt;br /&gt;
&lt;br /&gt;
* g&lt;br /&gt;
* gap&lt;br /&gt;
* gen&lt;br /&gt;
* genName&lt;br /&gt;
* geo&lt;br /&gt;
* geoDecl&lt;br /&gt;
* geogFeat&lt;br /&gt;
* geogName&lt;br /&gt;
 gi:before {display:inline;content:&amp;quot;&amp;lt;&amp;quot;}  gi:after {display:inline;content:&amp;quot;&amp;gt;&amp;quot;}&lt;br /&gt;
 gloss {display:inline;}&lt;br /&gt;
* glyph&lt;br /&gt;
* glyphName&lt;br /&gt;
* gram&lt;br /&gt;
* gramGrp&lt;br /&gt;
* graph&lt;br /&gt;
* graphic&lt;br /&gt;
* group&lt;br /&gt;
&lt;br /&gt;
==h==&lt;br /&gt;
&lt;br /&gt;
* handDesc&lt;br /&gt;
* handNote&lt;br /&gt;
* handNotes&lt;br /&gt;
* handShift&lt;br /&gt;
* head&lt;br /&gt;
* headItem&lt;br /&gt;
* headLabel&lt;br /&gt;
* height&lt;br /&gt;
* heraldry&lt;br /&gt;
 hi {display:inline; font-weight:bold;}&lt;br /&gt;
* history&lt;br /&gt;
* hom&lt;br /&gt;
* hyph&lt;br /&gt;
* hyphenation&lt;br /&gt;
&lt;br /&gt;
==i==&lt;br /&gt;
&lt;br /&gt;
* iNode&lt;br /&gt;
* iType&lt;br /&gt;
 ident[type] {display:inline; font-weight:bold;} ident:not([type]) {display:inline; } /* Just as the stylesheet allows for different types; a specific type could be styled by ident[type=&amp;quot;XXX&amp;quot;] */&lt;br /&gt;
* idno&lt;br /&gt;
* if&lt;br /&gt;
* iff&lt;br /&gt;
* imprimatur&lt;br /&gt;
* imprint&lt;br /&gt;
* incident&lt;br /&gt;
* incipit&lt;br /&gt;
* index&lt;br /&gt;
* institution&lt;br /&gt;
* interaction&lt;br /&gt;
* interp&lt;br /&gt;
* interpGrp&lt;br /&gt;
* interpretation&lt;br /&gt;
* item&lt;br /&gt;
&lt;br /&gt;
==j==&lt;br /&gt;
&lt;br /&gt;
* join&lt;br /&gt;
* joinGrp&lt;br /&gt;
&lt;br /&gt;
==k==&lt;br /&gt;
&lt;br /&gt;
* keywords&lt;br /&gt;
* kinesic&lt;br /&gt;
&lt;br /&gt;
==l==&lt;br /&gt;
&lt;br /&gt;
 l {display:block;}&lt;br /&gt;
 label {display:inline;}&lt;br /&gt;
* lacunaEnd&lt;br /&gt;
* lacunaStart&lt;br /&gt;
* lang&lt;br /&gt;
* langKnowledge&lt;br /&gt;
* langKnown&lt;br /&gt;
* langUsage&lt;br /&gt;
* language&lt;br /&gt;
* layout&lt;br /&gt;
* layoutDesc&lt;br /&gt;
 lb {display:block;}&lt;br /&gt;
* lbl&lt;br /&gt;
* leaf&lt;br /&gt;
* lem&lt;br /&gt;
 lg {display:block;}&lt;br /&gt;
* link&lt;br /&gt;
* linkGrp&lt;br /&gt;
* list&lt;br /&gt;
* listBibl&lt;br /&gt;
* listEvent&lt;br /&gt;
* listNym&lt;br /&gt;
* listOrg&lt;br /&gt;
* listPerson&lt;br /&gt;
* listPlace&lt;br /&gt;
* listRef&lt;br /&gt;
* listWit&lt;br /&gt;
* localName&lt;br /&gt;
* locale&lt;br /&gt;
* location&lt;br /&gt;
* locus&lt;br /&gt;
* locusGrp&lt;br /&gt;
&lt;br /&gt;
==m==&lt;br /&gt;
&lt;br /&gt;
* m&lt;br /&gt;
* macroSpec&lt;br /&gt;
* mapping&lt;br /&gt;
* material&lt;br /&gt;
* measure&lt;br /&gt;
* measureGrp&lt;br /&gt;
* meeting&lt;br /&gt;
* memberOf&lt;br /&gt;
 mentioned {display:inline;}&lt;br /&gt;
* metDecl&lt;br /&gt;
* metSym&lt;br /&gt;
* milestone&lt;br /&gt;
* moduleRef&lt;br /&gt;
* moduleSpec&lt;br /&gt;
* monogr&lt;br /&gt;
* mood&lt;br /&gt;
* move&lt;br /&gt;
* msContents&lt;br /&gt;
* msDesc&lt;br /&gt;
* msIdentifier&lt;br /&gt;
* msItem&lt;br /&gt;
* msItemStruct&lt;br /&gt;
* msName&lt;br /&gt;
* msPart&lt;br /&gt;
* musicNotation&lt;br /&gt;
&lt;br /&gt;
==n==&lt;br /&gt;
&lt;br /&gt;
* name&lt;br /&gt;
* nameLink&lt;br /&gt;
* namespace&lt;br /&gt;
* nationality&lt;br /&gt;
* node&lt;br /&gt;
* normalization&lt;br /&gt;
* note&lt;br /&gt;
* notesStmt&lt;br /&gt;
* num&lt;br /&gt;
* number&lt;br /&gt;
* numeric&lt;br /&gt;
* nym&lt;br /&gt;
&lt;br /&gt;
==o==&lt;br /&gt;
&lt;br /&gt;
* oRef&lt;br /&gt;
* oVar&lt;br /&gt;
* objectDesc&lt;br /&gt;
* occupation&lt;br /&gt;
* offset&lt;br /&gt;
* opener&lt;br /&gt;
* org&lt;br /&gt;
* orgName&lt;br /&gt;
* orig&lt;br /&gt;
* origDate&lt;br /&gt;
* origPlace&lt;br /&gt;
* origin&lt;br /&gt;
* orth&lt;br /&gt;
&lt;br /&gt;
==p==&lt;br /&gt;
&lt;br /&gt;
* p&lt;br /&gt;
* pRef&lt;br /&gt;
* pVar&lt;br /&gt;
* particDesc&lt;br /&gt;
* pause&lt;br /&gt;
* pb&lt;br /&gt;
* pc&lt;br /&gt;
* per&lt;br /&gt;
* performance&lt;br /&gt;
* persName&lt;br /&gt;
* person&lt;br /&gt;
* personGrp&lt;br /&gt;
* phr&lt;br /&gt;
* physDesc&lt;br /&gt;
* place&lt;br /&gt;
* placeName&lt;br /&gt;
* population&lt;br /&gt;
* pos&lt;br /&gt;
* postBox&lt;br /&gt;
* postCode&lt;br /&gt;
* postscript&lt;br /&gt;
* precision&lt;br /&gt;
* preparedness&lt;br /&gt;
* principal&lt;br /&gt;
* profileDesc&lt;br /&gt;
* projectDesc&lt;br /&gt;
* prologue&lt;br /&gt;
* pron&lt;br /&gt;
* provenance&lt;br /&gt;
* ptr&lt;br /&gt;
* pubPlace&lt;br /&gt;
* publicationStmt&lt;br /&gt;
* publisher&lt;br /&gt;
* purpose&lt;br /&gt;
&lt;br /&gt;
==q==&lt;br /&gt;
&lt;br /&gt;
* q&lt;br /&gt;
* quotation&lt;br /&gt;
* quote&lt;br /&gt;
&lt;br /&gt;
==r==&lt;br /&gt;
&lt;br /&gt;
* rdg&lt;br /&gt;
* rdgGrp&lt;br /&gt;
* re&lt;br /&gt;
* recordHist&lt;br /&gt;
* recording&lt;br /&gt;
* recordingStmt&lt;br /&gt;
* ref&lt;br /&gt;
* refState&lt;br /&gt;
* refsDecl&lt;br /&gt;
* reg&lt;br /&gt;
* region&lt;br /&gt;
* relatedItem&lt;br /&gt;
* relation&lt;br /&gt;
* relationGrp&lt;br /&gt;
* remarks&lt;br /&gt;
* rendition&lt;br /&gt;
* repository&lt;br /&gt;
* residence&lt;br /&gt;
 resp:after {content:&amp;quot; &amp;quot;}&lt;br /&gt;
 respStmt {display:inline;}&lt;br /&gt;
* respons&lt;br /&gt;
* restore&lt;br /&gt;
* revisionDesc&lt;br /&gt;
* rhyme&lt;br /&gt;
 role {display:inline; font-style: italic;}&lt;br /&gt;
 roleDesc { margin-left: 40px; margin-right: 40px; } roleDesc &amp;gt; *:not(p) {display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* roleName&lt;br /&gt;
* root&lt;br /&gt;
* row&lt;br /&gt;
* rs&lt;br /&gt;
* rubric&lt;br /&gt;
&lt;br /&gt;
==s==&lt;br /&gt;
&lt;br /&gt;
* s&lt;br /&gt;
* said&lt;br /&gt;
 salute {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* samplingDecl&lt;br /&gt;
* schemaSpec&lt;br /&gt;
* scriptStmt&lt;br /&gt;
* seal&lt;br /&gt;
* sealDesc&lt;br /&gt;
* secFol&lt;br /&gt;
 seg {display:inline;}&lt;br /&gt;
* segmentation&lt;br /&gt;
* sense&lt;br /&gt;
* series&lt;br /&gt;
* seriesStmt&lt;br /&gt;
 set {display:inline; font-style: italic;}&lt;br /&gt;
* setting&lt;br /&gt;
* settingDesc&lt;br /&gt;
* settlement&lt;br /&gt;
* se x (separated for spam filter)&lt;br /&gt;
* shift&lt;br /&gt;
 sic {display:inline;} sic:after {content: &amp;quot; (sic)&amp;quot;}&lt;br /&gt;
* signatures&lt;br /&gt;
 signed {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* soCalled&lt;br /&gt;
* socecStatus&lt;br /&gt;
 sound {display:inline; font-style: italic;}&lt;br /&gt;
* source&lt;br /&gt;
* sourceDesc&lt;br /&gt;
* sp&lt;br /&gt;
* space&lt;br /&gt;
* span&lt;br /&gt;
* spanGrp&lt;br /&gt;
* speaker&lt;br /&gt;
* specDesc&lt;br /&gt;
* specGrp&lt;br /&gt;
* specGrpRef&lt;br /&gt;
* specList&lt;br /&gt;
* sponsor&lt;br /&gt;
 stage {font-style: italic; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* stamp&lt;br /&gt;
* state&lt;br /&gt;
* stdVals&lt;br /&gt;
* street&lt;br /&gt;
* stress&lt;br /&gt;
* string&lt;br /&gt;
* stringVal&lt;br /&gt;
* subc&lt;br /&gt;
* subst&lt;br /&gt;
* summary&lt;br /&gt;
* superEntry&lt;br /&gt;
* supplied&lt;br /&gt;
* support&lt;br /&gt;
* supportDesc&lt;br /&gt;
* surface&lt;br /&gt;
* surname&lt;br /&gt;
* surplus&lt;br /&gt;
* surrogates&lt;br /&gt;
* syll&lt;br /&gt;
* symbol&lt;br /&gt;
&lt;br /&gt;
==t==&lt;br /&gt;
&lt;br /&gt;
* TEI&lt;br /&gt;
* table&lt;br /&gt;
* tag&lt;br /&gt;
* tagUsage&lt;br /&gt;
* tagsDecl&lt;br /&gt;
* taxonomy&lt;br /&gt;
 tech {display:inline; font-style: italic;}&lt;br /&gt;
* teiCorpus&lt;br /&gt;
* teiHeader&lt;br /&gt;
 term {display:inline;}&lt;br /&gt;
* terrain&lt;br /&gt;
* text&lt;br /&gt;
* textClass&lt;br /&gt;
* textDesc&lt;br /&gt;
* textLang&lt;br /&gt;
* then&lt;br /&gt;
* time&lt;br /&gt;
* timeline&lt;br /&gt;
* title&lt;br /&gt;
* titlePage&lt;br /&gt;
* titlePart&lt;br /&gt;
* titleStmt&lt;br /&gt;
* tns&lt;br /&gt;
* trailer&lt;br /&gt;
* trait&lt;br /&gt;
* tree&lt;br /&gt;
* triangle&lt;br /&gt;
* typeDesc&lt;br /&gt;
* typeNote&lt;br /&gt;
&lt;br /&gt;
==u==&lt;br /&gt;
&lt;br /&gt;
* u&lt;br /&gt;
 unclear {display:inline;}&lt;br /&gt;
* unicodeName&lt;br /&gt;
* usg&lt;br /&gt;
&lt;br /&gt;
==v==&lt;br /&gt;
&lt;br /&gt;
* vAlt&lt;br /&gt;
* vColl&lt;br /&gt;
* vDefault&lt;br /&gt;
* vLabel&lt;br /&gt;
* vMerge&lt;br /&gt;
* vNot&lt;br /&gt;
* vRange&lt;br /&gt;
* val&lt;br /&gt;
* valDesc&lt;br /&gt;
* valItem&lt;br /&gt;
* valList&lt;br /&gt;
* value&lt;br /&gt;
* variantEncoding&lt;br /&gt;
 view {display:inline; font-style: italic;}&lt;br /&gt;
* vocal&lt;br /&gt;
&lt;br /&gt;
==w==&lt;br /&gt;
&lt;br /&gt;
* w&lt;br /&gt;
* watermark&lt;br /&gt;
* when&lt;br /&gt;
* width&lt;br /&gt;
* wit&lt;br /&gt;
* witDetail&lt;br /&gt;
* witEnd&lt;br /&gt;
* witStart&lt;br /&gt;
* witness&lt;br /&gt;
* writing&lt;br /&gt;
&lt;br /&gt;
==x==&lt;br /&gt;
&lt;br /&gt;
* xr&lt;br /&gt;
&lt;br /&gt;
==y==&lt;br /&gt;
&lt;br /&gt;
(none)&lt;br /&gt;
&lt;br /&gt;
==z==&lt;br /&gt;
z&lt;br /&gt;
&lt;br /&gt;
* zone&lt;br /&gt;
&lt;br /&gt;
==References used==&lt;br /&gt;
* http://math.ut.ee/~kaarel/NLP/TEI/visualization/ (on rationales)&lt;br /&gt;
&lt;br /&gt;
[[Category:CSS]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7652</id>
		<title>Comprehensive CSS Stylesheet</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7652"/>
		<updated>2010-06-07T02:53:06Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: /* c */ correction re: Firefox support&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following is an attempt to gradually build CSS for each TEI element, paralleling the default TEI stylesheets (while also potentially serving as a kind of discussion center for how the stylesheets ought to operate, at least for issues pertaining solely to formatting as opposed to semantics), by indicating here necessary deviations from the XHTML stylesheets (due to CSS constraints) or potentially desirable alternatives, etc.):&lt;br /&gt;
&lt;br /&gt;
Per CSS Namespaces, one can use either&lt;br /&gt;
 @namespace &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 @namespace tei &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
...but we will use the former since we will presume the stylesheet will be primarily (if not exclusively) for TEI.&lt;br /&gt;
&lt;br /&gt;
We will not be able to use templates like rendToClass (e.g., ab) or applyRend (emph), applyRendition (emph) since we cannot (nor do we need to) add an id or class (though @rend or @rendition would be useful to utilize, there is no &amp;quot;eval()&amp;quot;-like code in CSS; however, we could test against predefined values like &amp;quot;bold&amp;quot; (maybe as a global * or at least the elements using these in the stylesheets (emph, hi, ...))).&lt;br /&gt;
&lt;br /&gt;
All fields below should be complete for an element, or otherwise noted that it is incomplete, so that it can otherwise be assumed that the CSS has been completely applied as far as possible.&lt;br /&gt;
&lt;br /&gt;
==a==&lt;br /&gt;
 ab {display:block;}&lt;br /&gt;
* abbr&lt;br /&gt;
* accMat&lt;br /&gt;
* acquisition&lt;br /&gt;
* activity&lt;br /&gt;
 actor {display:inline; font-style: italic;}&lt;br /&gt;
* add&lt;br /&gt;
* addName&lt;br /&gt;
* addSpan&lt;br /&gt;
* additional&lt;br /&gt;
* additions&lt;br /&gt;
 addrLine {display:block;}&lt;br /&gt;
 address {display:block; /* font-style:italic; If wish to appear as HTML addresses are rendered by default, at least in Firefox */}&lt;br /&gt;
* adminInfo&lt;br /&gt;
* affiliation&lt;br /&gt;
* age&lt;br /&gt;
* alt&lt;br /&gt;
* altGrp&lt;br /&gt;
* altIdent&lt;br /&gt;
* altIdentifier&lt;br /&gt;
* am&lt;br /&gt;
* analytic&lt;br /&gt;
* anchor&lt;br /&gt;
* app&lt;br /&gt;
* appInfo&lt;br /&gt;
* application&lt;br /&gt;
* arc&lt;br /&gt;
* argument&lt;br /&gt;
 att {display:inline; font-weight:bold;} att:before {content:&amp;quot;@&amp;quot;}&lt;br /&gt;
* attDef&lt;br /&gt;
* attList&lt;br /&gt;
* attRef&lt;br /&gt;
* author&lt;br /&gt;
* authority&lt;br /&gt;
* availability&lt;br /&gt;
&lt;br /&gt;
==b==&lt;br /&gt;
&lt;br /&gt;
* back&lt;br /&gt;
* bibl&lt;br /&gt;
* biblFull&lt;br /&gt;
* biblScope&lt;br /&gt;
* biblStruct&lt;br /&gt;
* bicond&lt;br /&gt;
* binary&lt;br /&gt;
* binaryObject&lt;br /&gt;
* binding&lt;br /&gt;
* bindingDesc&lt;br /&gt;
* birth&lt;br /&gt;
* bloc&lt;br /&gt;
* body&lt;br /&gt;
* broadcast&lt;br /&gt;
 byline {display:block;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==c==&lt;br /&gt;
&lt;br /&gt;
* c&lt;br /&gt;
* cRefPattern&lt;br /&gt;
 caesura:before {display:inline; content:&amp;quot;\a0\a0\a0\a0&amp;quot;; /* could be :after too */}&lt;br /&gt;
 camera {display:inline; font-style: italic;}&lt;br /&gt;
 caption {display:inline; font-style: italic;}&lt;br /&gt;
* case&lt;br /&gt;
* castGroup&lt;br /&gt;
* castItem&lt;br /&gt;
* castList&lt;br /&gt;
* catDesc&lt;br /&gt;
* catRef&lt;br /&gt;
* catchwords&lt;br /&gt;
* category&lt;br /&gt;
* cb&lt;br /&gt;
* cell&lt;br /&gt;
* certainty&lt;br /&gt;
* change&lt;br /&gt;
* channel&lt;br /&gt;
* char&lt;br /&gt;
* charDecl&lt;br /&gt;
* charName&lt;br /&gt;
* charProp&lt;br /&gt;
* choice&lt;br /&gt;
* cit&lt;br /&gt;
* cl&lt;br /&gt;
* classCode&lt;br /&gt;
* classDecl&lt;br /&gt;
* classSpec&lt;br /&gt;
* classes&lt;br /&gt;
* climate&lt;br /&gt;
* closer&lt;br /&gt;
 code {display:inline; font-family:monospace;}&lt;br /&gt;
* collation&lt;br /&gt;
* collection&lt;br /&gt;
* colloc&lt;br /&gt;
* colophon&lt;br /&gt;
* cond&lt;br /&gt;
* condition&lt;br /&gt;
* constitution&lt;br /&gt;
* constraint&lt;br /&gt;
* constraintSpec&lt;br /&gt;
* content&lt;br /&gt;
* corr&lt;br /&gt;
* correction&lt;br /&gt;
* country&lt;br /&gt;
* creation&lt;br /&gt;
* custEvent&lt;br /&gt;
* custodialHist&lt;br /&gt;
&lt;br /&gt;
==d==&lt;br /&gt;
&lt;br /&gt;
* damage&lt;br /&gt;
* damageSpan&lt;br /&gt;
* datatype&lt;br /&gt;
* date&lt;br /&gt;
* dateline&lt;br /&gt;
* death&lt;br /&gt;
* decoDesc&lt;br /&gt;
* decoNote&lt;br /&gt;
* def&lt;br /&gt;
* default&lt;br /&gt;
* defaultVal&lt;br /&gt;
 del {display:inline; text-decoration: line-through;}&lt;br /&gt;
* delSpan&lt;br /&gt;
* depth&lt;br /&gt;
* derivation&lt;br /&gt;
* desc&lt;br /&gt;
* dictScrap&lt;br /&gt;
* dim&lt;br /&gt;
* dimensions&lt;br /&gt;
* distinct&lt;br /&gt;
* distributor&lt;br /&gt;
* district&lt;br /&gt;
* div&lt;br /&gt;
* div1&lt;br /&gt;
* div2&lt;br /&gt;
* div3&lt;br /&gt;
* div4&lt;br /&gt;
* div5&lt;br /&gt;
* div6&lt;br /&gt;
* div7&lt;br /&gt;
* divGen&lt;br /&gt;
* docAuthor&lt;br /&gt;
* docDate&lt;br /&gt;
* docEdition&lt;br /&gt;
* docImprint&lt;br /&gt;
* docTitle&lt;br /&gt;
* domain&lt;br /&gt;
&lt;br /&gt;
==e==&lt;br /&gt;
&lt;br /&gt;
* eLeaf&lt;br /&gt;
* eTree&lt;br /&gt;
* edition&lt;br /&gt;
* editionStmt&lt;br /&gt;
* editor&lt;br /&gt;
* editorialDecl&lt;br /&gt;
* education&lt;br /&gt;
* eg&lt;br /&gt;
* egXML&lt;br /&gt;
* elementSpec&lt;br /&gt;
* email&lt;br /&gt;
 emph {display:inline; font-style:italic;}&lt;br /&gt;
* encodingDesc&lt;br /&gt;
* entry&lt;br /&gt;
* entryFree&lt;br /&gt;
 epigraph {display:block;}&lt;br /&gt;
* epilogue&lt;br /&gt;
* equipment&lt;br /&gt;
* equiv&lt;br /&gt;
* etym&lt;br /&gt;
* event&lt;br /&gt;
* ex&lt;br /&gt;
* exemplum&lt;br /&gt;
* expan&lt;br /&gt;
* explicit&lt;br /&gt;
* extent&lt;br /&gt;
&lt;br /&gt;
==f==&lt;br /&gt;
&lt;br /&gt;
* f&lt;br /&gt;
* fDecl&lt;br /&gt;
* fDescr&lt;br /&gt;
* fLib&lt;br /&gt;
* facsimile&lt;br /&gt;
* factuality&lt;br /&gt;
* faith&lt;br /&gt;
* figDesc&lt;br /&gt;
* figure&lt;br /&gt;
* fileDesc&lt;br /&gt;
* filiation&lt;br /&gt;
* finalRubric&lt;br /&gt;
* floatingText&lt;br /&gt;
* floruit&lt;br /&gt;
* foliation&lt;br /&gt;
 foreign {display:inline;}&lt;br /&gt;
* forename&lt;br /&gt;
* forest&lt;br /&gt;
* forestGrp&lt;br /&gt;
* form&lt;br /&gt;
* formula&lt;br /&gt;
* front&lt;br /&gt;
* fs&lt;br /&gt;
* fsConstraints&lt;br /&gt;
* fsDecl&lt;br /&gt;
* fsDescr&lt;br /&gt;
* fsdDecl&lt;br /&gt;
* fsdLink&lt;br /&gt;
* funder&lt;br /&gt;
* fvLib&lt;br /&gt;
* fw&lt;br /&gt;
&lt;br /&gt;
==g==&lt;br /&gt;
&lt;br /&gt;
* g&lt;br /&gt;
* gap&lt;br /&gt;
* gen&lt;br /&gt;
* genName&lt;br /&gt;
* geo&lt;br /&gt;
* geoDecl&lt;br /&gt;
* geogFeat&lt;br /&gt;
* geogName&lt;br /&gt;
 gi:before {display:inline;content:&amp;quot;&amp;lt;&amp;quot;}  gi:after {display:inline;content:&amp;quot;&amp;gt;&amp;quot;}&lt;br /&gt;
 gloss {display:inline;}&lt;br /&gt;
* glyph&lt;br /&gt;
* glyphName&lt;br /&gt;
* gram&lt;br /&gt;
* gramGrp&lt;br /&gt;
* graph&lt;br /&gt;
* graphic&lt;br /&gt;
* group&lt;br /&gt;
&lt;br /&gt;
==h==&lt;br /&gt;
&lt;br /&gt;
* handDesc&lt;br /&gt;
* handNote&lt;br /&gt;
* handNotes&lt;br /&gt;
* handShift&lt;br /&gt;
* head&lt;br /&gt;
* headItem&lt;br /&gt;
* headLabel&lt;br /&gt;
* height&lt;br /&gt;
* heraldry&lt;br /&gt;
 hi {display:inline; font-weight:bold;}&lt;br /&gt;
* history&lt;br /&gt;
* hom&lt;br /&gt;
* hyph&lt;br /&gt;
* hyphenation&lt;br /&gt;
&lt;br /&gt;
==i==&lt;br /&gt;
&lt;br /&gt;
* iNode&lt;br /&gt;
* iType&lt;br /&gt;
 ident[type] {display:inline; font-weight:bold;} ident:not([type]) {display:inline; } /* Just as the stylesheet allows for different types; a specific type could be styled by ident[type=&amp;quot;XXX&amp;quot;] */&lt;br /&gt;
* idno&lt;br /&gt;
* if&lt;br /&gt;
* iff&lt;br /&gt;
* imprimatur&lt;br /&gt;
* imprint&lt;br /&gt;
* incident&lt;br /&gt;
* incipit&lt;br /&gt;
* index&lt;br /&gt;
* institution&lt;br /&gt;
* interaction&lt;br /&gt;
* interp&lt;br /&gt;
* interpGrp&lt;br /&gt;
* interpretation&lt;br /&gt;
* item&lt;br /&gt;
&lt;br /&gt;
==j==&lt;br /&gt;
&lt;br /&gt;
* join&lt;br /&gt;
* joinGrp&lt;br /&gt;
&lt;br /&gt;
==k==&lt;br /&gt;
&lt;br /&gt;
* keywords&lt;br /&gt;
* kinesic&lt;br /&gt;
&lt;br /&gt;
==l==&lt;br /&gt;
&lt;br /&gt;
 l {display:block;}&lt;br /&gt;
 label {display:inline;}&lt;br /&gt;
* lacunaEnd&lt;br /&gt;
* lacunaStart&lt;br /&gt;
* lang&lt;br /&gt;
* langKnowledge&lt;br /&gt;
* langKnown&lt;br /&gt;
* langUsage&lt;br /&gt;
* language&lt;br /&gt;
* layout&lt;br /&gt;
* layoutDesc&lt;br /&gt;
 lb {display:block;}&lt;br /&gt;
* lbl&lt;br /&gt;
* leaf&lt;br /&gt;
* lem&lt;br /&gt;
 lg {display:block;}&lt;br /&gt;
* link&lt;br /&gt;
* linkGrp&lt;br /&gt;
* list&lt;br /&gt;
* listBibl&lt;br /&gt;
* listEvent&lt;br /&gt;
* listNym&lt;br /&gt;
* listOrg&lt;br /&gt;
* listPerson&lt;br /&gt;
* listPlace&lt;br /&gt;
* listRef&lt;br /&gt;
* listWit&lt;br /&gt;
* localName&lt;br /&gt;
* locale&lt;br /&gt;
* location&lt;br /&gt;
* locus&lt;br /&gt;
* locusGrp&lt;br /&gt;
&lt;br /&gt;
==m==&lt;br /&gt;
&lt;br /&gt;
* m&lt;br /&gt;
* macroSpec&lt;br /&gt;
* mapping&lt;br /&gt;
* material&lt;br /&gt;
* measure&lt;br /&gt;
* measureGrp&lt;br /&gt;
* meeting&lt;br /&gt;
* memberOf&lt;br /&gt;
 mentioned {display:inline;}&lt;br /&gt;
* metDecl&lt;br /&gt;
* metSym&lt;br /&gt;
* milestone&lt;br /&gt;
* moduleRef&lt;br /&gt;
* moduleSpec&lt;br /&gt;
* monogr&lt;br /&gt;
* mood&lt;br /&gt;
* move&lt;br /&gt;
* msContents&lt;br /&gt;
* msDesc&lt;br /&gt;
* msIdentifier&lt;br /&gt;
* msItem&lt;br /&gt;
* msItemStruct&lt;br /&gt;
* msName&lt;br /&gt;
* msPart&lt;br /&gt;
* musicNotation&lt;br /&gt;
&lt;br /&gt;
==n==&lt;br /&gt;
&lt;br /&gt;
* name&lt;br /&gt;
* nameLink&lt;br /&gt;
* namespace&lt;br /&gt;
* nationality&lt;br /&gt;
* node&lt;br /&gt;
* normalization&lt;br /&gt;
* note&lt;br /&gt;
* notesStmt&lt;br /&gt;
* num&lt;br /&gt;
* number&lt;br /&gt;
* numeric&lt;br /&gt;
* nym&lt;br /&gt;
&lt;br /&gt;
==o==&lt;br /&gt;
&lt;br /&gt;
* oRef&lt;br /&gt;
* oVar&lt;br /&gt;
* objectDesc&lt;br /&gt;
* occupation&lt;br /&gt;
* offset&lt;br /&gt;
* opener&lt;br /&gt;
* org&lt;br /&gt;
* orgName&lt;br /&gt;
* orig&lt;br /&gt;
* origDate&lt;br /&gt;
* origPlace&lt;br /&gt;
* origin&lt;br /&gt;
* orth&lt;br /&gt;
&lt;br /&gt;
==p==&lt;br /&gt;
&lt;br /&gt;
* p&lt;br /&gt;
* pRef&lt;br /&gt;
* pVar&lt;br /&gt;
* particDesc&lt;br /&gt;
* pause&lt;br /&gt;
* pb&lt;br /&gt;
* pc&lt;br /&gt;
* per&lt;br /&gt;
* performance&lt;br /&gt;
* persName&lt;br /&gt;
* person&lt;br /&gt;
* personGrp&lt;br /&gt;
* phr&lt;br /&gt;
* physDesc&lt;br /&gt;
* place&lt;br /&gt;
* placeName&lt;br /&gt;
* population&lt;br /&gt;
* pos&lt;br /&gt;
* postBox&lt;br /&gt;
* postCode&lt;br /&gt;
* postscript&lt;br /&gt;
* precision&lt;br /&gt;
* preparedness&lt;br /&gt;
* principal&lt;br /&gt;
* profileDesc&lt;br /&gt;
* projectDesc&lt;br /&gt;
* prologue&lt;br /&gt;
* pron&lt;br /&gt;
* provenance&lt;br /&gt;
* ptr&lt;br /&gt;
* pubPlace&lt;br /&gt;
* publicationStmt&lt;br /&gt;
* publisher&lt;br /&gt;
* purpose&lt;br /&gt;
&lt;br /&gt;
==q==&lt;br /&gt;
&lt;br /&gt;
* q&lt;br /&gt;
* quotation&lt;br /&gt;
* quote&lt;br /&gt;
&lt;br /&gt;
==r==&lt;br /&gt;
&lt;br /&gt;
* rdg&lt;br /&gt;
* rdgGrp&lt;br /&gt;
* re&lt;br /&gt;
* recordHist&lt;br /&gt;
* recording&lt;br /&gt;
* recordingStmt&lt;br /&gt;
* ref&lt;br /&gt;
* refState&lt;br /&gt;
* refsDecl&lt;br /&gt;
* reg&lt;br /&gt;
* region&lt;br /&gt;
* relatedItem&lt;br /&gt;
* relation&lt;br /&gt;
* relationGrp&lt;br /&gt;
* remarks&lt;br /&gt;
* rendition&lt;br /&gt;
* repository&lt;br /&gt;
* residence&lt;br /&gt;
 resp:after {content:&amp;quot; &amp;quot;}&lt;br /&gt;
 respStmt {display:inline;}&lt;br /&gt;
* respons&lt;br /&gt;
* restore&lt;br /&gt;
* revisionDesc&lt;br /&gt;
* rhyme&lt;br /&gt;
 role {display:inline; font-style: italic;}&lt;br /&gt;
 roleDesc { margin-left: 40px; margin-right: 40px; } roleDesc &amp;gt; *:not(p) {display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* roleName&lt;br /&gt;
* root&lt;br /&gt;
* row&lt;br /&gt;
* rs&lt;br /&gt;
* rubric&lt;br /&gt;
&lt;br /&gt;
==s==&lt;br /&gt;
&lt;br /&gt;
* s&lt;br /&gt;
* said&lt;br /&gt;
 salute {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* samplingDecl&lt;br /&gt;
* schemaSpec&lt;br /&gt;
* scriptStmt&lt;br /&gt;
* seal&lt;br /&gt;
* sealDesc&lt;br /&gt;
* secFol&lt;br /&gt;
 seg {display:inline;}&lt;br /&gt;
* segmentation&lt;br /&gt;
* sense&lt;br /&gt;
* series&lt;br /&gt;
* seriesStmt&lt;br /&gt;
 set {display:inline; font-style: italic;}&lt;br /&gt;
* setting&lt;br /&gt;
* settingDesc&lt;br /&gt;
* settlement&lt;br /&gt;
* se x (separated for spam filter)&lt;br /&gt;
* shift&lt;br /&gt;
 sic {display:inline;} sic:after {content: &amp;quot; (sic)&amp;quot;}&lt;br /&gt;
* signatures&lt;br /&gt;
 signed {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* soCalled&lt;br /&gt;
* socecStatus&lt;br /&gt;
 sound {display:inline; font-style: italic;}&lt;br /&gt;
* source&lt;br /&gt;
* sourceDesc&lt;br /&gt;
* sp&lt;br /&gt;
* space&lt;br /&gt;
* span&lt;br /&gt;
* spanGrp&lt;br /&gt;
* speaker&lt;br /&gt;
* specDesc&lt;br /&gt;
* specGrp&lt;br /&gt;
* specGrpRef&lt;br /&gt;
* specList&lt;br /&gt;
* sponsor&lt;br /&gt;
 stage {font-style: italic; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* stamp&lt;br /&gt;
* state&lt;br /&gt;
* stdVals&lt;br /&gt;
* street&lt;br /&gt;
* stress&lt;br /&gt;
* string&lt;br /&gt;
* stringVal&lt;br /&gt;
* subc&lt;br /&gt;
* subst&lt;br /&gt;
* summary&lt;br /&gt;
* superEntry&lt;br /&gt;
* supplied&lt;br /&gt;
* support&lt;br /&gt;
* supportDesc&lt;br /&gt;
* surface&lt;br /&gt;
* surname&lt;br /&gt;
* surplus&lt;br /&gt;
* surrogates&lt;br /&gt;
* syll&lt;br /&gt;
* symbol&lt;br /&gt;
&lt;br /&gt;
==t==&lt;br /&gt;
&lt;br /&gt;
* TEI&lt;br /&gt;
* table&lt;br /&gt;
* tag&lt;br /&gt;
* tagUsage&lt;br /&gt;
* tagsDecl&lt;br /&gt;
* taxonomy&lt;br /&gt;
 tech {display:inline; font-style: italic;}&lt;br /&gt;
* teiCorpus&lt;br /&gt;
* teiHeader&lt;br /&gt;
 term {display:inline;}&lt;br /&gt;
* terrain&lt;br /&gt;
* text&lt;br /&gt;
* textClass&lt;br /&gt;
* textDesc&lt;br /&gt;
* textLang&lt;br /&gt;
* then&lt;br /&gt;
* time&lt;br /&gt;
* timeline&lt;br /&gt;
* title&lt;br /&gt;
* titlePage&lt;br /&gt;
* titlePart&lt;br /&gt;
* titleStmt&lt;br /&gt;
* tns&lt;br /&gt;
* trailer&lt;br /&gt;
* trait&lt;br /&gt;
* tree&lt;br /&gt;
* triangle&lt;br /&gt;
* typeDesc&lt;br /&gt;
* typeNote&lt;br /&gt;
&lt;br /&gt;
==u==&lt;br /&gt;
&lt;br /&gt;
* u&lt;br /&gt;
 unclear {display:inline;}&lt;br /&gt;
* unicodeName&lt;br /&gt;
* usg&lt;br /&gt;
&lt;br /&gt;
==v==&lt;br /&gt;
&lt;br /&gt;
* vAlt&lt;br /&gt;
* vColl&lt;br /&gt;
* vDefault&lt;br /&gt;
* vLabel&lt;br /&gt;
* vMerge&lt;br /&gt;
* vNot&lt;br /&gt;
* vRange&lt;br /&gt;
* val&lt;br /&gt;
* valDesc&lt;br /&gt;
* valItem&lt;br /&gt;
* valList&lt;br /&gt;
* value&lt;br /&gt;
* variantEncoding&lt;br /&gt;
 view {display:inline; font-style: italic;}&lt;br /&gt;
* vocal&lt;br /&gt;
&lt;br /&gt;
==w==&lt;br /&gt;
&lt;br /&gt;
* w&lt;br /&gt;
* watermark&lt;br /&gt;
* when&lt;br /&gt;
* width&lt;br /&gt;
* wit&lt;br /&gt;
* witDetail&lt;br /&gt;
* witEnd&lt;br /&gt;
* witStart&lt;br /&gt;
* witness&lt;br /&gt;
* writing&lt;br /&gt;
&lt;br /&gt;
==x==&lt;br /&gt;
&lt;br /&gt;
* xr&lt;br /&gt;
&lt;br /&gt;
==y==&lt;br /&gt;
&lt;br /&gt;
(none)&lt;br /&gt;
&lt;br /&gt;
==z==&lt;br /&gt;
z&lt;br /&gt;
&lt;br /&gt;
* zone&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:CSS]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7638</id>
		<title>Comprehensive CSS Stylesheet</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7638"/>
		<updated>2010-06-06T13:34:14Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: /* r */ +roleDesc&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following is an attempt to gradually build CSS for each TEI element, paralleling the default TEI stylesheets (while also potentially serving as a kind of discussion center for how the stylesheets ought to operate, at least for issues pertaining solely to formatting as opposed to semantics), by indicating here necessary deviations from the XHTML stylesheets (due to CSS constraints) or potentially desirable alternatives, etc.):&lt;br /&gt;
&lt;br /&gt;
Per CSS Namespaces, one can use either&lt;br /&gt;
 @namespace &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 @namespace tei &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
...but we will use the former since we will presume the stylesheet will be primarily (if not exclusively) for TEI.&lt;br /&gt;
&lt;br /&gt;
We will not be able to use templates like rendToClass (e.g., ab) or applyRend (emph), applyRendition (emph) since we cannot (nor do we need to) add an id or class (though @rend or @rendition would be useful to utilize, there is no &amp;quot;eval()&amp;quot;-like code in CSS; however, we could test against predefined values like &amp;quot;bold&amp;quot; (maybe as a global * or at least the elements using these in the stylesheets (emph, hi, ...))).&lt;br /&gt;
&lt;br /&gt;
All fields below should be complete for an element, or otherwise noted that it is incomplete, so that it can otherwise be assumed that the CSS has been completely applied as far as possible.&lt;br /&gt;
&lt;br /&gt;
==a==&lt;br /&gt;
 ab {display:block;}&lt;br /&gt;
* abbr&lt;br /&gt;
* accMat&lt;br /&gt;
* acquisition&lt;br /&gt;
* activity&lt;br /&gt;
 actor {display:inline; font-style: italic;}&lt;br /&gt;
* add&lt;br /&gt;
* addName&lt;br /&gt;
* addSpan&lt;br /&gt;
* additional&lt;br /&gt;
* additions&lt;br /&gt;
 addrLine {display:block;}&lt;br /&gt;
 address {display:block; /* font-style:italic; If wish to appear as HTML addresses are rendered by default, at least in Firefox */}&lt;br /&gt;
* adminInfo&lt;br /&gt;
* affiliation&lt;br /&gt;
* age&lt;br /&gt;
* alt&lt;br /&gt;
* altGrp&lt;br /&gt;
* altIdent&lt;br /&gt;
* altIdentifier&lt;br /&gt;
* am&lt;br /&gt;
* analytic&lt;br /&gt;
* anchor&lt;br /&gt;
* app&lt;br /&gt;
* appInfo&lt;br /&gt;
* application&lt;br /&gt;
* arc&lt;br /&gt;
* argument&lt;br /&gt;
 att {display:inline; font-weight:bold;} att:before {content:&amp;quot;@&amp;quot;}&lt;br /&gt;
* attDef&lt;br /&gt;
* attList&lt;br /&gt;
* attRef&lt;br /&gt;
* author&lt;br /&gt;
* authority&lt;br /&gt;
* availability&lt;br /&gt;
&lt;br /&gt;
==b==&lt;br /&gt;
&lt;br /&gt;
* back&lt;br /&gt;
* bibl&lt;br /&gt;
* biblFull&lt;br /&gt;
* biblScope&lt;br /&gt;
* biblStruct&lt;br /&gt;
* bicond&lt;br /&gt;
* binary&lt;br /&gt;
* binaryObject&lt;br /&gt;
* binding&lt;br /&gt;
* bindingDesc&lt;br /&gt;
* birth&lt;br /&gt;
* bloc&lt;br /&gt;
* body&lt;br /&gt;
* broadcast&lt;br /&gt;
 byline {display:block;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==c==&lt;br /&gt;
&lt;br /&gt;
* c&lt;br /&gt;
* cRefPattern&lt;br /&gt;
 caesura:before {display:inline; content:&amp;quot;\a0\a0\a0\a0&amp;quot;; /* could be :after too (though Firefox seems to have a bug with it), but the important thing is that this is an empty element */}&lt;br /&gt;
 camera {display:inline; font-style: italic;}&lt;br /&gt;
 caption {display:inline; font-style: italic;}&lt;br /&gt;
* case&lt;br /&gt;
* castGroup&lt;br /&gt;
* castItem&lt;br /&gt;
* castList&lt;br /&gt;
* catDesc&lt;br /&gt;
* catRef&lt;br /&gt;
* catchwords&lt;br /&gt;
* category&lt;br /&gt;
* cb&lt;br /&gt;
* cell&lt;br /&gt;
* certainty&lt;br /&gt;
* change&lt;br /&gt;
* channel&lt;br /&gt;
* char&lt;br /&gt;
* charDecl&lt;br /&gt;
* charName&lt;br /&gt;
* charProp&lt;br /&gt;
* choice&lt;br /&gt;
* cit&lt;br /&gt;
* cl&lt;br /&gt;
* classCode&lt;br /&gt;
* classDecl&lt;br /&gt;
* classSpec&lt;br /&gt;
* classes&lt;br /&gt;
* climate&lt;br /&gt;
* closer&lt;br /&gt;
 code {display:inline; font-family:monospace;}&lt;br /&gt;
* collation&lt;br /&gt;
* collection&lt;br /&gt;
* colloc&lt;br /&gt;
* colophon&lt;br /&gt;
* cond&lt;br /&gt;
* condition&lt;br /&gt;
* constitution&lt;br /&gt;
* constraint&lt;br /&gt;
* constraintSpec&lt;br /&gt;
* content&lt;br /&gt;
* corr&lt;br /&gt;
* correction&lt;br /&gt;
* country&lt;br /&gt;
* creation&lt;br /&gt;
* custEvent&lt;br /&gt;
* custodialHist&lt;br /&gt;
&lt;br /&gt;
==d==&lt;br /&gt;
&lt;br /&gt;
* damage&lt;br /&gt;
* damageSpan&lt;br /&gt;
* datatype&lt;br /&gt;
* date&lt;br /&gt;
* dateline&lt;br /&gt;
* death&lt;br /&gt;
* decoDesc&lt;br /&gt;
* decoNote&lt;br /&gt;
* def&lt;br /&gt;
* default&lt;br /&gt;
* defaultVal&lt;br /&gt;
 del {display:inline; text-decoration: line-through;}&lt;br /&gt;
* delSpan&lt;br /&gt;
* depth&lt;br /&gt;
* derivation&lt;br /&gt;
* desc&lt;br /&gt;
* dictScrap&lt;br /&gt;
* dim&lt;br /&gt;
* dimensions&lt;br /&gt;
* distinct&lt;br /&gt;
* distributor&lt;br /&gt;
* district&lt;br /&gt;
* div&lt;br /&gt;
* div1&lt;br /&gt;
* div2&lt;br /&gt;
* div3&lt;br /&gt;
* div4&lt;br /&gt;
* div5&lt;br /&gt;
* div6&lt;br /&gt;
* div7&lt;br /&gt;
* divGen&lt;br /&gt;
* docAuthor&lt;br /&gt;
* docDate&lt;br /&gt;
* docEdition&lt;br /&gt;
* docImprint&lt;br /&gt;
* docTitle&lt;br /&gt;
* domain&lt;br /&gt;
&lt;br /&gt;
==e==&lt;br /&gt;
&lt;br /&gt;
* eLeaf&lt;br /&gt;
* eTree&lt;br /&gt;
* edition&lt;br /&gt;
* editionStmt&lt;br /&gt;
* editor&lt;br /&gt;
* editorialDecl&lt;br /&gt;
* education&lt;br /&gt;
* eg&lt;br /&gt;
* egXML&lt;br /&gt;
* elementSpec&lt;br /&gt;
* email&lt;br /&gt;
 emph {display:inline; font-style:italic;}&lt;br /&gt;
* encodingDesc&lt;br /&gt;
* entry&lt;br /&gt;
* entryFree&lt;br /&gt;
 epigraph {display:block;}&lt;br /&gt;
* epilogue&lt;br /&gt;
* equipment&lt;br /&gt;
* equiv&lt;br /&gt;
* etym&lt;br /&gt;
* event&lt;br /&gt;
* ex&lt;br /&gt;
* exemplum&lt;br /&gt;
* expan&lt;br /&gt;
* explicit&lt;br /&gt;
* extent&lt;br /&gt;
&lt;br /&gt;
==f==&lt;br /&gt;
&lt;br /&gt;
* f&lt;br /&gt;
* fDecl&lt;br /&gt;
* fDescr&lt;br /&gt;
* fLib&lt;br /&gt;
* facsimile&lt;br /&gt;
* factuality&lt;br /&gt;
* faith&lt;br /&gt;
* figDesc&lt;br /&gt;
* figure&lt;br /&gt;
* fileDesc&lt;br /&gt;
* filiation&lt;br /&gt;
* finalRubric&lt;br /&gt;
* floatingText&lt;br /&gt;
* floruit&lt;br /&gt;
* foliation&lt;br /&gt;
 foreign {display:inline;}&lt;br /&gt;
* forename&lt;br /&gt;
* forest&lt;br /&gt;
* forestGrp&lt;br /&gt;
* form&lt;br /&gt;
* formula&lt;br /&gt;
* front&lt;br /&gt;
* fs&lt;br /&gt;
* fsConstraints&lt;br /&gt;
* fsDecl&lt;br /&gt;
* fsDescr&lt;br /&gt;
* fsdDecl&lt;br /&gt;
* fsdLink&lt;br /&gt;
* funder&lt;br /&gt;
* fvLib&lt;br /&gt;
* fw&lt;br /&gt;
&lt;br /&gt;
==g==&lt;br /&gt;
&lt;br /&gt;
* g&lt;br /&gt;
* gap&lt;br /&gt;
* gen&lt;br /&gt;
* genName&lt;br /&gt;
* geo&lt;br /&gt;
* geoDecl&lt;br /&gt;
* geogFeat&lt;br /&gt;
* geogName&lt;br /&gt;
 gi:before {display:inline;content:&amp;quot;&amp;lt;&amp;quot;}  gi:after {display:inline;content:&amp;quot;&amp;gt;&amp;quot;}&lt;br /&gt;
 gloss {display:inline;}&lt;br /&gt;
* glyph&lt;br /&gt;
* glyphName&lt;br /&gt;
* gram&lt;br /&gt;
* gramGrp&lt;br /&gt;
* graph&lt;br /&gt;
* graphic&lt;br /&gt;
* group&lt;br /&gt;
&lt;br /&gt;
==h==&lt;br /&gt;
&lt;br /&gt;
* handDesc&lt;br /&gt;
* handNote&lt;br /&gt;
* handNotes&lt;br /&gt;
* handShift&lt;br /&gt;
* head&lt;br /&gt;
* headItem&lt;br /&gt;
* headLabel&lt;br /&gt;
* height&lt;br /&gt;
* heraldry&lt;br /&gt;
 hi {display:inline; font-weight:bold;}&lt;br /&gt;
* history&lt;br /&gt;
* hom&lt;br /&gt;
* hyph&lt;br /&gt;
* hyphenation&lt;br /&gt;
&lt;br /&gt;
==i==&lt;br /&gt;
&lt;br /&gt;
* iNode&lt;br /&gt;
* iType&lt;br /&gt;
 ident[type] {display:inline; font-weight:bold;} ident:not([type]) {display:inline; } /* Just as the stylesheet allows for different types; a specific type could be styled by ident[type=&amp;quot;XXX&amp;quot;] */&lt;br /&gt;
* idno&lt;br /&gt;
* if&lt;br /&gt;
* iff&lt;br /&gt;
* imprimatur&lt;br /&gt;
* imprint&lt;br /&gt;
* incident&lt;br /&gt;
* incipit&lt;br /&gt;
* index&lt;br /&gt;
* institution&lt;br /&gt;
* interaction&lt;br /&gt;
* interp&lt;br /&gt;
* interpGrp&lt;br /&gt;
* interpretation&lt;br /&gt;
* item&lt;br /&gt;
&lt;br /&gt;
==j==&lt;br /&gt;
&lt;br /&gt;
* join&lt;br /&gt;
* joinGrp&lt;br /&gt;
&lt;br /&gt;
==k==&lt;br /&gt;
&lt;br /&gt;
* keywords&lt;br /&gt;
* kinesic&lt;br /&gt;
&lt;br /&gt;
==l==&lt;br /&gt;
&lt;br /&gt;
 l {display:block;}&lt;br /&gt;
 label {display:inline;}&lt;br /&gt;
* lacunaEnd&lt;br /&gt;
* lacunaStart&lt;br /&gt;
* lang&lt;br /&gt;
* langKnowledge&lt;br /&gt;
* langKnown&lt;br /&gt;
* langUsage&lt;br /&gt;
* language&lt;br /&gt;
* layout&lt;br /&gt;
* layoutDesc&lt;br /&gt;
 lb {display:block;}&lt;br /&gt;
* lbl&lt;br /&gt;
* leaf&lt;br /&gt;
* lem&lt;br /&gt;
 lg {display:block;}&lt;br /&gt;
* link&lt;br /&gt;
* linkGrp&lt;br /&gt;
* list&lt;br /&gt;
* listBibl&lt;br /&gt;
* listEvent&lt;br /&gt;
* listNym&lt;br /&gt;
* listOrg&lt;br /&gt;
* listPerson&lt;br /&gt;
* listPlace&lt;br /&gt;
* listRef&lt;br /&gt;
* listWit&lt;br /&gt;
* localName&lt;br /&gt;
* locale&lt;br /&gt;
* location&lt;br /&gt;
* locus&lt;br /&gt;
* locusGrp&lt;br /&gt;
&lt;br /&gt;
==m==&lt;br /&gt;
&lt;br /&gt;
* m&lt;br /&gt;
* macroSpec&lt;br /&gt;
* mapping&lt;br /&gt;
* material&lt;br /&gt;
* measure&lt;br /&gt;
* measureGrp&lt;br /&gt;
* meeting&lt;br /&gt;
* memberOf&lt;br /&gt;
 mentioned {display:inline;}&lt;br /&gt;
* metDecl&lt;br /&gt;
* metSym&lt;br /&gt;
* milestone&lt;br /&gt;
* moduleRef&lt;br /&gt;
* moduleSpec&lt;br /&gt;
* monogr&lt;br /&gt;
* mood&lt;br /&gt;
* move&lt;br /&gt;
* msContents&lt;br /&gt;
* msDesc&lt;br /&gt;
* msIdentifier&lt;br /&gt;
* msItem&lt;br /&gt;
* msItemStruct&lt;br /&gt;
* msName&lt;br /&gt;
* msPart&lt;br /&gt;
* musicNotation&lt;br /&gt;
&lt;br /&gt;
==n==&lt;br /&gt;
&lt;br /&gt;
* name&lt;br /&gt;
* nameLink&lt;br /&gt;
* namespace&lt;br /&gt;
* nationality&lt;br /&gt;
* node&lt;br /&gt;
* normalization&lt;br /&gt;
* note&lt;br /&gt;
* notesStmt&lt;br /&gt;
* num&lt;br /&gt;
* number&lt;br /&gt;
* numeric&lt;br /&gt;
* nym&lt;br /&gt;
&lt;br /&gt;
==o==&lt;br /&gt;
&lt;br /&gt;
* oRef&lt;br /&gt;
* oVar&lt;br /&gt;
* objectDesc&lt;br /&gt;
* occupation&lt;br /&gt;
* offset&lt;br /&gt;
* opener&lt;br /&gt;
* org&lt;br /&gt;
* orgName&lt;br /&gt;
* orig&lt;br /&gt;
* origDate&lt;br /&gt;
* origPlace&lt;br /&gt;
* origin&lt;br /&gt;
* orth&lt;br /&gt;
&lt;br /&gt;
==p==&lt;br /&gt;
&lt;br /&gt;
* p&lt;br /&gt;
* pRef&lt;br /&gt;
* pVar&lt;br /&gt;
* particDesc&lt;br /&gt;
* pause&lt;br /&gt;
* pb&lt;br /&gt;
* pc&lt;br /&gt;
* per&lt;br /&gt;
* performance&lt;br /&gt;
* persName&lt;br /&gt;
* person&lt;br /&gt;
* personGrp&lt;br /&gt;
* phr&lt;br /&gt;
* physDesc&lt;br /&gt;
* place&lt;br /&gt;
* placeName&lt;br /&gt;
* population&lt;br /&gt;
* pos&lt;br /&gt;
* postBox&lt;br /&gt;
* postCode&lt;br /&gt;
* postscript&lt;br /&gt;
* precision&lt;br /&gt;
* preparedness&lt;br /&gt;
* principal&lt;br /&gt;
* profileDesc&lt;br /&gt;
* projectDesc&lt;br /&gt;
* prologue&lt;br /&gt;
* pron&lt;br /&gt;
* provenance&lt;br /&gt;
* ptr&lt;br /&gt;
* pubPlace&lt;br /&gt;
* publicationStmt&lt;br /&gt;
* publisher&lt;br /&gt;
* purpose&lt;br /&gt;
&lt;br /&gt;
==q==&lt;br /&gt;
&lt;br /&gt;
* q&lt;br /&gt;
* quotation&lt;br /&gt;
* quote&lt;br /&gt;
&lt;br /&gt;
==r==&lt;br /&gt;
&lt;br /&gt;
* rdg&lt;br /&gt;
* rdgGrp&lt;br /&gt;
* re&lt;br /&gt;
* recordHist&lt;br /&gt;
* recording&lt;br /&gt;
* recordingStmt&lt;br /&gt;
* ref&lt;br /&gt;
* refState&lt;br /&gt;
* refsDecl&lt;br /&gt;
* reg&lt;br /&gt;
* region&lt;br /&gt;
* relatedItem&lt;br /&gt;
* relation&lt;br /&gt;
* relationGrp&lt;br /&gt;
* remarks&lt;br /&gt;
* rendition&lt;br /&gt;
* repository&lt;br /&gt;
* residence&lt;br /&gt;
 resp:after {content:&amp;quot; &amp;quot;}&lt;br /&gt;
 respStmt {display:inline;}&lt;br /&gt;
* respons&lt;br /&gt;
* restore&lt;br /&gt;
* revisionDesc&lt;br /&gt;
* rhyme&lt;br /&gt;
 role {display:inline; font-style: italic;}&lt;br /&gt;
 roleDesc { margin-left: 40px; margin-right: 40px; } roleDesc &amp;gt; *:not(p) {display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* roleName&lt;br /&gt;
* root&lt;br /&gt;
* row&lt;br /&gt;
* rs&lt;br /&gt;
* rubric&lt;br /&gt;
&lt;br /&gt;
==s==&lt;br /&gt;
&lt;br /&gt;
* s&lt;br /&gt;
* said&lt;br /&gt;
 salute {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* samplingDecl&lt;br /&gt;
* schemaSpec&lt;br /&gt;
* scriptStmt&lt;br /&gt;
* seal&lt;br /&gt;
* sealDesc&lt;br /&gt;
* secFol&lt;br /&gt;
 seg {display:inline;}&lt;br /&gt;
* segmentation&lt;br /&gt;
* sense&lt;br /&gt;
* series&lt;br /&gt;
* seriesStmt&lt;br /&gt;
 set {display:inline; font-style: italic;}&lt;br /&gt;
* setting&lt;br /&gt;
* settingDesc&lt;br /&gt;
* settlement&lt;br /&gt;
* se x (separated for spam filter)&lt;br /&gt;
* shift&lt;br /&gt;
 sic {display:inline;} sic:after {content: &amp;quot; (sic)&amp;quot;}&lt;br /&gt;
* signatures&lt;br /&gt;
 signed {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* soCalled&lt;br /&gt;
* socecStatus&lt;br /&gt;
 sound {display:inline; font-style: italic;}&lt;br /&gt;
* source&lt;br /&gt;
* sourceDesc&lt;br /&gt;
* sp&lt;br /&gt;
* space&lt;br /&gt;
* span&lt;br /&gt;
* spanGrp&lt;br /&gt;
* speaker&lt;br /&gt;
* specDesc&lt;br /&gt;
* specGrp&lt;br /&gt;
* specGrpRef&lt;br /&gt;
* specList&lt;br /&gt;
* sponsor&lt;br /&gt;
 stage {font-style: italic; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* stamp&lt;br /&gt;
* state&lt;br /&gt;
* stdVals&lt;br /&gt;
* street&lt;br /&gt;
* stress&lt;br /&gt;
* string&lt;br /&gt;
* stringVal&lt;br /&gt;
* subc&lt;br /&gt;
* subst&lt;br /&gt;
* summary&lt;br /&gt;
* superEntry&lt;br /&gt;
* supplied&lt;br /&gt;
* support&lt;br /&gt;
* supportDesc&lt;br /&gt;
* surface&lt;br /&gt;
* surname&lt;br /&gt;
* surplus&lt;br /&gt;
* surrogates&lt;br /&gt;
* syll&lt;br /&gt;
* symbol&lt;br /&gt;
&lt;br /&gt;
==t==&lt;br /&gt;
&lt;br /&gt;
* TEI&lt;br /&gt;
* table&lt;br /&gt;
* tag&lt;br /&gt;
* tagUsage&lt;br /&gt;
* tagsDecl&lt;br /&gt;
* taxonomy&lt;br /&gt;
 tech {display:inline; font-style: italic;}&lt;br /&gt;
* teiCorpus&lt;br /&gt;
* teiHeader&lt;br /&gt;
 term {display:inline;}&lt;br /&gt;
* terrain&lt;br /&gt;
* text&lt;br /&gt;
* textClass&lt;br /&gt;
* textDesc&lt;br /&gt;
* textLang&lt;br /&gt;
* then&lt;br /&gt;
* time&lt;br /&gt;
* timeline&lt;br /&gt;
* title&lt;br /&gt;
* titlePage&lt;br /&gt;
* titlePart&lt;br /&gt;
* titleStmt&lt;br /&gt;
* tns&lt;br /&gt;
* trailer&lt;br /&gt;
* trait&lt;br /&gt;
* tree&lt;br /&gt;
* triangle&lt;br /&gt;
* typeDesc&lt;br /&gt;
* typeNote&lt;br /&gt;
&lt;br /&gt;
==u==&lt;br /&gt;
&lt;br /&gt;
* u&lt;br /&gt;
 unclear {display:inline;}&lt;br /&gt;
* unicodeName&lt;br /&gt;
* usg&lt;br /&gt;
&lt;br /&gt;
==v==&lt;br /&gt;
&lt;br /&gt;
* vAlt&lt;br /&gt;
* vColl&lt;br /&gt;
* vDefault&lt;br /&gt;
* vLabel&lt;br /&gt;
* vMerge&lt;br /&gt;
* vNot&lt;br /&gt;
* vRange&lt;br /&gt;
* val&lt;br /&gt;
* valDesc&lt;br /&gt;
* valItem&lt;br /&gt;
* valList&lt;br /&gt;
* value&lt;br /&gt;
* variantEncoding&lt;br /&gt;
 view {display:inline; font-style: italic;}&lt;br /&gt;
* vocal&lt;br /&gt;
&lt;br /&gt;
==w==&lt;br /&gt;
&lt;br /&gt;
* w&lt;br /&gt;
* watermark&lt;br /&gt;
* when&lt;br /&gt;
* width&lt;br /&gt;
* wit&lt;br /&gt;
* witDetail&lt;br /&gt;
* witEnd&lt;br /&gt;
* witStart&lt;br /&gt;
* witness&lt;br /&gt;
* writing&lt;br /&gt;
&lt;br /&gt;
==x==&lt;br /&gt;
&lt;br /&gt;
* xr&lt;br /&gt;
&lt;br /&gt;
==y==&lt;br /&gt;
&lt;br /&gt;
(none)&lt;br /&gt;
&lt;br /&gt;
==z==&lt;br /&gt;
z&lt;br /&gt;
&lt;br /&gt;
* zone&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:CSS]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7637</id>
		<title>Comprehensive CSS Stylesheet</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7637"/>
		<updated>2010-06-06T12:52:07Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: +most drama elements&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following is an attempt to gradually build CSS for each TEI element, paralleling the default TEI stylesheets (while also potentially serving as a kind of discussion center for how the stylesheets ought to operate, at least for issues pertaining solely to formatting as opposed to semantics), by indicating here necessary deviations from the XHTML stylesheets (due to CSS constraints) or potentially desirable alternatives, etc.):&lt;br /&gt;
&lt;br /&gt;
Per CSS Namespaces, one can use either&lt;br /&gt;
 @namespace &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 @namespace tei &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
...but we will use the former since we will presume the stylesheet will be primarily (if not exclusively) for TEI.&lt;br /&gt;
&lt;br /&gt;
We will not be able to use templates like rendToClass (e.g., ab) or applyRend (emph), applyRendition (emph) since we cannot (nor do we need to) add an id or class (though @rend or @rendition would be useful to utilize, there is no &amp;quot;eval()&amp;quot;-like code in CSS; however, we could test against predefined values like &amp;quot;bold&amp;quot; (maybe as a global * or at least the elements using these in the stylesheets (emph, hi, ...))).&lt;br /&gt;
&lt;br /&gt;
All fields below should be complete for an element, or otherwise noted that it is incomplete, so that it can otherwise be assumed that the CSS has been completely applied as far as possible.&lt;br /&gt;
&lt;br /&gt;
==a==&lt;br /&gt;
 ab {display:block;}&lt;br /&gt;
* abbr&lt;br /&gt;
* accMat&lt;br /&gt;
* acquisition&lt;br /&gt;
* activity&lt;br /&gt;
 actor {display:inline; font-style: italic;}&lt;br /&gt;
* add&lt;br /&gt;
* addName&lt;br /&gt;
* addSpan&lt;br /&gt;
* additional&lt;br /&gt;
* additions&lt;br /&gt;
 addrLine {display:block;}&lt;br /&gt;
 address {display:block; /* font-style:italic; If wish to appear as HTML addresses are rendered by default, at least in Firefox */}&lt;br /&gt;
* adminInfo&lt;br /&gt;
* affiliation&lt;br /&gt;
* age&lt;br /&gt;
* alt&lt;br /&gt;
* altGrp&lt;br /&gt;
* altIdent&lt;br /&gt;
* altIdentifier&lt;br /&gt;
* am&lt;br /&gt;
* analytic&lt;br /&gt;
* anchor&lt;br /&gt;
* app&lt;br /&gt;
* appInfo&lt;br /&gt;
* application&lt;br /&gt;
* arc&lt;br /&gt;
* argument&lt;br /&gt;
 att {display:inline; font-weight:bold;} att:before {content:&amp;quot;@&amp;quot;}&lt;br /&gt;
* attDef&lt;br /&gt;
* attList&lt;br /&gt;
* attRef&lt;br /&gt;
* author&lt;br /&gt;
* authority&lt;br /&gt;
* availability&lt;br /&gt;
&lt;br /&gt;
==b==&lt;br /&gt;
&lt;br /&gt;
* back&lt;br /&gt;
* bibl&lt;br /&gt;
* biblFull&lt;br /&gt;
* biblScope&lt;br /&gt;
* biblStruct&lt;br /&gt;
* bicond&lt;br /&gt;
* binary&lt;br /&gt;
* binaryObject&lt;br /&gt;
* binding&lt;br /&gt;
* bindingDesc&lt;br /&gt;
* birth&lt;br /&gt;
* bloc&lt;br /&gt;
* body&lt;br /&gt;
* broadcast&lt;br /&gt;
 byline {display:block;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==c==&lt;br /&gt;
&lt;br /&gt;
* c&lt;br /&gt;
* cRefPattern&lt;br /&gt;
 caesura:before {display:inline; content:&amp;quot;\a0\a0\a0\a0&amp;quot;; /* could be :after too (though Firefox seems to have a bug with it), but the important thing is that this is an empty element */}&lt;br /&gt;
 camera {display:inline; font-style: italic;}&lt;br /&gt;
 caption {display:inline; font-style: italic;}&lt;br /&gt;
* case&lt;br /&gt;
* castGroup&lt;br /&gt;
* castItem&lt;br /&gt;
* castList&lt;br /&gt;
* catDesc&lt;br /&gt;
* catRef&lt;br /&gt;
* catchwords&lt;br /&gt;
* category&lt;br /&gt;
* cb&lt;br /&gt;
* cell&lt;br /&gt;
* certainty&lt;br /&gt;
* change&lt;br /&gt;
* channel&lt;br /&gt;
* char&lt;br /&gt;
* charDecl&lt;br /&gt;
* charName&lt;br /&gt;
* charProp&lt;br /&gt;
* choice&lt;br /&gt;
* cit&lt;br /&gt;
* cl&lt;br /&gt;
* classCode&lt;br /&gt;
* classDecl&lt;br /&gt;
* classSpec&lt;br /&gt;
* classes&lt;br /&gt;
* climate&lt;br /&gt;
* closer&lt;br /&gt;
 code {display:inline; font-family:monospace;}&lt;br /&gt;
* collation&lt;br /&gt;
* collection&lt;br /&gt;
* colloc&lt;br /&gt;
* colophon&lt;br /&gt;
* cond&lt;br /&gt;
* condition&lt;br /&gt;
* constitution&lt;br /&gt;
* constraint&lt;br /&gt;
* constraintSpec&lt;br /&gt;
* content&lt;br /&gt;
* corr&lt;br /&gt;
* correction&lt;br /&gt;
* country&lt;br /&gt;
* creation&lt;br /&gt;
* custEvent&lt;br /&gt;
* custodialHist&lt;br /&gt;
&lt;br /&gt;
==d==&lt;br /&gt;
&lt;br /&gt;
* damage&lt;br /&gt;
* damageSpan&lt;br /&gt;
* datatype&lt;br /&gt;
* date&lt;br /&gt;
* dateline&lt;br /&gt;
* death&lt;br /&gt;
* decoDesc&lt;br /&gt;
* decoNote&lt;br /&gt;
* def&lt;br /&gt;
* default&lt;br /&gt;
* defaultVal&lt;br /&gt;
 del {display:inline; text-decoration: line-through;}&lt;br /&gt;
* delSpan&lt;br /&gt;
* depth&lt;br /&gt;
* derivation&lt;br /&gt;
* desc&lt;br /&gt;
* dictScrap&lt;br /&gt;
* dim&lt;br /&gt;
* dimensions&lt;br /&gt;
* distinct&lt;br /&gt;
* distributor&lt;br /&gt;
* district&lt;br /&gt;
* div&lt;br /&gt;
* div1&lt;br /&gt;
* div2&lt;br /&gt;
* div3&lt;br /&gt;
* div4&lt;br /&gt;
* div5&lt;br /&gt;
* div6&lt;br /&gt;
* div7&lt;br /&gt;
* divGen&lt;br /&gt;
* docAuthor&lt;br /&gt;
* docDate&lt;br /&gt;
* docEdition&lt;br /&gt;
* docImprint&lt;br /&gt;
* docTitle&lt;br /&gt;
* domain&lt;br /&gt;
&lt;br /&gt;
==e==&lt;br /&gt;
&lt;br /&gt;
* eLeaf&lt;br /&gt;
* eTree&lt;br /&gt;
* edition&lt;br /&gt;
* editionStmt&lt;br /&gt;
* editor&lt;br /&gt;
* editorialDecl&lt;br /&gt;
* education&lt;br /&gt;
* eg&lt;br /&gt;
* egXML&lt;br /&gt;
* elementSpec&lt;br /&gt;
* email&lt;br /&gt;
 emph {display:inline; font-style:italic;}&lt;br /&gt;
* encodingDesc&lt;br /&gt;
* entry&lt;br /&gt;
* entryFree&lt;br /&gt;
 epigraph {display:block;}&lt;br /&gt;
* epilogue&lt;br /&gt;
* equipment&lt;br /&gt;
* equiv&lt;br /&gt;
* etym&lt;br /&gt;
* event&lt;br /&gt;
* ex&lt;br /&gt;
* exemplum&lt;br /&gt;
* expan&lt;br /&gt;
* explicit&lt;br /&gt;
* extent&lt;br /&gt;
&lt;br /&gt;
==f==&lt;br /&gt;
&lt;br /&gt;
* f&lt;br /&gt;
* fDecl&lt;br /&gt;
* fDescr&lt;br /&gt;
* fLib&lt;br /&gt;
* facsimile&lt;br /&gt;
* factuality&lt;br /&gt;
* faith&lt;br /&gt;
* figDesc&lt;br /&gt;
* figure&lt;br /&gt;
* fileDesc&lt;br /&gt;
* filiation&lt;br /&gt;
* finalRubric&lt;br /&gt;
* floatingText&lt;br /&gt;
* floruit&lt;br /&gt;
* foliation&lt;br /&gt;
 foreign {display:inline;}&lt;br /&gt;
* forename&lt;br /&gt;
* forest&lt;br /&gt;
* forestGrp&lt;br /&gt;
* form&lt;br /&gt;
* formula&lt;br /&gt;
* front&lt;br /&gt;
* fs&lt;br /&gt;
* fsConstraints&lt;br /&gt;
* fsDecl&lt;br /&gt;
* fsDescr&lt;br /&gt;
* fsdDecl&lt;br /&gt;
* fsdLink&lt;br /&gt;
* funder&lt;br /&gt;
* fvLib&lt;br /&gt;
* fw&lt;br /&gt;
&lt;br /&gt;
==g==&lt;br /&gt;
&lt;br /&gt;
* g&lt;br /&gt;
* gap&lt;br /&gt;
* gen&lt;br /&gt;
* genName&lt;br /&gt;
* geo&lt;br /&gt;
* geoDecl&lt;br /&gt;
* geogFeat&lt;br /&gt;
* geogName&lt;br /&gt;
 gi:before {display:inline;content:&amp;quot;&amp;lt;&amp;quot;}  gi:after {display:inline;content:&amp;quot;&amp;gt;&amp;quot;}&lt;br /&gt;
 gloss {display:inline;}&lt;br /&gt;
* glyph&lt;br /&gt;
* glyphName&lt;br /&gt;
* gram&lt;br /&gt;
* gramGrp&lt;br /&gt;
* graph&lt;br /&gt;
* graphic&lt;br /&gt;
* group&lt;br /&gt;
&lt;br /&gt;
==h==&lt;br /&gt;
&lt;br /&gt;
* handDesc&lt;br /&gt;
* handNote&lt;br /&gt;
* handNotes&lt;br /&gt;
* handShift&lt;br /&gt;
* head&lt;br /&gt;
* headItem&lt;br /&gt;
* headLabel&lt;br /&gt;
* height&lt;br /&gt;
* heraldry&lt;br /&gt;
 hi {display:inline; font-weight:bold;}&lt;br /&gt;
* history&lt;br /&gt;
* hom&lt;br /&gt;
* hyph&lt;br /&gt;
* hyphenation&lt;br /&gt;
&lt;br /&gt;
==i==&lt;br /&gt;
&lt;br /&gt;
* iNode&lt;br /&gt;
* iType&lt;br /&gt;
 ident[type] {display:inline; font-weight:bold;} ident:not([type]) {display:inline; } /* Just as the stylesheet allows for different types; a specific type could be styled by ident[type=&amp;quot;XXX&amp;quot;] */&lt;br /&gt;
* idno&lt;br /&gt;
* if&lt;br /&gt;
* iff&lt;br /&gt;
* imprimatur&lt;br /&gt;
* imprint&lt;br /&gt;
* incident&lt;br /&gt;
* incipit&lt;br /&gt;
* index&lt;br /&gt;
* institution&lt;br /&gt;
* interaction&lt;br /&gt;
* interp&lt;br /&gt;
* interpGrp&lt;br /&gt;
* interpretation&lt;br /&gt;
* item&lt;br /&gt;
&lt;br /&gt;
==j==&lt;br /&gt;
&lt;br /&gt;
* join&lt;br /&gt;
* joinGrp&lt;br /&gt;
&lt;br /&gt;
==k==&lt;br /&gt;
&lt;br /&gt;
* keywords&lt;br /&gt;
* kinesic&lt;br /&gt;
&lt;br /&gt;
==l==&lt;br /&gt;
&lt;br /&gt;
 l {display:block;}&lt;br /&gt;
 label {display:inline;}&lt;br /&gt;
* lacunaEnd&lt;br /&gt;
* lacunaStart&lt;br /&gt;
* lang&lt;br /&gt;
* langKnowledge&lt;br /&gt;
* langKnown&lt;br /&gt;
* langUsage&lt;br /&gt;
* language&lt;br /&gt;
* layout&lt;br /&gt;
* layoutDesc&lt;br /&gt;
 lb {display:block;}&lt;br /&gt;
* lbl&lt;br /&gt;
* leaf&lt;br /&gt;
* lem&lt;br /&gt;
 lg {display:block;}&lt;br /&gt;
* link&lt;br /&gt;
* linkGrp&lt;br /&gt;
* list&lt;br /&gt;
* listBibl&lt;br /&gt;
* listEvent&lt;br /&gt;
* listNym&lt;br /&gt;
* listOrg&lt;br /&gt;
* listPerson&lt;br /&gt;
* listPlace&lt;br /&gt;
* listRef&lt;br /&gt;
* listWit&lt;br /&gt;
* localName&lt;br /&gt;
* locale&lt;br /&gt;
* location&lt;br /&gt;
* locus&lt;br /&gt;
* locusGrp&lt;br /&gt;
&lt;br /&gt;
==m==&lt;br /&gt;
&lt;br /&gt;
* m&lt;br /&gt;
* macroSpec&lt;br /&gt;
* mapping&lt;br /&gt;
* material&lt;br /&gt;
* measure&lt;br /&gt;
* measureGrp&lt;br /&gt;
* meeting&lt;br /&gt;
* memberOf&lt;br /&gt;
 mentioned {display:inline;}&lt;br /&gt;
* metDecl&lt;br /&gt;
* metSym&lt;br /&gt;
* milestone&lt;br /&gt;
* moduleRef&lt;br /&gt;
* moduleSpec&lt;br /&gt;
* monogr&lt;br /&gt;
* mood&lt;br /&gt;
* move&lt;br /&gt;
* msContents&lt;br /&gt;
* msDesc&lt;br /&gt;
* msIdentifier&lt;br /&gt;
* msItem&lt;br /&gt;
* msItemStruct&lt;br /&gt;
* msName&lt;br /&gt;
* msPart&lt;br /&gt;
* musicNotation&lt;br /&gt;
&lt;br /&gt;
==n==&lt;br /&gt;
&lt;br /&gt;
* name&lt;br /&gt;
* nameLink&lt;br /&gt;
* namespace&lt;br /&gt;
* nationality&lt;br /&gt;
* node&lt;br /&gt;
* normalization&lt;br /&gt;
* note&lt;br /&gt;
* notesStmt&lt;br /&gt;
* num&lt;br /&gt;
* number&lt;br /&gt;
* numeric&lt;br /&gt;
* nym&lt;br /&gt;
&lt;br /&gt;
==o==&lt;br /&gt;
&lt;br /&gt;
* oRef&lt;br /&gt;
* oVar&lt;br /&gt;
* objectDesc&lt;br /&gt;
* occupation&lt;br /&gt;
* offset&lt;br /&gt;
* opener&lt;br /&gt;
* org&lt;br /&gt;
* orgName&lt;br /&gt;
* orig&lt;br /&gt;
* origDate&lt;br /&gt;
* origPlace&lt;br /&gt;
* origin&lt;br /&gt;
* orth&lt;br /&gt;
&lt;br /&gt;
==p==&lt;br /&gt;
&lt;br /&gt;
* p&lt;br /&gt;
* pRef&lt;br /&gt;
* pVar&lt;br /&gt;
* particDesc&lt;br /&gt;
* pause&lt;br /&gt;
* pb&lt;br /&gt;
* pc&lt;br /&gt;
* per&lt;br /&gt;
* performance&lt;br /&gt;
* persName&lt;br /&gt;
* person&lt;br /&gt;
* personGrp&lt;br /&gt;
* phr&lt;br /&gt;
* physDesc&lt;br /&gt;
* place&lt;br /&gt;
* placeName&lt;br /&gt;
* population&lt;br /&gt;
* pos&lt;br /&gt;
* postBox&lt;br /&gt;
* postCode&lt;br /&gt;
* postscript&lt;br /&gt;
* precision&lt;br /&gt;
* preparedness&lt;br /&gt;
* principal&lt;br /&gt;
* profileDesc&lt;br /&gt;
* projectDesc&lt;br /&gt;
* prologue&lt;br /&gt;
* pron&lt;br /&gt;
* provenance&lt;br /&gt;
* ptr&lt;br /&gt;
* pubPlace&lt;br /&gt;
* publicationStmt&lt;br /&gt;
* publisher&lt;br /&gt;
* purpose&lt;br /&gt;
&lt;br /&gt;
==q==&lt;br /&gt;
&lt;br /&gt;
* q&lt;br /&gt;
* quotation&lt;br /&gt;
* quote&lt;br /&gt;
&lt;br /&gt;
==r==&lt;br /&gt;
&lt;br /&gt;
* rdg&lt;br /&gt;
* rdgGrp&lt;br /&gt;
* re&lt;br /&gt;
* recordHist&lt;br /&gt;
* recording&lt;br /&gt;
* recordingStmt&lt;br /&gt;
* ref&lt;br /&gt;
* refState&lt;br /&gt;
* refsDecl&lt;br /&gt;
* reg&lt;br /&gt;
* region&lt;br /&gt;
* relatedItem&lt;br /&gt;
* relation&lt;br /&gt;
* relationGrp&lt;br /&gt;
* remarks&lt;br /&gt;
* rendition&lt;br /&gt;
* repository&lt;br /&gt;
* residence&lt;br /&gt;
 resp:after {content:&amp;quot; &amp;quot;}&lt;br /&gt;
 respStmt {display:inline;}&lt;br /&gt;
* respons&lt;br /&gt;
* restore&lt;br /&gt;
* revisionDesc&lt;br /&gt;
* rhyme&lt;br /&gt;
 role {display:inline; font-style: italic;}&lt;br /&gt;
* roleDesc&lt;br /&gt;
* roleName&lt;br /&gt;
* root&lt;br /&gt;
* row&lt;br /&gt;
* rs&lt;br /&gt;
* rubric&lt;br /&gt;
&lt;br /&gt;
==s==&lt;br /&gt;
&lt;br /&gt;
* s&lt;br /&gt;
* said&lt;br /&gt;
 salute {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* samplingDecl&lt;br /&gt;
* schemaSpec&lt;br /&gt;
* scriptStmt&lt;br /&gt;
* seal&lt;br /&gt;
* sealDesc&lt;br /&gt;
* secFol&lt;br /&gt;
 seg {display:inline;}&lt;br /&gt;
* segmentation&lt;br /&gt;
* sense&lt;br /&gt;
* series&lt;br /&gt;
* seriesStmt&lt;br /&gt;
 set {display:inline; font-style: italic;}&lt;br /&gt;
* setting&lt;br /&gt;
* settingDesc&lt;br /&gt;
* settlement&lt;br /&gt;
* se x (separated for spam filter)&lt;br /&gt;
* shift&lt;br /&gt;
 sic {display:inline;} sic:after {content: &amp;quot; (sic)&amp;quot;}&lt;br /&gt;
* signatures&lt;br /&gt;
 signed {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* soCalled&lt;br /&gt;
* socecStatus&lt;br /&gt;
 sound {display:inline; font-style: italic;}&lt;br /&gt;
* source&lt;br /&gt;
* sourceDesc&lt;br /&gt;
* sp&lt;br /&gt;
* space&lt;br /&gt;
* span&lt;br /&gt;
* spanGrp&lt;br /&gt;
* speaker&lt;br /&gt;
* specDesc&lt;br /&gt;
* specGrp&lt;br /&gt;
* specGrpRef&lt;br /&gt;
* specList&lt;br /&gt;
* sponsor&lt;br /&gt;
 stage {font-style: italic; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* stamp&lt;br /&gt;
* state&lt;br /&gt;
* stdVals&lt;br /&gt;
* street&lt;br /&gt;
* stress&lt;br /&gt;
* string&lt;br /&gt;
* stringVal&lt;br /&gt;
* subc&lt;br /&gt;
* subst&lt;br /&gt;
* summary&lt;br /&gt;
* superEntry&lt;br /&gt;
* supplied&lt;br /&gt;
* support&lt;br /&gt;
* supportDesc&lt;br /&gt;
* surface&lt;br /&gt;
* surname&lt;br /&gt;
* surplus&lt;br /&gt;
* surrogates&lt;br /&gt;
* syll&lt;br /&gt;
* symbol&lt;br /&gt;
&lt;br /&gt;
==t==&lt;br /&gt;
&lt;br /&gt;
* TEI&lt;br /&gt;
* table&lt;br /&gt;
* tag&lt;br /&gt;
* tagUsage&lt;br /&gt;
* tagsDecl&lt;br /&gt;
* taxonomy&lt;br /&gt;
 tech {display:inline; font-style: italic;}&lt;br /&gt;
* teiCorpus&lt;br /&gt;
* teiHeader&lt;br /&gt;
 term {display:inline;}&lt;br /&gt;
* terrain&lt;br /&gt;
* text&lt;br /&gt;
* textClass&lt;br /&gt;
* textDesc&lt;br /&gt;
* textLang&lt;br /&gt;
* then&lt;br /&gt;
* time&lt;br /&gt;
* timeline&lt;br /&gt;
* title&lt;br /&gt;
* titlePage&lt;br /&gt;
* titlePart&lt;br /&gt;
* titleStmt&lt;br /&gt;
* tns&lt;br /&gt;
* trailer&lt;br /&gt;
* trait&lt;br /&gt;
* tree&lt;br /&gt;
* triangle&lt;br /&gt;
* typeDesc&lt;br /&gt;
* typeNote&lt;br /&gt;
&lt;br /&gt;
==u==&lt;br /&gt;
&lt;br /&gt;
* u&lt;br /&gt;
 unclear {display:inline;}&lt;br /&gt;
* unicodeName&lt;br /&gt;
* usg&lt;br /&gt;
&lt;br /&gt;
==v==&lt;br /&gt;
&lt;br /&gt;
* vAlt&lt;br /&gt;
* vColl&lt;br /&gt;
* vDefault&lt;br /&gt;
* vLabel&lt;br /&gt;
* vMerge&lt;br /&gt;
* vNot&lt;br /&gt;
* vRange&lt;br /&gt;
* val&lt;br /&gt;
* valDesc&lt;br /&gt;
* valItem&lt;br /&gt;
* valList&lt;br /&gt;
* value&lt;br /&gt;
* variantEncoding&lt;br /&gt;
 view {display:inline; font-style: italic;}&lt;br /&gt;
* vocal&lt;br /&gt;
&lt;br /&gt;
==w==&lt;br /&gt;
&lt;br /&gt;
* w&lt;br /&gt;
* watermark&lt;br /&gt;
* when&lt;br /&gt;
* width&lt;br /&gt;
* wit&lt;br /&gt;
* witDetail&lt;br /&gt;
* witEnd&lt;br /&gt;
* witStart&lt;br /&gt;
* witness&lt;br /&gt;
* writing&lt;br /&gt;
&lt;br /&gt;
==x==&lt;br /&gt;
&lt;br /&gt;
* xr&lt;br /&gt;
&lt;br /&gt;
==y==&lt;br /&gt;
&lt;br /&gt;
(none)&lt;br /&gt;
&lt;br /&gt;
==z==&lt;br /&gt;
z&lt;br /&gt;
&lt;br /&gt;
* zone&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:CSS]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7636</id>
		<title>Comprehensive CSS Stylesheet</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Comprehensive_CSS_Stylesheet&amp;diff=7636"/>
		<updated>2010-06-06T12:37:31Z</updated>

		<summary type="html">&lt;p&gt;Brettz9: /* t */ +term&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following is an attempt to gradually build CSS for each TEI element, paralleling the default TEI stylesheets (while also potentially serving as a kind of discussion center for how the stylesheets ought to operate, at least for issues pertaining solely to formatting as opposed to semantics), by indicating here necessary deviations from the XHTML stylesheets (due to CSS constraints) or potentially desirable alternatives, etc.):&lt;br /&gt;
&lt;br /&gt;
Per CSS Namespaces, one can use either&lt;br /&gt;
 @namespace &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 @namespace tei &amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
...but we will use the former since we will presume the stylesheet will be primarily (if not exclusively) for TEI.&lt;br /&gt;
&lt;br /&gt;
We will not be able to use templates like rendToClass (e.g., ab) or applyRend (emph), applyRendition (emph) since we cannot (nor do we need to) add an id or class (though @rend or @rendition would be useful to utilize, there is no &amp;quot;eval()&amp;quot;-like code in CSS; however, we could test against predefined values like &amp;quot;bold&amp;quot; (maybe as a global * or at least the elements using these in the stylesheets (emph, hi, ...))).&lt;br /&gt;
&lt;br /&gt;
All fields below should be complete for an element, or otherwise noted that it is incomplete, so that it can otherwise be assumed that the CSS has been completely applied as far as possible.&lt;br /&gt;
&lt;br /&gt;
==a==&lt;br /&gt;
 ab {display:block;}&lt;br /&gt;
* abbr&lt;br /&gt;
* accMat&lt;br /&gt;
* acquisition&lt;br /&gt;
* activity&lt;br /&gt;
* actor&lt;br /&gt;
* add&lt;br /&gt;
* addName&lt;br /&gt;
* addSpan&lt;br /&gt;
* additional&lt;br /&gt;
* additions&lt;br /&gt;
 addrLine {display:block;}&lt;br /&gt;
 address {display:block; /* font-style:italic; If wish to appear as HTML addresses are rendered by default, at least in Firefox */}&lt;br /&gt;
* adminInfo&lt;br /&gt;
* affiliation&lt;br /&gt;
* age&lt;br /&gt;
* alt&lt;br /&gt;
* altGrp&lt;br /&gt;
* altIdent&lt;br /&gt;
* altIdentifier&lt;br /&gt;
* am&lt;br /&gt;
* analytic&lt;br /&gt;
* anchor&lt;br /&gt;
* app&lt;br /&gt;
* appInfo&lt;br /&gt;
* application&lt;br /&gt;
* arc&lt;br /&gt;
* argument&lt;br /&gt;
 att {display:inline; font-weight:bold;} att:before {content:&amp;quot;@&amp;quot;}&lt;br /&gt;
* attDef&lt;br /&gt;
* attList&lt;br /&gt;
* attRef&lt;br /&gt;
* author&lt;br /&gt;
* authority&lt;br /&gt;
* availability&lt;br /&gt;
&lt;br /&gt;
==b==&lt;br /&gt;
&lt;br /&gt;
* back&lt;br /&gt;
* bibl&lt;br /&gt;
* biblFull&lt;br /&gt;
* biblScope&lt;br /&gt;
* biblStruct&lt;br /&gt;
* bicond&lt;br /&gt;
* binary&lt;br /&gt;
* binaryObject&lt;br /&gt;
* binding&lt;br /&gt;
* bindingDesc&lt;br /&gt;
* birth&lt;br /&gt;
* bloc&lt;br /&gt;
* body&lt;br /&gt;
* broadcast&lt;br /&gt;
 byline {display:block;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==c==&lt;br /&gt;
&lt;br /&gt;
* c&lt;br /&gt;
* cRefPattern&lt;br /&gt;
 caesura:before {display:inline; content:&amp;quot;\a0\a0\a0\a0&amp;quot;; /* could be :after too (though Firefox seems to have a bug with it), but the important thing is that this is an empty element */}&lt;br /&gt;
* camera&lt;br /&gt;
* caption&lt;br /&gt;
* case&lt;br /&gt;
* castGroup&lt;br /&gt;
* castItem&lt;br /&gt;
* castList&lt;br /&gt;
* catDesc&lt;br /&gt;
* catRef&lt;br /&gt;
* catchwords&lt;br /&gt;
* category&lt;br /&gt;
* cb&lt;br /&gt;
* cell&lt;br /&gt;
* certainty&lt;br /&gt;
* change&lt;br /&gt;
* channel&lt;br /&gt;
* char&lt;br /&gt;
* charDecl&lt;br /&gt;
* charName&lt;br /&gt;
* charProp&lt;br /&gt;
* choice&lt;br /&gt;
* cit&lt;br /&gt;
* cl&lt;br /&gt;
* classCode&lt;br /&gt;
* classDecl&lt;br /&gt;
* classSpec&lt;br /&gt;
* classes&lt;br /&gt;
* climate&lt;br /&gt;
* closer&lt;br /&gt;
 code {display:inline; font-family:monospace;}&lt;br /&gt;
* collation&lt;br /&gt;
* collection&lt;br /&gt;
* colloc&lt;br /&gt;
* colophon&lt;br /&gt;
* cond&lt;br /&gt;
* condition&lt;br /&gt;
* constitution&lt;br /&gt;
* constraint&lt;br /&gt;
* constraintSpec&lt;br /&gt;
* content&lt;br /&gt;
* corr&lt;br /&gt;
* correction&lt;br /&gt;
* country&lt;br /&gt;
* creation&lt;br /&gt;
* custEvent&lt;br /&gt;
* custodialHist&lt;br /&gt;
&lt;br /&gt;
==d==&lt;br /&gt;
&lt;br /&gt;
* damage&lt;br /&gt;
* damageSpan&lt;br /&gt;
* datatype&lt;br /&gt;
* date&lt;br /&gt;
* dateline&lt;br /&gt;
* death&lt;br /&gt;
* decoDesc&lt;br /&gt;
* decoNote&lt;br /&gt;
* def&lt;br /&gt;
* default&lt;br /&gt;
* defaultVal&lt;br /&gt;
 del {display:inline; text-decoration: line-through;}&lt;br /&gt;
* delSpan&lt;br /&gt;
* depth&lt;br /&gt;
* derivation&lt;br /&gt;
* desc&lt;br /&gt;
* dictScrap&lt;br /&gt;
* dim&lt;br /&gt;
* dimensions&lt;br /&gt;
* distinct&lt;br /&gt;
* distributor&lt;br /&gt;
* district&lt;br /&gt;
* div&lt;br /&gt;
* div1&lt;br /&gt;
* div2&lt;br /&gt;
* div3&lt;br /&gt;
* div4&lt;br /&gt;
* div5&lt;br /&gt;
* div6&lt;br /&gt;
* div7&lt;br /&gt;
* divGen&lt;br /&gt;
* docAuthor&lt;br /&gt;
* docDate&lt;br /&gt;
* docEdition&lt;br /&gt;
* docImprint&lt;br /&gt;
* docTitle&lt;br /&gt;
* domain&lt;br /&gt;
&lt;br /&gt;
==e==&lt;br /&gt;
&lt;br /&gt;
* eLeaf&lt;br /&gt;
* eTree&lt;br /&gt;
* edition&lt;br /&gt;
* editionStmt&lt;br /&gt;
* editor&lt;br /&gt;
* editorialDecl&lt;br /&gt;
* education&lt;br /&gt;
* eg&lt;br /&gt;
* egXML&lt;br /&gt;
* elementSpec&lt;br /&gt;
* email&lt;br /&gt;
 emph {display:inline; font-style:italic;}&lt;br /&gt;
* encodingDesc&lt;br /&gt;
* entry&lt;br /&gt;
* entryFree&lt;br /&gt;
 epigraph {display:block;}&lt;br /&gt;
* epilogue&lt;br /&gt;
* equipment&lt;br /&gt;
* equiv&lt;br /&gt;
* etym&lt;br /&gt;
* event&lt;br /&gt;
* ex&lt;br /&gt;
* exemplum&lt;br /&gt;
* expan&lt;br /&gt;
* explicit&lt;br /&gt;
* extent&lt;br /&gt;
&lt;br /&gt;
==f==&lt;br /&gt;
&lt;br /&gt;
* f&lt;br /&gt;
* fDecl&lt;br /&gt;
* fDescr&lt;br /&gt;
* fLib&lt;br /&gt;
* facsimile&lt;br /&gt;
* factuality&lt;br /&gt;
* faith&lt;br /&gt;
* figDesc&lt;br /&gt;
* figure&lt;br /&gt;
* fileDesc&lt;br /&gt;
* filiation&lt;br /&gt;
* finalRubric&lt;br /&gt;
* floatingText&lt;br /&gt;
* floruit&lt;br /&gt;
* foliation&lt;br /&gt;
 foreign {display:inline;}&lt;br /&gt;
* forename&lt;br /&gt;
* forest&lt;br /&gt;
* forestGrp&lt;br /&gt;
* form&lt;br /&gt;
* formula&lt;br /&gt;
* front&lt;br /&gt;
* fs&lt;br /&gt;
* fsConstraints&lt;br /&gt;
* fsDecl&lt;br /&gt;
* fsDescr&lt;br /&gt;
* fsdDecl&lt;br /&gt;
* fsdLink&lt;br /&gt;
* funder&lt;br /&gt;
* fvLib&lt;br /&gt;
* fw&lt;br /&gt;
&lt;br /&gt;
==g==&lt;br /&gt;
&lt;br /&gt;
* g&lt;br /&gt;
* gap&lt;br /&gt;
* gen&lt;br /&gt;
* genName&lt;br /&gt;
* geo&lt;br /&gt;
* geoDecl&lt;br /&gt;
* geogFeat&lt;br /&gt;
* geogName&lt;br /&gt;
 gi:before {display:inline;content:&amp;quot;&amp;lt;&amp;quot;}  gi:after {display:inline;content:&amp;quot;&amp;gt;&amp;quot;}&lt;br /&gt;
 gloss {display:inline;}&lt;br /&gt;
* glyph&lt;br /&gt;
* glyphName&lt;br /&gt;
* gram&lt;br /&gt;
* gramGrp&lt;br /&gt;
* graph&lt;br /&gt;
* graphic&lt;br /&gt;
* group&lt;br /&gt;
&lt;br /&gt;
==h==&lt;br /&gt;
&lt;br /&gt;
* handDesc&lt;br /&gt;
* handNote&lt;br /&gt;
* handNotes&lt;br /&gt;
* handShift&lt;br /&gt;
* head&lt;br /&gt;
* headItem&lt;br /&gt;
* headLabel&lt;br /&gt;
* height&lt;br /&gt;
* heraldry&lt;br /&gt;
 hi {display:inline; font-weight:bold;}&lt;br /&gt;
* history&lt;br /&gt;
* hom&lt;br /&gt;
* hyph&lt;br /&gt;
* hyphenation&lt;br /&gt;
&lt;br /&gt;
==i==&lt;br /&gt;
&lt;br /&gt;
* iNode&lt;br /&gt;
* iType&lt;br /&gt;
 ident[type] {display:inline; font-weight:bold;} ident:not([type]) {display:inline; } /* Just as the stylesheet allows for different types; a specific type could be styled by ident[type=&amp;quot;XXX&amp;quot;] */&lt;br /&gt;
* idno&lt;br /&gt;
* if&lt;br /&gt;
* iff&lt;br /&gt;
* imprimatur&lt;br /&gt;
* imprint&lt;br /&gt;
* incident&lt;br /&gt;
* incipit&lt;br /&gt;
* index&lt;br /&gt;
* institution&lt;br /&gt;
* interaction&lt;br /&gt;
* interp&lt;br /&gt;
* interpGrp&lt;br /&gt;
* interpretation&lt;br /&gt;
* item&lt;br /&gt;
&lt;br /&gt;
==j==&lt;br /&gt;
&lt;br /&gt;
* join&lt;br /&gt;
* joinGrp&lt;br /&gt;
&lt;br /&gt;
==k==&lt;br /&gt;
&lt;br /&gt;
* keywords&lt;br /&gt;
* kinesic&lt;br /&gt;
&lt;br /&gt;
==l==&lt;br /&gt;
&lt;br /&gt;
 l {display:block;}&lt;br /&gt;
 label {display:inline;}&lt;br /&gt;
* lacunaEnd&lt;br /&gt;
* lacunaStart&lt;br /&gt;
* lang&lt;br /&gt;
* langKnowledge&lt;br /&gt;
* langKnown&lt;br /&gt;
* langUsage&lt;br /&gt;
* language&lt;br /&gt;
* layout&lt;br /&gt;
* layoutDesc&lt;br /&gt;
 lb {display:block;}&lt;br /&gt;
* lbl&lt;br /&gt;
* leaf&lt;br /&gt;
* lem&lt;br /&gt;
 lg {display:block;}&lt;br /&gt;
* link&lt;br /&gt;
* linkGrp&lt;br /&gt;
* list&lt;br /&gt;
* listBibl&lt;br /&gt;
* listEvent&lt;br /&gt;
* listNym&lt;br /&gt;
* listOrg&lt;br /&gt;
* listPerson&lt;br /&gt;
* listPlace&lt;br /&gt;
* listRef&lt;br /&gt;
* listWit&lt;br /&gt;
* localName&lt;br /&gt;
* locale&lt;br /&gt;
* location&lt;br /&gt;
* locus&lt;br /&gt;
* locusGrp&lt;br /&gt;
&lt;br /&gt;
==m==&lt;br /&gt;
&lt;br /&gt;
* m&lt;br /&gt;
* macroSpec&lt;br /&gt;
* mapping&lt;br /&gt;
* material&lt;br /&gt;
* measure&lt;br /&gt;
* measureGrp&lt;br /&gt;
* meeting&lt;br /&gt;
* memberOf&lt;br /&gt;
 mentioned {display:inline;}&lt;br /&gt;
* metDecl&lt;br /&gt;
* metSym&lt;br /&gt;
* milestone&lt;br /&gt;
* moduleRef&lt;br /&gt;
* moduleSpec&lt;br /&gt;
* monogr&lt;br /&gt;
* mood&lt;br /&gt;
* move&lt;br /&gt;
* msContents&lt;br /&gt;
* msDesc&lt;br /&gt;
* msIdentifier&lt;br /&gt;
* msItem&lt;br /&gt;
* msItemStruct&lt;br /&gt;
* msName&lt;br /&gt;
* msPart&lt;br /&gt;
* musicNotation&lt;br /&gt;
&lt;br /&gt;
==n==&lt;br /&gt;
&lt;br /&gt;
* name&lt;br /&gt;
* nameLink&lt;br /&gt;
* namespace&lt;br /&gt;
* nationality&lt;br /&gt;
* node&lt;br /&gt;
* normalization&lt;br /&gt;
* note&lt;br /&gt;
* notesStmt&lt;br /&gt;
* num&lt;br /&gt;
* number&lt;br /&gt;
* numeric&lt;br /&gt;
* nym&lt;br /&gt;
&lt;br /&gt;
==o==&lt;br /&gt;
&lt;br /&gt;
* oRef&lt;br /&gt;
* oVar&lt;br /&gt;
* objectDesc&lt;br /&gt;
* occupation&lt;br /&gt;
* offset&lt;br /&gt;
* opener&lt;br /&gt;
* org&lt;br /&gt;
* orgName&lt;br /&gt;
* orig&lt;br /&gt;
* origDate&lt;br /&gt;
* origPlace&lt;br /&gt;
* origin&lt;br /&gt;
* orth&lt;br /&gt;
&lt;br /&gt;
==p==&lt;br /&gt;
&lt;br /&gt;
* p&lt;br /&gt;
* pRef&lt;br /&gt;
* pVar&lt;br /&gt;
* particDesc&lt;br /&gt;
* pause&lt;br /&gt;
* pb&lt;br /&gt;
* pc&lt;br /&gt;
* per&lt;br /&gt;
* performance&lt;br /&gt;
* persName&lt;br /&gt;
* person&lt;br /&gt;
* personGrp&lt;br /&gt;
* phr&lt;br /&gt;
* physDesc&lt;br /&gt;
* place&lt;br /&gt;
* placeName&lt;br /&gt;
* population&lt;br /&gt;
* pos&lt;br /&gt;
* postBox&lt;br /&gt;
* postCode&lt;br /&gt;
* postscript&lt;br /&gt;
* precision&lt;br /&gt;
* preparedness&lt;br /&gt;
* principal&lt;br /&gt;
* profileDesc&lt;br /&gt;
* projectDesc&lt;br /&gt;
* prologue&lt;br /&gt;
* pron&lt;br /&gt;
* provenance&lt;br /&gt;
* ptr&lt;br /&gt;
* pubPlace&lt;br /&gt;
* publicationStmt&lt;br /&gt;
* publisher&lt;br /&gt;
* purpose&lt;br /&gt;
&lt;br /&gt;
==q==&lt;br /&gt;
&lt;br /&gt;
* q&lt;br /&gt;
* quotation&lt;br /&gt;
* quote&lt;br /&gt;
&lt;br /&gt;
==r==&lt;br /&gt;
&lt;br /&gt;
* rdg&lt;br /&gt;
* rdgGrp&lt;br /&gt;
* re&lt;br /&gt;
* recordHist&lt;br /&gt;
* recording&lt;br /&gt;
* recordingStmt&lt;br /&gt;
* ref&lt;br /&gt;
* refState&lt;br /&gt;
* refsDecl&lt;br /&gt;
* reg&lt;br /&gt;
* region&lt;br /&gt;
* relatedItem&lt;br /&gt;
* relation&lt;br /&gt;
* relationGrp&lt;br /&gt;
* remarks&lt;br /&gt;
* rendition&lt;br /&gt;
* repository&lt;br /&gt;
* residence&lt;br /&gt;
 resp:after {content:&amp;quot; &amp;quot;}&lt;br /&gt;
 respStmt {display:inline;}&lt;br /&gt;
* respons&lt;br /&gt;
* restore&lt;br /&gt;
* revisionDesc&lt;br /&gt;
* rhyme&lt;br /&gt;
* role&lt;br /&gt;
* roleDesc&lt;br /&gt;
* roleName&lt;br /&gt;
* root&lt;br /&gt;
* row&lt;br /&gt;
* rs&lt;br /&gt;
* rubric&lt;br /&gt;
&lt;br /&gt;
==s==&lt;br /&gt;
&lt;br /&gt;
* s&lt;br /&gt;
* said&lt;br /&gt;
 salute {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* samplingDecl&lt;br /&gt;
* schemaSpec&lt;br /&gt;
* scriptStmt&lt;br /&gt;
* seal&lt;br /&gt;
* sealDesc&lt;br /&gt;
* secFol&lt;br /&gt;
 seg {display:inline;}&lt;br /&gt;
* segmentation&lt;br /&gt;
* sense&lt;br /&gt;
* series&lt;br /&gt;
* seriesStmt&lt;br /&gt;
* set&lt;br /&gt;
* setting&lt;br /&gt;
* settingDesc&lt;br /&gt;
* settlement&lt;br /&gt;
* se x (separated for spam filter)&lt;br /&gt;
* shift&lt;br /&gt;
 sic {display:inline;} sic:after {content: &amp;quot; (sic)&amp;quot;}&lt;br /&gt;
* signatures&lt;br /&gt;
 signed {text-align:left; display:block; margin-bottom:1em; /* Latter is to act like a paragraph*/}&lt;br /&gt;
* soCalled&lt;br /&gt;
* socecStatus&lt;br /&gt;
* sound&lt;br /&gt;
* source&lt;br /&gt;
* sourceDesc&lt;br /&gt;
* sp&lt;br /&gt;
* space&lt;br /&gt;
* span&lt;br /&gt;
* spanGrp&lt;br /&gt;
* speaker&lt;br /&gt;
* specDesc&lt;br /&gt;
* specGrp&lt;br /&gt;
* specGrpRef&lt;br /&gt;
* specList&lt;br /&gt;
* sponsor&lt;br /&gt;
* stage&lt;br /&gt;
* stamp&lt;br /&gt;
* state&lt;br /&gt;
* stdVals&lt;br /&gt;
* street&lt;br /&gt;
* stress&lt;br /&gt;
* string&lt;br /&gt;
* stringVal&lt;br /&gt;
* subc&lt;br /&gt;
* subst&lt;br /&gt;
* summary&lt;br /&gt;
* superEntry&lt;br /&gt;
* supplied&lt;br /&gt;
* support&lt;br /&gt;
* supportDesc&lt;br /&gt;
* surface&lt;br /&gt;
* surname&lt;br /&gt;
* surplus&lt;br /&gt;
* surrogates&lt;br /&gt;
* syll&lt;br /&gt;
* symbol&lt;br /&gt;
&lt;br /&gt;
==t==&lt;br /&gt;
&lt;br /&gt;
* TEI&lt;br /&gt;
* table&lt;br /&gt;
* tag&lt;br /&gt;
* tagUsage&lt;br /&gt;
* tagsDecl&lt;br /&gt;
* taxonomy&lt;br /&gt;
* tech&lt;br /&gt;
* teiCorpus&lt;br /&gt;
* teiHeader&lt;br /&gt;
 term {display:inline;}&lt;br /&gt;
* terrain&lt;br /&gt;
* text&lt;br /&gt;
* textClass&lt;br /&gt;
* textDesc&lt;br /&gt;
* textLang&lt;br /&gt;
* then&lt;br /&gt;
* time&lt;br /&gt;
* timeline&lt;br /&gt;
* title&lt;br /&gt;
* titlePage&lt;br /&gt;
* titlePart&lt;br /&gt;
* titleStmt&lt;br /&gt;
* tns&lt;br /&gt;
* trailer&lt;br /&gt;
* trait&lt;br /&gt;
* tree&lt;br /&gt;
* triangle&lt;br /&gt;
* typeDesc&lt;br /&gt;
* typeNote&lt;br /&gt;
&lt;br /&gt;
==u==&lt;br /&gt;
&lt;br /&gt;
* u&lt;br /&gt;
 unclear {display:inline;}&lt;br /&gt;
* unicodeName&lt;br /&gt;
* usg&lt;br /&gt;
&lt;br /&gt;
==v==&lt;br /&gt;
&lt;br /&gt;
* vAlt&lt;br /&gt;
* vColl&lt;br /&gt;
* vDefault&lt;br /&gt;
* vLabel&lt;br /&gt;
* vMerge&lt;br /&gt;
* vNot&lt;br /&gt;
* vRange&lt;br /&gt;
* val&lt;br /&gt;
* valDesc&lt;br /&gt;
* valItem&lt;br /&gt;
* valList&lt;br /&gt;
* value&lt;br /&gt;
* variantEncoding&lt;br /&gt;
* view&lt;br /&gt;
* vocal&lt;br /&gt;
&lt;br /&gt;
==w==&lt;br /&gt;
&lt;br /&gt;
* w&lt;br /&gt;
* watermark&lt;br /&gt;
* when&lt;br /&gt;
* width&lt;br /&gt;
* wit&lt;br /&gt;
* witDetail&lt;br /&gt;
* witEnd&lt;br /&gt;
* witStart&lt;br /&gt;
* witness&lt;br /&gt;
* writing&lt;br /&gt;
&lt;br /&gt;
==x==&lt;br /&gt;
&lt;br /&gt;
* xr&lt;br /&gt;
&lt;br /&gt;
==y==&lt;br /&gt;
&lt;br /&gt;
(none)&lt;br /&gt;
&lt;br /&gt;
==z==&lt;br /&gt;
z&lt;br /&gt;
&lt;br /&gt;
* zone&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:CSS]]&lt;/div&gt;</summary>
		<author><name>Brettz9</name></author>
		
	</entry>
</feed>