Witam, próbuję dolączyć do menu formularz wyszukiwarki. Otóż pole input zjeżdża w dół zamiast znajdować się w jednej lini z menu
<!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"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> #menu {
width:1100px;
height:45px;
}
#logo {
margin-left:5px;
margin-right:5px;
font-size:36px;
}
textarea {
resize:none;
width:120px;
height:15px;
}
ul, ul li {
position:relative;
display: block;
list-style: none;
margin: 5px;
padding: 0;
font-family:"Century Gothic";
font-size:20px;
vertical-align:middle;
}
ul li {
display: inline;
white-space: nowrap;
}
<script language="javascript" type="text/javascript">
function send(event) {
event = (event)?event:((window.event)?event:null);
if (event.keyCode==13) document.formularz.submit();
}
<div name="menu" id="menu">