我在iframe中加载一个aspx网页.Iframe中的内容可以比iframe的高度更高.iframe不应该有滚动条.
我div
在iframe中有一个包装器标签,基本上就是所有的内容.我写了一些jQuery来调整大小:
$("#TB_window", window.parent.document).height($("body").height() + 50);
Run Code Online (Sandbox Code Playgroud)
包含TB_window
它的div在哪里
Iframe
.
body
- iframe中aspx的body标签.
此脚本附加到iframe内容.我TB_window
从父页面获取元素.虽然这在Chrome上运行良好,但TB_window在Firefox中崩溃.我真的很困惑/失去了为什么会发生这种情况.
我使用ItextSharp模块将下面列出的html转换为pdf页面.
<div style="font-size: 18pt; font-weight: bold;">
mma<br>mmar</div><br> <br>
<div style="font-size: 14pt;">Click to View Pricing
</div>
<br>
<div>
<table>
<tr><td> <a href="http://www.mma.com/fci" style="color: Blue; font-size: 10pt; text-decoration: underline;"> FCI</a>:</td>
<td><a href="http://www.mma.com/access/?pn=78211-014" style="color: Blue; font-size: 10pt; text-decoration: underline;"> 78211-014</a></td></tr><tr><td></td> <td>
<a href="http://www.mma.com/access/?pn=78211-009"
style="color: Blue; font-size: 10pt; text-decoration: underline;">78211-009</td></tr><tr><td></td> <td>
<a href="http://www.mma.com/access/?pn=78211-006"
style="color: Blue; font-size: 10pt; text-decoration: underline;">78211-006</td></tr><tr><td></td> <td>
<a href="http://www.mma.com/access/?pn=78211-007"
style="color: Blue; font-size: 10pt; text-decoration: underline;">78211-007</td></tr><tr><td></td> <td>
<a href="http://www.mma.com/access/?pn=78211-003"
style="color: Blue; font-size: 10pt; text-decoration: underline;">78211-003</td></tr><tr><td></td> <td>
<a href="http://www.mma.com/access/?pn=78211-005"
style="color: Blue; font-size: 10pt; …
Run Code Online (Sandbox Code Playgroud) 我们可以使用多个"itemprop"属性标记单个html元素吗?我正在研究用于微数据标记的东西.(schema.org)
<asp:HyperLink ID="hlnk10" itemprop="url" itemprop ="manufacturer" runat="server"> </asp:HyperLink>
Run Code Online (Sandbox Code Playgroud)
超链接文本包含我要标记的两个属性这是否可以按照schema.org标准进行?
提前致谢.