Copied to clipboard

Flag this post as spam?

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

  • Ethan 41 posts 61 karma points
    Aug 09, 2010 @ 16:20

    How to modify the width of the input box?

    My post without reference to bug issue, I just want to know how  can I change the input box's width.You know, it is kinds of short in the default installation. It seems that I should add some expression in the CSS file. Could you help? Many thanks!


  • Sascha Wolter 615 posts 1101 karma points
    Aug 09, 2010 @ 16:30
  • Ethan 41 posts 61 karma points
    Aug 10, 2010 @ 22:29

    Thanks for your quick reply, but it doesn't work.I am sorry to say that.

  • Sascha Wolter 615 posts 1101 karma points
    Aug 11, 2010 @ 00:13
    Sascha Wolter

    Hi Ethan,

    no need to apologize, my fault if I provide 'solutions' which don't work. ;) Do you have a publicly accessible site where you got the search box on so I can have a look?

    In the XsltSearch script you could try to this by using inline styles, e.g. convert this

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


    <input name="search" type="text" class="input" style="width:200px;">

    or via the size attribute:

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

    Just make sure you get all instances of this, I think there are three all in all in the XsltSearch script.

    Does that work for you?



Please Sign in or register to post replies

Write your reply to: