[ka-Map-users] CSS
Paul Spencer
pspencer at dmsolutions.ca
Wed Aug 31 07:24:26 EDT 2005
Lorenzo,
you are correct. The reason the ka-Map sample page has its styles in
the page are:
1) lazyness
2) browser caching during develop/test cycles
But for any real app, you would put css in a separate file so it can be
easily reused/swapped out. In fact, the rest of the js should go in a
separate file too, and both css and js could then be cached by the
client, making return trips that much lighter to load.
Cheers
Paul
Lorenzo Becchi wrote:
> Is there a reason to leave the CSS in the index page and not in a
> separated file?
>
> if we use external CSS we can either develop different layout templates
> with the same HTML.
> something like www.csszengarden.com
>
> in any case index page HTML would result cleaner.
>
> regards
> Lorenzo
>
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users
>
--
+-----------------------------------------------------------------+
|Paul Spencer pspencer at dmsolutions.ca |
+-----------------------------------------------------------------+
|Applications & Software Development |
|DM Solutions Group Inc http://www.dmsolutions.ca/|
+-----------------------------------------------------------------+
More information about the ka-Map-users
mailing list