Inline Image Replacement Technique
While I was updating the Photo Gallery for FCMS 2.0, I noticed that the previous and next buttons were plain text links and not image links like we use on the calendar and in the pagination throughout the site. I realized that this was done like this in the beginning because I didn’t know of a way to do image replacement on inline elements such as an anchor tag.
The calendar and pagination are both block level tags (unordered lists). Changing the code didn’t seem like a good idea for consistent themes, so I went searching to see if their was another solution. That’s what I found the following blog post which does exactly what I’m looking for.
So now, the Photo Gallery will use
and
instead of << and >>.
Categories: Web Design.
