当前位置: 代码迷 >> HTML/CSS >> css式样集-待总结
  详细解决方案

css式样集-待总结

热度:116   发布时间:2012-11-22 00:16:41.0
css样式集-待总结

1,改变input的字体样式

<input type="text" readonly style="border:0;color:#FF0000;text-align:center;" value="红色">

?注意样式color:#FF0000;text-align:center(颜色变化和字体居中)对readonly 才有效,对disabled = 'disabled' 无效

  相关解决方案