Make single character css styled site wide?

css, html

Solution

Hope this sample helps. I found it in SO. You can replace the `®` with the html code of slash `/`

$(document).ready(function() {
    $('*').each(function() {
        var n = $(this).html().replace(
            new RegExp('®','g'),
            '<sup>®</sup>'
            ).replace(
            new RegExp('&reg;','g'),
            '<sup>&reg;</sup>'
            );
        $(this).html(n);
    });
});​

DEMO

Problem

Client has asked for just the `/` of his site to be red... Throughout the entire site! Do I have to add spans around each /, or is there an easier way?

Original source

Related problems