Hi,
I'm trying to change the height of all tabs in an accordion panel with a custom CSS to mimic Outlook menu:
Code:
.accordion-menu .x-accordion-hd {
color:#15428B;
font-weight:bold;
height: 23px;
padding: 8px 0px 0px 10px;
}
ExtJS code:
Code:
var menuPanel = {
xtype : 'panel',
id : 'menu',
layout : 'accordion',
defaults : {xtype: 'panel', cls:'accordion-menu'},
items : [{
title : 'News',
cls:'accordion-menu'
},{
title : 'Innovations'
},{
...
}]
};
This works with all browsers including IE6 but only if you set a Doctype!
which is not a good practice in ExtJS application development because of IE6 rendering bugs (lot of threads on it).
The issues I have found not using a doctype: - "height: 28px;" renders a standard accordion tab height in IE6 of about 16px, 28px in FF.
- "height: 28pt;" changes the height to 28px in IE6 but Firefox generates huge ugly tabs
My question: is there a cross-browser way to set the accordion tabs (headers) height not using a doctype ? Has someone found a workaround?
Thanks a lot!