跳至內容
選單
此問題已被標幟
2 回覆
9096 瀏覽次數

I  put a button on the web and it was shown on the left of its line, so how shall I put in the center of its line;

<group col="4" colspan="1">
        <button name="thisbutton" type="object"  />
</group>

頭像
捨棄
最佳答案

i think this may help you.

<group>
<div style="text-align:center">
<button name="b" type="object"/>
</div>

</group>

頭像
捨棄
作者

thanks, it works well.

最佳答案

this relative to css, you can use center the element as normal HTML syntax 

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
4月 17
3887
5
7月 25
7801
1
3月 25
1364
0
11月 24
1543
0
6月 24
1591