Toolbar's background missing in ContentPanel

  • It work well in firefox, but in IE6 toolbar background missing,
    it appears when the layout contains more than one ContentPanel.

    I used the example extexampleslayoutcomplex.html
    just add a toolbar in a ContentPanel.
    code:
    var simpleToolbar = new Ext.Toolbar('tb_div');
    simpleToolbar.addButton({
    text: 'Scroll Bottom', cls: 'x-btn-text-icon', handler: function(o, e) {
    }
    });
    ...
    layout.add('center', new Ext.ContentPanel('center1', {title: 'Close Me', closable: true, toolbar: simpleToolbar}));


  • the code with bug under IE6:


  • Not sure why this happens in IE6 - I don't have a debugger to see if the generated HTML is different in IE vs FF. The solution is to put a width on the toolbar div.







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about Toolbar's background missing in ContentPanel , Please add it free.