IE 7 Not displaying my stuff
Posted: Tue Jan 27, 2009 4:04 am
Hi,
I've already tried on another forum to get an answer to this but to no avail. Hopefully somebody here will have an answer or be able to point out something stupid that I'm doing wrong. Bear in mind that FF displays this as I would expect it to.
The issue I'm having is that when I create some elements in IE 7 they arent being displayed. They are fine in FF but IE7 just doesn't display them. The suggestions I've had in response are:
- "use a 3rd party library" (which isn't the point, I want to know why it doesn't work)
- try adding the new elements to different elements in the DOM (madea difference but didn't actually help at all)
- the html is wrong
- there is an error in js which stops execution
.. and a couple more things that were basically the first things I checked.
Although the IE7 DOM inspector now doesn't actually LIST the elements, if I select one of the outer elements such as BODY and view the source of that element - the code shown for that element is correct including all the sub elements I just created in JS but as I said - still not showing up in the browser window. I can save this generated source code to an HTML file and the saved page will display exactly as it does in FF so I don't think I'm doing things wrong.
Does anybody know of any reason why my dom elements would work in FF and not IE? Also how can the HTML be correct but not be displayed?
I've already tried on another forum to get an answer to this but to no avail. Hopefully somebody here will have an answer or be able to point out something stupid that I'm doing wrong. Bear in mind that FF displays this as I would expect it to.
The issue I'm having is that when I create some elements in IE 7 they arent being displayed. They are fine in FF but IE7 just doesn't display them. The suggestions I've had in response are:
- "use a 3rd party library" (which isn't the point, I want to know why it doesn't work)
- try adding the new elements to different elements in the DOM (madea difference but didn't actually help at all)
- the html is wrong
- there is an error in js which stops execution
.. and a couple more things that were basically the first things I checked.
Although the IE7 DOM inspector now doesn't actually LIST the elements, if I select one of the outer elements such as BODY and view the source of that element - the code shown for that element is correct including all the sub elements I just created in JS but as I said - still not showing up in the browser window. I can save this generated source code to an HTML file and the saved page will display exactly as it does in FF so I don't think I'm doing things wrong.
Does anybody know of any reason why my dom elements would work in FF and not IE? Also how can the HTML be correct but not be displayed?