如何在图像背景中添加文本框? [英] How to add textbox inside the image background?

查看:193
本文介绍了如何在图像背景中添加文本框?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!



我有登录模块的图像。

我想在图像中添加两个文本框。但我不能把它放在图像里面。是否有任何属性允许文本框包装图像?有帮助吗?这是我的图像代码:)



Hi guys!

I have an image for login module.
I would like to add two text boxes inside the image. but I cannot put it inside the image. Is there any property that will allow the text box wrap with the image? Any help? here is my code for the image :)

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="popo.aspx.cs" Inherits="popo" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>

    <style type="text/css">
        .auto-style1 {
            width: 100%;
        }
        .auto-style2 {
            width: 1271px;
        }
    </style>

</head>
<body>
    <form id="form1" runat="server">
   <div>
      <%-- <asp:ImageMap ID="ImageMap1" runat="server" ImageUrl="~/Image/login.jpg" ImageAlign="AbsMiddle"></asp:ImageMap>--%>
       <br />
       <br />
       <br />
       <br />
       <br />
       <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
       <img id="Image-Maps-Com-image-maps-2014-09-22-041322" src="http://www.image-maps.com/m/private/0/g20md0nabrigo4jh31l0c7i9v1_login.jpg" border="0" width="1600" height="570" orgWidth="1600" orgHeight="570" usemap="#image-maps-2014-09-22-041322" alt="" />
<map name="image-maps-2014-09-22-041322" id="ImageMapsCom-image-maps-2014-09-22-041322">
<area  alt="Forget Password" title="Forget Password" href="ResetPassword.aspx" shape="rect" coords="767,391,902,416" style="outline:none;" target="_self"     />
<area  alt="Login" title="Login" href="Adminn.aspx" shape="rect" coords="989,320,1033,359" style="outline:none;" target="_self"     />
<area shape="rect" coords="1598,568,1600,570" alt="Image Map" style="outline:none;" title="Image Map" href="http://www.image-maps.com/index.php?aff=mapped_users_33037" />
</map>
    </div>

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

推荐答案

http://www.w3schools.com/css/css_background.asp [ ^ ]



试试那个链接.W3schols是学习基本知识的好方法。
http://www.w3schools.com/css/css_background.asp[^]

Try that link.W3schols is a good way to study the basic things.


这篇关于如何在图像背景中添加文本框?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆