我正在使用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>
答案 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;
}