Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Arno Welzel Newsgroups: comp.lang.javascript Subject: Re: Downscale browser content. Date: Sun, 27 Jun 2021 10:41:38 +0200 Lines: 18 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net LDX/aLq3n92U551qcynM3gs5yxrNqYDok8gUkzTO5GbalhLVk8 Cancel-Lock: sha1:N+8gRg42XLjt49Ep05CmdZ+YYlQ= In-Reply-To: Xref: csiph.com comp.lang.javascript:40257 Jonas Thörnvall: > Other then a browser zoom is there any script or API that can downscale the full content of browser "all elements". You can use CSS transformations to scale the BODY element: Also see: Example: Howerver - "all elements" needs to be calculated using JavaScript. There is no method to tell the browser "scale as much as needed to show all elements within the current viewport". -- Arno Welzel https://arnowelzel.de