惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Google DeepMind News
Google DeepMind News
N
Netflix TechBlog - Medium
The Register - Security
The Register - Security
C
Cybersecurity and Infrastructure Security Agency CISA
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The Hacker News
The Hacker News
P
Proofpoint News Feed
Project Zero
Project Zero
The GitHub Blog
The GitHub Blog
The Last Watchdog
The Last Watchdog
F
Fortinet All Blogs
S
Schneier on Security
Help Net Security
Help Net Security
Security Archives - TechRepublic
Security Archives - TechRepublic
C
Check Point Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
P
Proofpoint News Feed
I
InfoQ
T
The Blog of Author Tim Ferriss
Cisco Talos Blog
Cisco Talos Blog
Stack Overflow Blog
Stack Overflow Blog
T
Troy Hunt's Blog
人人都是产品经理
人人都是产品经理
T
Threatpost
www.infosecurity-magazine.com
www.infosecurity-magazine.com
C
Cyber Attacks, Cyber Crime and Cyber Security
雷峰网
雷峰网
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
爱范儿
爱范儿
Forbes - Security
Forbes - Security
Vercel News
Vercel News
S
Security Affairs
美团技术团队
P
Privacy & Cybersecurity Law Blog
N
News and Events Feed by Topic
Cyberwarzone
Cyberwarzone
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Jina AI
Jina AI
Spread Privacy
Spread Privacy
Attack and Defense Labs
Attack and Defense Labs
IT之家
IT之家
U
Unit 42
Recorded Future
Recorded Future
W
WeLiveSecurity
PCI Perspectives
PCI Perspectives
P
Palo Alto Networks Blog
H
Hacker News: Front Page
S
Security @ Cisco Blogs
博客园 - 【当耐特】

博客园 - 神秘狭

成熟男人必看的5个故事 很有感觉的爱 在新电脑上部署网站发现的问题(asp.net) 十句话 EXCEL下载功能在XP系统中运行是好好的,到windows2003系统上,就报错 ASP.NET设置数据格式与String.Format和DataFormatString使用总结 - 神秘狭 - 博客园 VS2005打开js文件,中文都是乱码 回发或回调参数无效。在配置中使用 问题解放方法 - 神秘狭 - 博客园 编译时DEBUG中dll文件删除问题 javascript日期比较 asp.net获取URL和IP地址 (转) QQ登不上去,提示不能访问QQ服务器端口---解决办法 很有感觉的两首歌 keyAscii码表 自制花肥小妙招(转) 设计模式学习(一) 单件模式 让网页上的图片都动起来 黄石火车票信息 @键和"键互换问题
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 问题 - 神秘狭
神秘狭 · 2008-06-25 · via 博客园 - 神秘狭

问题:我从网上下载了一个日历控件(web),下载的例子(html)可以用,可是放到自己的页面(asp.net)就出问题了,日历可以弹出来,但是高度变小了,导致出现滚动条.

分析:生成页面后,源代码进行对比,发现区别.
        下载例子页面用:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
         ASP.NET页面自动生成:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

解决办法:自我感觉是DOCTYPE导致iframe的高度小了,修改js中iframe的高度,问题依然存在.对比其他js中iframe的使用,发现多了px,于是改成
style="position: absolute; width: 144

px; height: 211px;"就OK了.

说明在asp.net中自动生成的!DOCTYPE,如果高不带px则失灵.