|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
css failure on postbackHello all,
I develop aspx pages for internal use. We use IIS 6, .net 2 and IE 6. In the head of the clientcode I call a css file like "@import url(../CSS/Styles.css);" All this runs fine. When I pubish the site to the server and call it from a clientmachine everything looks fine as well. But when there is a postback all styles are gone and the site is nearby unuseable. On the next postback it mostly looks fine again. Do I use the wrong way to implement the css or do I have to update the ..net Framework with something? Thanks for help. I use CSS on my master page, which allows the dyanmic client side URL (i.e.
~): <link href="~/css/common.css" rel="stylesheet" type="text/css" /> If I were using individual pages with CSS, I would still consider the <link> tag. -- Show quoteGregory A. Beamer MVP; MCP: +I, SE, SD, DBA http://gregorybeamer.spaces.live.com ************************************************* Think outside of the box! ************************************************* "catweezle2010" <catweezle2***@gmx.de> wrote in message news:1161167582.390646.160120@e3g2000cwe.googlegroups.com... > Hello all, > > I develop aspx pages for internal use. We use IIS 6, .net 2 and IE 6. > > In the head of the clientcode I call a css file like "@import > url(../CSS/Styles.css);" > > All this runs fine. When I pubish the site to the server and call it > from a clientmachine everything looks fine as well. But when there is a > postback all styles are gone and the site is nearby unuseable. On the > next postback it mostly looks fine again. > > Do I use the wrong way to implement the css or do I have to update the > .net Framework with something? > > Thanks for help. > |
|||||||||||||||||||||||