pocket ie 在 html 中呈现回车符?
我们正在编写一系列设计用于 Pocket IE 的屏幕,以及来自 Motorola(又名 Symbol)的一批手持式扫描仪单元。与往常一样,我试图以一种可读的格式来布局我的 HTML,在新的行上添加新的控件,而不是仅仅将我的代码一起运行成一个巨大的、不可读的混乱。
这是我的问题的一个例子。我有一系列 asp:linkbuttons,它们应该在新行上呈现每个按钮。在我的代码中,我将每个
我可以在页面中放入一些指令来阻止 pIE 渲染我在代码中放入的硬 CrLfs 吗?如果我想要一个新行,我只想放入 BR 标记,而不是让它实际从代码文件中渲染 CrLfs。
这些设备运行 WinMo 6.1。
We're writing a series of screens designed to be used on Pocket IE, on a batch of handheld scanner units from Motorola (aka Symbol). As is typical, I am trying to layout my HTML in something of a readable format, which new controls on new lines, instead of just running my code all together into one big giant unreadable mess.
Here is an example of my problem though. I have a series of asp:linkbuttons, which are supposed to render each on a new line. In my code I put each <asp:linkbutton> tag on a new line. Pocket IE however is actually RENDERING the CrLf in the code file into the output, putting a giant space between the rendered A tags which I cannot control.
Is there some directive I can put in the page to stop pIE from rendering the hard CrLfs that I put in my code? If I want a new line I want to just put in a BR tag, not have it actually render CrLfs from the codefile.
The devices are running WinMo 6.1.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我将每个链接按钮包装在一个 div 中,然后渲染时没有换行符。
I wrapped each of the linkbuttons in a div, and then it rendered without the linebreaks.