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.
Comment on No JS, No CSS, No HTML: online "clubs" celebrate plainer websites
b_tr3e@feddit.org 3 weeks agoCSS 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.
howrar@lemmy.ca 3 weeks ago
jaybone@lemmy.zip 3 weeks ago
Separating layout from content is good. CSS is a really bad way to do it.
victorz@lemmy.world 3 weeks ago
Do you have an example of a good way to do it?
sik0fewl@lemmy.ca 3 weeks ago
I know that’s what CSS is supposed to do, but I’m not sure many people use it that way.
JackbyDev@programming.dev 3 weeks ago
Separate you layout from content so hard that you have no opinions about the layout.
b_tr3e@feddit.org 3 weeks 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 3 weeks ago
Some people haven’t lived through the time when HTML layout was done through nested tables, and it shows.
zloubida@sh.itjust.works 3 weeks 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 3 weeks ago
HTML but no-CSS has defaults though.
Can you read books
b_tr3e@feddit.org 3 weeks ago
Yes , I can read books. I even read one or two of the 1200 around me. Those with the fuckpics and some of the funnier ones, like “Phyänomenologie des Geistes” by Hegel. I wouldn’t have if they had been layouted using browser standards.
JackbyDev@programming.dev 3 weeks ago
Why do you think I’m advocating for getting rid of CSS and not being silly?
b_tr3e@feddit.org 3 weeks ago
I don’t think. You can’t prove I do! Leave me alone. You’re one of them! I knew it all the time.
garretble@lemmy.world 3 weeks ago
CSS is useful but also the devil.
SonOfAntenora@lemmy.world 3 weeks ago
CSS is mostly evil when you have to center elements in the page.
garretble@lemmy.world 3 weeks ago
text-align: center
or
margin: auto
or
grid
or
flexbox
It’s really not that hard now.
Bilaketari@reddthat.com 3 weeks ago
What if I still have to support IE6?
Zexks@lemmy.world 3 weeks ago
Learn flex forget pixels and screen measurements.