读书人

在图片上设置热区是不是设置错了啊第

发布时间: 2012-05-08 22:09:41 作者: rapoo

在图片上设置热区,是不是设置错了啊,第一次!?求救!?
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>高校来了——网站首页</title>
<style type="text/css">
#form1
{
width: 1082px;
height: 191px;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<asp:ImageMap ID="ImageMap1" runat="server" Height="168px" Width="196px"
DescriptionUrl="~/WelcomePage/login_dlsy.aspx" ImageUrl="~/Images/111.jpg" >
<asp:RectangleHotSpot Bottom="100" HotSpotMode="Navigate" Left="100"
NavigateUrl="~/WelcomePage/login_dlsy.aspx" Right="100" Target="_self"
Top="100" />
</asp:ImageMap>
<asp:Image ID="Image1" runat="server" Width="213px" />

</form>
</body>
</html>

点击之后没有链接到,?为什么呢?!

[解决办法]
表示不会用图片热区,宁愿用绝对定位使用图名图片来达到这种效果。。。
[解决办法]

探讨
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>高校来了——网站首页</title>
<style type="text/css">
#form1
{
width: 1082px;
heigh……

读书人网 >asp.net

热点推荐