sraeburn 2003/09/29 17:17:05 Modified: doc struts.css doc/stylesheets struts.xsl Log: Update site layout to prevent problems with the menu being overlapped/pushed down at smaller window sizes Revision Changes Path 1.8 +15 -8 jakarta-struts/doc/struts.css Index: struts.css =================================================================== RCS file: /home/cvs/jakarta-struts/doc/struts.css,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- struts.css 29 Sep 2003 17:03:02 -0000 1.7 +++ struts.css 30 Sep 2003 00:17:05 -0000 1.8 @@ -6,10 +6,11 @@ background: #FFFFFF; color: #000000; margin: 0; - padding: 21px 16px; + padding: 20px 15px; } div.authors{ + width: 150px; background: #EEEEFF; border: 1px solid #CCCCFF; color: #333333; @@ -31,7 +32,7 @@ } div.indent { - padding: 0 5%; + padding: 0 4%; } div.notice { @@ -210,14 +211,12 @@ } #main { - float: right; - margin-bottom: 1em; - width: 85%; + margin-left: 22%; } #menu { - margin: 1em 86% 1em 0; - padding: 0.2em; + width: 21%; + float: left; } #menu li { @@ -254,6 +253,14 @@ display: none; } #main { - width: 100%; + margin-left: 0; +} + +h1, h2, h3 { + background: #fff; + color: #000; + font-weight: bold; } + + } 1.17 +13 -8 jakarta-struts/doc/stylesheets/struts.xsl Index: struts.xsl =================================================================== RCS file: /home/cvs/jakarta-struts/doc/stylesheets/struts.xsl,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- struts.xsl 29 Sep 2003 17:03:02 -0000 1.16 +++ struts.xsl 30 Sep 2003 00:17:05 -0000 1.17 @@ -22,7 +22,6 @@ indent="yes" media-type="text/html"/> - <!-- Defined parameters (overrideable) --> <xsl:param name="home-logo" select="'/images/jakarta-logo.gif'"/> <xsl:param name="powered-logo" select="'/images/struts-power.gif'"/> @@ -88,17 +87,13 @@ <img src="{$src}" alt="Struts Framework" id="struts-logo"/> </a> </div> + <xsl:comment>end heading</xsl:comment> <div id="content"> - - <div id="main"> - <xsl:apply-templates select="body"/> - </div> - <div id="menu"> <!-- to be removed after ApacheCon 2003 ends 20th of November 2003 --> - <a href="http://apachecon.com/2003/US/index.html"> + <a href="http://apachecon.com/2003/US/index.html" style="text-decoration: none"> <img src="http://jakarta.apache.org/images/logos/ac2003-150.gif" alt="ApacheCon 2003"/> </a> @@ -125,8 +120,17 @@ </xsl:if> </xsl:if> </div> + <xsl:comment>end menu</xsl:comment> + + + <div id="main"> + <xsl:apply-templates select="body"/> + </div> + <xsl:comment>end main</xsl:comment> + </div> + <xsl:comment>end content</xsl:comment> <div id="footer"> <xsl:variable name="src"> @@ -136,6 +140,7 @@ Copyright (c) 2000-2003, Apache Software Foundation <span class="noprint">- <a href="http://nagoya.apache.org/wiki/apachewiki.cgi?StrutsDocComments">Comments?</a></span> </div> + <xsl:comment>end footer</xsl:comment> </body> </html>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]