2013-03-24 2 views
-3

로그인 양식을 Facebook의 것과 같게 만들고 싶지만 머리글에서 거의 벗어나서 렌더링됩니다. 나는 페이스 북이 가지고있는 것과 같이 중간에 그것을 원한다. 여기 로그인 양식이 정확한 위치에 렌더링되지 않습니다.

<!DOCTYPE html> 
<html lang="en" id="morethan"><head> 
<link rel="stylesheet" href="stylesheet/5uV6fe9qPff.css" type="text/css"> 
</head> 
<body class="home"> 
<div id="wrapper"> 
<div class="loggedout_menubar_container"> 
<div class="cleaarrfix loggedout_menubar"> 
<a class="lfloat" href="/" title="Go to Morefun Home"><i class="morefun_logo img sp_6jxgq1 sx_df432d"><u>Morefun logo</u></i></a> 
<div class="menu_login_container rfloat"> 
<form id="" action="" method="post" onsubmit=""> 
<input type="hidden" name="lsd" value="AVrMo5Pe" autocomplete="off"> 
<table cellspacing="0"> 
<tbody> 
<tr> 
<td class="html7magic"><label for="email">Email or Phone</label></td> 
<td class="html7magic"><label for="pass">Password</label></td> 
</tr> 
<tr> 
<td> 
<input type="text" class="inputtext" name="email" id="email" value="" tabindex="1" placeholder="Email or Phone"></td> 
<td><input type="password" class="inputtext" name="pass" id="pass" tabindex="2" placeholder="Password"></td> 
<td><label class="uiButton uiButtonConfirm" id="loginbutton" for="u_0_4"><input value="Log in" tabindex="4" type="submit" id="u_0_4"></label></td> 
</tr> 
<tr> 
<td class="login_form_label_field"> 
<div> 
<div class="uiInputLabel clearfix"> 
<input id="persist_box" type="checkbox" name="persistent" value="1" tabindex="3" class="uiInputLabelCheckbox"> 
<label for="persist_box">Keep me logged in</label> 
</div> 
<input type="hidden" name="default_persistent" value="0"> 
</div> 
</td> 
</tr> 
</tbody> 
</table> 
<input type="hidden" autocomplete="off" name="timezone" value="0" id="u_0_3"> 
<input type="hidden" name="lgnrnd" value="110619_A5vh"> 
<input type="hidden" id="lgnjs" name="lgnjs" value="1364148375"><input type="hidden" autocomplete="off" id="locale" name="locale" value="en_GB"> 
</form> 
</div> 
</div> 
</div> 
</div> 
</body> 
</html> 

내가 당신이 요구하는 것을 이해할 수 있다면, 더 큰 로그인 양식이있는 줄을 어떻게 만드는 것입니다 CSS 코드

body { 
background: url("http://www.sayhellothere.com/images/bg-wrapper.jpg"); 
color: #c4d6e4; 
line-height: 1; 
margin: 0; 
padding: 0; 
text-align: left; 
direction: ltr; 
unicode-bidi: embed; 
} 
.loggedout_menubar_container { 
background-color: rgba(0,0,0,0.1); 
border: 1px solid #556166; 
-webkit-box-shadow: 0,0,2px,0,#000; 
box-shadow: 0,0,2px,0,#000; 
background: url("http://www.sayhellothere.com/images/bg-home.jpg") repeat-x; 
height: 82px; 
min-width: 980px; 
} 
.loggedout_menubar { 
margin: 0 auto; 
padding-top: 13px; 
width: 980px; 
} 
.lfloat { 
float: left; 
} 
a { 
color: #3b5998; 
cursor: pointer; 
text-decoration: none; 
} 
.loggedout_menubar .morefub_logo { 
margin-top: 17px; 
} 
.sx_df432d { 
width: 170px; 
height: 36px; 
background-position: 0 0; 
} 
.sp_6jxgq1 { 
background-image:url('images/logo.png'); 
background-size: auto; 
background-repeat: no-repeat; 
display: inline-block; 
height: 9px; 
width: 9px; 
} 
i.img u { 
position: absolute; 
top: -9999999px; 
} 
.rfloat { 
float: right; 
} 
form { 
margin: 0; 
padding: 0; 
} 
table { 
word-wrap: normal; 
} 
.menu_login_container table tr td { 
padding: 0 0 0 14px; 
} 
td, td.label { 
text-align: left; 
} 
.menu_login_container .html7magic label { 
color: #9fafb8; 
font-size: 14px; 
display: block; 
margin: 0 0 6px; 
font-weight: bold; 
text-shadow: 0px -1px #000; 
padding-left: 1px; 
} 
.menu_login_container .inputtext, .menu_login_container .inputpassword { 
width: 138px; 
padding: 7px 5px; 
background: url("http://www.sayhellothere.com/images/bg-login.png") no-repeat 0 -95px; 
overflow: hidden; 
margin: 0; 
} 
.inputtext, .inputpassword { 
float: left; 
margin: 0; 
padding: 0; 
width: 138px; 
border: 0; 
background: none; 
color: #fff; 
font-size: 14px; 
line-height: 17px; 
outline: none!important; 
} 
.uiButtonText, .uiButton input { 
float:right; 
padding:1px 0 2px; 
margin:0; 
width:71px; 
height:30px; 
cursor: pointer; 
font-size: 14px; 
-webkit-border-radius: 4px; 
border-radius: 4px; 
background-color: #eaeaea; 
background-image: -webkit-linear-gradient(top,#eaeaea,#a8a8a8); 
display: inline-block; 
font-family: helvetica,arial,sans-serif; 
font-weight: bold; 
color: #515151; 
border: 1px solid #333; 
text-shadow: 0 1px 0 rgba(255,255,255,0.5); 
} 
.uiInputLabel label { 
display: inline; 
font-size: 12px; 
font-weight: normal; 
vertical-align: -1px; 
color: #9fafb8; 
margin: 0 0 6px; 
text-shadow: 0px -1px #000; 
} 
+1

스택 오버플로는 코드를 덤프하고 "나를 위해 해결"이라고 말하는 곳이 아닙니다. 특정 문제가 발생하여 귀하가 시도한 것을 보여 주면 도움을 드리 겠지만 친절하게도 "나를 위해 해결하십시오"라고 대답하지는 않습니다. – icktoofay

+0

죄송합니다. 좋은 영어를 가지고 있지 않습니다. – Connor

+0

안녕하십니까. 좋은 질문이지만 일반적인 질문을 볼 때 영어가 필요하지 않습니다. – DACrosby

답변

0

입니까?

.loggedout_menubar_container CSS 선언의 높이 매개 변수를 더 크게 업데이트해야 양식이 더 잘 맞을 수 있습니다.

+0

Marryat :) – Connor

+0

그것은 2 분 안에 답변을 수락 할 수 있다고 말합니다 일 :) – Connor

관련 문제