Comment on No JS, No CSS, No HTML: online "clubs" celebrate plainer websites
ThePowerOfGeek@lemmy.world 1 day ago
JavaScript, AJAX, and modern web frameworks have pushed us away from displaying information in a pure and clean way. We need to go back to a better time!
Looks at no-HTML websites
Shit, we’ve gone back too far!
b_tr3e@feddit.org 1 day ago
CSS on the other hand is quite essential to separate layout from content. Which is a good thing, so I can’t really think of a reason for a “no-CSS” rule. Specifically if you can use inline styles as well but in a way more messy way.
garretble@lemmy.world 1 day ago
CSS is useful but also the devil.
SonOfAntenora@lemmy.world 1 day ago
CSS is mostly evil when you have to center elements in the page.
garretble@lemmy.world 1 day ago
text-align: center
or
margin: auto
or
grid
or
flexbox
It’s really not that hard now.
Zexks@lemmy.world 1 day ago
Learn flex forget pixels and screen measurements.
howrar@lemmy.ca 1 day ago
I think the idea is that you keep the layout as simple as possible such that you don’t need any code for it, css or otherwise.
sik0fewl@lemmy.ca 1 day ago
I know that’s what CSS is supposed to do, but I’m not sure many people use it that way.
jaybone@lemmy.zip 1 day ago
Separating layout from content is good. CSS is a really bad way to do it.
victorz@lemmy.world 1 day ago
Do you have an example of a good way to do it?
JackbyDev@programming.dev 1 day ago
Separate you layout from content so hard that you have no opinions about the layout.
b_tr3e@feddit.org 1 day ago
Oh, come on. You really want some at least readable output. Things like image borders, consistently positioned images/diagrams, line breaks and page borders. Some whitespace and indentations, too. You just can’t read a couple of pages full of unformatted raw text without massive eye fatigue. I’m all for dumping JS and excessive frameworks, I’d prefer well-formed XHTML over any of that clients-side scripted crap, but totally rejecting CSS is pointless zealotry.
frezik@lemmy.blahaj.zone 1 day ago
Some people haven’t lived through the time when HTML layout was done through nested tables, and it shows.
zloubida@sh.itjust.works 23 hours ago
In a perfect world, these would be decided not server-side, but client-side by choices made by the browser users.
But our world is not perfect.
ParadoxSeahorse@lemmy.world 1 day ago
HTML but no-CSS has defaults though.
Can you read books
JackbyDev@programming.dev 1 day ago
Why do you think I’m advocating for getting rid of CSS and not being silly?