在上显示默认浏览器项目符号点使用 YUI CSS 重置时
我在页面上使用 YUI 3 CSS Reset,但想使用浏览器默认列表样式显示特定的无序列表。
我在下面的 URL 上放了一个示例页面来解释: http://www.nsmith.me.uk/list.php
我想要能够在页面上设置
样式,就像未包含 css 重置脚本一样。例如,将 ?hideReset=1 添加到上面的 URL 中。谁能告诉我重置后需要添加什么 CSS 才能实现此目的?
谢谢, 尼尔
I'm using YUI 3 CSS Reset on my page, but want to display a specific unordered list using the browsers default list styling.
I've put an example page up on the URL below to explain:
http://www.nsmith.me.uk/list.php
I want to be able to style <ul>
on the page as if the css reset script wasn't included. For an example, add ?hideReset=1 onto the URL above.
Can anyone let me know what CSS I need to add after the reset to achieve this?
Thanks,
Neil
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您将需要一些
(调整以适合)
并取回子弹
You will need some
(adjust to fit)
and to get the bullets back
您还可以加载 YUI 的 base.css,一旦通过 reset.css 标准化,它将以一致的方式恢复大部分设置。
You can also load YUI's base.css which will restore most of the settings in a consistent way, once normalized via reset.css.