我想利用 iFrames 来并排显示网页的两个版本,但是在设置大小和位置属性时遇到了一些问题。(即使我将左侧的大小设为 100,它似乎仍然以较小的高度显示)
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Split</title>
</head>
<body>
<iframe src="link_v1" frameborder="0" scrolling="yes"
style="overflow: hidden; height: 100%;
width: 49%; float: left; " height="100%" width="49%"
align="left">
</iframe>
<iframe src="link_v2" frameborder="0" scrolling="yes"
style="overflow: hidden; height: 100%;
position: absolute;
width: 49%; " height="100%" width="49%"
align="right">
</iframe>
</body>
</html>