[Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1162
  • Last Modified:

How do I crop a part of a webpage using HTML iframes?


I would like to crop a part of a web page removing the headers and the footers leaving only the part that I need to crop. I am sure that Iframes would do that but the part that I know that iframes would crop the full page. Is there a way where I can crop a part of a page ?
1 Solution
Don't use iframes.

Iframes are not accesible, deprecated and will give you problems in many browsers.

If you want to remove headers and footers of a webpage you only need to add them the display:hidden css attribute.

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now