News for hackers. Stuff that matters.
Re:A div that looks different in every browser by howdydoo on Sunday July 08, 2018 @09:26PM (#17487342)
https://codepen.io/anon/pen/NzQQJm

This is a gross abuse of html, but if you really want that syntax, you can have it.

I can't say I understand all the complaining here. You want to make $200K a year sitting at a desk, but learning flexbox or googling when you need it is too much effort?

Re:A div that looks different in every browser by crimsonalucard on Monday July 09, 2018 @04:06AM (#17488673)
Brain fuck has pretty simple syntax too yet nobody wants to code in it because its trashy and inelegant.

Im tired of programmers who've become experts in building structures by ramming screws into wood with a hammer claiming that all is well with the world when you have powerful hammers and screws.

I think we have a whole generation of front end programmers who haven't seen a screw driver.

Re:A div that looks different in every browser by pjmlp on Monday July 09, 2018 @01:11AM (#17488100)
Where is this $200k wonderful place?
Re:A div that looks different in every browser by luk32 on Tuesday July 10, 2018 @04:24AM (#17496255)
For 200k I'd consider working even on JS and front-end xD
Re:A div that looks different in every browser by lisper on Sunday July 08, 2018 @10:07PM (#17487479)
Your code breaks the <center> tag: if you try to nest a <center> inside your <vertical-center> it doesn't work.

And my complaint is that I believe that computing should be accessible to everyone, and that simple things should not be made difficult just so that an elite guild can command above-market wages to fix problems that they themselves created. I don't believe in broken-windows economics.

Re:A div that looks different in every browser by talmand on Monday July 09, 2018 @11:26AM (#17490919)
Wait, front-end developers who use CSS created the problems of CSS? That's really funny. I mean, that's the most mind-blowing accusation I've heard in a long time. I would have to suggest you are commenting on a topic that you actually know very little about.

But at least you are entertaining.

Re:A div that looks different in every browser by lisper on Monday July 09, 2018 @12:29PM (#17491429)
Who do you think created CSS? CSS was not handed down on stone tablets by the gods, it was designed by humans, and I presume that at least some of the people who designed CSS actually used it (though to be honest I don't actually know who was on the committee). I don't know if it was their intent to make something Byzantine that served as an effective barrier to entry to doing front-end design, but that was in fact what they did.
Re:A div that looks different in every browser by talmand on Monday July 09, 2018 @03:18PM (#17492702)
Who created CSS as we know it? CERN. More or less.

Who first tested and implemented CSS? Browser programmers.

These days it's under the control of committee. I think I would disagree with the notion that CSS devs are the ones to blame in this case. Sure, there's lots of blame to share for the problems. To imply that CSS developers intentionally forced it to be complicated for purposes of job security is laughable.

After all, CSS is not C++.

Re:A div that looks different in every browser by lisper on Monday July 09, 2018 @03:43PM (#17492861)
I didn't say that was their intent, only that the current state of the art has that effect. And that I think this is a bad thing.
Re:A div that looks different in every browser by b2ccb2 on Monday July 09, 2018 @03:16AM (#17488489)
Re:A div that looks different in every browser by lisper on Monday July 09, 2018 @12:04PM (#17491236)
Cool, thanks!