Book Image

OpenLayers 2.10 Beginner's Guide

Book Image

OpenLayers 2.10 Beginner's Guide

Overview of this book

Table of Contents (18 chapters)
OpenLayers 2.10
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


In this chapter, we talked about what CSS is and what it's used for. We learned how to use CSS and HTML together, along with how to refer to elements in CSS. Then, we discussed how OpenLayers uses CSS, and how control elements get their names. Lastly, we created and applied our own custom styles to some controls.

The goal of this chapter was to provide a foundation for understanding how we style controls with CSS. If you haven't worked much with CSS before or if you're unsure how to style other types of controls then don't worry. We'll be styling controls throughout the book using the same principles we introduced in this chapter, so you'll get a lot more exposure to it.