A Javascript module and CSS file that allows syntax highlighting of source code snippets in an html page: prettify
Conditional comments are a useful way to avoid risky CSS hacks. Generating them in XSLT is a bit tricky, but possible. Tested with libxsl and Xalan.
<xsl:comment><![CDATA[[if !IE]><!]]></xsl:comment>
<style type="text/css" media="screen">
<xsl:comment>
@import url("style/Moz.main.css"); /* level 1 */
@import url("style/Moz.window.css"); /* level 2 */
@import url("style/Moz.document.css"); /* level 3 */
</xsl:comment>
</style>
<xsl:comment><![CDATA[<![endif]]]></xsl:comment>
<xsl:comment>[if IE]>
<![CDATA[
<style type="text/css" media="screen">
@import url('style/IE.main.css'); /* level 1 */
@import url('style/IE.window.css'); /* level 2 */
@import url('style/IE.document.css'); /* level 3 */
</style>
]]>
<![endif]</xsl:comment>
<!--[if !IE]><!-->
<style type="text/css" media="screen">
<!--
@import url("style/Moz.main.css"); /* level 1 */
@import url("style/Moz.window.css"); /* level 2 */
@import url("style/Moz.document.css"); /* level 3 */
-->
</style>
<!--<![endif]-->
<!--[if IE]>
<style type="text/css" media="screen">
@import url('style/IE.main.css'); /* level 1 */
@import url('style/IE.window.css'); /* level 2 */
@import url('style/IE.document.css'); /* level 3 */
</style>
<![endif]-->
Naturally you need to be careful
AddType application/x-httpd-php .php
AddOutputFilter INCLUDES .php .htm .html
Quoted for truthiness.
It is said that papers in string theory are published at a rate greater than the speed of light. This, however, is not problematic since no information is being transmitted. - H. Kleinert
You can't just ask customers what they want and then try to give that to them. By the time you get it built, they'll want something new. - Steve Jobs
If web-based functionality does keep increasing, in a few years we'll end up right where we were 10 years ago: applets :) - Andy Tripp
When mythical sea creatures come to visit the above.