1、网页设计中怎么对按钮插入超链接
按钮不支持加超链接,但是有方法让你点击按钮后跳转网页
当前页面打开
<input type=button onclick="window.location.href('连接')">
新窗口打开
<input type=button onclick="window.open('连接')">
建议使用其他行内标签来做超链接 因为能用html实现,最好就不要用css,能用css实现的就不要用js
2、图片某个区域添加按钮怎么添加---网页设计
你只是想给文字加链接吗?你把图片作为div背景,然后在div里面加a标签,a标签里面写文字,同时给a标签加样式:text-indent:-1000px;
3、Html网页制作插入按钮的代码是什么?
http://.baidu.com/question/122561857.html
4、网页设计按钮
很简单啊!这里打的话,代码很长。首先你自己准备那几个图标。然后比如“学校信息管理”这个模块,其实就是个大的div包含着两个div,然后设置一下他们的背景css就好了。
比如:
<div id="nav" style="border:blue 1px solid"> <!--设置边框-->
<div style="backgroup-color:blue"><img src="一个简单图标">学校信息管理</div>
<div id="nv">
<ul>
<li>基本信息管理</li>
<li>添加信息</li>
<li>添加公告信息</li>
</ul>
</div>
</div>
然后在css中设置一下
#nv ul li{
display: inline;
}
OK了,其他的细节自己优化 呵呵
5、设计网页点击添加按钮如何弹出对话框
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
<!--
td { font-size: 9pt}
a { color: #000000; text-decoration: none}
a:hover { text-decoration: underline}
.tx { font-size: 9pt; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; height: 20px; width: 40px; background-color: #eeeeee; cursor: hand}
.bt { font-size: 9pt; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; height: 16px; width: 60px; background-color: #eeeeee; cursor: hand}
.tx1 { height: 20px; width: 30px; font-size: 9pt; border: 1px solid; border-color: black black #000000; color: #0000FF}
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>添加公告</title>
<style type="text/css">
<!--
.STYLE1 {font-size: 18px}
body {
background-color: #2286c2;
}
-->
</style>
</head>
<body>
<p class="STYLE1">公告标题:</p>
<form id="form1" name="form1" method="post" action="">
<label>
<input name="textfield" type="text" size="50" />
</label>
</form>
<p class="STYLE1">公告内容:</p>
<form id="form2" name="form2" method="post" action="">
<label>
<textarea name="textarea" cols="50" rows="20"></textarea>
</label>
<p>
<p><iframe frameborder="1" width="300" height="50" scrolling="no" src="upload.asp"></iframe></p>
</p>
</form>
<form id="form3" name="form3" method="post" action="">
<label>
<input type="submit" name="Submit" value="提交" />
</label>
<input type="submit" name="Submit2" value="重置" />
</form>
<p> </p>
</body>
</html>
6、html网页设计:一个简单的登录界面代码!
是这样的效果吗?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>3</title>
<script>
function r()
{
var username=document.getElementById("username");
var pass=document.getElementById("password");
if(username.value=="")
{
alert("请输入用户名");
username.focus();
return;
}
if(pass.value=="")
{
alert("请输入密码");
return;
}
return true;
}
</script>
</head>
<body>
<form>
<table width="350" bgcolor="#ccffcc" style="border-color" border="1">
<tr align=center>
<td>用户名</td><td><input type="text" name="username" id="username"></td>
</tr>
<tr align=center><td>密 码</td><td><input type="password" name="password" id="password"></td></tr>
<tr align=center><td>验证码</td><td><input type="text" name="yanzheng"></td></tr>
<tr align=center><td colspan="2"><input type="button" value="登 录" onclick="r();"/> <input type="reset" value="重 置"/></td></tr>
</table>
</form>
</body>
</html>
7、求助,网页设计里的按钮代码,要求,点击提交,弹出对话框,注册成功,是否进入登陆页面,关闭当前页面
楼主 就你的要来求 基本没人能做自 要能进入登陆页面 还要有能关闭当前页面的 对话框没人能做吧(也许是孤陋寡闻了)你只能是在页面上加2个超链接 一个指向登陆页 一个关闭当前页。如果建立数据库跟链接不会 那就从头学asp,建议你找个简单的论坛代码看看。之前有名的bbs 老版本。
8、网页内点击注册按钮,弹出的对话框怎么制作的?
用onclick来调用这抄个方法:lhgdialog.opendlg( '内容页为html代码的窗口', '<div style="color:red;font-size:14px;">lhgdialog弹出窗口</div>', 400, 300, '', 'hcode' );
9、请问如何制作一个网页的登陆按钮
登陆按钮其实是一个提交表单的动作,因为要验证你的用户名和密码的,你要了解代码