Any one? Thank you,
-- Jeremy Thomerson http://www.wickettraining.com On Tue, Jan 13, 2009 at 4:01 PM, Jeremy Thomerson <jer...@wickettraining.com > wrote: > Is there a way to set the width of the popup list of choices for the auto > compete behavior (auto complete text field)? I have tried using CSS, but > the problem is that wicket-autocomplete.js sets the width programmatically, > which overrides any CSS I use. I don't see any hooks in the JS file to > override the JS method and set my own width, etc. Any ideas? > > I did this: > div.wicket-aa-container, div.wicket-aa { > width: 450px; > } > > But, it's overridden because of this in wicket-autocomplete.js: > container.style.width=input.offsetWidth+'px'; > > Looking at it in Firebug shows that element.style (which is the JS set > style) is overriding the CSS that I included. > > -- > Jeremy Thomerson > http://www.wickettraining.com >