TIP: Click on subject to list as thread! ANSI
echo: synchronet
to: alt.bbs.synchronet
from: 711 Spooky Mart
date: 2021-11-08 14:40:00
subject: Re: Mobile Web Pages

From Newsgroup: alt.bbs.synchronet

On 11/8/21 10:47 AM, Sys64738 wrote:
> I'm looking to set up my web presence for my bbs with web pages that detect mobile/tablet browsers and present web pages tailored to those type browsers by default.  Has anyone explored this already so I'm not trying to reinvent the wheel so-to-speak?

Use responsive CSS3 to change size and layout of page elements based on
viewport and @media declarations. This is called "responsive layout."

Don't use JavaScript. You'll have to do ten times as much coding with
JavaScript as CSS3, it will be more error-prone, and it will slow down
page loading.

It may take an hour or two to really grok what the DOM is doing with
CSS3 @media statements. It's a lot easier than messing around with JS. I
have built many, many websites without a single line of JavaScript that
look clean and scaled perfectly to whatever device is viewing.

You can also find free 'pure CSS3' responsive templates online that will
speed you on your way.

Here is a good start:

Responsive Web Design - Media Queries
https://www.w3schools.com/css/css_rwd_mediaqueries.asp

Responsive Web Design - The Viewport
https://www.w3schools.com/css/css_rwd_viewport.asp

Viewport concepts
https://developer.mozilla.org/en-US/docs/Web/CSS/Viewport_concepts

Fun With Viewport Units
https://css-tricks.com/fun-viewport-units/
-- 
ÄÄÚÄÄÄÄ¿ÄÄÚÄÄ¿ÄÄÄÚÄÄ¿ÄÄ  ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ÚÄÄÄÄÄÄÄÄ¿
ÄÄÀÄĿijÄÄÀ¿Ä³ÄÄÄÀ¿Ä³ÄÄ  ³ Spooky Mart [chan] 711 ³ ³ always ³
ÄÄÄÄijijÄÄÚÙÄÀ¿ÄÄÚÙÄÀ¿Ä  ³ https://bitmessage.org ³ ³  open  ³
ÄÄÄÄÄÀÄÙÄÄÀÄÄÄÙÄÄÀÄÄÄÙÄ  ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÀÄÄÄÄÄÄÄÄÙ
--- Synchronet 3.19a-Win32 NewsLink 1.113
                                                                       
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)

SOURCE: echomail via QWK@pharcyde.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™.