[ka-Map-users] Re: css

Paul Spencer pspencer at dmsolutions.ca
Mon Sep 12 12:13:09 EDT 2005


good idea :)  It was this way during development to make things easier, 
and I never bothered to change it.  Plus we need to come up with a 
consistent naming convention for all the css stuff to make it easy to 
re-skin ka-Map.

I'd like to discuss this in more depth with feedback from the community 
before starting on the changes, however.

If you are interested in contributing to this discussion or just want to 
see what's being done, add yourself to this bug:

http://bugzilla.maptools.org/show_bug.cgi?id=1144

(note you need to register in bugzilla first)

Cheers

Paul

Lorenzo Becchi wrote:
> Why in kaLeggend.js instead of this:
>  var d = document.createElement( 'div' );
>     d.style.backgroundColor = '#a9a9a9';
>     d.style.borderTop = '1px solid #ffffff';
>     d.style.borderLeft = '1px solid #ffffff';
>     d.style.borderBottom = '1px solid #666666';
>     d.style.borderRight = '1px solid #666666';
>     d.style.padding = '2px';
>     d.style.fontFamily = 'arial';
>     d.style.fontSize = '12px';
>     d.style.fontWeight = 'bold';
> 
> don't we put a class="legendTitle" and than specifing it in the external css?
> 
> the same fot the other code in kaLegend
> 
> 

-- 
+-----------------------------------------------------------------+
|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