搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

CSS doesn't work in firefox when it works perfectly chrome or safari .

  • 2 个回答
  • 9 人有此问题
  • 1 次查看
  • 最后回复者为 RAW_

more options

I can't make this CSS appear in firefox when it works perfectly in chrome or safari .site-branding a{content: url (XX);} have been trying to fix it with some informations that i got as

.site-branding a:before { 

content: url("");}

But nothing work out.

If anyone has an idea.

I can't make this CSS appear in firefox when it works perfectly in chrome or safari .site-branding a{content: url (XX);} have been trying to fix it with some informations that i got as .site-branding a:before { content: url("");} But nothing work out. If anyone has an idea.

被采纳的解决方案

Can you post a link to a publicly accessible page (i.e. no authentication or signing on required) where we can check this?

Note that content only works with ::before or ::after pseudo elements and may not work with all element types, but should work with an 'a' tag.

Do you want to display an image before the link?

See also:

定位到答案原位置 👍 0

所有回复 (2)

more options

选择的解决方案

Can you post a link to a publicly accessible page (i.e. no authentication or signing on required) where we can check this?

Note that content only works with ::before or ::after pseudo elements and may not work with all element types, but should work with an 'a' tag.

Do you want to display an image before the link?

See also:

more options

Hello, Thank you for your answer. i actually find away to fix it, i'm using a wordpress so i fixed it like

/**chrome'**/ .page-id-HP .site-branding a{ content: url(""); } /**firefox**/ .page-id-HP .site-branding a:before { content: url(""); } .page-id-HP img[src*=""] {

   display: none;

} Thanks again.