📜  搜索框内的搜索按钮 - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:16.654000             🧑  作者: Mango

代码示例1




#q, #b { 
   margin: 0 
}
#q { 
   padding: 5px; 
   font-size: 2em; 
   line-height: 30px 
}
#b { 
   /* image replacement */
   text-indent: -99999px; 
   width: 30px; 
   height: 30px; 
   display: block;
   background: gray url(button.png) 0 0 no-repeat;

   /* placing next to input using float or absolute positioning omitted ... */
}