Does anyone know how to center the scale that is on the flex viewer app? I have added a scalebar selector in my stylesheet, the code is below:
esri|ScaleBar
{
right: 10;
bottom: 20;
left: 800;
top: NaN;
}
This basically pushes the scale 800 pixels to the left. What I want to do is print the scale in the direct center of the map. Is there a way that I can get the width of the page and use it in the stylesheet to compute the center of the map??? Thanks,