
Originally Posted by
dodie
I still wonder why you use word "hack" in this topic.
It's a workaround for a text character problem, therefore a "hack". Hehe.
A neater way to write this code is to separate the CSS code and assign a class to the = sign:
HTML code
Code:
P<span class="pesosymbol">=</span>
CSS code:
Code:
.pesosymbol {vertical-align:0.1em;margin-left:-0.7em}
This way, the html code is neater and the = sign can be quickly aligned to P by modifying only the CSS code when the need arise, such as when changing font attributes.