Yes you can.
See the code from the following thread from 2007: PDF within a DIV
<div>
<object data="test.pdf" type="application/pdf" width="300" height="200">
alt : <a href="test.pdf">test.pdf</a>
</object>
</div>
It uses <object>
, which can be styled with CSS, and so you can float them, give them borders, etc.
(In the end, I edited my pdf files to remove large borders and converted them to jpg images.)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…