簡體   English   中英

將此倒數對准中間?

[英]Align this countdown to the middle?

我正在使用基於jquery的倒數計時器: http : //www.gieson.com/Library/projects/utilities/countdown/

我想知道如何使其在中間對齊?

我嘗試將其放入具有文本對齊中心的容器div中,該方法不起作用。 我還能嘗試什么?

嘗試應用margin:0 auto; 到容器div

在體內這樣做:

<div align='center'>**countdown code (the one that should be in the body)**</div> 

它對我有用...

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM