Hi Community,
I’ve the following code in a view:
<?php
echo CHtml::link(
CHtml::image(YII::app()->baseUrl.'/images/grafic.png','Name'),
array('customers')
);
?>
It works, but can be replaced for a html <a> tag to use css sprites.
My question is: can i use css sprites using the CHtml class?