如何更改按钮的字体大小?当我尝试使用css进行更改时,此更改不起作用,并且按钮也丢失了数据样式:round属性。我有一个html应用程序,按钮只是打开另一个页面,就在这里:

<p><a href="two.html" data-role="button"
                 data-style="round" id="btn" style="border: 5;
                  background: #FFFFFF">
                test</a></p>


CSS:

   #btn {
        width: 250px;  height: 40px;
        margin: 0 auto;
        /*data-style: round;*/
        border: #000000;
        border-style: solid;
        border-width: 5px;
        font-family:"Times New Roman", Times, serif;
        font-size: 8pt;

        }


解决方案建立在下面的答案中

最佳答案

为什么不在CSS中尝试这样的事情

border-radius:8px ;
-moz-border-radius:8x;
-webtrik-border-radius:8px

关于html - Tizen-如何更改按钮字体大小-固定,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/22894571/

10-11 22:48
查看更多