-
10 Nov 2007 8:40 AM #1
Empty header displayed in MSIE 7
Empty header displayed in MSIE 7
Hi,
I have a small with MSIE 7
It shows an header for the following simple panel. MSIE 6 and Firefox do not. I think the header shouldn't be displayed as the documentation says If a title is set but header is explicitly set to false, the header will not be renderedCode:var panel = new Ext.Panel( { title: 'Hello World', header: false, frame: true, border: true, height: 200, width: 200, html: 'Hello world content' } );
-
10 Nov 2007 8:50 AM #2
Can you post up a little example HTML file which we can drop into examples/xxxxx?
-
10 Nov 2007 9:13 AM #3
Hi,
thanks for your reply! Of course I can. Just started writing my little tutorial "How I Learned to Stop Worrying and Love the Ext Library"
-
10 Nov 2007 9:30 AM #4
This problem looks to be related to IE's handling of the xhtml doctype. It also occurs using the strict doctype but works correctly with no doctype. Not sure if this already posted as a bug.
Tim Ryan
Read BEFORE posting a question / BEFORE posting a Bug
Use Google to Search - API / Forum
API Doc (4.x | 3.x | 2.x | 1.x) / FAQ / 1.x->2.x Migration Guide / 2.x->3.x Migration Guide
-
10 Nov 2007 10:12 AM #5
-
10 Nov 2007 10:20 AM #6
That's what it's supposed to look like, but it only seems to work that way in IE in quirks mode.
Tim Ryan
Read BEFORE posting a question / BEFORE posting a Bug
Use Google to Search - API / Forum
API Doc (4.x | 3.x | 2.x | 1.x) / FAQ / 1.x->2.x Migration Guide / 2.x->3.x Migration Guide
-
10 Nov 2007 12:17 PM #7
-
12 Nov 2007 4:19 AM #8
Hi!
I think I located the problem. For a panel with hidden header the following html is generated:
In panel.css it says:Code:<div class="x-panel-tl"> <div class="x-panel-tr"> <div class="x-panel-tc"></div> </div> </div>
And this triggers the following bug in almost standard mode: http://www.excel.net/~jbrunett/brows...iv_height.htmlCode:.x-panel-tc { background: transparent url(../images/default/panel/top-bottom.gif) repeat-x 0 0; overflow:hidden; }
I think being able to use other modes than quirks mode with MSIE 7 would be nice. So maybe a workaround should be implemented?


Reply With Quote