I just encountered a situation where product names are automatically pulled in to my HTML as class names, and one of those product names has an accented letter. It looks like this:
<div class="español">Hola</div>
If I add a CSS declaration with that class, like this:
.español {background:yellow;}
Will it cause any problems? It seems to work so far, but I'm not sure if it's completely cross-browser compatible.
Also, would it be any different if that were an id instead of a class? That seems to work so far, too, but again I am not sure if it'll hold up everywhere.