Try this:

this.nameElement.style.setProperty("fill","rgb(0,0,0)","");
this.nameElement.style.setProperty("font-size","14px","");

That work in IE, but I'm not sure in FF. I think that must work.

Edgar


Nicole Ueberschär <[EMAIL PROTECTED]> escribió:                               
FF doesn't like the style-attribute. The better way is to use so called 
 presentation-attributes like font-size="xx" fill="#000" etc.
 
 Nicole
 
 chmavrog schrieb:
 
 > Björn thanks for the reply,
 >
 > Indeed when i create the rectangles i put inside text and setting
 > fontsize like this
 >
 > this.nameElement=document.createElementNS(svgNS,"text");
 > this.nameElement.setAttributeNS(null,"x",x+1);
 > this.nameElement.setAttributeNS(null,"y",y);
 > this.nameElement.setAttributeNS
 > (null,"style","fill:#000;font-size:14px;");
 >
 > what's the right way to put in FF?Is there an example or a reference?
 > Also can be the units a problem?
 >
 > .
 >
 >  
 
 [Non-text portions of this message have been removed]
 
 
     
                       

 __________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.espanol.yahoo.com/ 

[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/1U_rlB/TM
--------------------------------------------------------------------~-> 

-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to