[ka-Map-users] css

Lorenzo Becchi lorenzo at ominiverdi.com
Mon Sep 12 11:56:44 EDT 2005


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



More information about the ka-Map-users mailing list