Displaying Buttons

I wanted to display a line of button images

view code




<a href onclick="submitPO(event);">

<img src="<?php echo $this->createImage('icons/submit.png');?>"  align="top" width="24" height="24" alt="Submit" title="Submit" />

</a>

<a href onclick="resetForm(event);">

<img src="<?php echo $this->createImage('icons/reset.png'); ?>" align="top" width="24" height="24" alt="Reset" title="Reset" />

</a>

<a href onclick="cancelPO(event);">

<img src="<?php echo $this->createImage('icons/cancel.png'); ?>" align="top" width="24" height="24" alt="Cancel" title="Cancel" />

</a>		    



here’s what i am getting

3392

Capture.JPG

there’s a single line (-) in between images which serves as hyperlink, I wanted to get rid of them

whats the proper way of doing it? Thanks

Although your question is not even remotely related to yii: check (css)border attribute of images (set it to 0). Maybe that helps.