Hacker Newsnew | past | comments | ask | show | jobs | submit | dennisbest's commentslogin

Just use flex-box. And by "use", I mean get ready to study it, change the way you write CSS, give it all of your worldly possessions, and eventually collect money for it at the airport.


I thought the css-tricks page did an incredible job of both explaining the concepts and laying out the information in such a way that it makes a great quick reference once you've gone through it.

https://css-tricks.com/snippets/css/a-guide-to-flexbox/


<div style="display:flex;justify-content:center;align-items:center;"> <div></div> </div>

?


Maybe the OP meant their description in a... well... positive way?

Certainly, flex-box addresses a problem that's been making CSS writers frustrated for a long time.


That is, assuming you don't need to support older browsers like ie9 or ie8...


This is one of those things you really, really deeply have to question. How much money (via dev time) do you spend on supporting such very old legacy content vs the derived value of said customers? Some people DO have that use case, and for them it is their lot to suffer. But that's clearly not he story presented in the link.

Same deal with mobile OS support, really. You have to have a pretty unusual or long-standing audience to support anything pre-4.2, let alone pre-4.0. iOS7 is also probably not worth the time to target for most products.


or ie10...


IE10 supports flexbox, it just supports the 2012 syntax.



Don't get me wrong. I love flex-box and use it. But I keep a bookmark to the CSS Tricks guide handy. :)


Excellent question. Poaching is worse. Glad to help. :)


Kennedy is addressing the idea (myth) that churches would be compelled to perform same-sex marriages or somehow face legal consequences for speaking on the issue.


[Myth?](http://www.cbn.com/cbnnews/us/2014/October/Idaho-Ministers-T...) Also, what about [photographers](http://www.theguardian.com/world/2014/apr/07/supreme-court-g...) and so on facing fines and criminal charges for not taking on clients? I came across this amusing story too, [pro-gay bakers refuse to make cakes that do not support their own precepts](https://www.lifesitenews.com/news/this-evangelist-asked-a-ga...).

Wait and see though, is what I say.


http://www.advocate.com/politics/marriage-equality/2014/10/2...

The key point about the Idaho ministers is this: "The Hitching Post has apparently in the past operated as a for-profit business and offered civil services as well as religious ceremonies. Earlier this month, it either became a religious organization or decided to present itself as such. If the Knapps are operating and plan to continue operating the Hitching Post as a religious organiztion, they have no reason to fear prosecution from the city."


The closest thing I have seen is that Denmark apparently forces all church buildings to be available for gay weddings. No priest is forced to officiate, but the local bishop must arrange a willing replacement if necessary.

http://www.telegraph.co.uk/news/worldnews/europe/denmark/931...


Denmark has a state church, which means that the church can influence politics, but also that politics can influence the church. So if church buildings are state buildings for marriage, and the state allows same-sex marriage, then those buildings have to accommodate same-sex marriages.

If the church has a problem with this, it should divorce the state.

In neighbouring Sweden, church and state separated in the year 2000, so when same-sex marriage was finally made legal in 2010, this was simply not an issue. The Church of Sweden can deny same-sex marriages on its premises and by its staff if it so chooses.


Separation of church and state gets a bit murky when there is a state religion.


It looks vaguely familiar. ;)


I'm changing the world. I'm changing history. I'm fully committed. His name is Theodore and he turns three in July.


The thoughtful and somewhat skeptical comments here on HN are so much better than the antagonistic and rude comments on the actual post.


My takeaway: I had no idea the ‽ character was a thing. Hooray!


Fine. But I reserve to laugh at Fortune. This line in the article stands out: "If you want to criticize someone for overvaluing Groupon, take a good long look at public market investors."

Aren't they doing THAT in this article?


Copying Apple? I thought Samsung was a South Korean company. (Boom!)


Apple clearly copied Red Star. Juche, bro.


I generally don't install Flash on my machines but recently I installed it because a major financial site that my employer uses (I know, WTF!?, right?) required it. I set the plugin to ask for permission every time and, holy cow, nearly every site, particularly news sites, requested it. It's a key part of the Web's advertising infrastructure.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: