Well first off, that's HTML not PHP.
Second, that code is
really messed up. You have one opening div and three closing div's. Then you have a closed a tag but no opening a tag.
Can you show me an example of the site this is going on? Or, show more functioning code so that I can get an idea? That would help.
At a glance, I'd say try this:
Code:
<div class="button">
<a onmouseover="MM_swapImage('excerpt','','../images/btns/excerpt_f2.gif',1)" onmouseout="MM_swapImgRestore()" href="http://www.conservativeoutcomes.com/../excerpt.php">
<img id="excerpt" alt="Excerpt" src="http://www.waronscience.com/images/btns/excerpt_f2.gif" border="0" name="excerpt" oSrc="<A href="http://www.conservativeoutcomes.com/images/btns/excerpt.gif"></a>
<a onmouseover="MM_swapImage('buy','','../images/btns/buy_f2.gif',1)" onmouseout="MM_swapImgRestore()" href="Buy">
<img id="buy" alt="Buy the Book" src="http://www.waronscience.com/../images/btns/buy_f2.gif" border="0" name="buy" oSrc="<A href="http://www.conservativeoutcomes.com/images/btns/buy.gif"></a>
</div>
But I doubt that will work.