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、請問如何製作一個網頁的登陸按鈕
登陸按鈕其實是一個提交表單的動作,因為要驗證你的用戶名和密碼的,你要了解代碼