Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I'm working on an old chimera from back when asp.net forms was a thing. Yes, tables are very much a thing.
-
Root797675y@Axel1011111 <table>s are for making tables. If you're making a table, use a <table>. Using non-semantic markup is both confusing and overcomplicating it.
-
@Root Thanks.
In my head the non political answer was: You can fuck with a dildo ... But it doesn't make as much fun.
Thx for explaining properly. -
Marl3x26765yI agree with the others but standard html tables have a lot of downsides. I fucking hate them. The only problem with recreating them from scratch is semantic correctness. Screenreaders for example, wont be able to read them, except you add a lot of mumbo jumbo.
So it's entirely dependant on the situation at hand. I would use tables for small datasets, that are only being displayed. If you add functionality to them, like editable fields, go the custom route. Just don't forget to add aria attributes though. -
Most of the time this discussion goes on....
<...> Enumeration of possible wird's
Why use tables, not div's?
Because you want to represent a table....
But tables are hard and <positioning, aligning, ...> isn't working.
Yes, because you are throwing every form of <positioning, aligning...> in a mixer and expect it to work inside... Maybe think about it and plan it...
Div's are so much better than tables. And responsive!
Representing a large chunk of data in a table isn't responsive per se. You'd need to either reduce the data and completely transform the table to fit the page - which is unreadable. Or just leave it, which would be best, and let it scroll.
And so on... I had this discussion too many times... -
C0D4669025yFor data sets, use tables.
Use css / markup correctly and they'll work on anything at any screen size.
To many columns, make them scrollable.
To many rows, load in parts and pagination data as you scroll down.
Using them for layouts... we aren't working with IE6 anymore so don't be that dickhead. -
@ArcaneEye At a previous employer, we ripped those out of our old asp.net application and replaced them with bootstrap.
-
dcprm1725yI was using table for positioning till last week but then I got to know about grid and flex display types..
-
@12bitfloat @IntrusionCM @Root
I had heard that table was deprecated since HTML 4, but you three prompted me to research further and it must have been a miscommunication because it's only deprecated for layouts. So thank you for inadvertently teaching me something -
@AlgoRythm Yeah. Table for solving layout issues is pretty bad. Like @COD4 Said: The brain damaged IE support isn't necessary anymore...
-
@IntrusionCM IE 11 actually supports a limited version of flex, which is ...nice?
-
@AlgoRythm half true.
IE 10 has flexbox tweener, IE 11 not I think...
https://caniuse.com/#feat=flexbox
Says ton of bugs...
Edit: Just Support Edge, Case closed. :) -
@IntrusionCM my last job used IE and didn't allow Edge
And yeah that's why I said a limited flex. It will kinda work but the layout rules aren't consistent with Chrome and Firefox. -
@AlgoRythm
That sounds awful. I know the feeling though; been at plenty of companies that set software policies based on legacy lowest common denominator. -
C0D4669025y@AlgoRythm edge? I have FireFox semi blocked as it doesn't appreciate the corporate proxy being a MITM with self signed certificates.
Apparently someone wasn't aware FF doesn't use the Windows certificate store by default. -
@C0D4 they disallowed Edge because people would confuse it with IE, which many of our (well, not mine anymore) archaic programs still require.
They still allowed chrome and FF. -
@C0D4
In newer FF Version (68? Not sure) group management policies can be used to configure Windows Key Store / Certificate Management
Found Link:
https://github.com/mozilla/...
https://github.com/mozilla/... -
@C0D4 Yo' why didn't I think of scrolling columns? How pathetic I am. Thanks, I have a huge table display at work and it's pretty ugly, and I'm working on it this week.
-
Loud and proud, brother! I use dat shit raw, boy! No border collapsin' n shiet, no fancy padding, none of them sortin' n searchin' and pagimanation, breh! Old skool rulez, baby! Peace.
Always scroll sideways. Amen.
Related Rants
Humans, I have a quick question:
Does anyone still uses tables in html?
question
html
random thought