0

我的身体里有这个代码,

<button onclick="change();" id="button2">Click!</button>

这在我的CSS中

#button2
{
width: 200px;
height: 200px;
}

该按钮在我的计算机上显示为 200x200,但在我的 iPhone 上显示错误。为什么是这样?我以前用过这段代码没有问题

4

1 回答 1

0

尝试这个

#button2
{
width: 200px;
height: 200px;
display: block;
}
于 2013-08-17T19:43:20.127 回答