Previous Thread
Next Thread
Print Thread
Hop To
#265393 07/10/2022 4:26 PM
Joined: Oct 2007
Posts: 451
Likes: 11
Addict
Addict
Joined: Oct 2007
Posts: 451
Likes: 11
I'm making an effort to update our website to use the latest html and css, and part of that process is eliminating tables entirely for layout. I know that we are using tables to layout the header for our forum, so I thought I'd copy the source code of the forum home page into a test page and fiddle with our code to see if I could get it working without tables.

Much to my surprise, I discovered that ubb is using tables for layout as well.

Are the developers working on converting the software to correct layout for html5 and css3?

We have about 5600 static pages that need updating, so we will be at this for a while. I know this is a monumental task. I'm just asking if it's in the development plan for 8.0 or later?

BTW, I highly recommend looking at flexbox css if you have not already.


The Stovebolt Geek
https://www.stovebolt.com/ubbthreads/ubbthreads.php

Server Information
UBB.threads Version 8.0.0
Release 20240826
Server OS Linux
Server Load 0.11
Web Server Apache/2.4.37
PHP Version 8.3.11
MYSQL Version 8.0.39
Database Size 1.82 GB
Joined: Apr 2004
Posts: 1,973
Likes: 154
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,973
Likes: 154
There is nothing wrong with using tables in HTML5 or HTML4, except that they should be used correctly. This means, they should be used as tabular tables, not layout grids. Early web designers used tables for user interface layouts because CSS support across browsers used to be terrible. table layouts are much less common nowadays, but you'll still see them used all over the web.

Because UBB.threads base code was released in 2005 (and written prior), the base templates were based on table grids of that time. Around 2017 I took on the long task of upgrading all of the templates from HTML static grid tables and inlined styles, to a responsive layout capable of displaying on desktop and mobile screens, and moving most all inlined style to their proper CSS files. This work has maintained backward compatibility with UBB.threads from 2005, while functioning correctly on all screen sizes in today's world (2022). Current versions of UBB.threads are using a responsive system based on table grids and modern CSS standards.

Be aware that modern internet tech is still stuck using tables for email layout, if you need to support the majority of email clients unfortunately.
https://www.caniemail.com/features/css-display-grid/

Also be aware that older browsers (Internet Explorer 11 and older) do not support CSS3.
For example, flexbox and object-fit only became available as of Edge 16, iOS 8.1, Android 4.3.
https://caniuse.com/flexbox
https://caniuse.com/object-fit

In 2017 you stated, "Some of our members are using 2400 baud modems."
https://www.ubbcentral.com/forums/ubbthreads.php/topics/260341/restricting-images

Do you still have users connecting to your modern website using 30+ year old ancient dial-up (POTS) hardware?
https://en.wikipedia.org/wiki/Modem#Evolution_of_dial-up_speeds

Last edited by isaac; 07/11/2022 2:23 PM. Reason: corrected a refrence link

current developer of UBB.threads php forum software
current release: UBB.threads 8.0.0 // wip: UBB.threads 8.0.1
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Oct 2007
Posts: 451
Likes: 11
Addict
Addict
Joined: Oct 2007
Posts: 451
Likes: 11
Thanks for the explanation.
Quote
In 2017 you stated, "Some of our members are using 2400 baud modems."
https://www.ubbcentral.com/forums/ubbthreads.php/topics/260341/restricting-images

Do you still have users connecting to your modern website using 30+ year old ancient dial-up (POTS) hardware?
https://en.wikipedia.org/wiki/Modem#Evolution_of_dial-up_speeds
We have members from all over the world, so I have no doubt we still have a few. We haven't had any recent complaints about slow connections or slowness loading images though.


The Stovebolt Geek
https://www.stovebolt.com/ubbthreads/ubbthreads.php

Server Information
UBB.threads Version 8.0.0
Release 20240826
Server OS Linux
Server Load 0.11
Web Server Apache/2.4.37
PHP Version 8.3.11
MYSQL Version 8.0.39
Database Size 1.82 GB

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Another error
by Baldeagle - 10/07/2024 9:08 PM
Is this a cookie issue?
by Baldeagle - 10/05/2024 2:01 PM
Search button not there
by ehill - 10/02/2024 2:56 PM
Change the Order of the buttons in a post
by Unixspot - 09/19/2024 10:04 PM
How do I get rid of this?
by Baldeagle - 09/12/2024 6:30 PM
Who's Online Now
1 members (Ravenfreak), 578 guests, and 64 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)