[Solved] background-position y axis issue in mozilla firefox [closed]


Background position values are required to have a unit value for non-zero positions. So if you want the icon to be 4px off the top, change it to:

background-position: 0 4px;

You can also include the position in the shorthand, like so:

 background: url('icon.png') 0px 4px no-repeat;

1

solved background-position y axis issue in mozilla firefox [closed]