<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>


<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
Thanks for your advice.&nbsp; It seems that even if i specify stroke:false in the default style and stroke:true in the select style, Internet explorer still exhibits the same unexpected behaviour.<br>See:<br>http://members.optusnet.com.au/~msephton/ol/gml-layer_h2.html (now updated with stroke:false and stroke:true)<br>Sorry I noticed a typo in my original post:<br>"Internet explorer does not behave in the expected way if the default select is specified with a strokeWidth of zero..."<br>should have been:<br>"Internet explorer does not behave in the expected way if the default -STYLE- is specified with a strokeWidth of zero..."<br><br><br>&gt; Subject: Re: [OpenLayers-Users] Bug? with SelectFeature, Stylemap and strokeWidth=0.0  on IE 8<br>&gt; From: ahocevar@opengeo.org<br>&gt; Date: Sat, 14 Aug 2010 12:00:31 +0200<br>&gt; CC: users@openlayers.org<br>&gt; To: msephton81@hotmail.com<br>&gt; <br>&gt; Hi,<br>&gt; <br>&gt; if you don't want a stroke, you should use<br>&gt; <br>&gt; stroke: false<br>&gt; <br>&gt; rather than setting a zero strokeWidth or strokeOpacity.<br>&gt; <br>&gt; Regards,<br>&gt; Andreas.<br>&gt; <br>&gt; On Aug 14, 2010, at 06:17 , Michael Sephton wrote:<br>&gt; <br>&gt; &gt; I think I have found a bug in OpenLayers.<br>&gt; &gt; It happens when you have a gml_layer, a selectFeature control applied to it, and a styleMap with different styles for default and select.  Internet explorer does not behave in the expected way if the default select is specified with a strokeWidth of zero AND the select style has a strokeWidth=2.0 (or &gt;0.0 probably).<br>&gt; &gt; The problem is demonstrated in the following example (which works fine in Firefox but not in IE8):<br>&gt; &gt; http://members.optusnet.com.au/~msephton/ol/gml-layer_h2.html<br>&gt; &gt; <br>&gt; &gt; A work around for this problem is to set the strokeWidth and  strokeOpacity for the default style as 1.0 and 0.0 respectively, and the strokeOpacity for the select style as 1.0 (or &gt;0.0 probably).<br>&gt; &gt; The work around is demonstrated in this example:<br>&gt; &gt; http://members.optusnet.com.au/~msephton/ol/gml-layer_h2b.html<br>&gt; &gt; <br>&gt; &gt; Should I file a ticket for this? <br>&gt; &gt; <br>&gt; &gt; _______________________________________________<br>&gt; &gt; Users mailing list<br>&gt; &gt; Users@openlayers.org<br>&gt; &gt; http://openlayers.org/mailman/listinfo/users<br>&gt; <br>&gt; <br>&gt; <br>&gt; -- <br>&gt; Andreas Hocevar<br>&gt; OpenGeo - http://opengeo.org/<br>&gt; Expert service straight from the developers.<br>&gt; <br>                                               </body>
</html>