FindTask Graphic in wrong location

352
1
04-18-2011 12:26 PM
PaigeBaldassaro
New Contributor
I have a simple state service. I am using the find task to query the layer for state name and show a graphic of the selected state. The query works, but the graphic returned does not display until I zoom in, and then it displays to the right, getting closer and closer to the original location as I zoom in. Any clues?
0 Kudos
1 Reply
PaigeBaldassaro
New Contributor
I figured it out. My CSS had the following for the map div:

text-align:center;

It was causing the shift.
0 Kudos