Home › Forums › CSS › replace text with image › Re: replace text with image
September 7, 2009 at 5:22 am
#63541
Member
I presume that the ‘read’ and the ‘unread’ notification would change dynamically when the user visit’s a particular post. If you set the background image of the td by giving it a static class, then the image won’t change when the notification changes…
There is no span/class in the old code because the read/unread notification was meant to be in text. Hence, the person who wrote that code, didn’t think it was necessary to give it any class. What I would suggest is to google on how would you check if the post is read or unread, then use pHp to assign that td a specific class and then style those classes using CSS.