CSS空值圖片和文字上下置中對齊

來源:互聯網
上載者:User

<div><br /><div>文字與圖片對齊<span style="vertical-align:middle;" mce_style="vertical-align:middle;"><img src="b-grade.png" mce_src="b-grade.png"></span></div><br /><br><br /><div>文字與圖片對齊<span style="vertical-align:baseline" mce_style="vertical-align:baseline"><img src="b-grade.png" mce_src="b-grade.png"></span></div><br /><br><br /><div>文字與圖片對齊<img src="b-grade.png" mce_src="b-grade.png"></div><br /><br><br /><div>文字與圖片對齊<span style="vertical-align:bottom" mce_style="vertical-align:bottom"><img src="b-grade.png" mce_src="b-grade.png"></span></div><br /><br><br /><div>文字與圖片對齊<span style="vertical-align:sub" mce_style="vertical-align:sub"><img src="b-grade.png" mce_src="b-grade.png"></span></div><br /><br><br /><div>文字與圖片對齊<span style="vertical-align:super" mce_style="vertical-align:super"><img src="b-grade.png" mce_src="b-grade.png"></span></div><br /><br><br /><div>文字與圖片對齊<span style="vertical-align:text-bottom" mce_style="vertical-align:text-bottom"><img src="b-grade.png" mce_src="b-grade.png"></span></div><br /><br><br /><div>文字與圖片對齊<span style="vertical-align:text-top" mce_style="vertical-align:text-top"><img src="b-grade.png" mce_src="b-grade.png"></span></div><br /><br><br /><div>文字與圖片對齊<span style="vertical-align:top" mce_style="vertical-align:top"><img src="b-grade.png" mce_src="b-grade.png"></span></div><br /></div><br />

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.