From 2a7604cdf48b265eb29b7e7b8c0d6f7cddc6fb19 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Fri, 5 Dec 2008 15:21:04 +0000 Subject: style fixes --- map.css | 4 +++- map.js | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/map.css b/map.css index c64beab..a15dd46 100644 --- a/map.css +++ b/map.css @@ -47,7 +47,9 @@ div.btn { text-align: center; padding: 2px; margin-bottom: 3px; - width: 10em; cursor: pointer; } +#rulerbtn { + width: 10em; +} diff --git a/map.js b/map.js index 517d816..9c0f06b 100644 --- a/map.js +++ b/map.js @@ -203,6 +203,7 @@ RulerControl.prototype.initialize = function(map) { var container = document.createElement("div"); var btnDiv = document.createElement("div"); btnDiv.className = "btn"; + btnDiv.id = "rulerbtn"; container.appendChild(btnDiv); distText = document.createTextNode("Entfernung messen"); btnDiv.appendChild(distText); -- cgit v1.2.1