当其中包含大量内容时,我如何使div扩展?
HTML:
<div class ="content">
this is a test <br />
this is a test <br />
this is a test <br />
this is a test <br />
this is a test <br />
this is a test <br />
this is a test <br />
</div>
如何从样式表/样式标记中应用div的样式,并以编程方式忽略元素样式?
例如:
var alice = 'alice ' + $('.alice').css('color');
var boblice = 'alice ' + $('.bob').css('color');
var bob = 'bob ' + $('.bob').css('color');
$('#result').text(
alice + '\n