前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >IE支持而Firefox不支持的CSS属性

IE支持而Firefox不支持的CSS属性

作者头像
大江小浪
发布2018-07-25 11:02:06
8400
发布2018-07-25 11:02:06
举报
文章被收录于专栏:小狼的世界小狼的世界

今天,居然发现了一个IE支持,而Firefox确不支持的CSS属性。

.peopleBox a { text-indent:-999px; }

测试的时候,发现IE下表现良好,但是Firefox确无动于衷。

一直以来,从小到大,思想里从来不会出现这样的情形,所以当时确实是大吃一惊。

Google后才发现:

This property specifies the indentation of the first line of text in a block. More precisely, it specifies the indentation of the first box that flows into the block's first line box. The box is indented with respect to the left (or right, for right-to-left layout) edge of the line box. User agents should render this indentation as blank space.

原来只对块级元素起作用,而且只是第一行。看来这些东西记得还是不是很牢固

参考资料: 1、W3C

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2010-02-24 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档