当前位置:网站首页>Iframe to only show a certain part of the page
Iframe to only show a certain part of the page
2022-07-04 11:39:00 【javail】
problem :
I am working on iframes, and I need to show a certain portion of the page [say, the top right ] in an iframe with about 300px width and 150px height. I am iframe To work on , I need a width of about 300px, The height is 150px Of iframe Some parts of the page are displayed in ( For example, the upper right corner ).
Example: example :
Say I wanted to put an iframe of www.mywebsite.com/portfolio.php on a page, but have the iframe sized to only show the " portfolio-sports " section at the top right . Suppose I want to place a www.mywebsite.com/portfolio.php Of iframe , But it's time to iframe The size of can only be upper right Show “ portfolio-sports ” part .
How can I achieve this ? How can I achieve ?
Thanks. thank you .
EDIT : DEMO edit : demonstration
[ Thanks to Pointy ][ thank Pointy]
Solution :
Reference resources : https://stackoom.com/en/question/DjDL边栏推荐
- 2021-10-20
- Common built-in modules
- Analysis function in SQL
- Here, the DDS tutorial you want | first experience of fastdds - source code compilation & Installation & Testing
- IO stream ----- open
- [Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 6
- Getting started with window functions
- os. Path built-in module
- 2021 annual summary - it seems that I have done everything except studying hard
- Oracle11g | getting started with database. It's enough to read this 10000 word analysis
猜你喜欢
QQ group collection
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 22
Entitas learning [3] multi context system
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 21
Btrace tells you how to debug online without restarting the JVM
Reptile learning 3 (winter vacation learning)
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 16
Automatic translation between Chinese and English
2018 meisai modeling summary +latex standard meisai template sharing
How to judge the advantages and disadvantages of low code products in the market?
随机推荐
Common tips
Shift EC20 mode and switch
2021-11-02
DVC use case (VI): Data Registry
Iptables cause heartbeat brain fissure
Decrypt the advantages of low code and unlock efficient application development
Fundamentals of software testing
R built in data set
3W word will help you master the C language as soon as you get started - the latest update is up to 5.22
iptables导致Heartbeat脑裂
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 20
Foreach (system.out:: println) usage
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 6
Xiaobing · beauty appraisal
2020 Summary - Magic year, magic me
Experiment 7. IPv6
Usage of with as
Heartbeat启动后无反应
SSH原理和公钥认证
C language compilation process