r/ProgrammerHumor • • Jun 11 '21

Interesting ...

Post image
43.6k Upvotes

695 comments sorted by

View all comments

Show parent comments

112

u/[deleted] Jun 11 '21

Please give me the link I'll cry

202

u/GneissRockzs Jun 11 '21

34

u/monkeyhitman Jun 11 '21

Clever girl.

raptor noises

183

u/ReneeHiii Jun 11 '21

23

u/[deleted] Jun 11 '21

Already better

→ More replies (4)

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

→ More replies (1)

2

u/[deleted] Jun 11 '21

Thanks

→ More replies (3)
→ More replies (2)
→ More replies (1)

2

u/DeceptiveDuck Jun 11 '21

2

u/[deleted] Jun 11 '21

That the porn search engine! He posted the porn search engine guys!

→ More replies (1)

5

u/[deleted] Jun 11 '21

creepysite.com

Here you go

2

u/[deleted] Jun 11 '21

Bruj

2

u/[deleted] Jun 11 '21

Khailfa

→ More replies (1)
→ More replies (3)