나는 이것이 아마도 매우 간단하다는 것을 알고 있지만 어려움을 겪고있는 것 같습니다! 그러나 기본적으로 <header>
내 로고를 왼쪽에두고 중간에 검색 엔진 역할을하는 양식 (모두 같은 줄에 있음)을 원합니다. 여기에 내 현재 코드가 있습니다.
<header>
<div class="image"> <img class="logo" src="Logo.jpg"> </div>
<div class="form">
<form id="WhatsHappening" action = "index.php" method="post">
<input type="text" class="input" name="location" id="location">
<input type="submit" value="Submit" hidden="true">
</form>
</div>
</header>
그리고 CSS :
.image{
float:left;
}
.form{
float:left;
}
img{
width: 50px;
height: 50px;
}
#WhatsHappening input[type="text"] {
width: 200px;
}
#WhatsHappening {
text-align:center;
}
어떤 도움이라도 정말 감사하겠습니다! 미리 감사드립니다!
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다