Jquery mobile 在jQuery Mobile中创建图像按钮

Jquery mobile 在jQuery Mobile中创建图像按钮,jquery-mobile,button,background,background-image,Jquery Mobile,Button,Background,Background Image,我试图在jquerymobile中制作一个以svg为背景图像的按钮,但无法正确使用它。我不想要图标按钮,我想要有图像作为背景的按钮。这是m

我试图在jquerymobile中制作一个以svg为背景图像的按钮,但无法正确使用它。我不想要图标按钮,我想要有图像作为背景的按钮。这是m<代码

<div class="ui-block-a">
   <a data-role="button" class="red-button" href="login.html">LOGIN</a>
</div>


.red-button {
    background-image: url(../img/buttons/button-red.svg) !important;
}

.红色按钮{
背景图片:url(../img/buttons/button red.svg)!重要;
}

谁能告诉我这里怎么了。谢谢。

您使用的是哪个版本的jQuery Mobile?似乎有效:。什么不适合你?