我如何對齊div水平居中和垂直居中的文本內容?CSS:如何對齊以水平爲中心和垂直居中的文本內容?
<div style="height: 300px;">
<p>Envision various details for your big day with help from our photo catalog, which features images filtered by category. See actual works from suppliers to help you make decisions.</p>
</div>
看到這個鏈接你可以得到的東西..... http://stackoverflow.com/questions/9073594/vertically-and-horizontally-centering-container-和容器內容 http://stackoverflow.com/questions/9430831/vertically-and-horizontally-centering-text-within-a-div –
瞭解vertical-align或「How(Not)垂直居中內容「http://phrogz.net/CSS/vertical-align/index.html – Nish
大家好,從@ mr.alien回答讓它工作。謝謝! – iamnards