Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

If at first you don't succeed, you must be a programmer.


devel / comp.infosystems.www.authoring.html / Re: format for Tablets and Smart Phones?

SubjectAuthor
* format for Tablets and Smart Phones?Dale
+* Re: format for Tablets and Smart Phones?Lewis
|`* Re: format for Tablets and Smart Phones?Dale
| +- Re: format for Tablets and Smart Phones?Lewis
| +- Re: format for Tablets and Smart Phones?Arno Welzel
| `* Re: format for Tablets and Smart Phones?Robert Prins
|  +* Re: format for Tablets and Smart Phones?Lewis
|  |`* Re: format for Tablets and Smart Phones?Arno Welzel
|  | `* Re: format for Tablets and Smart Phones?Lewis
|  |  `- Re: format for Tablets and Smart Phones?Arno Welzel
|  `- Re: format for Tablets and Smart Phones?Arno Welzel
+* Re: format for Tablets and Smart Phones?Arno Welzel
|`- Re: format for Tablets and Smart Phones?Lewis
`- Re: format for Tablets and Smart Phones?Thomas 'PointedEars' Lahn

1
format for Tablets and Smart Phones?

<suuegb$gvs$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=173&group=comp.infosystems.www.authoring.html#173

  copy link   Newsgroups: comp.infosystems.www.authoring.html alt.html comp.infosystems.www.authoring.stylesheets
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dal...@dalekelly.org (Dale)
Newsgroups: comp.infosystems.www.authoring.html,alt.html,comp.infosystems.www.authoring.stylesheets
Subject: format for Tablets and Smart Phones?
Date: Sun, 20 Feb 2022 17:14:33 -0500
Organization: https://www.dalekelly.org/
Lines: 20
Message-ID: <suuegb$gvs$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 20 Feb 2022 22:14:35 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="38dd8c4453a70d6984d916bc2c6b308b";
logging-data="17404"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Uj4ykjXjLKFq6c82PLoGzQq7Br3zVq5U="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.6.1
Cancel-Lock: sha1:l54XwdF/D/qn1rlzH9cxby2xvV4=
Content-Language: en-US
 by: Dale - Sun, 20 Feb 2022 22:14 UTC

Hi,

I have a CSS for my website:

https://www.dalekelly.org/mystyle.css

https://www.dalekelly.org/

One of the things it does is size images based on browser window size

I would like to do something similar for PDF files and inner-HTML pages

Basically want a good look for those on Tablets and Smart Phones

My CSS already does the main structure well

Any thoughts?

--
Mystery? -> https://www.dalekelly.org/

Re: format for Tablets and Smart Phones?

<slrnt15kh8.ebh.g.kreme@zephyrus.local>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=174&group=comp.infosystems.www.authoring.html#174

  copy link   Newsgroups: comp.infosystems.www.authoring.html alt.html comp.infosystems.www.authoring.stylesheets
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!kreme.dont-email.me!.POSTED!not-for-mail
From: g.kr...@kreme.dont-email.me (Lewis)
Newsgroups: comp.infosystems.www.authoring.html,alt.html,comp.infosystems.www.authoring.stylesheets
Subject: Re: format for Tablets and Smart Phones?
Date: Sun, 20 Feb 2022 23:43:36 -0000 (UTC)
Organization: Miskatonic U
Lines: 36
Message-ID: <slrnt15kh8.ebh.g.kreme@zephyrus.local>
References: <suuegb$gvs$1@dont-email.me>
Reply-To: g.kreme@gmail.don-t-email-me.com
Injection-Date: Sun, 20 Feb 2022 23:43:36 -0000 (UTC)
Injection-Info: kreme.dont-email.me; posting-host="7a3ac7e95fb0b4d682ec441543061d34";
logging-data="13719"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18zbIre4QqAl8j+vSw36F7D"
User-Agent: slrn/1.0.3 (Darwin)
Cancel-Lock: sha1:HXriQjOtN2HDbyuPqyvEjxlqpjM=
X-Face: )^b5"R:T7U>9~:PEn3YkzMfW*[b1qKeU.fP9C8~8HpU9}lA&6`bH1z
X-Clacks-Overhead: GNU Terry Pratchett
Mail-Copies-To: nobody
 by: Lewis - Sun, 20 Feb 2022 23:43 UTC

In message <suuegb$gvs$1@dont-email.me> Dale <dale@dalekelly.org> wrote:
> Hi,

> I have a CSS for my website:

> https://www.dalekelly.org/mystyle.css

> https://www.dalekelly.org/

> One of the things it does is size images based on browser window size

> I would like to do something similar for PDF files and inner-HTML pages

> Basically want a good look for those on Tablets and Smart Phones

> My CSS already does the main structure well

> Any thoughts?

Read up on "responsive design" though for PDFS you will pretty much have
to have different files at different sizes, but you really should not be
using PDFs as part of your website. Images are easier to resize on the
fly if you optimize them for screens in the first place. I'm not sure
what you mean by "inner-HTML pages" but all your pages should be using
the same style sheets with minimal overrides on any given page.

Doing it by hand is rarely worthwhile, and a package like Bootstap makes
this all work quite well and easily. Your CSS is not, for example, using
the same breakpoints that have become pretty much standard to deal with
various screen sizes.

--
>> a Freudian slip is when you say one thing but you're really
>> thinking about a mother.
> no, a Freudian slip is sexy underwear your mother wears

Re: format for Tablets and Smart Phones?

<suuqbi$ljv$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=175&group=comp.infosystems.www.authoring.html#175

  copy link   Newsgroups: comp.infosystems.www.authoring.html alt.html comp.infosystems.www.authoring.stylesheets
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dal...@dalekelly.org (Dale)
Newsgroups: comp.infosystems.www.authoring.html,alt.html,comp.infosystems.www.authoring.stylesheets
Subject: Re: format for Tablets and Smart Phones?
Date: Sun, 20 Feb 2022 20:36:49 -0500
Organization: https://www.dalekelly.org/
Lines: 67
Message-ID: <suuqbi$ljv$1@dont-email.me>
References: <suuegb$gvs$1@dont-email.me>
<slrnt15kh8.ebh.g.kreme@zephyrus.local>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 21 Feb 2022 01:36:51 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="37cc00e3c47e955f62db2d01fd107a88";
logging-data="22143"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1873zwkYheKFt1Os32Mul5q47hD24ktIyw="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.6.1
Cancel-Lock: sha1:JDBEmF95m29QSJXE2mQg6N1BTg4=
In-Reply-To: <slrnt15kh8.ebh.g.kreme@zephyrus.local>
Content-Language: en-US
 by: Dale - Mon, 21 Feb 2022 01:36 UTC

On 2/20/2022 6:43 PM, Lewis wrote:
> In message <suuegb$gvs$1@dont-email.me> Dale <dale@dalekelly.org> wrote:
>> Hi,
>
>> I have a CSS for my website:
>
>> https://www.dalekelly.org/mystyle.css" rel="nofollow" target="_blank">https://www.dalekelly.org/mystyle.css
>
>> https://www.dalekelly.org/
>
>> One of the things it does is size images based on browser window size
>
>> I would like to do something similar for PDF files and inner-HTML pages
>
>> Basically want a good look for those on Tablets and Smart Phones
>
>> My CSS already does the main structure well
>
>> Any thoughts?
>
> Read up on "responsive design" though for PDFS you will pretty much have
> to have different files at different sizes, but you really should not be
> using PDFs as part of your website. Images are easier to resize on the
> fly if you optimize them for screens in the first place. I'm not sure
> what you mean by "inner-HTML pages" but all your pages should be using
> the same style sheets with minimal overrides on any given page.
>

yep, I thought of putting my CSS on inner HTML pages soon after I posted

I consider these pages "inner" because they are groups linked from an
"outer" group

might need a secondary CSS

I have three particular PDFs I would have to make images out of, two
have more than one page, do you know an easy conversion?

> Doing it by hand is rarely worthwhile, and a package like Bootstap makes
> this all work quite well and easily. Your CSS is not, for example, using
> the same breakpoints that have become pretty much standard to deal with
> various screen sizes.
>
>

I like coding

I adjusted the breakpoints based on my screens

I had a look at Bootstrap a couple years ago

https://getbootstrap.com/

I don't like cookies or scripts etc., some might not like entering a
site that uses them

I think Bootstrap was more difficult than doing it yourself, and if I am
right it cost something

--
Mystery? -> https://www.dalekelly.org/

Re: format for Tablets and Smart Phones?

<slrnt16akp.jeq.g.kreme@zephyrus.local>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=176&group=comp.infosystems.www.authoring.html#176

  copy link   Newsgroups: comp.infosystems.www.authoring.html alt.html comp.infosystems.www.authoring.stylesheets
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!kreme.dont-email.me!.POSTED!not-for-mail
From: g.kr...@kreme.dont-email.me (Lewis)
Newsgroups: comp.infosystems.www.authoring.html,alt.html,comp.infosystems.www.authoring.stylesheets
Subject: Re: format for Tablets and Smart Phones?
Date: Mon, 21 Feb 2022 06:00:57 -0000 (UTC)
Organization: Miskatonic U
Lines: 40
Message-ID: <slrnt16akp.jeq.g.kreme@zephyrus.local>
References: <suuegb$gvs$1@dont-email.me>
<slrnt15kh8.ebh.g.kreme@zephyrus.local> <suuqbi$ljv$1@dont-email.me>
Reply-To: g.kreme@gmail.don-t-email-me.com
Injection-Date: Mon, 21 Feb 2022 06:00:57 -0000 (UTC)
Injection-Info: kreme.dont-email.me; posting-host="7a3ac7e95fb0b4d682ec441543061d34";
logging-data="21394"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18h0hdtBSzy4LNyTatUxrKe"
User-Agent: slrn/1.0.3 (Darwin)
Cancel-Lock: sha1:UJPbhycTzSa/7teIbFh9bUmo0Oc=
X-Face: )^b5"R:T7U>9~:PEn3YkzMfW*[b1qKeU.fP9C8~8HpU9}lA&6`bH1z
X-Clacks-Overhead: GNU Terry Pratchett
Mail-Copies-To: nobody
 by: Lewis - Mon, 21 Feb 2022 06:00 UTC

In message <suuqbi$ljv$1@dont-email.me> Dale <dale@dalekelly.org> wrote:
> I think Bootstrap was more difficult than doing it yourself, and if I am
> right it cost something

Bootstrap does not cost anything, and the script portion is not really
scripting in the sense of running code on the user's machine, it is
jquery that allows modifying your own page to do things like expose and
hide elements when needed. Unless something has changed in recent
Bootstrap, the scripts are not required for basic functionality.

There are other tools like Bootstrap, but I forget the names of them. All
of them have the advantage of creating pages that look modern, which
means they look like what users expect.

But using them is certainly not required, and if the pages are for you,
then it doesn't matter at all. But if other people are using them, you
should still look at things like breakpoints, white space, appropriate
contrast between colors for visually impaired users, and coding elements
that make accessibility easier.

Microsoft uses 640 and 1080 as their breakpoints, yielding three
different 'page' sizes. These sizes seem to be in line with most devices
and most expectations.

One quick example of the benefits of a tool like Bootstrap is in menus.
It is first of all, quite simple to create a menu in Bootstrap that both
looks and behaves in a way that will be familiar to any user, but that
also collapses away to a button on a small scree where there is no room
for it. This is not only the best behavior, but the expected behavior.
And it is *really* annoying to hand code it, especially if you want the
same menu code to work across a variety of menu sizes based on the
content.

--
This above all, to thine own self be true And it must follow, as the
night the day, Thou canst not then be false to any man.

Re: format for Tablets and Smart Phones?

<j7h86jFfrolU1@mid.individual.net>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=177&group=comp.infosystems.www.authoring.html#177

  copy link   Newsgroups: comp.infosystems.www.authoring.html alt.html comp.infosystems.www.authoring.stylesheets
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news.in-chemnitz.de!news2.arglkargh.de!news.karotte.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: use...@arnowelzel.de (Arno Welzel)
Newsgroups: comp.infosystems.www.authoring.html,alt.html,comp.infosystems.www.authoring.stylesheets
Subject: Re: format for Tablets and Smart Phones?
Date: Mon, 21 Feb 2022 11:34:59 +0100
Lines: 60
Message-ID: <j7h86jFfrolU1@mid.individual.net>
References: <suuegb$gvs$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Trace: individual.net fs5zealP55r4DZgc2XCSxAQOvxLeJ5w9F16TM14MINFg/4h0vu
Cancel-Lock: sha1:+4t1eDEbdgVECSOFNzVg01Qhicc=
Content-Language: de-DE
In-Reply-To: <suuegb$gvs$1@dont-email.me>
 by: Arno Welzel - Mon, 21 Feb 2022 10:34 UTC

Dale:

> Hi,
>
> I have a CSS for my website:
>
> https://www.dalekelly.org/mystyle.css" rel="nofollow" target="_blank">https://www.dalekelly.org/mystyle.css
>
> https://www.dalekelly.org/
>
> One of the things it does is size images based on browser window size

Where? I don't see any page there which sizes images based on browser
window size.

For example the animation on <https://www.dalekelly.org/index.html> is
always the same size:

<img src="https://www.dalekelly.org/images/working-with-chemicals.gif"
alt="Valid HTML 4.01 Strict" width="198" height="142">

Style with:

img {
max-width: 100%;
height: auto;
}

So - it will not be *bigger* than 100%, but also not scale to a smaller
size when the viewport of the page changes.

Maybe there is misunderstanding: if you link to images directly, then
CSS has exactly *nothing* to do with the way how the image is displayed.

For example - on <https://www.dalekelly.org/images.html> there are links
like <https://www.dalekelly.org/images/pedestrian_mall.jpg>. This will
be displayed by the browser without using any of your CSS at all. So the
sizing is *not* done with your CSS but the browser does this completely
on its own - usually images are automatically sized to fit inside the
browser view but can be zoomed manually if needed.

> I would like to do something similar for PDF files and inner-HTML pages

PDF files can not be "sized". PDF is PDF and not HTML. You can only link
to a PDF file. It depends completely on the browser what it will do with
it. Most desktop browsers have built in PDF viewers nowadays while on
smartphones and tables usually external viewer will be used.

> Basically want a good look for those on Tablets and Smart Phones

You can't do anything about this. PDF is not HTML and you can not change
how PDF is displayed or scaled when opened on the client. You may
integrate PDF.js on your site and try to embed this in an iframe elemtn
- but this is usually a bad idea since most clients already have PDF
viewers which work much better than thins.

--
Arno Welzel
https://arnowelzel.de

Re: format for Tablets and Smart Phones?

<slrnt171ni.19i1.g.kreme@zephyrus.local>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=178&group=comp.infosystems.www.authoring.html#178

  copy link   Newsgroups: comp.infosystems.www.authoring.html alt.html comp.infosystems.www.authoring.stylesheets
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!kreme.dont-email.me!.POSTED!not-for-mail
From: g.kr...@kreme.dont-email.me (Lewis)
Newsgroups: comp.infosystems.www.authoring.html,alt.html,comp.infosystems.www.authoring.stylesheets
Subject: Re: format for Tablets and Smart Phones?
Date: Mon, 21 Feb 2022 12:34:58 -0000 (UTC)
Organization: Miskatonic U
Lines: 19
Message-ID: <slrnt171ni.19i1.g.kreme@zephyrus.local>
References: <suuegb$gvs$1@dont-email.me> <j7h86jFfrolU1@mid.individual.net>
Reply-To: g.kreme@gmail.don-t-email-me.com
Injection-Date: Mon, 21 Feb 2022 12:34:58 -0000 (UTC)
Injection-Info: kreme.dont-email.me; posting-host="972e3656aa7ccf464e5b306255c6d8eb";
logging-data="475"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ayblFVYG0ooYantc3MB5E"
User-Agent: slrn/1.0.3 (Darwin)
Cancel-Lock: sha1:8m8QqvWat4RTB6SBrsdZl7ZoLcQ=
X-Face: )^b5"R:T7U>9~:PEn3YkzMfW*[b1qKeU.fP9C8~8HpU9}lA&6`bH1z
X-Clacks-Overhead: GNU Terry Pratchett
Mail-Copies-To: nobody
 by: Lewis - Mon, 21 Feb 2022 12:34 UTC

In message <j7h86jFfrolU1@mid.individual.net> Arno Welzel <usenet@arnowelzel.de> wrote:
> alt="Valid HTML 4.01 Strict"

Oh dear, I hadn't looked at the page in question. HTML4 <heavy sigh>
HTML 4.01 was nifty back in 1999 when it came out. The world has moved
on since then.

<https://html.spec.whatwg.org/multipage/>

> So - it will not be *bigger* than 100%, but also not scale to a smaller
> size when the viewport of the page changes.

Granted, it is already smaller than any reasonable display. Maybe not on
a watch... but certainly smaller than any phone.

--
"Are you pondering what I'm pondering?"
"I think so, Doctor. But are these really the legs of a show girl?"

Re: format for Tablets and Smart Phones?

<j7k5miF2jnrU1@mid.individual.net>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=179&group=comp.infosystems.www.authoring.html#179

  copy link   Newsgroups: comp.infosystems.www.authoring.html alt.html comp.infosystems.www.authoring.stylesheets
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.mixmin.net!news2.arglkargh.de!news.karotte.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: use...@arnowelzel.de (Arno Welzel)
Newsgroups: comp.infosystems.www.authoring.html,alt.html,comp.infosystems.www.authoring.stylesheets
Subject: Re: format for Tablets and Smart Phones?
Date: Tue, 22 Feb 2022 14:10:42 +0100
Lines: 45
Message-ID: <j7k5miF2jnrU1@mid.individual.net>
References: <suuegb$gvs$1@dont-email.me>
<slrnt15kh8.ebh.g.kreme@zephyrus.local> <suuqbi$ljv$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Trace: individual.net tBNjRNC6eFCBYnTI/PRscAdUgm0ZK1UKYDtZfL/BUpmBZQ0lKP
Cancel-Lock: sha1:L/X75ip5cIizfa+46TcADKm0UpE=
Content-Language: de-DE
In-Reply-To: <suuqbi$ljv$1@dont-email.me>
 by: Arno Welzel - Tue, 22 Feb 2022 13:10 UTC

Dale:

[...]
> I had a look at Bootstrap a couple years ago
>
> https://getbootstrap.com/
>
> I don't like cookies or scripts etc., some might not like entering a
> site that uses them
>
> I think Bootstrap was more difficult than doing it yourself, and if I am
> right it cost something

Bootstrap is for free.

Bootstrap does *not* need JavaScript and also no cookies. You *can* use
JavaScript for certain features like drop down menus, popup dialogs
forms etc. - but this is *not* required.

You can just put the Bootstrap CSS on your server and use it. Bootstrap
makes many things much easier - for example to get a two column layout
with 25% width for the left column and 75% for the other:

<div class="row">
<div class="col-3">
</div>
<div class="col-6">
</div>
</div>

Or putting blocks next to each other with automatic column width:

<div class="row">
<div class="col-auto">
</div>
<div class="col-auto">
</div>
</div>

It may also help to learn how to use CSS variables and/or tools like
LESS/SASS.

--
Arno Welzel
https://arnowelzel.de

Re: format for Tablets and Smart Phones?

<sv5rc0$6d2$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=180&group=comp.infosystems.www.authoring.html#180

  copy link   Newsgroups: comp.infosystems.www.authoring.html alt.html comp.infosystems.www.authoring.stylesheets
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: rob...@prino.org (Robert Prins)
Newsgroups: comp.infosystems.www.authoring.html,alt.html,comp.infosystems.www.authoring.stylesheets
Subject: Re: format for Tablets and Smart Phones?
Date: Wed, 23 Feb 2022 19:41:47 +0000
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <sv5rc0$6d2$1@dont-email.me>
References: <suuegb$gvs$1@dont-email.me>
<slrnt15kh8.ebh.g.kreme@zephyrus.local> <suuqbi$ljv$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 23 Feb 2022 17:37:04 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="f87e37125f250514e5ca5f80d2fb38bd";
logging-data="6562"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+wgh0zSmNdsA4mN5w1wikK"
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.4.1
Cancel-Lock: sha1:D7dZ3dhtzanBDHYqiR8UHrpFwDU=
In-Reply-To: <suuqbi$ljv$1@dont-email.me>
Content-Language: en-US
 by: Robert Prins - Wed, 23 Feb 2022 19:41 UTC

On 2022-02-21 01:36, Dale wrote:
> On 2/20/2022 6:43 PM, Lewis wrote:
>> In message <suuegb$gvs$1@dont-email.me> Dale <dale@dalekelly.org> wrote:
>>> Hi,
>>
>>> I have a CSS for my website:
>>
>>> https://www.dalekelly.org/mystyle.css" rel="nofollow" target="_blank">https://www.dalekelly.org/mystyle.css
>>
>>> https://www.dalekelly.org/
>
> I had a look at Bootstrap a couple years ago
>
> https://getbootstrap.com/
>
> I don't like cookies or scripts etc., some might not like entering a site that
> uses them
>
> I think Bootstrap was more difficult than doing it yourself, and if I am right
> it cost something

My entire website, minus the few bigger images and PDF's probably takes up less
space than Bootstrap...

Then again, people never seem to learn: <http://www.ncdm.com/bloat/bloat.htm>

Robert
--
Robert AH Prins
robert(a)prino(d)org
The hitchhiking grandfather @ https://prino.neocities.org/
Some useful(?) REXX @ https://prino.neocities.org/zOS/zOS-Tools.html

Re: format for Tablets and Smart Phones?

<slrnt1ddc4.lk4.g.kreme@zephyrus.local>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=181&group=comp.infosystems.www.authoring.html#181

  copy link   Newsgroups: comp.infosystems.www.authoring.html alt.html comp.infosystems.www.authoring.stylesheets
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!kreme.dont-email.me!.POSTED!not-for-mail
From: g.kr...@kreme.dont-email.me (Lewis)
Newsgroups: comp.infosystems.www.authoring.html,alt.html,comp.infosystems.www.authoring.stylesheets
Subject: Re: format for Tablets and Smart Phones?
Date: Wed, 23 Feb 2022 22:30:28 -0000 (UTC)
Organization: Miskatonic U
Lines: 42
Message-ID: <slrnt1ddc4.lk4.g.kreme@zephyrus.local>
References: <suuegb$gvs$1@dont-email.me>
<slrnt15kh8.ebh.g.kreme@zephyrus.local> <suuqbi$ljv$1@dont-email.me>
<sv5rc0$6d2$1@dont-email.me>
Reply-To: g.kreme@gmail.don-t-email-me.com
Injection-Date: Wed, 23 Feb 2022 22:30:28 -0000 (UTC)
Injection-Info: kreme.dont-email.me; posting-host="0e804105f240be210d2549d1a97bbb5f";
logging-data="10285"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19DARU/79SL3XsTlRjTjpa4"
User-Agent: slrn/1.0.3 (Darwin)
Cancel-Lock: sha1:CgAcI2TPpmv3v6nYhoymaOZ+TLs=
X-Face: )^b5"R:T7U>9~:PEn3YkzMfW*[b1qKeU.fP9C8~8HpU9}lA&6`bH1z
X-Clacks-Overhead: GNU Terry Pratchett
Mail-Copies-To: nobody
 by: Lewis - Wed, 23 Feb 2022 22:30 UTC

In message <sv5rc0$6d2$1@dont-email.me> Robert Prins <robert@prino.org> wrote:
> On 2022-02-21 01:36, Dale wrote:
>> On 2/20/2022 6:43 PM, Lewis wrote:
>>> In message <suuegb$gvs$1@dont-email.me> Dale <dale@dalekelly.org> wrote:
>>>> Hi,
>>>
>>>> I have a CSS for my website:
>>>
>>>> https://www.dalekelly.org/mystyle.css" rel="nofollow" target="_blank">https://www.dalekelly.org/mystyle.css
>>>
>>>> https://www.dalekelly.org/
>>
>> I had a look at Bootstrap a couple years ago
>>
>> https://getbootstrap.com/
>>
>> I don't like cookies or scripts etc., some might not like entering a site that
>> uses them
>>
>> I think Bootstrap was more difficult than doing it yourself, and if I am right
>> it cost something

> My entire website, minus the few bigger images and PDF's probably takes up less
> space than Bootstrap...

Bootstrap is just a CSS file.

> Then again, people never seem to learn: <http://www.ncdm.com/bloat/bloat.htm>

In 1999 computers and the Internet were very very different. Most people
were still on dialup and very few people had access ot anything
approaching the speed of a T1 line. Now, most everyone has easy access to
the equivalent of *at least* 100 T1 lines and computers with literally
thousands of times the memory. Worrying about a 100K text file in 2022
is absurd.

But you be you.

--
'I'm a raven, aren't I?' it said. 'One of the few birds who speak.
The first thing people say is, oh, you're a raven, go on, say the
N word... If I had a penny for every time that's happened, I'd-'

Re: format for Tablets and Smart Phones?

<j7ou0lF4q9U1@mid.individual.net>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=182&group=comp.infosystems.www.authoring.html#182

  copy link   Newsgroups: comp.infosystems.www.authoring.html alt.html comp.infosystems.www.authoring.stylesheets
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.mixmin.net!news2.arglkargh.de!news.karotte.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: use...@arnowelzel.de (Arno Welzel)
Newsgroups: comp.infosystems.www.authoring.html,alt.html,comp.infosystems.www.authoring.stylesheets
Subject: Re: format for Tablets and Smart Phones?
Date: Thu, 24 Feb 2022 09:30:13 +0100
Lines: 60
Message-ID: <j7ou0lF4q9U1@mid.individual.net>
References: <suuegb$gvs$1@dont-email.me>
<slrnt15kh8.ebh.g.kreme@zephyrus.local> <suuqbi$ljv$1@dont-email.me>
<sv5rc0$6d2$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Trace: individual.net lrgZwJHl0eFpWkN1FT4GUgVQ6qFKMjGWwe8HOeLCnY+TAglXJT
Cancel-Lock: sha1:CtpZTKK+m3EqHrMt+BaPohtsehQ=
Content-Language: de-DE
In-Reply-To: <sv5rc0$6d2$1@dont-email.me>
 by: Arno Welzel - Thu, 24 Feb 2022 08:30 UTC

Robert Prins:

> On 2022-02-21 01:36, Dale wrote:
>> On 2/20/2022 6:43 PM, Lewis wrote:
>>> In message <suuegb$gvs$1@dont-email.me> Dale <dale@dalekelly.org> wrote:
>>>> Hi,
>>>
>>>> I have a CSS for my website:
>>>
>>>> https://www.dalekelly.org/mystyle.css" rel="nofollow" target="_blank">https://www.dalekelly.org/mystyle.css
>>>
>>>> https://www.dalekelly.org/
>>
>> I had a look at Bootstrap a couple years ago
>>
>> https://getbootstrap.com/
>>
>> I don't like cookies or scripts etc., some might not like entering a site that
>> uses them
>>
>> I think Bootstrap was more difficult than doing it yourself, and if I am right
>> it cost something
>
> My entire website, minus the few bigger images and PDF's probably takes up less
> space than Bootstrap...

Are you sure? bootstrap.min.css is the only thing required to get
started and uses about 160 KB.

> Then again, people never seem to learn: <http://www.ncdm.com/bloat/bloat.htm>

The discussion is from 1999 and does *not* apply to Bootstrap at all.
See above: the basic CSS file needed for Bootstrap is about 160 KB. We
don't live in 1999 any longer - nowadays 160 KB of data can be
considered negligible. Even mobile devices won't have any problem with
that and if the server is configured properly this will be cached by the
browser anyway and only transferred once per version and client.

And from that discussion, quite: "The idea of banging a 100KB splash
bitmap in an application is still, however, sickening"

Even back then most PCs had at more than 16 MB of RAM and the average
HDD capacity was more than 500 MB (the first harddisc with 1 GB was
available in 1995 and my first Pentium based PC in 1995 was already
equipped with 850 MB HDD and 16 MB RAM and soon got upgraded to 32 MB
RAM). So what is the point of complaining about using 100KB for a splash
image?

Yes, technically this is not needed - so what? In most cases a UI is not
needed to get things done but still people prefer using software which
not only works but also looks nice and is easy to use.

In case of Bootstrap: when you create a universal set of CSS rules to be
able to create a responsive layout based on simple building blocks you
will soon also end up with a CSS file which is more than 50 KB large.

--
Arno Welzel
https://arnowelzel.de

Re: format for Tablets and Smart Phones?

<j7ou57F4q9U2@mid.individual.net>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=183&group=comp.infosystems.www.authoring.html#183

  copy link   Newsgroups: comp.infosystems.www.authoring.html alt.html comp.infosystems.www.authoring.stylesheets
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: use...@arnowelzel.de (Arno Welzel)
Newsgroups: comp.infosystems.www.authoring.html,alt.html,comp.infosystems.www.authoring.stylesheets
Subject: Re: format for Tablets and Smart Phones?
Date: Thu, 24 Feb 2022 09:32:39 +0100
Lines: 23
Message-ID: <j7ou57F4q9U2@mid.individual.net>
References: <suuegb$gvs$1@dont-email.me>
<slrnt15kh8.ebh.g.kreme@zephyrus.local> <suuqbi$ljv$1@dont-email.me>
<sv5rc0$6d2$1@dont-email.me> <slrnt1ddc4.lk4.g.kreme@zephyrus.local>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Trace: individual.net loxb+GsKeEy2ebIVeZRftwuNJYvI/rZsoQeL3GyLyc4OPDSBPL
Cancel-Lock: sha1:3zfCIOncjccBH48a9T68uEKBRHY=
Content-Language: de-DE
In-Reply-To: <slrnt1ddc4.lk4.g.kreme@zephyrus.local>
 by: Arno Welzel - Thu, 24 Feb 2022 08:32 UTC

Lewis:

> In message <sv5rc0$6d2$1@dont-email.me> Robert Prins <robert@prino.org> wrote:
[...]
>> Then again, people never seem to learn: <http://www.ncdm.com/bloat/bloat.htm>
>
> In 1999 computers and the Internet were very very different. Most people
> were still on dialup and very few people had access ot anything
> approaching the speed of a T1 line. Now, most everyone has easy access to
> the equivalent of *at least* 100 T1 lines and computers with literally
> thousands of times the memory. Worrying about a 100K text file in 2022
> is absurd.

In 1999 I had a connection with 768 kBit/s downstream (DSL just got
available in my region) and IIRC a PC with 128 MB RAM and at least 1 GB
hard disc. But even before in the late 1990ies it was already a Modem
with 56 KBit/s or ISDN with 64 KBit/s - downloading 1 MB of data took
around 3-4 minutes, so not a big deal either.

--
Arno Welzel
https://arnowelzel.de

Re: format for Tablets and Smart Phones?

<slrnt1et70.29go.g.kreme@m1mini.local>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=184&group=comp.infosystems.www.authoring.html#184

  copy link   Newsgroups: comp.infosystems.www.authoring.html alt.html comp.infosystems.www.authoring.stylesheets
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!kreme.dont-email.me!.POSTED!not-for-mail
From: g.kr...@kreme.dont-email.me (Lewis)
Newsgroups: comp.infosystems.www.authoring.html,alt.html,comp.infosystems.www.authoring.stylesheets
Subject: Re: format for Tablets and Smart Phones?
Date: Thu, 24 Feb 2022 12:06:57 -0000 (UTC)
Organization: Miskatonic U
Lines: 39
Message-ID: <slrnt1et70.29go.g.kreme@m1mini.local>
References: <suuegb$gvs$1@dont-email.me>
<slrnt15kh8.ebh.g.kreme@zephyrus.local> <suuqbi$ljv$1@dont-email.me>
<sv5rc0$6d2$1@dont-email.me> <slrnt1ddc4.lk4.g.kreme@zephyrus.local>
<j7ou57F4q9U2@mid.individual.net>
Reply-To: g.kreme@gmail.don-t-email-me.com
Injection-Date: Thu, 24 Feb 2022 12:06:57 -0000 (UTC)
Injection-Info: kreme.dont-email.me; posting-host="08f1eaa5c47782ce82c57a72bfd62862";
logging-data="21330"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+pmThDiJrgmZuEd0xi0Cou"
User-Agent: slrn/1.0.3 (Darwin)
Cancel-Lock: sha1:6jFDe1QjU/wBZBpnpPUMC7FfmSo=
X-Face: )^b5"R:T7U>9~:PEn3YkzMfW*[b1qKeU.fP9C8~8HpU9}lA&6`bH1z
X-Clacks-Overhead: GNU Terry Pratchett
Mail-Copies-To: nobody
 by: Lewis - Thu, 24 Feb 2022 12:06 UTC

In message <j7ou57F4q9U2@mid.individual.net> Arno Welzel <usenet@arnowelzel.de> wrote:
> Lewis:

>> In message <sv5rc0$6d2$1@dont-email.me> Robert Prins <robert@prino.org> wrote:
> [...]
>>> Then again, people never seem to learn: <http://www.ncdm.com/bloat/bloat.htm>
>>
>> In 1999 computers and the Internet were very very different. Most people
>> were still on dialup and very few people had access ot anything
>> approaching the speed of a T1 line. Now, most everyone has easy access to
>> the equivalent of *at least* 100 T1 lines and computers with literally
>> thousands of times the memory. Worrying about a 100K text file in 2022
>> is absurd.

> In 1999 I had a connection with 768 kBit/s downstream

That's nice. So did I. Very Very few people had that. A tiny minuscule
percentage. A rounding error.

> available in my region) and IIRC a PC with 128 MB RAM and at least 1 GB
> hard disc. But even before in the late 1990ies it was already a Modem
> with 56 KBit/s or ISDN with 64 KBit/s - downloading 1 MB of data took
> around 3-4 minutes, so not a big deal either.

Yes, but 56Kb and 200Mb are vastly different speeds, and 200Mb is
200,000Kb, and most everyone has access to at least 200Mb down (and many
people have access to 1Gb down).

My current machine has 32 GB of RAM, or about 32,000 MB of RAM, and
128MB of Ram in 1999 was exceedingly rare. Most machines then still had
15 or 32 MB of RAM, professional Desktops would ship with 64MB.

The point is, 100K might have been something to worry about a little in
1999, but it is meaningless now.

--
THE DEATH OF A WARRIOR OR THE OLD MAN OR THE LITTLE CHILD, THIS I
UNDERSTAND, AND I TAKE AWAY THE PAIN AND END THE SUFFERING. I DO
NOT UNDERSTAND THIS DEATH-OF-THE-MIND. --The Light Fantastic

Re: format for Tablets and Smart Phones?

<j7pmmnF4rfqU1@mid.individual.net>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=185&group=comp.infosystems.www.authoring.html#185

  copy link   Newsgroups: comp.infosystems.www.authoring.html alt.html comp.infosystems.www.authoring.stylesheets
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.mixmin.net!news2.arglkargh.de!news.karotte.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: use...@arnowelzel.de (Arno Welzel)
Newsgroups: comp.infosystems.www.authoring.html,alt.html,comp.infosystems.www.authoring.stylesheets
Subject: Re: format for Tablets and Smart Phones?
Date: Thu, 24 Feb 2022 16:31:36 +0100
Lines: 52
Message-ID: <j7pmmnF4rfqU1@mid.individual.net>
References: <suuegb$gvs$1@dont-email.me>
<slrnt15kh8.ebh.g.kreme@zephyrus.local> <suuqbi$ljv$1@dont-email.me>
<sv5rc0$6d2$1@dont-email.me> <slrnt1ddc4.lk4.g.kreme@zephyrus.local>
<j7ou57F4q9U2@mid.individual.net> <slrnt1et70.29go.g.kreme@m1mini.local>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Trace: individual.net a5cL8Q3nzR3BSTlSfNjP8w4XAeXKfE/jyGwPffF5iJVMZvxjzZ
Cancel-Lock: sha1:52qKEZiP9dSjXCpGQN0NqovY15Q=
Content-Language: de-DE
In-Reply-To: <slrnt1et70.29go.g.kreme@m1mini.local>
 by: Arno Welzel - Thu, 24 Feb 2022 15:31 UTC

Lewis:

> In message <j7ou57F4q9U2@mid.individual.net> Arno Welzel <usenet@arnowelzel.de> wrote:
>> Lewis:
>
>>> In message <sv5rc0$6d2$1@dont-email.me> Robert Prins <robert@prino.org> wrote:
>> [...]
>>>> Then again, people never seem to learn: <http://www.ncdm.com/bloat/bloat.htm>
>>>
>>> In 1999 computers and the Internet were very very different. Most people
>>> were still on dialup and very few people had access ot anything
>>> approaching the speed of a T1 line. Now, most everyone has easy access to
>>> the equivalent of *at least* 100 T1 lines and computers with literally
>>> thousands of times the memory. Worrying about a 100K text file in 2022
>>> is absurd.
>
>> In 1999 I had a connection with 768 kBit/s downstream
>
> That's nice. So did I. Very Very few people had that. A tiny minuscule
> percentage. A rounding error.
>
>> available in my region) and IIRC a PC with 128 MB RAM and at least 1 GB
>> hard disc. But even before in the late 1990ies it was already a Modem
>> with 56 KBit/s or ISDN with 64 KBit/s - downloading 1 MB of data took
>> around 3-4 minutes, so not a big deal either.
>
> Yes, but 56Kb and 200Mb are vastly different speeds, and 200Mb is
> 200,000Kb, and most everyone has access to at least 200Mb down (and many
> people have access to 1Gb down).

I talk about the internet connection speeds around 1999 - and this was
already at least 7-8 KB/s or 1 MB in 3-4 Minutes. 100 KB extra data
neede about 15-20 seconds additional download time. Not really a big
deal when a download already took several minutes.

I remember that early web browsers also needed already more than 1 MB of
data and no one really complained about the "waste" of memory for that
use case.

> My current machine has 32 GB of RAM, or about 32,000 MB of RAM, and
> 128MB of Ram in 1999 was exceedingly rare. Most machines then still had
> 15 or 32 MB of RAM, professional Desktops would ship with 64MB.

As I mentioned: my first Pentium based PC already had 16 MB and this was
not extremely expensive. I could afford extending this to 32 MB only 1
year later. In 1999 the price per MB for RAM was about 0,60 EUR. So
getting 128 MB was just around 77 EUR.

--
Arno Welzel
https://arnowelzel.de

Re: format for Tablets and Smart Phones?

<1973297.oMNUckLgyt@PointedEars.de>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=186&group=comp.infosystems.www.authoring.html#186

  copy link   Newsgroups: comp.infosystems.www.authoring.html alt.html comp.infosystems.www.authoring.stylesheets
Followup: comp.infosystems.www.authoring.stylesheets
Path: i2pn2.org!i2pn.org!aioe.org!news.mb-net.net!open-news-network.org!.POSTED.178.197.201.98!not-for-mail
From: PointedE...@web.de (Thomas 'PointedEars' Lahn)
Newsgroups: comp.infosystems.www.authoring.html,alt.html,comp.infosystems.www.authoring.stylesheets
Subject: Re: format for Tablets and Smart Phones?
Followup-To: comp.infosystems.www.authoring.stylesheets
Date: Fri, 25 Feb 2022 20:11 +0100
Organization: PointedEars Software (PES)
Lines: 30
Message-ID: <1973297.oMNUckLgyt@PointedEars.de>
References: <suuegb$gvs$1@dont-email.me>
Reply-To: Thomas 'PointedEars' Lahn <usenet@PointedEars.de>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8Bit
Injection-Info: gwaiyur.mb-net.net; posting-host="178.197.201.98";
logging-data="1288765"; mail-complaints-to="abuse@open-news-network.org"
User-Agent: KNode/4.14.10
Cancel-Lock: sha1:9V3DAaw3jX1eQ6qUJKENHaW5gso=
X-User-ID: U2FsdGVkX1/z+uNOiTkWcowIyNf0aib+XxI280A/RUacHYerqFdIiA==
X-Face: %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&.<b';Md8`dH6iqhT)6C^.Px|[=M@7=Ik[_w<%n1Up"LPQNu2m8|L!/3iby{-]A+#YE}Kl{Cw$\U!kD%K}\2jz"QQP6Uqr],./"?;=4v
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEXTxa4RFk5dUWANED8PFEfy7+MGBiW+n3ZNF/QuAAACaElEQVQ4jVXUwVOcMBQG8Dc7Rc4PUntdWV2uxjDpGaGeozOp1woar4jd5t/v9wLstMwsA/ntlxdCAgUc1hjTc9/JCZfGoo3wG3HdmdAWrIJRHe7GM/TmpY5VFefuVcAkkPbLIaN8rmPmjloyZxgyR3GuJ4K0AGtJ2htz8o7yqikm759fldQXaMpbDzjKAG+8v+AugVTOPO5DOjLvGtUYQwh0CPjnVMyGd+8/GfUB5nLKJDD2aLDh5HYyMDJGDwQIo2ZmZcKbowNmAdB/AzyFhrmF2MHRb0QJJfaAnwGB6orZhoykLzJtGwF/xpYxI1dswomiUj3gTuAIqCn/4C7cULwGNBtwMTk3Y4LfKB5YUaOKBKYtpplm7u0vip8tU1NWWyI/7XdcSuIDoMt6rVHMWT0DbjHPGqDqZVSa6zleLcUTcIKLoMv3ueJluALtAo9B302zPPlrtiVScRdCjXvVh3e3JpYa/jjkuC9N+LrBMlz/eAN4eQijX2EdLo6c5tGGHwLyHFtXk89dDGHwCVhG9T0S/j55AhRZgkMCmUQXJ49TnS1wnQDvw0eAh9ICeMmEFbCnPMFzjAvsWoEWEFdYEx+S0MoUZ1gT1wId8+AF3Bl2OoEu906AUHx5VLw/gXYg/x84loOah/2UYNrgiwSwGO7RfUzVBbx/kgpckumGOi6QirtD6gkLTitbnxNol47S2jVc2vsN5kPqaAHT8uUdAJM4v/DanjYOwmUjWznGfwB7sGtAtor5BgofDuzaRj4kSQAqDakTsKORa3Q3xKi3gE1fhl71KRMqrdZ2AWNNg/YOhQyrVBnb+i+nEg4bsDA+egAAAABJRU5ErkJggg==
 by: Thomas 'Pointed - Fri, 25 Feb 2022 19:11 UTC

Dale crossposted across 3 newsgroups without Followup-To:

You should not do that.

> I have a CSS for my website:
>
> https://www.dalekelly.org/mystyle.css" rel="nofollow" target="_blank">https://www.dalekelly.org/mystyle.css
>
> https://www.dalekelly.org/
>
> One of the things it does is size images based on browser window size

Do not do that. Use the viewport size as basis instead.

> I would like to do something similar for PDF files

The display of PDF documents in a Web browser, and whether it is possible at
all, depends on the capabilities of the Web browser. All you can do a Web
author is to size an iframe in which the document might be displayed (if the
Web browser supports that by plugin or built-in viewer), which I recommend
against on mobiles.

> and inner-HTML pages

What do you think would be “inner-HTML pages”?
--
PointedEars
<https://github.com/PointedEars> | <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2
Please do not cc me. /Bitte keine Kopien per E-Mail.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor