정렬은 해결 됐지만, 로그인창이 2줄이 됩니다 ; 정보
정렬은 해결 됐지만, 로그인창이 2줄이 됩니다 ;
본문
첨부 스크린샷은 제가 작업중인 사이트의 상단 부분을 캡쳐한 스크린샷입니다
http://yusia.pe.kr/gb4 구요.
-
<!-- 검색 시작 -->
<table width="<?=$table_width?>" cellspacing="0" cellpadding="0" style="margin:11px 0px 8px 0px">
<tr>
<td align="left">
<?=outlogin("outlogin_tu"); // 외부 로그인 ?>
</td>
<td width="300" border="0" cellspacing="0" cellpadding="0">
<form name="fsearchbox" method="get" action="javascript:fsearchbox_submit(document.fsearchbox);">
<input type="hidden" name="sfl" value="wr_subject">
<input type="hidden" name="sop" value="and">
</td>
<td width="60" align="left"><img src="<?=$g4[path]?>/scbar/img/search_fr.gif" width="56" height="19" border=0 align=absmiddle></td>
<td align="center"><input name="stx" maxlengt=20 onblur="this.style.background='#ffffff'"
style="BORDER-RIGHT: rgb(204,204,204) 1px solid; BORDER-TOP: rgb(204,204,204) 1px solid; BACKGROUND-IMAGE: url(http://dmbuser.com/search/images/sc_bg.gif); BORDER-LEFT: rgb(204,204,204) 1px solid; WIDTH: 190px; BORDER-BOTTOM: rgb(204,204,204) 1px solid; HEIGHT: 19px"
onfocus="this.style.background='#ffffff'" size="20" maxlength="20"></td>
<td width="51" align="right"> <input type="image" src="<?=$g4[path]?>/scbar/img/scin.gif" width="47" height="21" border="0"></td>
</tr>
</form>
</table>
<script language="JavaScript">
function fsearchbox_submit(f)
{
if (f.stx.value == '')
{
alert("검색어를 입력하세요.");
f.stx.select();
f.stx.focus();
return;
}
/*
// 검색에 많은 부하가 걸리는 경우 이 주석을 제거하세요.
var cnt = 0;
for (var i=0; i<f.stx.value.length; i++)
{
if (f.stx.value.charAt(i) == ' ')
cnt++;
}
if (cnt > 1)
{
alert("빠른 검색을 위하여 검색어에 공백은 한개만 입력할 수 있습니다.");
f.stx.select();
f.stx.focus();
return;
}
*/
f.action = "<?=$g4[bbs_path]?>/search.php";
f.submit();
}
</script>
<hr width="<?=$table_width?>" color="#0191cd" size="1">
<!-- 검색 끝 -->
-
코드는 이렇게 됩니다.
왜 로그인창이 2줄로 보이는거죠?
http://yusia.pe.kr/gb4 구요.
-
<!-- 검색 시작 -->
<table width="<?=$table_width?>" cellspacing="0" cellpadding="0" style="margin:11px 0px 8px 0px">
<tr>
<td align="left">
<?=outlogin("outlogin_tu"); // 외부 로그인 ?>
</td>
<td width="300" border="0" cellspacing="0" cellpadding="0">
<form name="fsearchbox" method="get" action="javascript:fsearchbox_submit(document.fsearchbox);">
<input type="hidden" name="sfl" value="wr_subject">
<input type="hidden" name="sop" value="and">
</td>
<td width="60" align="left"><img src="<?=$g4[path]?>/scbar/img/search_fr.gif" width="56" height="19" border=0 align=absmiddle></td>
<td align="center"><input name="stx" maxlengt=20 onblur="this.style.background='#ffffff'"
style="BORDER-RIGHT: rgb(204,204,204) 1px solid; BORDER-TOP: rgb(204,204,204) 1px solid; BACKGROUND-IMAGE: url(http://dmbuser.com/search/images/sc_bg.gif); BORDER-LEFT: rgb(204,204,204) 1px solid; WIDTH: 190px; BORDER-BOTTOM: rgb(204,204,204) 1px solid; HEIGHT: 19px"
onfocus="this.style.background='#ffffff'" size="20" maxlength="20"></td>
<td width="51" align="right"> <input type="image" src="<?=$g4[path]?>/scbar/img/scin.gif" width="47" height="21" border="0"></td>
</tr>
</form>
</table>
<script language="JavaScript">
function fsearchbox_submit(f)
{
if (f.stx.value == '')
{
alert("검색어를 입력하세요.");
f.stx.select();
f.stx.focus();
return;
}
/*
// 검색에 많은 부하가 걸리는 경우 이 주석을 제거하세요.
var cnt = 0;
for (var i=0; i<f.stx.value.length; i++)
{
if (f.stx.value.charAt(i) == ' ')
cnt++;
}
if (cnt > 1)
{
alert("빠른 검색을 위하여 검색어에 공백은 한개만 입력할 수 있습니다.");
f.stx.select();
f.stx.focus();
return;
}
*/
f.action = "<?=$g4[bbs_path]?>/search.php";
f.submit();
}
</script>
<hr width="<?=$table_width?>" color="#0191cd" size="1">
<!-- 검색 끝 -->
-
코드는 이렇게 됩니다.
왜 로그인창이 2줄로 보이는거죠?
댓글 전체
<table width="<?=$table_width?>" cellspacing="0" cellpadding="0" style="margin:11px 0px 8px 0px">
<tr>
<td align="left" width="100%">
<tr>
<td align="left" width="100%">
감사합니다..