gpt4 book ai didi

javascript - iphone/ios 中心的按钮文本

转载 作者:行者123 更新时间:2023-11-28 11:07:03 25 4
gpt4 key购买 nike

一直在尝试将按钮文本放置在它的中心,但我不知道这可能是什么问题,因为文本总是远离按钮中心。

<marquee behavior="alternate"><button id="nine" type="button" style="-webkit-appearance:button;-webkit-border-radius: 50%;width:100px;height:100px;border: 2px solid black;font: bolder 50px courier;text-align:center" >9</button></marquee>

<marquee behavior="alternate"><button id="six" type="button" style="-webkit-appearance:button;-webkit-border-radius: 50%;width:100px;height:100px;border: 2px solid black;font: bolder 50px courier;text-align:center" >6</button></marquee>

最佳答案

我很容易将文本保持在按钮的中央,只是在 chrome 和 IE 中试过了。不完全确定问题出在哪里。

关于javascript - iphone/ios 中心的按钮文本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22205619/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com