kongjian.css 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. li{
  2. list-style: none
  3. }
  4. table{
  5. width: 300px;
  6. height: 100px;
  7. position:absolute;
  8. }
  9. select {
  10. /*Chrome和Firefox里面的边框是不一样的,所以复写了一下*/
  11. position: absolute;
  12. border: solid 1px #000;
  13. /*很关键:将默认的select选择框样式清除*/
  14. /* appearance:none; IE*/
  15. -moz-appearance:none;
  16. -webkit-appearance:none; /*Chrome*/
  17. /*在选择框的最右侧中间显示小箭头图片*/
  18. background: url("./img/asdasd.jpg") no-repeat scroll right center transparent;
  19. /*为下拉小箭头留出一点位置,避免被文字覆盖*/
  20. padding-right: 14px;
  21. border: solid 1px silver;
  22. appearance: none;
  23. -moz-appearance: none;
  24. -webkit-appearance: none;
  25. background: url(./img/asdasd.jpg) no-repeat scroll right center transparent;
  26. font-family: Microsoft yahie;
  27. width: 120px;
  28. height: 36px;
  29. padding: 7px 36px 8px 13px;
  30. }
  31. option
  32. {
  33. position: absolute;
  34. appearance:none;
  35. -moz-appearance:none;
  36. -webkit-appearance:none;
  37. }
  38. /*input[type='file']::-webkit-file-upload-button {
  39. padding: .4em 1.5em .4em;
  40. line-height: 30px;
  41. border: 1px solid #3389cc;
  42. background: #3389cc;
  43. border-radius: 5px;
  44. font-family: microsoft yahei;
  45. color: white;
  46. }*/
  47. .fileUpload {
  48. position: absolute;
  49. overflow: hidden;
  50. margin: 10px;
  51. }
  52. .fileUpload input.upload {
  53. position: absolute;
  54. top: 0;
  55. right: 0;
  56. margin: 0;
  57. padding: 0;
  58. font-size: 20px;
  59. cursor: pointer;
  60. opacity: 0;
  61. filter: alpha(opacity=0);
  62. }
  63. label[for=upload]
  64. {
  65. border: 1px solid #3389cc;
  66. background-color: #3389cc;
  67. display: inline-block;
  68. line-height: 18px;
  69. padding: 0.8em 1.2em 0.8em;
  70. border-radius: 8px;
  71. color: white;
  72. font-family: microsoft yahei;
  73. }
  74. .file-name
  75. {
  76. display: inline-block;
  77. line-height: 41px;
  78. border: 1px solid silver;
  79. padding: 0 1.25em 0 9em;
  80. background: url(./img/wenjian.jpg) no-repeat scroll left center transparent;
  81. height: 2.5em;
  82. vertical-align: bottom;
  83. }
  84. .ul
  85. {
  86. position:absolute;
  87. }