View Full Version : background e scrollbar in Panel...............

23 Jul 2009, 10:27 AM
I would like to insert a background image in a panel, contained in a tabPanel, I use option "cls", where i defined CSS class with this code:

background-image: url("../images/griglia.jpg");

and the code Panel is:

var panel1=new Ext.Panel({
title: titolo,
iconCls: 'nuova',
autoScroll: true,
autoWidth :true,
id: 'ALLid'+titolo,
cls: 'griglia'})

when I run the application, don't appear a background image......:-/:-/:-/:-/:-/:-/ have an idea?????

also I would like the panel had always viewed the scrollbar, there is some way to do this?

Very important the background must be added to the class, as must be Exchangeable at run time by the user (I can not use style)