在我的主网页,我有 ● 页面的标志●输入框输入关键字串 ●一个按钮,提交关键词如何将图像和输入框放在HTML中的同一行上?
但是,输入框和提交按钮都低于我的标志。 我想把它们放在与Bing相同的线上。
@get('/')
def search():
<img src="./images/logo.png" width=200 height=300 style="display:inline;">
<form action="/result" method="post"> Hit Please:<input name="keywords"type="text" />
<input value="GO" type="submit" />
</form>
我试着把style =“display:inline;”但它似乎没有帮助
尝试< input id =“test1”name =“test1”type =“image”src =“images/f.jpg”value =“myValue”alt =“”/> – SamDeveloper 2014-10-11 17:17:38