in my stylesheet, i made it say the following in one part:
<style>
#caps{font-variant:"small-caps";}
</style>
I saved this(and the rest of it) into a .html file in the same directory.
So, in my php thing i input <link type="text/css" rel="stylesheet" href="style.html">
I then made this:
<?php
print("<bdo id=\"red\">");
print("This is red");
print("</bdo>");
#The above works
print("<bdo id=\"caps\">");
print("this is caps");
print("</bdo>");
?>
For some reason, it just doesn't want to become capitalized