Live data from Hacker News

A div that looks different in every browser

twitter.com

1–10 of 133 posts

Re: A div that looks different in every browser

#2
On one hand I think this is really neat. On the other this is why I have never taken front end development seriously enough to spend any real time learning it [0]. From the get go it always seemed like the rules were arbitrary and involved lots of guessing to get things right. I know this isn't actually true but it felt true enough early on to poison my mind to it.

[0] Not something I'm proud of and I know front end development is serious business so don't @ me.

Re: A div that looks different in every browser

#8

Is one of these correct? Or is this combination of CSS properties ambiguously or un-defined by the spec in the first place?

From the person that wrote the code: "The specs are pretty vague about how this case should be rendered, but I think Edge handles it correctly here"

Re: A div that looks different in every browser

#10
post #2

On one hand I think this is really neat. On the other this is why I have never taken front end development seriously enough to spend any real time learning it [0]. From the get go it always seemed like the rules were arbitrary and involved lots of guessing to get things right. I know this isn't actually true but it felt true enough early on to poison my mind to it. [0] Not something I'm proud of and I know front end…

Try writing C meant to compile in different compilers, on different processor architectures. Or ANSI SQL meant to run in a variety of RDBMSes. Web GUI is not the only bastion of arbitrary behavior.

I would wager, if your goal is to make as wide-spread, cross-platform GUI as possible, a Web GUI is the easiest way to do that, for both the developer and the users.

Post reply on HN