html - How do I change the source of the images in this table? -


code http://jsbin.com/ratohaxiya/1/edit?html,css,output

for instance want use single png file hawks logo instead of taking them here img src not work , have keep background colors same

it not recommended use many image files large set of small icons since effect page load time negatively. each individual file requested server , times waiting reply takes longer actual download.

however, if opt replace current code locates position of each icon in css file.

replace this:

a[href$="/r/atlantahawks#s"]:before {   background-position: 2px 1px!important } 

with using own filepaths:

a[href$="/r/atlantahawks#s"]:before {   background-image: url("hawks-filepath.png"); } 

this change shouldn't affect background color since wasn't part of image sprite sheet.


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -