< MapCSS  
 
      MapCSS/Common mistakes
This article is a stub. You can help OpenStreetMap by expanding it.
Comma and whitespace after last selector will match everything!
way[building], { fill-color: red; } will result in all objects filled in red, not only ways with building tag. Correct code obvious:
way[building]  { fill-color: red; }
Whitespace in selectors is significant
See main page for details.
Quotation marks
Unlike in JOSM and several OSM processors, way[building]["addr:housenumber"] will result in syntax error. 
    This article is issued from Openstreetmap. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.