Reply to Re: CSS present in DOM but not applied

Your name:

Reply:


Posted by Adrienne Boswell on 01/18/08 15:18

Gazing into my crystal ball I observed Flintstone
<ratcliffe_mike@hotmail.com> writing in news:e59769be-c20c-4f35-b79d-
8af8e94ac03c@s13g2000prd.googlegroups.com:

> There are 3 or 4 places I could have posted this but I think this
> group is the most likely to come up with a solution.
>
> I have a web app written in ASP.NET with an external stylesheet which
> is actually an aspx file. Normally the page loads fine and all styles
> are applied correctly but I have discovered a weird IE only problem.
>
> 1) Copy some text from the web page
> 2) Paste the text into Word
> 3) Close the web page and open it again.
>
> Magically all my CSS styles vanish. The strangest thing is that if I
> look at the DOM in IEs Web Developer Toolbar all of the colors, styles
> etc from the stylesheet are present but for some reason they are not
> applied.
>
> I have tried setting the stylesheet to disabled
> (document.styleSheet[0].disabled=true) and then enabling it again but
> that seems to make no difference.
>
> Pressing F5 fixes the page but I really need a more permanent fix.
>
> Does anybody have and idea why this happens or what I could do about
> it?
>

URL? Does this only happen in IE? Does this only happen on your
system, and what OS?

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация