• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

IE CSS disappear

 
Ranch Hand
Posts: 464
Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I am having a strange issue with my application in IE 6, 7 and 8.

To avoid accessing the CSS frequently, I have set the expiry date for the CSS files to 5 years from current date.

Now the issue is, as soon as i copy something from the IE browser and paste the contents in word or excel I am losing all the styles in my application on IE. (as it does not fetch the CSS again)

Is this a known issue? Are there any solutions to this problem?

Thanks
Venki
 
Sheriff
Posts: 67749
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What does pasting into Word or Excel have to do with anything?
 
S Venkatesh
Ranch Hand
Posts: 464
Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That is the strange behavior we are facing. If you copy to notepad, it just works.
 
Marshal
Posts: 28263
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

S Venkatesh wrote:... I have set the expiry date for the CSS files to 5 years from current date.

... I am losing all the styles in my application on IE. (as it does not fetch the CSS again)

... Are there any solutions to this problem?



It seems you have a solution in mind. Why not try it and see what happens?
 
S Venkatesh
Ranch Hand
Posts: 464
Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I solved this problem.

I observed that as we copy paste the contents to excel sheet, HTTP requests are sent to the server to fetch the js and css files. (thanks to the tool Fiddler which helped me intercept the requests)

We did a few changes in the filter, which solved our problem.

Thanks
Venki

 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic