I just wanted to display an Image and there was no use of link for me.
This is what i did:
Totally removed the @Html.ActionLink and simply used the <p> as a place holder so that my existing css can bind to it properly:
<div class="float-left">
<p class="site-title" ></p>
</div>
Now I opened my site.css and replaced the css for site-title as:
/* site title
----------------------------------------------------------*/
.site-title {
color: #c8c8c8;
font-family: Rockwell, Consolas, "Courier New", Courier, monospace;
font-size: 2.3em;
margin: 0;
background: url("../images/logo.png") no-repeat center left;
display: block;
height: 84px;
width: 512px;
}
Note that i have to use ../images instead of ~/images
Also i simply deleted more css in same site.css for
.site-title a, .site-title a:hover, .site-title a:active
It's totally up to you if you want to keep additional css for additional actions.
Thanks and Regards
Anugrah