HTML5注册页面示例代码_html5教程技巧
程序员文章站
2022-05-10 20:19:44
...
复制代码
代码如下:复制代码
代码如下:body {
background-image: url("../images/bg.jpg");
text-align: center;
background-repeat: repeat-x;
background-position: 0px 0px ;
background-size:
}
.table {
border: 1px solid #90BFFF;
width:810px;
}
tr {
font-family: 微软雅黑;
font-weight:800;
color: #448EF3;
}
input{
border: 1px solid #448EF3;
color: #448EF3;
font-weight:bold;
font-family: "微软雅黑";
height: 35px;
line-height: 30px;
border-radius:5px;
}
.submit {
width: 150px;
height: 40px;
cursor :hand;
font-size: 20px;
color: #ffffff;
background-color: #448EF3;
border: 0px;
}
.thead {
height: 40px; background : #90BFFF;
font-family: "微软雅黑";
font-size: 30px;
font-weight: 700;
color: #ffffff;
background: #90BFFF;
}
#3{
margin-bottom: 100px;
}
复制代码
代码如下:function ChkAllClick(sonName, cbAllId){
var arrSon = document.getElementsByName(sonName);
var cbAll = document.getElementById(cbAllId);
var tempState=cbAll.checked;
for(i=0;i
arrSon[i].click();
}
}
function ChkSonClick(sonName, cbAllId) {
var arrSon = document.getElementsByName(sonName);
var cbAll = document.getElementById(cbAllId);
for(var i=0; i
cbAll.checked = false;
return;
}
}
cbAll.checked = true;
}
function ChkOppClick(sonName){
var arrSon = document.getElementsByName(sonName);
for(i=0;i
}
}
function changeBgColor(btn){
var btn = document.getElementById(btn);
btn.style.backgroundColor = "#90BFFF"
}
function recoverBgColor(btn){
var btn = document.getElementById(btn);
btn.style.backgroundColor = "#448EF3"
}
------------------------------------------------
上面文件的顺序是:register.html register.css checkbox..js
-------------------------------------------------
背景图片:bg.jpg
推荐阅读
-
HTML5注册页面示例代码
-
html5中sharedWorker实现多页面通信的示例代码
-
使用非html5实现js板连连看游戏示例代码_javascript技巧
-
非html5实现js版弹球游戏示例代码_javascript技巧
-
Html5百叶窗效果的示例代码_html5教程技巧
-
使用非html5实现js板连连看游戏示例代码_javascript技巧
-
简单html5代码获取地理位置_html5教程技巧
-
HTML5的标签的代码的简单介绍 HTML5标签的简介_html5教程技巧
-
使用css创建三角形 使用CSS3创建3d四面体原理及代码(html5实践)_html5教程技巧
-
简单html5代码获取地理位置_html5教程技巧