hey all

No hardcoding styles in .js unless absolutely necessary please!
The whole point of css is to make it easy to change styles, it's better 
to use stylesheets to define certain styles.

On a related note: the whole border thing is a known issue between IE 
and FF, one adds the border with to the width of an object and the other 
puts the border within that width.

Steven


Gertjan van Oosten wrote:
> I've just added some tests for the Basic demo (Interactive Map Viewer).
> Of these tests, the ones for drag_map and zoom_map currently fail under
> Microsoft Internet Explorer 6.
>
> The reason for this is that the offset of the map image(s) within the
> mainMapPane div is different under IE than under Firefox.  The map
> images are 600x300 pixels, and under Firefox, clicking at (300,150) sets
> (lon,lat) to (0,0).  Under MSIE there is an offset from these coordinates.
>
> It might have something to do with the fancy styling; if I comment out
> line 144 of lib/widget/MapPaneOL.js:
>
>     //objRef.node.style.borderStyle="ridge";
>
> the tests succeed under both MSIE and FF.  Do we want this hard-coded
> styling in MapPaneOL, and if so, can we make it so that the appearance
> under MSIE and FF is the same?
>
> Regards,
>   




-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
mapbuilder-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-devel

Reply via email to