The xsltsearch input box is too short, I went over the css file but I did not know which item I should modify.Could you give me a hand? Thanks very much!
If you install firebug/chrome/opera you can easily find this out. In Opera right click on your page and click inspect element, this will open up dragonfly (their version of firebug) highlight the textbox and it will tell you which css properties are applied to it and which file they are from. I don't use the other browser but they have similar facilities.
the XSLTSearch.css file doesn't seem to contain a rule for the input forms so you would have to add one yourself, e.g. to keep it consistent with the other rules in the stylesheet:
.xsltsearch_form .input {width: 200px;}
That should do the trick, amend the width to your liking.
Change the length of the xsltsearch box
The xsltsearch input box is too short, I went over the css file but I did not know which item I should modify.Could you give me a hand? Thanks very much!
If you install firebug/chrome/opera you can easily find this out. In Opera right click on your page and click inspect element, this will open up dragonfly (their version of firebug) highlight the textbox and it will tell you which css properties are applied to it and which file they are from. I don't use the other browser but they have similar facilities.
Hope that helps
Hi Ethan,
this should be 'div#xslt_search div.xsltsearch_form' input.input if you haven't changed anything in the standard Xslt search xslt file.
Sascha
Thank both of you! Mr. Wolter, where does the statement you give out locate? It is not in the CSS file.
Hi Ethan,
the XSLTSearch.css file doesn't seem to contain a rule for the input forms so you would have to add one yourself, e.g. to keep it consistent with the other rules in the stylesheet:
.xsltsearch_form .input {width: 200px;}
That should do the trick, amend the width to your liking.
Sascha
is working on a reply...