Php 搜索结果打破了引导中的导航栏
我正在尝试使用ajax和php在搜索框中显示结果,一切正常,但在显示结果时出现了问题,它只是破坏了导航栏Php 搜索结果打破了引导中的导航栏,php,html,css,ajax,twitter-bootstrap,Php,Html,Css,Ajax,Twitter Bootstrap,我正在尝试使用ajax和php在搜索框中显示结果,一切正常,但在显示结果时出现了问题,它只是破坏了导航栏 这是导航条形码 切换导航 /*代码简化*/ 有人能帮助我如何显示google的结果吗 可能是我错过了一些东西,我还在学习。所以好吧,我努力尝试谷歌,并得到一个答案 #livesearch { position: absolute; width: auto; background: white; border-bottom-left-radi
这是导航条形码
切换导航
/*代码简化*/
有人能帮助我如何显示google的结果吗可能是我错过了一些东西,我还在学习。所以好吧,我努力尝试谷歌,并得到一个答案
#livesearch
{
position: absolute;
width: auto;
background: white;
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
max-height: 200px;
overflow-y: auto;
border: 1px solid gray;
/*This is relative to the navbar now*/
left: 0;
right: 0;
top: 40px;
}
这有助于我解决这个问题
#livesearch
{
position: absolute;
width: auto;
background: white;
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
max-height: 200px;
overflow-y: auto;
border: 1px solid gray;
/*This is relative to the navbar now*/
left: 0;
right: 0;
top: 40px;
}