因此,在引用内容div中,我希望将文本居中,同时使其保持左对齐。还有引用标题div...这是我的html代码:预先感谢codepen项目 /*getting random quote on buttonconsole.log(json[0].title) $("#quote-content").html(json[
我试图对div中的文本应用页边距,使文本以水平和垂直的方式居中。我不确定是否有更好的方法来做到这一点,因为我对HTML和编程非常陌生。<!-- frankenstien-ish bootstrap grid within a bootstrap grid --><div class="col-md-6-- this div contains all of the navigation buttons i