G
Guest
I've been having alot of problems with asp.net 2.0's style sheet. When I
apply a style sheet to a webform in the head tag (<link href="Site5.css" rel
="stylesheet" type ="text/css" runat="server" />), the webform does reflect
the styles in design mode, but not when I run the project. Sometimes it does,
sometimes it doesn't. Very frustrating. Right now I'm looking at my webform
in design mode, it has the look of the styles in my .css. But hit F5, and the
styles disappear.
It also seems that if you make too many changes in a css file, the styles no
longer appear in your webform. I have to create a site2.css, copy what was in
site1.css into it, and it will work, for a while. Then a site3.css, etc.
Has anyone else experienced this, and what have you done to correct it?
apply a style sheet to a webform in the head tag (<link href="Site5.css" rel
="stylesheet" type ="text/css" runat="server" />), the webform does reflect
the styles in design mode, but not when I run the project. Sometimes it does,
sometimes it doesn't. Very frustrating. Right now I'm looking at my webform
in design mode, it has the look of the styles in my .css. But hit F5, and the
styles disappear.
It also seems that if you make too many changes in a css file, the styles no
longer appear in your webform. I have to create a site2.css, copy what was in
site1.css into it, and it will work, for a while. Then a site3.css, etc.
Has anyone else experienced this, and what have you done to correct it?