外部css div和input的选择符

来源:百度知道 编辑:UC知道 时间:2024/06/24 16:46:45
css中:
div.big
{
font-size:36px;
}
input.big
{
height=30;
}
在jsp中
<div class=big>
姓名:<input type=text class=big>
</div>
为什么不灵?我想用外部css把div内的字体变大,把input的高度也变大

div.big
{
font-size:36px;
}
input.big
{
height:36px;
}

这样就ok了 ,记住css不用==========号

div.big
{
font-size:36px;
}
input.big
{
height:30px;
}

.big{
font-size:36px;height=30;
}
CSS样式这样写!

.big{font-size:36px;}
.big .big{ height=30px;font:12px/30px "宋体";}