【发布时间】:2011-04-08 21:36:31
【问题描述】:
我有一个类声明为特定输入的错误捕获:
'<span class="catch">Error caught</span>';
我在标签末尾做了一些样式:
.catch{
font-size: 20px;
color: #ffffff;
font-family: arial;
margin: 150px 0px 0px 35px ;
}
边距属性只是占位符,但我试图将文本向下移动到此表单的底部,但只能控制 x 轴,不能控制 y 轴。有没有办法解决这个问题?这是我的表单代码:
#main{
width: 375px;
height: 150px;
background: url(images/formheader.png) 0 0 no-repeat;
margin:200px auto;
z-index: 1;
}
如果我需要提供更多信息,还有额外的 css。
已编辑:
#main{
width: 875px;
height: 350px;
background: url(images/form.png) 0 0 no-repeat;
margin:250px auto;
z-index: 1;
}
【问题讨论】: