House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home / Groups / Ajax

IE not including CSS

Author:
Nick de Voil
05/17/2007 04:31 AM

> 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


Search ajax

June 18, 2013

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
             1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30             

Designer, Developer and mobile workflow conference