开发者

avoid the auto increase font size c#

I am using MasterPage and using using a CSS in master page. My problem is in its content page, I have a messgage box comes up in some condition resulting FONT SIZE INCREASE. I do not have any font specification in my content page. I do not know how my content page font size chan开发者_Python百科ge when I click on "OK" to my message box.

Please suggest me some solution.

Thanks


How are you applying you styles? Are you doing it with Javascript or some framework?

If that's the case obviously some sort of error could result in a page reset, or the page dropping the styles and going to a default rendering.

You really need to post code for a better response.


I got rid of it. Initially the problem cause was, click on 'ok' to message box which was generated by JavaScript 'alert'. I tried to put MessageBox from System.Windows.Forms reference. Using MessageBox ,got the solution.

But I did not understand the reason, why using 'alert' was causing problem. If someone can throw light on it, it would be helpful for me and may be for others as well.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜