Wednesday, January 15, 2014

background-position-x and background-position-y aren't cross-browser compatible




Wrong: 
.myStyle{
background-image: url(images/someImage.png);
background-repeat:no-repeat;
background-position-x: 20px;
background-position-y: 30px;
}


Right:
.myStyle{
background-image: url(images/properties_underline.png);
background-repeat:no-repeat;
background-position:20px 30px;
}

No comments:

Post a Comment

linux bulk prefix filenames

  In order to bulk add prefix to filenames  in a directory run the following comnmand for f in * ; do mv -- "$f" "2018-05-24_...