<!DOCTYPE html>
<html>
<head>
<style type="text/css">
#a { color: orange; }
#b { color: blue; }
</style>

</head>

<body>
  <table border="10"><tr id="tr"><td id="td">
    <p><span id="a">a</span><span id="b">b</span></p>
  </td></tr></table>
</body>

</html>