Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • dwarakesh 50 posts 69 karma points
    Sep 08, 2011 @ 08:38
    dwarakesh
    0

    css in XSlt Search

    Hi doug,

    in  XSLTsearch.xslt  

      <!-- display search box at the top of the page (the search box is always present even if no search was attempted) -->
           
    <xsl:if test="$searchBoxLocation='TOP' or $searchBoxLocation='BOTH'">

    <div class="xsltsearch_form">

     

    <input name="search" type="text" class="input">

    <xsl:attribute name="value">

    <xsl:value-of select="$unescapedSearch"/>

    </xsl:attribute>

    </input>

    <xsl:text>&nbsp;</xsl:text>

    <input type="submit" class="submit">

    <xsl:attribute name="value">

    <xsl:value-of select="$dictionaryButton-Search"/>

    </xsl:attribute>

    </input>
    </div>

    </xsl:if>

    -------------------------------------------------

    css for the above xslt is referred from XSLTsearch.css .. but i can't find  class submit and input in the Xsltsearch.css. but it is used in the xslt above...   

     

     

     

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Sep 08, 2011 @ 09:11
    Dirk De Grave
    0

    Check the documentation, there's sample css provided but not for the input and submit classes. Just add those yourself to any of your existing or new css files and you're good to go.

     

    Cheers,

    /Dirk

  • dwarakesh 50 posts 69 karma points
    Sep 08, 2011 @ 11:03
    dwarakesh
    0

    Ho dirk

    I got it.. thank u

Please Sign in or register to post replies

Write your reply to:

Draft