Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
<div id="admid"> <a href="#"><img src="http://storage.googleapis.com/support-kms-prod/SNP_2922296_en_v0" /></a> </div> #admid { height: 80px; width: 480px; margin: auto; border: 1px solid #000; }
如果您有什么要补充的,请告诉我。我正在尝试边做边学。哎呀!
试试这个
#admid { overflow: hidden; } #admin img { width: 100%; }