0

Is there a way to specify some CSS that firefox can read but webkit browsers cannot, or visa versa?

Justin Meltzer
  • 13,318
  • 32
  • 117
  • 182
  • Just out of curiosity, why? Rule number 1 of UI design is to not segregate users.....no matter what browser they insist on using. – bpeterson76 May 31 '11 at 01:37
  • not for segregation, there was a slight difference in visual rendering between Webkit and Firefox that I wanted to resolve – Justin Meltzer May 31 '11 at 03:13

2 Answers2

2

Seems you are not alone who wants this:

Targeting only Firefox with CSS

And you can view more tricks here:

http://stephenkui.com/code-css-only-to-firefox-ie-or-safari/

Community
  • 1
  • 1
Chandresh Pant
  • 1,173
  • 15
  • 19
0

You could use javascript to do that..

there is also a hack

@-moz-document url-prefix() {

  #my-id { font-size: 100%; }
  }

This should target only firefox and not other browsers

Xitcod13
  • 5,949
  • 9
  • 40
  • 81