I know that’s what CSS is supposed to do, but I’m not sure many people use it that way.
Comment on No JS, No CSS, No HTML: online "clubs" celebrate plainer websites
b_tr3e@feddit.org 1 day 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.
sik0fewl@lemmy.ca 1 day ago
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.
jaybone@lemmy.zip 1 day ago
Separating layout from content is good. CSS is a really bad way to do it.
victorz@lemmy.world 22 hours 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 22 hours ago
Some people haven’t lived through the time when HTML layout was done through nested tables, and it shows.
zloubida@sh.itjust.works 19 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 22 hours ago
HTML but no-CSS has defaults though.
Can you read books
b_tr3e@feddit.org 22 hours 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 23 hours ago
Why do you think I’m advocating for getting rid of CSS and not being silly?
b_tr3e@feddit.org 22 hours 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 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.
Bilaketari@reddthat.com 1 day ago
What if I still have to support IE6?
Zexks@lemmy.world 1 day ago
Learn flex forget pixels and screen measurements.