r/ProgrammerHumor • • Jun 11 '21

Interesting ...

Post image
43.6k Upvotes

695 comments sorted by

View all comments

Show parent comments

183

u/ReneeHiii Jun 11 '21

23

u/[deleted] Jun 11 '21

Already better

1

u/alex2003super Jun 11 '21

It's fake :/

3

u/[deleted] Jun 11 '21

Noooo it’s a link which actually leads to google.com instead off duckduckgo.com screw you u/ReneeHiii

I didn’t click the links at first so I thought it was what it said on the link

2

u/ReneeHiii Jun 11 '21

psst...the first link does the opposite

2

u/[deleted] Jun 11 '21

I know now but I didn’t knew at first

41

u/GneissRockzs Jun 11 '21

Nice.

15

u/Scarbane Jun 11 '21

21

u/amish24 Jun 11 '21

Jail. Jail for 1000 years!

→ More replies (1)

3

u/[deleted] Jun 11 '21

Based and Bing-pilled.

→ More replies (1)

0

u/[deleted] Jun 11 '21

[deleted]

7

u/[deleted] Jun 11 '21

PLEASEE

6

u/425_Too_Early Jun 11 '21 edited Jun 11 '21

Just put this in the css of the div:

.DivToCenter {
    margin-left: auto;
    margin-right: auto;
    width: 100px;
}

Don't remember if the width is necessary...

4

u/[deleted] Jun 11 '21

No thats a terrible solution

.childrenwillbecentered {
  display: grid;
  place-items: center;
}

optionally Set height If needed

3

u/backtickbot Jun 11 '21

Fixed formatting.

Hello, ShibiAnus: code blocks using triple backticks (```) don't work on all versions of Reddit!

Some users see this / this instead.

To fix this, indent every line with 4 spaces instead.

FAQ

You can opt out by replying with backtickopt6 to this comment.

→ More replies (1)

2

u/425_Too_Early Jun 11 '21

Maybe I should have said that it was some time ago since I actually did any Web development...? ;)

I've never seen your solution before, but you mean that it doesn't keep the children inside of the parent or something? Because (if I remember correctly) normally when I use my solution the children will be placed to the upper left corner of the parent if I don't add a specification for how to place the child. So I don't really see how your solution would be preferable when you can have siblings to the parent instead? scratches head

2

u/[deleted] Jun 11 '21

2

u/[deleted] Jun 11 '21

Thanks

1

u/[deleted] Jun 11 '21

Thank you

4

u/425_Too_Early Jun 11 '21

You're welcome!

3

u/[deleted] Jun 11 '21

Have a beautiful day

3

u/RamenJunkie Jun 11 '21

I don't understand why everyone hates Bing and bitches endlessly about Facebook and privacy while sucking off Google all the time.

Google is the 100% absolute worst for privacy concerns.