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
Post a Comment