craigmcc 01/09/14 13:19:10
Modified: webapps/tomcat-docs tomcat-docs.xsl
Log:
Remove remaining width="100%" declarations on inner <table> elements, in
the <section> and <subsection> templates. This will have negative visual
impacts, but only in the very few cases where there is less than one line
worth of text in a section or subsection.
Revision Changes Path
1.6 +3 -6 jakarta-tomcat-4.0/webapps/tomcat-docs/tomcat-docs.xsl
Index: tomcat-docs.xsl
===================================================================
RCS file: /home/cvs/jakarta-tomcat-4.0/webapps/tomcat-docs/tomcat-docs.xsl,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- tomcat-docs.xsl 2001/09/13 02:52:56 1.5
+++ tomcat-docs.xsl 2001/09/14 20:19:09 1.6
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Content Stylesheet for "tomcat-docs" Documentation -->
-<!-- $Id: tomcat-docs.xsl,v 1.5 2001/09/13 02:52:56 craigmcc Exp $ -->
+<!-- $Id: tomcat-docs.xsl,v 1.6 2001/09/14 20:19:09 craigmcc Exp $ -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
@@ -158,7 +158,7 @@
<xsl:variable name="name">
<xsl:value-of select="@name"/>
</xsl:variable>
- <table border="0" cellspacing="0" cellpadding="2" width="100%">
+ <table border="0" cellspacing="0" cellpadding="2">
<!-- Section heading -->
<tr><td bgcolor="{$banner-bg}">
<font color="{$banner-fg}" face="arial,helvetica.sanserif">
@@ -178,7 +178,7 @@
<xsl:variable name="name">
<xsl:value-of select="@name"/>
</xsl:variable>
- <table border="0" cellspacing="0" cellpadding="2" width="100%">
+ <table border="0" cellspacing="0" cellpadding="2">
<!-- Subsection heading -->
<tr><td bgcolor="{$sub-banner-bg}">
<font color="{$sub-banner-fg}" face="arial,helvetica.sanserif">
@@ -240,9 +240,6 @@
<!-- Process an attributes list with nested attribute elements -->
<xsl:template match="attributes">
-<!--
- <table border="1" cellpadding="5" width="100%">
--->
<table border="1" cellpadding="5">
<tr>
<th width="15%" bgcolor="{$attributes-color}">