CSS3中password的属性如何修改?

html-css017

CSS3中password的属性如何修改?,第1张

出于安全考虑,凡是类型为password的输入框,只要发生了页面跳转,再次返回当前页面时,即使是从浏览器缓存区读取的页面,此类输入框也会被自动清空的。否则的话危险是显而易见的:只要浏览器没有关闭,其他人在使用同一台电脑的时候就可以很容易用你的账号登录了,因为他只要回退页面到达你原来登陆的页面即可。

如果你非要这么做,那么可以这样:

可以把协议内容直接放在注册页面,如果内容较多可以一开始设为隐藏的,点击按钮或链接后再显示出来,这个用js很容易就能搞定;

如果非要新开页面来显示协议内容,可以采取新开窗口或新开标签页的方式,这样的话原注册页面就不会被关闭,也不会被刷新,那么原来输入的密码就还在;

如果非要在同一页面显示协议内容,然后再返回登录页面,那么就只能先把密码存入Cookie,返回后再读取出来放到密码框中,或者通过url传参方式把密码内容传到协议页面,返回时再把密码传回登录页面。需要提醒的是,这么做会造成很大的泄密风险,后果自负。

http://www.tudou.com/programs/view/_pof1IqCGjM/

动网论坛--风格界面模板总管理各部位设置分析2008-07-22 08:22

摘自http://blog.csdn.net/lanblue_173/archive/2007/03/23/1538783.aspx

当前模板CSS设置(StyleName):风格CSS样式管理

当前模板主模块(Main_Style)

┝Dvbbs.mainhtml(0):各类颜色

┝Dvbbs.mainhtml(1):网页标题、关键字、描述和网站图标等

┝Dvbbs.mainhtml(2):调用脚本,body相关属性设置

┝Dvbbs.mainhtml(3):顶部短信广告

┝Dvbbs.mainhtml(4):加入收藏、联系我们和论坛帮助等

┝Dvbbs.mainhtml(5):-

┝Dvbbs.mainhtml(6):顶部用户导航栏:已登录用户菜单

┝Dvbbs.mainhtml(7):顶部用户导航栏:客人菜单

┝Dvbbs.mainhtml(8):页面结束部分

┝Dvbbs.mainhtml(9):"风格"菜单内容

┝Dvbbs.mainhtml(10):"管理"菜单内容

┝Dvbbs.mainhtml(11):阳光会员相关设置

┝Dvbbs.mainhtml(12):背景音乐,收件箱等设置

┝Dvbbs.mainhtml(13):论坛操作成功信息

┝Dvbbs.mainhtml(14):操作错误提示部分

┝Dvbbs.mainhtml(15):验证码表单

┝Dvbbs.mainhtml(16):"道具中心"菜单

┝Dvbbs.mainhtml(17):"用户控制面板"、"状态"和"展区"菜单内容

┝Dvbbs.mainhtml(18):<!DOCTYPE HTML

┝Dvbbs.mainhtml(19):和Dvbbs.mainhtml(10)相同

┝Dvbbs.mainhtml(20):-

┝Dvbbs.mainhtml(21):和Dvbbs.mainhtml(16)相同

┝Dvbbs.mainhtml(22):-

┺Dvbbs.mainhtml(23):del

分页面模板(Style_Pic):注册头像管理设置

分页面模板(page_index)

┝template.html(0):index.asp页在信息

┝template.html(1):dispbbs.asp页面信息

┝template.html(2)://分页代码,参数:页码,记录总数,每页显示数,页数//控制列表关闭的代码

┝template.html(3):公告相关设置

┺template.html(4):del

分页面模板(page_dispbbs)

┝template.html(0):dispbbs.asp页面信息,包含一些函数

┝template.html(1):查看投票信息

┝template.html(2):树型目录部分-表格

┝template.html(3):树型目录部分-贴子信息

┝template.html(4):-

┺template.html(5):del

分页面模板(page_showerr)

┝template.html(0):操作错误信息

┝template.html(1):登录表单

┝template.html(2):-

┝template.html(3):-

┺template.html(4):del

分页面模板(page_login)

┝template.html(0):论坛登录部分主体

┝template.html(1):论坛通行证会员登录选项

┝template.html(2):登录成功

┝template.html(3):提交IP信息

┝template.html(4):时区时间表单

┝template.html(5):忘记密码对话框(普通会员)

┝template.html(6):忘记密码setup1(普通会员)

┝template.html(7):忘记密码setup2(普通会员)

┝template.html(8):忘记密码setup3(普通会员)

┝template.html(9):忘记密码错误信息

┝template.html(10):取回密码邮件内容

┝template.html(11):成功激活密码

┝template.html(12):阅读注册协议

┝template.html(13):注册资料填写部分

┝template.html(14):通行证会员注册成功提示

┝template.html(15):会员注册成功提示

┝template.html(16):用户检测情况

┝template.html(17):注册成功邮件

┝template.html(18):欢迎信

┝template.html(19):阳光会员同步信息表单

┝template.html(20):阳光会员同步信息成功

┝template.html(21):通行证会员快速注册

┝template.html(22):阳光会员快速注册成功

┝template.html(23):请输入验证码

┝template.html(24):请输入验证码

┺template.html(25):del

分页面模板(page_online)

┝template.html(0):在线信息

┺template.html(1):del

分页面模板(page_usermanager)

┝template.html(0):控制面板导航条公共部分

┝template.html(1):usermanager.asp##控制面板主体部分

┝template.html(2):usermanager.asp##控制面板短信列部分{$msglist}

┝template.html(3):usermanager.asp##控制面板上传文件列部分{$filelist}

┝template.html(4):usermanager.asp##控制面板新发帖列部分{$topiclist}

┝template.html(5):mymodify.asp##基本资料修改主体部分

┝template.html(6):mymodify.asp##基本资料修改-自定义头衔部分

┝template.html(7):mymodify.asp##基本资料修改-自定义头像部分

┝template.html(8):mymodify.asp##基本资料修改-自定义门派部分

┝template.html(9):modifyadd.asp##用户密码修改主体部分

┝template.html(10):modifyadd.asp##联系资料修改主体部分

┝template.html(11):messanger.asp##短信收发部分

┝template.html(12):usersms.asp##短信管理部分

┝template.html(13):friendlist.asp##编辑好友列表

┝template.html(14):friendlist.asp##FavName组别列表

┝template.html(15):friendlist.asp##Friend_List好友信息列表

┝template.html(16):friendlist.asp##公共分页

┝template.html(17):usersms.asp##收藏夹管理部分

┝template.html(18):messanger.asp##短信收发部分

┝template.html(19):smiley.asp##用户头像列表部分

┝template.html(20):魔法头像部分,在基本资料修改

┝template.html(21):-

┺template.html(22):del

分页面模板(page_fmanage)

┝template.html(0):前台管理部分页面

┝template.html(1):转移帖子选项

┝template.html(2):复制帖子选项

┝template.html(3):固顶操作选项

┝template.html(4):表单

┝template.html(5):跟贴管理

┝template.html(6):贴子信息

┝template.html(7):-

┝template.html(8):-

┺template.html(9):del

分页面模板(page_boardstat)

┝template.html(0):boardstat.asp##论坛状态导航条部分

┝template.html(1):boardstat.asp##论坛状态主体部分

┝template.html(2):boardstat.asp##论坛状态标题部分

┝template.html(3):boardstat.asp##论坛状态循环部分

┝template.html(4):boardstat.asp##论坛在线状态标题栏

┝template.html(5):boardstat.asp##论坛在线状态循环部分

┝template.html(6):boardstat.asp##onlinemain分页

┺template.html(7):del

分页面模板(page_admin)

┝template.html(0):管理员后台管理菜单

┝template.html(1):论坛管理后台CSS样式表

┺template.html(2):

分页面模板(page_paper_even_toplist)

┝template.html(0):小字报整页面

┝template.html(1):小字报操作

┝template.html(2):小字报循环部分

┝template.html(3):公共分页部分

┝template.html(4):浏览小字报

┝template.html(5):论坛日志整页面

┝template.html(6):日志无内容和循环部分

┝template.html(7):用户排行整页面

┝template.html(8):用户排行循环部分

┝template.html(9):用户搜索

┝template.html(10):smallpaper.asp 发布小字报页面

┝template.html(11):搜索

┺template.html(12):del

分页面模板(page_query)

┝template.html(0):

┝template.html(1):

┝template.html(2):

┝template.html(3):

┺template.html(4):

分页面模板(page_show)

┝template.html(0):show.asp##主体部分

┝template.html(1):show.asp##展区内容循环部分

┝template.html(2):show.asp##热门排行循环部分

┝template.html(3):show.asp##展区内容为空

┝template.html(4):show.asp##模板合集部分

┝template.html(5):show.asp##分页部分JS

┝template.html(6):show.asp##单个展区文件用户操作部分

┝template.html(7):myfile.asp##个人文件集主体部分

┝template.html(8):myfile.asp##个人文件集列表部分

┝template.html(9):myfile.asp##个人文件集空内容部分

┝template.html(10):myfile.asp##主体显示分页

┝template.html(11):myfile.asp##编辑文件页

┝template.html(12):myfile.asp##添加文件页

┝template.html(13):fileshow.asp##显示主体页面

┝template.html(14):fileshow.asp##发送贺卡页面

┝template.html(15):fileshow.asp##显示贺卡页面

┺template.html(16):del

分页面模板(page_dispuser)

┝template.html(0):dispuser.asp||用户资料显示页面--标题

┝template.html(1):dispuser.asp||用户资料显示页面--基本资料部分

┝template.html(2):dispuser.asp||用户资料显示页面--详细资料部分

┝template.html(3):dispuser.asp||用户资料显示页面--论坛属性部分

┝template.html(4):dispuser.asp||用户资料显示页面--最近活动部分

┝template.html(5):dispuser.asp||用户资料显示页面--快捷管理选项部分

┝template.html(6):魔法表情部分,用于资料浏览页面

┺template.html(7):del

分页面模板(page_help_permission)

┝template.html(0):版面权限浏览,主体Js部分

┺template.html(1):del

分页面模板(page_postjob)

┝template.html(0):report.asp##发送报告给版主页面

┝template.html(1):report.asp##发送报告版主列表

┝template.html(2):printpage.asp##帖子可打印页面

┝template.html(3):printpage.asp##{$bbslist}循环部分

┝template.html(4):一些样式

┝template.html(5):<!--备用-->

┝template.html(6):您的朋友给你发了贴子

┝template.html(7):sendpage.asp##发送本帖给朋友

┝template.html(8):announcements.asp##查看公告页面

┝template.html(9):announcements.asp##发布或编辑公告页面

┝template.html(10):announcements.asp##管理公告页面

┝template.html(11):announcements.asp##管理公告页面{$newslist}

┺template.html(12):del

分页面模板(page_post)

┝template.html(0):post.asp##发贴、回帖、投票、编辑整体页面,注意要和post.asp一起更新

┝template.html(1):post.asp##投票信息

┝template.html(2):post.asp##上传文件部分

┝template.html(3):斜体、粗体、下划线---发光字、阴影字、背景音乐

┝template.html(4):post.asp##回复贴隐含表单

┝template.html(5):post.asp##编辑贴隐含表单

┝template.html(6):post.asp##合集部分

┝template.html(7):post.asp##回帖帖子循环部分

┝template.html(8):post.asp##发贴成功页面

┝template.html(9):url

┝template.html(10):post.asp##邮件或短信回复正文

┝template.html(11):post.asp##Dvbbs多功能编辑器

┝template.html(12):post.asp##Dvbbs多功能编辑器HTML工具按钮

┝template.html(13):post.asp##Dvbbs多功能编辑器一个空的单元格

┝template.html(14):魔法表情部分,用于主题发表页面

┝template.html(15):

┺template.html(16):del

分页面模板(page_boardhelp)

┝template.html(0):论坛帮助模块

┝template.html(1)://

┝template.html(2):-

┝template.html(3):关于阳光会员的帮助

┝template.html(4):UBB帮助

┝template.html(5):魅力说明

┝template.html(6):-

┝template.html(7):用户发贴支持标签

┝template.html(8):用户签名支持标签

┺template.html(9):del

http://hi.baidu.com/sourceoflife/blog/item/d5833d01bf63a9087bec2ca9.html

网论坛风格界面模板总管理各部位设置分析(2007-05-26 21:20:49)

当前模板CSS设置(StyleName)-------------风格CSS样式管理

当前模板主模块(Main_Style) -------------论坛项部和底部、论坛宽度等

分页面模板(Style_Pic)----------论坛发贴表情、发贴心情、用户头像

分页面模板(page_index)------------论坛首页、分页(列表)等

分页面模板(page_dispbbs) -----------帖子内容页

分页面模板(page_showerr)-------------发帖、注册错误分析等

分页面模板(page_login)----------论坛登录、注册成功相关

分页面模板(page_online) ---------论坛在线统计

分页面模板(page_usermanager) -------------用户控制面板相关

分页面模板(page_fmanage)------------前台管理,如:移帖、删帖、固项等

分页面模板(page_boardstat)------------论坛状态导航条

分页面模板(page_admin) -------------后台管理

分页面模板(page_paper_even_toplist)--------------小字报、排行、日志

分页面模板(page_query)--------------论坛搜索

分页面模板(page_show) -------------个人展区等

分页面模板(page_dispuser) ------------用户资料管理相关

分页面模板(page_help_permission) ---------------版面权限浏览,主体Js部分

分页面模板(page_postjob)-------------发送报告给版主、帖子可打印页、公告等

分页面模板(page_post) -------------发贴、回帖、投票、编辑整体页面

分页面模板(page_boardhelp) ---------------帮助

注意:

①在这里,您可以新建和修改模板,可以编辑论坛语言包和风格,可以新建模板页面,操作时请按照相关页面提示完整填写表单信息。

②论坛当前正在使用的默认模板不能删除

③如果修改分模板页面名称或删除分模板页面请在关闭论坛之后操作,否则可能会影响论坛访问.

http://blog.sina.com.cn/s/blog_4a2183df010009zg.html

http://www.newhua.com/soft/37144.htm?from=ruanzai.net

有三个问题:1:©

为特殊编码,不被支持,在代码中改成

&-copy

即可(使用时请去掉

-

我加上-为了不让百度页面识别。)。

2:form

的运用

,在一个注册页面下,所提交的注册信息必须在同一个form里才有效。而你用了多个form,使得注册信息无法提交。

3:id为main标签缺少</div>,需补充。

以上问题我已帮你更正,希望对你有帮助:

<!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>

<meta

http-equiv="Content-Type"

content="text/html

charset=gb2312"

/>

<style

type="text/css">

body{

margin:0

padding:0}

#header{

width:645px

height:85px

margin:6px

30%

18px

22.3%}

#main{

width:645px

margin:0

30%

0

22.7%}

#header

#logo{

width:137px

background:url(images/logo-yy.gif)

no-repeat

left

top

height:46px}

#header

#logoarea{

background:#D9F0F0

width:504px

float:right

height:24px

margin:-26px

0

0

0

}

#header

#banner{

width:auto

height:40px}

#header

#sider{

float:right

background:#D9F0F0

margin:-26px

0

0

0

width:100px

height:24px}

#header

#logoarea

p{

font-weight:bold

font-size:14px

margin:4px

0

0

10px

}

#header

#sider

p{

float:right

text-decoration:underline

color:#0000CC

margin:4px

14px

0

0

font-size:14px}

#header

#banner

img{

float:right

margin:8px

9px

0

0}

#main

#container

p{

font-weight:bolder

font-size:12px}

#main

#container

form{

margin:-11px

0

0

0}

#main

#container

#1{

font-size:24px

color:#666666}

#main

#container

textarea{

font-size:12px

color:#666666

width:480px

height:110px}

#footer{

margin:20px

0

0

-10px

background:#E6E6E6

height:20px

width:650px

float:left

text-align:center}

#footer

p{

font-size:14px

font::Geneva,

Arial,

Helvetica,

sans-serif

color:#8B77D5

font-weight:300

font-weight:400

margin:0

auto

5px

auto}

.clear{clear:both}

</style>

<title>百度用户注册</title>

</head>

<body>

<div

id="header">

<div

id="logo">

</div>

<div

id="logoarea">

<p>用户注册</p>

</div>

<div

id="sider">

<a

href="#"><p>帮助</p></a>

</div>

<div

id="banner">

<img

src="images/未命名.jpg"/>

</div>

</div>

<div

id="main">

<div

id="container">

<p

id="2">用户名:</p>

<form><input

type="text"

/>

<p

id="1">不超过7个汉字,或14个字节(数字,字母和下划线)</p>

<span><p

id="2">密码:</p>

<input

type="text"

/><p>确认密码:</p><input

type="text"

/></span>

<p

id="1">密码长度6~14位,字母区分大小写。<a

href="#">密码过于简单的危害</a></p><br

/>

<p

id="2">性别:</p>

<input

type="radio"

name="sex"

value="男"

/>

<input

type="radio"

name="sex"

value="女"

/>

<p

id="2">电子邮箱地址:</p>

<input

type="text"

/>

<p

id="1">请输入有效的邮件地址,当密码遗失时凭此领取</p>

<p>输入图中字符:</p>

<input

type="text"

/><img

src="images/untitled.bmp"

/><a

href="#">看不清?</a>

<br

/>

<input

type="submit"

value="同意以下协议并提交"

/>

</form><br

/><br

/>

</div></div>

<div

id="footer"><p>

©

2010

Baidu</p></div>

</body>

</html>