image within anchor not following defined style

Hi Clifford,
I am using xml to populate a text field. I want each paragraph of the text to start with an image, like an illuminated letter. A "float: left;" style does this. I also need the image to be clickable, but when I wrap it in an anchor it expands to take up the full width of the text field. Here is what I am using. What's wrong? Thanks for your help, Andy
<page>
<config delay="">
</config>
<wtext>
<htmlText>
<![CDATA[
<p><a href="#" id="first"><img src="../media/T.gif" alt="T" style="float: left;" /></a>
<span id="w1.1">he quick red fox...</span>
</p>
]]>
</htmlText>
</wtext>
<first>
<pgStyleObject>
{ theStyle : 'float',
propVals : 'left' }
</pgStyleObject>
<function name="myClick" event="click" params="e">
<![CDATA[
tbfunction_pgTBObjSet( "wtext", "user", 1);
]]>
</function>
</first>
</page>
I am using xml to populate a text field. I want each paragraph of the text to start with an image, like an illuminated letter. A "float: left;" style does this. I also need the image to be clickable, but when I wrap it in an anchor it expands to take up the full width of the text field. Here is what I am using. What's wrong? Thanks for your help, Andy
<page>
<config delay="">
</config>
<wtext>
<htmlText>
<![CDATA[
<p><a href="#" id="first"><img src="../media/T.gif" alt="T" style="float: left;" /></a>
<span id="w1.1">he quick red fox...</span>
</p>
]]>
</htmlText>
</wtext>
<first>
<pgStyleObject>
{ theStyle : 'float',
propVals : 'left' }
</pgStyleObject>
<function name="myClick" event="click" params="e">
<![CDATA[
tbfunction_pgTBObjSet( "wtext", "user", 1);
]]>
</function>
</first>
</page>