在我的 asp.net 应用程序中,我使用了 2 个样式表:
- 在 App_Theme/JobTheme/Stylesheet.css
- css/StylesheetNew.css(对于我在 iframe 中作为弹出窗口打开的页面)
在App_Theme/JobTheme/Stylesheet.css:
body{height: 100%;width: 100%;background: #fff;font: 12px "Trebuchet MS", Verdana, sans-serif; }
在 css/StylesheetNew.css中:
body{ background-color:#FFFFFF; font-family:Arial, Helvetica,Tahoma;font-size:75%; margin:5px;}
但是当我打开弹出窗口时,它采用 App_Theme/JobTheme/Stylesheet.css 的正文样式 而不是 css/StylesheetNew.css
Why App_Theme/JobTheme/Stylesheet.css is overlapping the css/StylesheetNew.css?
and how to avoid this?