我的网站使用了其他网站的iframe。但是那个iframe的宽度不是我想要的。请问用何种方法可以修改?
我在自己的css里面修改iframe里面的class没有产生效果。
本人新手。大神请收下留情··不要给负分··
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
</head>
<body>
<iframe src="http://www.kuaidi100.com/kuaidiresult?id=24376753" class="ifra-box"></iframe>
</body>
</html>
我想修改iframe里的.divcontentbg等其他的宽度··
看看这个吧js控制iframe的高度/宽度让其自适应内容