|
Mailing Lists
|
Home / Groups / Ajax
IE not including CSS> I think what may be playing into it is the fact > that this is basically an inline chunk of HTML so > that perhaps IE doesn't know what do to with the > following: > > <style type="text/css"> @import > "theme/style2.css"; </style> > > ....when it is insert via JS between <div> tags > using innerHTML= > > Does that sound reasonable? Yes, that sounds right. I don't think it's anything to do with directory structure, it's to do with IE not being able to use a style section which is dynamically set up inside the BODY via innerHTML in that way. Can you use an iframe instead of a div and reference the file simply via the iframe's src (dynamically if necessary) rather than writing it in as text? That way the customer's HTML file would get processed as a standalone document. Nick |
June 18, 2013
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||