带有自定义图像的HTML表单提交按钮具有joomla的背景图像

时间:2014-05-06 03:09:15

标签: html css joomla

我正在使用Joomla

带有图片的“我的表单”按钮后面有一个背景图片 - 它来自哪里?

这是表单提交按钮的默认设置吗?这是Joomla的事吗?

http://i.imgur.com/TNG619r.png

    .wrap
{
text-align:center;
  margin-left: 0px;
  margin-right: auto;
  width: 50%;
  height: 50%;
}
div.signupButton input {
    background:url(../../images/signup.png) no-repeat;
    cursor:pointer;
    width: 303px;
    height: 72px;
    border: none;
}

div.signinButton input {
    background:url(../../images/login.png) no-repeat;
    cursor:pointer;
    width: 303px;
    height: 72px;
    border: none;
}

html代码:

<html>
<body>
<link rel="stylesheet" href="php_scripts/css/homesign.css" type="text/css">
<form action="http://.." method="post">
<div class="signupButton"><INPUT type="submit" name="" value=""></div>
</form>
</body>
</html>

1 个答案:

答案 0 :(得分:1)

div.signupButton input { 
background: url(../../images/signup.png) no-repeat; 
cursor: pointer; 
width: 303px; 
height: 72px; 
border: none; 
border-radius: 0; 
-webkit-box-shadow: none; 
box-shadow: none; 
}