PDA

View Full Version : [SOLVED] Creating button in existing page renders badly in Firefox



ayqazi
14 Jun 2011, 5:19 AM
Hi,

So I create a button and render it to a div on my page:


var windowOpeningButton = new Ext.Button({
renderTo: 'clone-selector',
text: 'Select'
});

clone-selector is an empty div.


On other browsers, it looks fine, but on Firefox, it looks like this:

26574

How do I fix it?

Thanks

skirtle
14 Jun 2011, 3:13 PM
ExtJS version? Firefox version? Do you have any extra CSS that may be affecting it?

ayqazi
15 Jun 2011, 2:24 AM
ExtJs 3.3.2, Firefox 3.6.17

Having tried in a very simple test app instead of the one I am writing, it does not exhibit the same problem..... I will try disabling bits of CSS to see if I can figure it out.

UPDATE: And I figured it out, thanks for the pointer though...... some reset.css issue.