If you mean a standard <span class"myclass"> tag, It doesn't seem to change the font, although it seems to affect the text size of a #1 that appears after the highlight_string (why the 1 appears is another question I have)
Here's a sample page:
http://thecmsbcookbook.com/recipedetail.php?UNDERSTANDING-A-LIST-PAGE-298
and here's the code that I'm using
<style type="text/css">
.Large-Text {font-family: "Comic Sans MS", cursive; color:#C00; font-size:6em; }
.Medium-Text {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: medium; }
.Medium-Text-Bold {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: medium; font-weight: bold;}
</style>
</head>
<body>
<table width="800" border="0">
<?php foreach ($table_of_contentsRecords as $record): ?><tr>
<!--remove all remaining line breaks from the code not converted to zx in wordprocessor-->
<?PHP $record['recipe'] = preg_replace("[<br>]", "", $record['recipe'] ); ?>
<?PHP $record['recipe'] = preg_replace("[<br/>]", "", $record['recipe'] ); ?>
<?PHP $record['recipe'] = preg_replace("[<br />]", "", $record['recipe'] ); ?>
<!--replace the valid <br /> in the code segment -->
<?PHP $record['recipe'] = preg_replace("[zx]i", "<br />", $record['recipe'] ); ?>
<td> <span class="Medium-Text-Bold"><b><?php echo $record['topic'] ?></span></b><br/><br/></span><br />
<?php
$recipe = wordwrap($record['recipe'],150) ;
$recipe = highlight_string($recipe) ;
?>
<span class="Large-Text"><br><?php echo $recipe; ?><br/></span></td>
</tr><?php endforeach ?>
</table>
Thanks for any ideas you may have.
Best,
Jerry