Ignore:
Timestamp:
2012-07-26T15:56:24+12:00 (12 years ago)
Author:
sjm84
Message:

Fixes to the interface so that the browsing tabs no longer go off the bottom of the banner

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/transform/layouts/header.xsl

    r25950 r26028  
    9696    <xsl:template name="create-banner">     
    9797        <div id="gs_banner" class="ui-widget-header ui-corner-bottom">
    98             <table id="titlesearchcontainer">
    99                 <tr>
    100                     <xsl:call-template name="page-title-area"/>
    101                     <xsl:call-template name="quick-search-area"/>
    102                 </tr>
    103             </table>
     98            <div id="titlesearchcontainer">
     99                <xsl:call-template name="page-title-area"/>
     100                <xsl:call-template name="quick-search-area"/>
     101                <div style="clear:both;"><xsl:text> </xsl:text></div>
     102            </div>
    104103            <xsl:call-template name="browsing-tabs"/>
    105104        </div>
     
    316315    <xsl:template name="page-title-area">
    317316        <xsl:variable name="pageTitleVar"><xsl:call-template name="pageTitle"/></xsl:variable>
    318         <td id="titlearea">
     317        <div id="titlearea">
    319318            <h2>
    320319                <!-- Resize the title based on how long it is (There's probably a better way to do this) -->
     
    352351                <!--<xsl:value-of select="string-length($pageTitleVar)" />-->
    353352                <xsl:value-of select="$pageTitleVar" />
    354             </h2>
    355         </td>
     353            </h2><xsl:text> </xsl:text>
     354        </div>
    356355    </xsl:template>
    357356   
     
    363362        <xsl:if test="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@type='query']/paramList/param[@name='index']">
    364363            <xsl:variable name="subaction" select="/page/pageRequest/@subaction"/>
    365             <td id="quicksearcharea">
     364            <div id="quicksearcharea">
    366365                <form action="{$library_name}/collection/{$collNameChecked}/search/TextQuery">
    367366                    <input type="hidden" name="rt" value="r"/>
     
    434433                    </ul>
    435434                </form>
    436             </td>
     435            </div>
    437436        </xsl:if>
    438437    </xsl:template>
Note: See TracChangeset for help on using the changeset viewer.