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:
Bader, Terrence C CTR MARMC, 231
05/16/2007 11:58 AM

try theme/style2.css  with no initial "/".... The directory structure is like this: public_html (main doc root) public_html/theme (location of CSS files) But the way the PHP code is structured all script files get included into the document root, so all references to any files, images, etc, are all relative to the doc root, so /theme/style2.css does work in Firefox. It only fails in IE. Should I try moving the CSS file and HTML file to the doc root to see if IE is having some kind of directory issue? Skip Bader, Terrence C CTR MARMC, 231 wrote: > How are the directory and files setup? > > ~Terry > > Have you tried > > <style> >     @import(/theme/style2.css); > </style> > > > >> My problem is that if the page retrieved from the server pulls in a >> CSS file, like >> >> <link rel="stylesheet" type="text/css" >> href="/theme/style2.css"> >> >> ....the elements for this style sheet are not used in the page that >> was retrieved. > > -- > mxAjax / CFAjax docs and other useful articles: > http://www.bifrost.com.au/blog/ > > > >


Search ajax

May 24, 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 31   

Designer, Developer and mobile workflow conference