Select to view content in your preferred language

Modification to Parks Finder is breaking CSS

2829
0
10-25-2012 07:38 AM
Labels (1)
by Anonymous User
Not applicable
Original User: AlanToms

Hello All,

I need some help.  We are implementing the Parks Finder application.  We are slightly modifying some paths in the default.htm and it is causing a change of behavior of the CSS.  The LocalGovernement.css is being reference in the body instead of the head and not being inherited properly.  Even when I undo the changes the incorrect behavior still persists.  Please see that picutres below.

We are using SSL so all the http are being changed to https.  I have all the links with https and get a response so I believe it should work.  I have also copied and reference the files from our server and still get the incorrect behavior.

Correct
    
<style type="text/css">
        @import "http://serverapi.arcgisonline.com/jsapi/arcgis/2.8/js/dojo/dijit/themes/claro/claro.css";
</style>


Tried secure
    
<style type="text/css">
        @import "https://serverapi.arcgisonline.com/jsapi/arcgis/2.8/js/dojo/dijit/themes/claro/claro.css";
</style>


Tried local copy
    
<style type="text/css">
        @import "claro.css";
</style>


I also tried the same changes with the following code and had the same issue.
    <script type="text/javascript" src="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.8"
        djconfig="parseOnLoad:true"></script>


As stated before, even after I undid the changes, the problem persisted.

Any help would be appreciated.

Thakn you
Alan
0 Kudos
0 Replies