Select to view content in your preferred language

Keep Geocoder from resizing

541
1
10-21-2013 11:18 AM
NumaGremling
Deactivated User
Hi everyone,

I have added a geocoder to my application but as soon as one enters only one character the window will resize towards the bottom (see screenshot). Is this a CSS issue or am I missing something else? I have been fiddling with the CSS but I have not been successful.


[ATTACH=CONFIG]28496[/ATTACH]
0 Kudos
1 Reply
MattDriscoll
Esri Contributor
Yes, this is a CSS issue. Try setting the width of the geocoder input box to a smaller value.

[HTML]
<style type="text/css">
    .simpleGeocoder .esriGeocoder input {
        width:150px;
   }
</style>[/HTML]
0 Kudos