English 中文(简体)
1. 用四舍五入的玉米自动化投入箱?
原标题:Auto-resize input box with rounded corners?

I created a text-box that looks like the image below, however I want it to resize as the user types like here: http://jsbin.com/ahaxe

“enterography

我认为,把搜索图像作为背景,使之符合权利,这不成问题,但我不知道如何在不使用图像的情况下进行圆顶。

感谢大家:

最佳回答
input {
  -webkit-border-radius: 12px; /* Saf3-4, iOS 1-3.2, Android <e;1.6 */
     -moz-border-radius: 12px; /* FF1-3.6 */
          border-radius: 12px; /* Opera 10.5, IE9, Saf5, Chrome, FF4, iOS 4, Android 2.1+ */
}
问题回答

its posible but its not work in IE you can use css styles for this. for example: -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px;





相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签