当前位置:网站首页>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边栏推荐
- No response after heartbeat startup
- Sys module
- Exceptions and exception handling
- [Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 8
- JD home programmers delete databases and run away. Talk about binlog, the killer of MySQL data backup
- [Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 18
- Summary of collection: (to be updated)
- [Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 11
- QQ get group member operation time
- Xiaobing · beauty appraisal
猜你喜欢

Ultimate bug finding method - two points

Notes on writing test points in mind mapping
![[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 22](/img/e0/21367eeaeca10c0a2f2aab3a4fa1fb.jpg)
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 22

QQ group collection
![[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 14](/img/c5/dde92f887e8e73d7db869fcddc107f.jpg)
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 14

Introduction to Lichuang EDA

2020 Summary - Magic year, magic me

Practical dry goods: deploy mini version message queue based on redis6.0

Elevator dispatching (pairing project) ③

Summary of collection: (to be updated)
随机推荐
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 21
Common tips
World document to picture
Definition and method of string
Data transmission in the network
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 16
C language compilation process
Digital simulation beauty match preparation -matlab basic operation No. 6
Realize cross tenant Vnet connection through azure virtual Wan
Local MySQL forget password modification method (Windows) [easy to understand]
netstat
SSH principle and public key authentication
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 23
Games101 Lesson 8 shading 2 Notes
Test question bank management system - database design [easy to understand]
QQ get group settings
Enter the smart Park, and change begins here
Dos and path
Elevator dispatching (pairing project) ③
(August 10, 2021) web crawler learning - Chinese University ranking directed crawler