2017-06-16 38 views
0

通过以下标记,我总是可以获得与未找到图像时相同的外观:它的alttitle仍然存在,但没有图片。为什么只有一个图像来自两个呈现?

<div class="def-orange"> 
    <h3>Sign Up</h3> 
    <p> 
     Which kind of profile would you like? 
    </p> 
</div> 
<a href="@Url.Action("RegisterSenior", "Account", new RouteValueDictionary {{"userSide", "contractor" }})"> 
    <img src="images/signup-contractor.png" alt="mans's head sillouheted with safety helmet" title="As a Senior"> 
</a> 
<a href="@Url.Action("RegisterEmployer", "Account", new RouteValueDictionary {{"userSide", "employer" }})"> 
    <img src="/Images/signup-employer.png" alt="mans's head sillouheted with collar and tie" title="As an Employer"> 
</a> 
<div class="def-orange">  
    Already have an account?&nbsp;@Html.ActionLink("Sign In", "Login", "Account") 
</div> 

我知道,这两个图像都存在,因为我可以左右互换他们,当他们在右手两个a标签中的一个两个图像显示,当他们在左手a标签既不显示器。

回答

1

更改images/signup-contractor.png/Images/signup-contractor.png

+0

斜线几乎就没有了。谢谢。 – ProfK

相关问题