如何在NPOI中实现宽度自适应和高度自适应
展开全部
<html>
<head>
<style type="text/css">
*{
margin:0px;
padding:0px;
}
.dcla{
display:block;
width:<a href="https://www.baidu.com/s?wd=500px&tn=44039180_cpr&fenlei=mv6quAkxTZn0IZRqIHckPjm4nH00T1YLPvPbnAwhnHRLPjRknyPh0ZwV5Hcvrjm3rH6sPfKWUMw85HfYnjn4nH6sgvPsT6KdThsqpZwYTjCEQLGCpyw9Uz4Bmy-bIi4WUvYETgN-TLwGUv3EnHnvPW0znjnvrjc1PWc3rj0drf" target="_blank" class="baidu-highlight">500px</a>;
height:400px;
}
</style>
</head>
<body class="bg">
<div class='dcla'>
<img src="desert.jpg" width="100%" height="100%"/>
</div>
</body>
</html>
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询