What we are customizing are the controls introduced in Chapter 9, Taking Control of Controls. It's time to try it: practicing things on your own will improve your comprehension. For this, we will reuse the OpenStreetMap example from Chapter 1, Getting Started with OpenLayers, and customize the position for zoom buttons and map copyrights.
ol.cssfile and use the Format button to make it more readable as this file is a
.cssminified file on one line.
.ol-zoomclass in the
left : 0.5em;parameter with
right : 0.5em;to make changes to zoom buttons.