View Full Version : Container Style config

27 Mar 2012, 10:05 PM

I have been pondering over this a long time, going through many forum posts but could really relate.

My QUESTION : What CSS properties can be supplied in the style config of a container ?

or if you read this : http://docs.sencha.com/ext-js/4-0/#!/api/Ext.container.Container-cfg-style

Is there a list of valid arguments to Ext.Element.applyStyles ??
The page mentions : width, border, background.backgroundImage etc

The thing is i want to apply the border-top-color property .. can i do that in style tag ?

27 Mar 2012, 10:51 PM
Yes, just provide it with any css property:

style: {
'border-top-color': 'red'

27 Mar 2012, 11:24 PM
Hey thanks .. :)

Stupid of me to miss the quotes around the css property.

This helped alot.