大佬教程收集整理的这篇文章主要介绍了样式输入文本CSS,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
首先,我使用@L_696_0@和this小提琴一样的帮助.因为旧浏览器的问题我达成了不使用CSS3.
现在我编码如下:
input[type=text] { color: #979797; height: 28px; padding-left: 10px; text-decoration: none; BACkground-image: url('Pictures/Input-BG.png'); BACkground-repeat: repeat-x; } <input id="txtScrictAddress" value="Your adress (required)" type="text" />
Input-BG.png是这个图像:
结果是here.
>我是否正确切割输入图像?
>输入有一个左边框颜色,如何设置css中的输入样式,如图像?
input[type=text] { color: #979797; height: 28px; padding-left: 10px; text-decoration: none; BACkground-image: url('http://i.stack.imgur.com/pbpVI.png'); BACkground-repeat: repeat-x; border-radius: 5px; /*up to date browsers support this,but you can add prefixes if you want*/ border: 0; }
以上是大佬教程为你收集整理的样式输入文本CSS全部内容,希望文章能够帮你解决样式输入文本CSS所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。