NameSilo

CSS to Convert Name to Image?

Spaceship Spaceship
Watch

combs84

Established Member
Impact
23
When I have an event listed it comes up very simple and boring like:
Milwaukee Bucks Vs. Atlanta Hawks

the CSS code under it is Header Title and shows:
Code:
TD.tn_results_header_title { font-family: Verdana, Helvetica, Sans-Serif; font-size: 12pt; font-weight: bold; color: #000000;  } TD.tn_results_header_title A:link { font-family: Verdana, Helvetica, Sans-Serif; font-size: 12pt; font-weight: bold; color: #2091C0;  } TD.tn_results_header_title A:hover { font-family: Verdana, Helvetica, Sans-Serif; font-size: 12pt; font-weight: bold; color: #2091C0;  } TD.tn_results_header_title A:visited { font-family: Verdana, Helvetica, Sans-Serif; font-size: 12pt; font-weight: bold; color: #2091C0;  }

My question is, is there any way with CSS or any other way for me to make a list that when any certain word is displayed in the Results Header, that the word changes to an image?

Like Milwaukee Bucks would change to the Team Logo, and the words Atlanta Hawks would change to an image of their Team Logo as well.

Is this possible, how? :xf.love:
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
Some Javascript or something server-side would work best.
 
0
•••
Appraise.net

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Zero Commission
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back