Accommodations for IE.
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@
|
|||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1 id="title">Zoom Links Example</h1>
|
<h1 id="title">Zoom Control Example</h1>
|
||||||
<div id="tags">zoom control</div>
|
<div id="tags">zoom control</div>
|
||||||
|
|
||||||
<div id="shortdesc">Shows how to use a simple zoom control.</div>
|
<div id="shortdesc">Shows how to use a simple zoom control.</div>
|
||||||
|
|||||||
+10
-5
@@ -445,14 +445,19 @@ div.olControlZoom a {
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
height: 22px;
|
height: 22px;
|
||||||
|
width: 15px;
|
||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
background-color: #4d4d4d; /* fallback for IE */
|
background: #666666; /* fallback for IE - IE6 requires background shorthand*/
|
||||||
background-color: rgba(0, 0, 0, 0.3);
|
background: rgba(0, 0, 0, 0.3);
|
||||||
border: 1px solid rgba(255, 255, 255, 0.6);
|
border: 1px solid;
|
||||||
|
border-color: #ffffff; /* fallback for IE */
|
||||||
|
border-color: rgba(255, 255, 255, 0.6);
|
||||||
|
filter: alpha(opacity=60);
|
||||||
}
|
}
|
||||||
div.olControlZoom a:hover {
|
div.olControlZoom a:hover {
|
||||||
background-color: #7f7f7f; /* fallback for IE */
|
background: #444444; /* fallback for IE */
|
||||||
background-color: rgba(0, 0, 0, 0.5);
|
background: rgba(0, 0, 0, 0.5);
|
||||||
|
filter: alpha(opacity=80);
|
||||||
}
|
}
|
||||||
a.olControlZoomIn {
|
a.olControlZoomIn {
|
||||||
border-radius: 5px 5px 0 0;
|
border-radius: 5px 5px 0 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user