黑莓粗体 CSS

发布于 2024-07-17 04:54:20 字数 281 浏览 5 评论 0原文

我正在查看 4.6 版本的 CSS 文档,并在文档中看到了这一点: “在 BlackBerry Device Software 4.6 版中,BlackBerry Browser 完全支持 CSS 2.1,但不包括伪元素和动态伪类、系统字体和生成的内容。”

我正在为粗体运行 4.6.0.190 模拟器,但我无法让任何填充起作用。 我的其他 CSS 工作正常,例如字体系列和字体大小,但仅此而已。 任何与盒子模型(边距、填充)和定位相关的东西都不起作用,根据文档,它应该起作用。

有什么建议么?

I was reviewing the CSS docs for version 4.6 and saw this in the doc:
"In BlackBerry Device Software version 4.6, the BlackBerry Browser provides full support for CSS 2.1, excluding pseudo-elements and dynamic pseudo-classes, system fonts, and generated content."

I am running the 4.6.0.190 emulator for the bold and I cannot get any padding to work. My other CSS is working fine, such as font family and font size but that is about it. Anything related to the box model (margins, padding) and positioning does not work and according to the docs, it should.

Any suggestions?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

ζ澈沫 2024-07-24 04:54:20

我在黑莓模拟器上进行开发时注意到的一件事是,与实际设备相比,它在很多情况下都非常不准确。

不幸的是,我没有列出哪些东西与模拟器上的物理设备一样工作或不工作,但是我注意到一些小差异,这使得它(在我看来)几乎无法依赖于开发。

其中许多差异与盒模型相关。 例如,真正的 BlackBerry Bold 上的填充表现正常,而模拟器提供的填充比应有的多,导致渲染错误。

盒模型相关的东西确实可以在我尝试过的模拟器上工作,但是我遇到了一些问题,特别是与元素宽度相关的问题,但与您描述的问题不同。

我的建议是,您可以使用 BlackBerry Bold 来真正了解一切的外观。

One thing I've noticed doing development on the BlackBerry emulator is that it is very inaccurate in a lot of situations compared to the actual device.

Unfortunately I don't have a list of what things work or don't work the same as the physical device on the emulator, however I've noticed several small discrepancies that make it (in my opinion) almost useless to rely upon for development.

Many of these discrepancies are box model related. For example, the padding on the real BlackBerry Bold behaves properly, while the emulator gives more padding than it should, causing things to render wrong.

Box model related things do work on the emulators I've tried, however I've had some problems, especially related to widths of elements, however not the same issues you've described.

My recommendation is to get your hands on a BlackBerry Bold to really see what everything looks like.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文