TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: MAYAYANA
from: ELI THE BEARDED
date: 2020-08-17 17:54:00
subject: Re: Lightweight Browser

In comp.sys.raspberry-pi, Mayayana  wrote:
> That's interesting. I didn't know about it. But it is *very* new.
> Chrome 76, according to w3c. So not likely to be used for
> some time. Also, there's still the problem of pages trying to
> guess your screen size and then load one of several size
> options based on that. That's also completely broken without
> script. Typically, if there's any default SRC at all it's tiny.

I can imagine pages doing that, but I'd use CSS (no JS required)
for that. Eg, my blog has CSS to scale images to page width, but
only for smaller screens. This page has example pictures:

https://qaz.wtf/qz/blosxom/2020/03/15/reuters

https://qaz.wtf/qz/css/main.css

  @media (max-width: 800px) {
    /* ... */
    .mainblock    { padding: 1vh 2vw; width: 96vw; left: 0; }
    /* ... */
    .imgbox > img { width: 90vw; height: auto; }
  }

I don't do anything like that for  blocks which makes the terminal
text screenshots in the most recent post look quite bad. I'm not even
sure what the best fix would be. Shrink the font? Grow the background
and force side scrolling?

Elijah
------
by no means a CSS expert

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.