HighDots Forums  

aggiungere attributo colore nodo tabella

Javascript (Italian) Il linguaggio JavaScript (it.comp.lang.javascript)


Discuss aggiungere attributo colore nodo tabella in the Javascript (Italian) forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
AT
 
Posts: n/a

Default aggiungere attributo colore nodo tabella - 07-18-2009 , 04:33 PM






Salve a tutti, vorrei aggiungere dinamicamente una tabella ma non riesco a
impostare il colore del bordo. Come di seguito non cambia:
var table = document.createElement('table');
table.setAttribute('cellspacing', 0);
table.setAttribute('cellpadding', 0);
table.setAttribute('border', '2');
table.setAttribute('style', 'border-color:Black');

grazie
giuseppeD

--

questo articolo e` stato inviato via web dal servizio gratuito
http://www.newsland.it/news segnala gli abusi ad abuse (AT) newsland (DOT) it

Reply With Quote
  #2  
Old   
Oreste
 
Posts: n/a

Default Re: aggiungere attributo colore nodo tabella - 07-18-2009 , 07:39 PM






On Jul 18, 10:33*pm, no.ebqdom.s... (AT) tin (DOT) it (giusepeD) wrote:
Quote:
*table.setAttribute('style', 'border-color:Black');
prova table.borderColor='black'

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.