Yii Code or Straight HTML for your site logos?

I am curious what everyone is using for including their site logos.

I was trying to use this


$imghtml=CHtml::image(Yii::app()->request->baseUrl."/images/img.png","name"); echo CHtml::link($imghtml, array('/site/index'));

but for some reason it messes with the placement in all browsers except for IE.

I tried to resolve this but at this point I am switching over to straight HTML since the problems introduced by that code can’t be explained. I had another question asking for help on it Yii Affecting CSS?

So I am curious, what are you using to include your site logo? If using Yii code, what is that code?




<img src="logo.jpg" alt="Logo" />



Same as kevinb, i use to use pure HTML code to display images.