我用的vs2010 ASP.net web窗体 用一张工程图做背景图片 然后想在图上边在一个个的标注数据 但是 做完背景图后 在图上编辑不了啊 一加控件或者文本框 就跑到图片下边去了 急急急急急!!!请大神指点!!
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title>
<style type="text/css">
#div_bg{
margin:0;
position:fixed;
height:100%;
width:100%;
z-index:-1;
}
img{ height:100%;
width:100%;
border:0;
margin:0;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<div id="div_bg" class="0">
<img src="img/ftb_sq_xhs.jpg" alt="bgimage" />
</div>
</form>
</body>
</html>我用image也做了 也不能在上边标注数字
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body style="height: 538px; width: 870px">
<form id="form1" runat="server">
<asp:Image ID="Image1" runat="server" Height="506px"
ImageUrl="~/img/ftb_sq_xhs.jpg" Width="828px" />
</form>
</body>
</html>
跪求 那位大神帮帮忙 指点一下啊 在线等Web行业数据图片
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title>
<style type="text/css">
#div_bg{
margin:0;
position:fixed;
height:100%;
width:100%;
z-index:-1;
}
img{ height:100%;
width:100%;
border:0;
margin:0;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<div id="div_bg" class="0">
<img src="img/ftb_sq_xhs.jpg" alt="bgimage" />
</div>
</form>
</body>
</html>我用image也做了 也不能在上边标注数字
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body style="height: 538px; width: 870px">
<form id="form1" runat="server">
<asp:Image ID="Image1" runat="server" Height="506px"
ImageUrl="~/img/ftb_sq_xhs.jpg" Width="828px" />
</form>
</body>
</html>
跪求 那位大神帮帮忙 指点一下啊 在线等Web行业数据图片
解决方案 »
- 网上找的代码,有个地方出错,高手帮看下。
- c#中的问题
- C#用FTP方式下载服务器BMP图片,打开看什么也没有,0kb的问题,求帮助
- 关于事件不在后台生成代码的问题
- .net 2005 中两个Datable中不同类型字段赋值时的类型转换问题。
- (散分)我想到北京找工作,但是没有信心,不知道该怎么学,掌握哪些知识,老大们给我点建议。
- 我写的程序被杀毒软件说是病毒怎么办啊。
- 这个酒店描述的XML如何显示
- OnItemCreated的问题???
- 请教Panel的使用方法!100分相送!不够再开100分!
- 求救asp.net 4.0经常报 3001,3005错误
- 急需要一个带宽检测工具(能够测试上行和下行)!!!
<body style="background-image:图片路径"> 试下。
<head runat="server">
<title></title>
<style type="text/css">
.aa {
position: absolute;
font-family:宋体;
color: Red;
font-size:10pt;
text-align: center;
cursor:hand;
}
.a2 { position: absolute; font-family: 宋体; font-size: 10pt; color: #FFFF00; width: 65px; height: 14px;text-align: left }
.a1 {
position: absolute;
width: 28px;
height: 16px;
font-family:宋体;
color:#FFFF00;
font-size:10pt;
text-align:left;
}
</style>
<script type="text/javascript" language="JavaScript">
<!--
function FP_goToURL(url) {//v1.0
window.location = url;
}
function qxt(as_id) {
window.open("qxt.asp?name='" + as_id + "'&dxbh='001'", "", "menubar=no,toolbar=no,scrollbars=yes,titlebar=no,resizable=yes,width=800,height=450")
}// -->
</script>
</head>
<body>
<p align="center">
<img alt="0" border="0" name="001" src="img/ftb_sq_xhs.jpg"/></p>
<script type="text/javascript" language="javascript" >
<!--
var imgWidth = document.all; 001; width;
var imgheigth = document.all;001;
var width;
screenW = screen.width;
width = (screenW - imgWidth) / 2 - 8
document.writeln('<div id="Layera" style="position:absolute; width:10px; height:10px; z-index:135;left: ' + width + ';top: 0px">')
//-->
</script>
<div class="aa"
style="z-index: 36; left: 373px; top: 222px; width: 53px; height: 17px;"
id="wendu">
工程图</div>
<form id="form1" runat="server">
</form>
</body>
</html>
想让“工程图”这三个字 和我我需要的一些数据标在图片上 我用vs2010中的asp.net在编辑框里还可以对齐呢 可以一运行 就错位了 那位大神帮着给改正一下
就是想在背景图片上(ftb_sq_xhs.jpg)写一些数据 我用的分层 图片上加的层 好像定位不对 但是不会了 求改正