使用jquery,我从php获取数据到div
$.post(url.php?info="+$('#info').val() // rest of code
$('#information').show().html($(response).fadeIn('slow'));
我在css #information中设置为
width: 290px; border: 2px solid #000;
知道为什么不自动设置高度?我必须做点什么吗?
我是jquery的新手
答案 0 :(得分:0)
如果没有看到更多代码或问题的实际示例,它看起来还不错。
您应该使用firebug或其他一些网络工具来查看div,看看是否有其他一些重写样式将高度设置为固定大小。