{"id":2237,"date":"2013-08-07T08:16:03","date_gmt":"2013-08-07T00:16:03","guid":{"rendered":"https:\/\/sdeno.com\/?p=2237"},"modified":"2013-08-06T08:17:14","modified_gmt":"2013-08-06T00:17:14","slug":"ie6%e4%b8%8d%e6%94%af%e6%8c%81%e7%9a%84css%e7%9a%84type%e9%80%89%e6%8b%a9%e5%99%a8","status":"publish","type":"post","link":"https:\/\/sdeno.com\/?p=2237","title":{"rendered":"IE6\u4e0d\u652f\u6301\u7684CSS\u7684type\u9009\u62e9\u5668"},"content":{"rendered":"<p>\u5e94\u7528IE6\u6240\u4e0d\u652f\u6301\u7684CSS\u7684type\u9009\u62e9\u5668\uff0c\u53ef\u4ee5\u7cbe\u786e\u7684\u9009\u62e9\u5404\u79cd\u8868\u5355\u5143\u7d20\u3002<br \/>\n\u7b80\u5355\uff0c\u660e\u4e86\uff0c\u53ef\u4ee5\u5206\u533a\u51fa\u5404\u4e2ainput\u63a7\u4ef6\u5f62\u6001\u3002<br \/>\ntype\u9009\u62e9\u5668\uff0cIE6\u4e4b\u524d\u7684\u5bf9web\u6807\u51c6\u652f\u6301\u7684\u4e0d\u592a\u597d\u7684\u6d4f\u89c8\u5668\u4e0d\u80fd\u652f\u6301\u3002\u81f4\u547d\u2026\u2026<\/p>\n<p>[code]&lt;!doctype html public &#8220;-\/\/W3C\/\/DTD XHTML 1.0 Transitional\/\/EN&#8221; &#8220;http:\/\/www.w3.org\/TR\/xhtml1\/DTD\/xhtml1-transitional.dtd&#8221;&gt;<br \/>\n&lt;html xmlns=&#8221;http:\/\/www.w3.org\/1999\/xhtml&#8221; &gt;<br \/>\n&lt;head&gt;<br \/>\n&lt;title&gt;IE6\u6240\u4e0d\u652f\u6301\u7684CSS\u7684type\u9009\u62e9\u5668 &#8211; www.Mb5u.com&lt;\/title&gt;<br \/>\n&lt;meta name=&#8221;Keywords&#8221; content=&#8221;&#8221;\/&gt;<br \/>\n&lt;meta name=&#8221;Description&#8221; content=&#8221;&#8221;\/&gt;<br \/>\n&lt;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;text\/html; charset=utf-8&#8243; \/&gt;<br \/>\n&lt;style type=&#8221;text\/css&#8221;&gt;<br \/>\ninput[type=&#8221;text&#8221;]<br \/>\n{<br \/>\nbackground-color:#FFC;<br \/>\n}<br \/>\ninput[type=&#8221;password&#8221;]<br \/>\n{<br \/>\nbackground-image:url(BG.gif);<br \/>\n}<br \/>\ninput[type=&#8221;submit&#8221;]<br \/>\n{<br \/>\nbackground-color:blue;<br \/>\ncolor:white;<br \/>\n}<br \/>\ninput[type=&#8221;reset&#8221;]<br \/>\n{<br \/>\nbackground-color:navy;<br \/>\ncolor:white;<br \/>\n}<br \/>\ninput[type=&#8221;radio&#8221;]<br \/>\n{<br \/>\n\/*In FF,Some radio style like background-color not been supported*\/<br \/>\nmargin:10px;<br \/>\n}<br \/>\ninput[type=&#8221;checkbox&#8221;]<br \/>\n{<br \/>\n\/*In FF,Some checkbox style like background-color not been supported*\/<br \/>\nmargin:10px;<br \/>\n}<br \/>\ninput[type=&#8221;button&#8221;]<br \/>\n{<br \/>\nbackground-color:lightblue;<br \/>\n}<br \/>\n&lt;\/style&gt;<br \/>\n&lt;\/head&gt;<\/p>\n<p>&lt;body&gt;<br \/>\n&lt;dl&gt;<br \/>\n&lt;dt&gt;This is normal textbox:&lt;dd&gt;&lt;input type=&#8221;text&#8221; name=&#8221;&#8221;&gt;<br \/>\n&lt;dt&gt;This is password textbox:&lt;dd&gt;&lt;input type=&#8221;password&#8221; name=&#8221;&#8221;&gt;<br \/>\n&lt;dt&gt;This is submit button:&lt;dd&gt;&lt;input type=&#8221;submit&#8221;&gt;<br \/>\n&lt;dt&gt;This is reset button:&lt;dd&gt;&lt;input type=&#8221;reset&#8221;&gt;<br \/>\n&lt;dt&gt;This is radio:&lt;dd&gt;&lt;input type=&#8221;radio&#8221; name=&#8221;ground1&#8243;&gt; &lt;input type=&#8221;radio&#8221; name=&#8221;ground1&#8243;&gt;<br \/>\n&lt;dt&gt;This is checkbox:&lt;dd&gt;&lt;input type=&#8221;checkbox&#8221; name=&#8221;ground2&#8243;&gt; &lt;input type=&#8221;checkbox&#8221; name=&#8221;ground2&#8243;&gt;<br \/>\n&lt;dt&gt;This is normal button:&lt;dd&gt;&lt;input type=&#8221;button&#8221; value=&#8221;i&#8217;m button&#8221;&gt;<br \/>\n&lt;\/dl&gt;<br \/>\n&lt;\/body&gt;<br \/>\n&lt;\/html&gt;[\/code]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5e94\u7528IE6\u6240\u4e0d\u652f\u6301\u7684CSS\u7684type\u9009\u62e9\u5668\uff0c\u53ef\u4ee5\u7cbe\u786e\u7684\u9009\u62e9\u5404\u79cd\u8868\u5355\u5143\u7d20\u3002 \u7b80\u5355\uff0c\u660e\u4e86\uff0c\u53ef\u4ee5\u5206\u533a\u51fa\u5404\u4e2ainput [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,11],"tags":[],"class_list":["post-2237","post","type-post","status-publish","format-standard","hentry","category-css","category-11"],"_links":{"self":[{"href":"https:\/\/sdeno.com\/index.php?rest_route=\/wp\/v2\/posts\/2237","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sdeno.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sdeno.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sdeno.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sdeno.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2237"}],"version-history":[{"count":0,"href":"https:\/\/sdeno.com\/index.php?rest_route=\/wp\/v2\/posts\/2237\/revisions"}],"wp:attachment":[{"href":"https:\/\/sdeno.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2237"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sdeno.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2237"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sdeno.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}