最新文章專題視頻專題問答1問答10問答100問答1000問答2000關(guān)鍵字專題1關(guān)鍵字專題50關(guān)鍵字專題500關(guān)鍵字專題1500TAG最新視頻文章推薦1 推薦3 推薦5 推薦7 推薦9 推薦11 推薦13 推薦15 推薦17 推薦19 推薦21 推薦23 推薦25 推薦27 推薦29 推薦31 推薦33 推薦35 推薦37視頻文章20視頻文章30視頻文章40視頻文章50視頻文章60 視頻文章70視頻文章80視頻文章90視頻文章100視頻文章120視頻文章140 視頻2關(guān)鍵字專題關(guān)鍵字專題tag2tag3文章專題文章專題2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章專題3
問答文章1 問答文章501 問答文章1001 問答文章1501 問答文章2001 問答文章2501 問答文章3001 問答文章3501 問答文章4001 問答文章4501 問答文章5001 問答文章5501 問答文章6001 問答文章6501 問答文章7001 問答文章7501 問答文章8001 問答文章8501 問答文章9001 問答文章9501
當(dāng)前位置: 首頁 - 科技 - 知識百科 - 正文

請問這個布局應(yīng)該怎么改_html/css_WEB-ITnose

來源:懂視網(wǎng) 責(zé)編:小采 時間:2020-11-27 15:47:26
文檔

請問這個布局應(yīng)該怎么改_html/css_WEB-ITnose

請問這個布局應(yīng)該怎么改_html/css_WEB-ITnose:現(xiàn)在的效果是這樣的,用戶名和密碼的div在輸入框的右邊,應(yīng)該放在輸入框的左邊,請問應(yīng)該怎么調(diào)整。 html,body,p,ul,li,h1,input,form { margin: 0; padding: 0;}body,input { font: 12px Verdana,Arial,He
推薦度:
導(dǎo)讀請問這個布局應(yīng)該怎么改_html/css_WEB-ITnose:現(xiàn)在的效果是這樣的,用戶名和密碼的div在輸入框的右邊,應(yīng)該放在輸入框的左邊,請問應(yīng)該怎么調(diào)整。 html,body,p,ul,li,h1,input,form { margin: 0; padding: 0;}body,input { font: 12px Verdana,Arial,He

現(xiàn)在的效果是這樣的,“用戶名”和“密碼”的div在輸入框的右邊,應(yīng)該放在輸入框的左邊,請問應(yīng)該怎么調(diào)整。
 


html,body,p,ul,li,h1,input,form {	margin: 0;	padding: 0;}body,input {	font: 12px Verdana,Arial,Helvetica;}body {	background: white;}.container {	width: 800px;	margin: 20px auto 0;	min-height: 500px;}.mask {	position: absolute;	z-index: 10;	left: 0;	top: 0;	width: 100%;	height: 100%;	background: #FFFFFF;	opacity: 0.6;	filter: alpha(opacity=60);}.login_container {	float: right;}.login_box {	position: relative;	z-index: 11;	width: 305px;	margin-right: 4px;	padding: 20px;	border: 1px solid #ACC3E4;	background: #EDF5FF;	-moz-box-shadow: 2px 2px 3px rgba(0,0,0,0.15);	-webkit-box-shadow: 2px 2px 3px rgba(0,0,0,0.15);	border-radius: 5px;	-webkit-border-radius: 5px;}.login_box h1 {	color: #274571;	font-size: 16px;}.login_box .login_operate {	padding: 12px 0 20px;}.login_operate .username,.login_operate .password,.login_operate .about_password,.login_operate .login_submit {	position: relative;	width: 305px;	padding: 5px 0;	z-index: 2\9;}.login_operate .login_submit .login_cancel {	margin-left: 12px;}.login_operate .username {	height: 38px;	position: relative;	z-index: 10\9;}.login_operate .about_password {	padding: 4px 0;	z-index: 1\9;}.login_operate .vfcodeinput {	height: 55px;	padding-bottom: 3px;}.login_box .txt {	position: relative;	width: 295px;	height: 34px;	line-height: 34px;	padding: 0 4px;	color: #494949;	border: 1px solid #9DADC5;	font-size: 20px;	background: transparent;	outline: none;	border-radius: 3px;	-webkit-border-radius: 3px;	-webkit-transition: -webkit-box-shadow .1s linear;	-moz-transition: box-shadow .1s linear;}.login_box .alias {	width: 174px;	padding-right: 125px;}.login_domain {	position: absolute;	top: 6px;	*top: 7px;	right: 1px;	width: 112px;	height: 31px;	line-height: 32px;	padding: 0 0 3px 8px;	border: none;	border-left: 1px solid #D5DEEC;	color: #4D4D4C;	font-size: 18px;	z-index: 1;	background: url(images/login_ico_selector.gif) no-repeat scroll 105px -25px #FBFBFB;	border-radius: 0 3px 3px 0;	-webkit-border-radius: 0 3px 3px 0;	box-shadow: -1px 0 2px rgba(0,0,0,0.09);}.active .login_domain,.login_domain: hover {	background-position: 105px 11px;	background-color: #f7fafe;}.login_box .txt_default,.login_box .txt_dim {	position: absolute;	top: 6px;	left: 1px;	width: 289px;	height: 34px;	padding: 0 7px;	line-height: 34px;	font-size: 14px;	color: #8B9096;	background: url(images/login104474.png) no-repeat scroll -1px -97px white;	border-radius: 3px;	-webkit-border-radius: 3px;}.login_operate .username_immutable {	padding: 0;	color: #494949;	font-weight: bold;	background: none;	font-size: 16px;}.login_box .txt_dim {	color: #DCDDDF;}.login_box .txt: focus {	border: 1px solid #9BBBDA;	box-shadow: 0 0 5px rgba(110,189,222,0.5);	-webkit-box-shadow: 0 0 5px rgba(110,189,222,0.5);}.login_box .captips {	position: absolute;	top: 43px;	left: 0;	z-index: 20;	padding: 1px;	border: 1px solid;	border-color: #dbc492 #b49366 #b49366 #dbc492;	background: #fdf6aa;}.login_box .vfcodeinput input,.login_box .vfcodeinput label {	width: 148px;	height: 34px;	line-height: 34px;	letter-spacing: 2px;	font-size: 26px;}.login_box .vfcodeinput label {	font-size: 18px;	line-height: 34px;	width: 142px;}.login_box .verifytip,.login_box .vfcode_change {	padding: 10px 0 3px;}.login_operate .login_submit {	clear: both;}.login_box .login_btn_wrapper {	display: inline-block;	width: 82px;	height: 30px;	height: 28px\9;	margin-top: 9px;	border: 1px solid;	border-color: #6B9F11 #54850A #386601;	background: url(images/login104474.png) repeat-x #67A00D;	background-position: 0 -1px\9;	-webkit-transition: -webkit-box-shadow .1s linear;	-moz-transition: box-shadow .1s linear;	border-radius: 3px;	-webkit-border-radius: 3px;}.login_box .login_btn_wrapper_disabled {	display: inline-block;	width: 82px;	height: 30px;	height: 28px\9;	margin-top: 9px;	border: 1px solid;	border-color: #6B9F11 #54850A #386601;	background: url(images/login104474.png) repeat-x #67A00D;	background-position: 0 -1px\9;	border-radius: 3px;	-webkit-border-radius: 3px;	opacity: 0.7;	filter: alpha(opacity=70);}.mail_intro {	width: 400px;	margin-left: 16px;}.mail_intro h1 {	display: none;}.mail_intro ul {	line-height: 20px;}.mail_intro ul li {	margin-left: 16px;	list-style: disc outside;}


回復(fù)討論(解決方案)

html,body,p,ul,li,h1,input,form {	margin: 0;	padding: 0;}body,input {	font: 12px Verdana,Arial,Helvetica;}body {	background: white;}.container {	width: 800px;	margin: 20px auto 0;	min-height: 500px;}.mask {	position: absolute;	z-index: 10;	left: 0;	top: 0;	width: 100%;	height: 100%;	background: #FFFFFF;	opacity: 0.6;	filter: alpha(opacity=60);}.login_container {	float: right;}.login_box {	position: relative;	z-index: 11;	width: 305px;	margin-right: 4px;	padding: 20px;	border: 1px solid #ACC3E4;	background: #EDF5FF;	-moz-box-shadow: 2px 2px 3px rgba(0,0,0,0.15);	-webkit-box-shadow: 2px 2px 3px rgba(0,0,0,0.15);	border-radius: 5px;	-webkit-border-radius: 5px;}.login_box h1 {	color: #274571;	font-size: 16px;}.login_box .login_operate {	padding: 12px 0 20px;}.login_operate .username,.login_operate .password,.login_operate .about_password,.login_operate .login_submit {	position: relative;	width: 305px;	padding: 5px 0;	z-index: 2\9;}.login_operate .login_submit .login_cancel {	margin-left: 12px;}.login_operate .username {	height: 38px;	position: relative;	z-index: 10\9;}.login_operate .about_password {	padding: 4px 0;	z-index: 1\9;}.login_operate .vfcodeinput {	height: 55px;	padding-bottom: 3px;}.login_box .txt {	position: relative;	width: 295px;	height: 34px;	line-height: 34px;	padding: 0 4px;	color: #494949;	border: 1px solid #9DADC5;	font-size: 20px;	background: transparent;	outline: none;	border-radius: 3px;	-webkit-border-radius: 3px;	-webkit-transition: -webkit-box-shadow .1s linear;	-moz-transition: box-shadow .1s linear;	float:right;}.login_box .alias {	width: 174px;}.login_domain {	position: absolute;	top: 6px;	*top: 7px;	left:0px;	width: 112px;	height: 31px;	line-height: 32px;	padding: 0 0 3px 8px;	border: none;	border-left: 1px solid #D5DEEC;	color: #4D4D4C;	font-size: 18px;	z-index: 1;	background: url(images/login_ico_selector.gif) no-repeat scroll 105px -25px #FBFBFB;	border-radius: 0 3px 3px 0;	-webkit-border-radius: 0 3px 3px 0;	box-shadow: -1px 0 2px rgba(0,0,0,0.09);}.active .login_domain,.login_domain: hover {	background-position: 105px 11px;	background-color: #f7fafe;}.login_box .txt_default,.login_box .txt_dim {	position: absolute;	top: 6px;	left: 1px;	width: 289px;	height: 34px;	padding: 0 7px;	line-height: 34px;	font-size: 14px;	color: #8B9096;	background: url(images/login104474.png) no-repeat scroll -1px -97px white;	border-radius: 3px;	-webkit-border-radius: 3px;}.login_operate .username_immutable {	padding: 0;	color: #494949;	font-weight: bold;	background: none;	font-size: 16px;}.login_box .txt_dim {	color: #DCDDDF;}.login_box .txt: focus {	border: 1px solid #9BBBDA;	box-shadow: 0 0 5px rgba(110,189,222,0.5);	-webkit-box-shadow: 0 0 5px rgba(110,189,222,0.5);}.login_box .captips {	position: absolute;	top: 43px;	left: 0;	z-index: 20;	padding: 1px;	border: 1px solid;	border-color: #dbc492 #b49366 #b49366 #dbc492;	background: #fdf6aa;}.login_box .vfcodeinput input,.login_box .vfcodeinput label {	width: 148px;	height: 34px;	line-height: 34px;	letter-spacing: 2px;	font-size: 26px;}.login_box .vfcodeinput label {	font-size: 18px;	line-height: 34px;	width: 142px;}.login_box .verifytip,.login_box .vfcode_change {	padding: 10px 0 3px;}.login_operate .login_submit {	clear: both;}.login_box .login_btn_wrapper {	display: inline-block;	width: 82px;	height: 30px;	height: 28px\9;	margin-top: 9px;	border: 1px solid;	border-color: #6B9F11 #54850A #386601;	background: url(images/login104474.png) repeat-x #67A00D;	background-position: 0 -1px\9;	-webkit-transition: -webkit-box-shadow .1s linear;	-moz-transition: box-shadow .1s linear;	border-radius: 3px;	-webkit-border-radius: 3px;}.login_box .login_btn_wrapper_disabled {	display: inline-block;	width: 82px;	height: 30px;	height: 28px\9;	margin-top: 9px;	border: 1px solid;	border-color: #6B9F11 #54850A #386601;	background: url(images/login104474.png) repeat-x #67A00D;	background-position: 0 -1px\9;	border-radius: 3px;	-webkit-border-radius: 3px;	opacity: 0.7;	filter: alpha(opacity=70);}.mail_intro {	width: 400px;	margin-left: 16px;}.mail_intro h1 {	display: none;}.mail_intro ul {	line-height: 20px;}.mail_intro ul li {	margin-left: 16px;	list-style: disc outside;}

CSS code?1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939……


成這樣的了,原來有框的,現(xiàn)在沒有了


注意下高跟寬 很容易修改的 。

改.login_domain 的border

border: 1px solid #9DADC5;

加個display:block;然后浮動

聲明:本網(wǎng)頁內(nèi)容旨在傳播知識,若有侵權(quán)等問題請及時與本網(wǎng)聯(lián)系,我們將在第一時間刪除處理。TEL:177 7030 7066 E-MAIL:11247931@qq.com

文檔

請問這個布局應(yīng)該怎么改_html/css_WEB-ITnose

請問這個布局應(yīng)該怎么改_html/css_WEB-ITnose:現(xiàn)在的效果是這樣的,用戶名和密碼的div在輸入框的右邊,應(yīng)該放在輸入框的左邊,請問應(yīng)該怎么調(diào)整。 html,body,p,ul,li,h1,input,form { margin: 0; padding: 0;}body,input { font: 12px Verdana,Arial,He
推薦度:
標(biāo)簽: html 布局 該怎
  • 熱門焦點

最新推薦

猜你喜歡

熱門推薦

專題
Top