Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/89.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html Tizen-如何更改按钮字体大小-已修复_Html_Css_Jquery Mobile_Font Size_Tizen - Fatal编程技术网

Html Tizen-如何更改按钮字体大小-已修复

Html Tizen-如何更改按钮字体大小-已修复,html,css,jquery-mobile,font-size,tizen,Html,Css,Jquery Mobile,Font Size,Tizen,如何更改按钮的字体大小?当我试图用css更改它时,这种更改不起作用,而且按钮也丢失了数据样式:round属性。我有一个html应用程序和按钮,只需打开另一个页面,如下所示: <p><a href="two.html" data-role="button" data-style="round" id="btn" style="border: 5; background: #FFFFFF">

如何更改按钮的字体大小?当我试图用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中尝试类似的方法呢

border-radius:8px ;
-moz-border-radius:8x;
-webtrik-border-radius:8px
固定的:


我无法复制你的问题。它对我有用。尝试设置字体大小:8pt!重要的同样的结果。这个问题可以根据发行说明在Tizen模拟器1.3.2上复制。我对bordersworks没有问题。好吧,当我在fiddle中试用它时,你为什么不试试字体大小:10px;或字号:90%;我尝试了所有的选择-px%pt和rem,这不是js的问题-我不能在Tizen应用程序中更改它
border-radius:8px ;
-moz-border-radius:8x;
-webtrik-border-radius:8px
#btn span {
    text-align : right;
    font-size : 10px;
}