当前位置:网站首页>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边栏推荐
- Simple understanding of seesion, cookies, tokens
- Oracle11g | getting started with database. It's enough to read this 10000 word analysis
- How to deal with the relationship between colleagues
- Login operation (for user name and password)
- TCP fast retransmission sack mechanism
- Common tips
- [Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 9
- Heartbeat启动后无反应
- CAPL: on sysVar_ Update difference on sysvar
- DVC use case (VI): Data Registry
猜你喜欢
Foreach (system.out:: println) usage
Usage of case when then else end statement
Using terminal connection in different modes of virtual machine
OSI seven layer reference model
netstat
QQ group administrators
2020 Summary - Magic year, magic me
Ultimate bug finding method - two points
Take advantage of the world's sleeping gap to improve and surpass yourself -- get up early
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 7
随机推荐
Digital simulation beauty match preparation -matlab basic operation No. 6
Usage of case when then else end statement
2021 annual summary - it seems that I have done everything except studying hard
Experiment 7. IPv6
Alibaba cloud server connection intranet operation
Practical dry goods: deploy mini version message queue based on redis6.0
Is Sanli futures safe? How to open a futures account? How to reduce the handling charge of futures at present?
Usage of with as
三立期货安全么?期货开户怎么开?目前期货手续费怎么降低?
Detailed array expansion analysis --- take you step by step analysis
Day01 preliminary packet capture
Using terminal connection in different modes of virtual machine
Detailed explanation of classic process synchronization problems
World document to picture
Realize cross tenant Vnet connection through azure virtual Wan
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 14
SQL greatest() function instance detailed example
DVC use case (VI): Data Registry
Install freeradius3 in the latest version of openwrt
Reptile learning 3 (winter vacation learning)