摘要: Q:textarea中auto属性无效。 A:因textarea是行内元素,width属性无效,只有将其转化为块级元素才会生效,只需给其增加"display:block;"即可。 Q:div中"margin:0 auto;"无效。 A:可能为div设置了position属性,只能使用left/top 阅读全文
posted @ 2016-07-15 10:31 浅书流年 阅读(134) 评论(0) 推荐(0) 编辑