stewardsencha
18 Feb 2012, 9:22 AM
The docs says a border property "can be a CSS style specification"
So I went here to get the syntax, and used the "shorthand all in one" notation.
http://www.w3schools.com/cssref/pr_border.asp
But it didn't seem to work
// border: '1px solid black',
Where this did:
style: {borderColor:'#000000', borderStyle:'solid', borderWidth:'1px'},
Is it the shorthand that's not allowed, is my syntax bad, or what have I misunderstood?
Thanks.
So I went here to get the syntax, and used the "shorthand all in one" notation.
http://www.w3schools.com/cssref/pr_border.asp
But it didn't seem to work
// border: '1px solid black',
Where this did:
style: {borderColor:'#000000', borderStyle:'solid', borderWidth:'1px'},
Is it the shorthand that's not allowed, is my syntax bad, or what have I misunderstood?
Thanks.