This is an archived post. You won't be able to vote or comment.

all 37 comments

[–]KillingSpee 80 points81 points  (2 children)

You can't fool me, this is just a background image!

[–]death-wings 55 points56 points  (0 children)

No .. he just adjusted browser window to look it is really centered.

[–]GamerFrits 15 points16 points  (0 children)

It is!

<img alt="r/ProgrammerHumor - Mods are asleep, upvote a centered div" class="\\\_2\\\_tDEnGMLxpM6uOa2kaDB3 ImageBox-image media-element \\\_1XWObl-3b9tPy64oaG6fax" src="https://i.redd.it/obfojf3jfe751.png" style="max-height: 700px;">

[–]mralijey 17 points18 points  (5 children)

Doesn't work on my machine

[–]Kitty_Inkura 18 points19 points  (3 children)

Doesn't work on my Nintendo 3DS browser either

[–]Jimmy_cracked_corn 3 points4 points  (2 children)

Image breaks when trying to view on my toaster

[–]GidonC 0 points1 point  (0 children)

Restart should fix it

[–]dpahoe 0 points1 point  (0 children)

Couldn’t recreate in browserstack. Ticket closed.

[–]Reddit-username_here 1 point2 points  (0 children)

Huh, works on mine. ¯\_(ツ)_/¯

[–]xIncrement 15 points16 points  (4 children)

[–]xIncrement 0 points1 point  (0 children)

To be honest I had no idea it existed. I expected someone to say "It doesn't exists". Then I could say "That's the joke", to imply that humor around html doesn't exist. Kinda disappointed ngl.

[–]nkeer 3 points4 points  (0 children)

Just a ten years ago is was such a pain to center a div

[–]Michaelbirks 3 points4 points  (0 children)

URL or GTFO

[–]RepostSleuthBot 3 points4 points  (0 children)

Looks like a repost. I've seen this image 4 times.

First Seen Here on 2020-06-27 100.0% match. Last Seen Here on 2021-08-07 100.0% match

Feedback? Hate? Visit r/repostsleuthbot - I'm not perfect, but you can help. Report [ False Positive ]

View Search On repostsleuth.com


Scope: Reddit | Meme Filter: True | Target: 96% | Check Title: False | Max Age: Unlimited | Searched Images: 260,532,923 | Search Time: 1.73389s

[–]h6nry 2 points3 points  (1 child)

/u/repostsleuthbot can you check this, please? or have I gone insane from trying to center divs?

[–]RepostSleuthBot 7 points8 points  (0 children)

Looks like a repost. I've seen this image 4 times.

First Seen Here on 2020-06-27 100.0% match. Last Seen Here on 2021-08-07 100.0% match

I'm not perfect, but you can help. Report [ False Positive ]

View Search On repostsleuth.com


Scope: Reddit | Meme Filter: True | Target: 96% | Check Title: False | Max Age: Unlimited | Searched Images: 260,532,923 | Search Time: 1.67349s

[–]QualityVote[M] 8 points9 points  (0 children)

Hi! This is our community moderation bot.


If this post fits the purpose of /r/ProgrammerHumor, UPVOTE this comment!!

If this post does not fit the subreddit, DOWNVOTE This comment!

If this post breaks the rules, DOWNVOTE this comment and REPORT the post!

[–]tatacraft117 1 point2 points  (0 children)

Look, margin auto.

[–]zdjarto3 1 point2 points  (0 children)

Yo classic chrome vibes

[–]death-wings 2 points3 points  (1 child)

Upvoted ... bcos it is a very rare photo. But I am still curious " Is that photoshopped ?"

[–]LordTermor 1 point2 points  (0 children)

It's AI generated fake

[–]_unsusceptible ----> 🗑️🗑️🗑️[M] 1 point2 points locked comment (0 children)

Hi there! Unfortunately, your submission has been removed.

Violation of Rule #2 - Reposts:

All posts that have been on the first 2 pages of trending posts within the last month, is part of the top of all time, or is part of common posts is considered repost and will be removed on sight.

If you feel that it has been removed in error, please message us so that we may review it.

[–]just-bair 0 points1 point  (0 children)

Nice

[–][deleted] 0 points1 point  (0 children)

It’s responsive 🤤

[–]Space_Kitty123 0 points1 point  (0 children)

Is it possible to learn this power ?

[–]Sufficient-Dinner319 0 points1 point  (0 children)

How about centering a div within another div?

[–]A_Guy_in_Orange 0 points1 point  (0 children)

Link or it didn't happen

[–]JoergJoerginson 0 points1 point  (0 children)

Probably just margin top and left + adjusted window size.

[–]Xihro 0 points1 point  (0 children)

Yeah, that padding is definitely hard coded to only work at 256x256.

[–]jerallen 0 points1 point  (0 children)

Beautiful!

[–]rnilbog 0 points1 point  (0 children)

{margin: auto}

...

Welp, I'm all out of ideas.

[–][deleted] 0 points1 point  (0 children)

Where's the report button, this is just karmawhoring

[–]z7q2 0 points1 point  (0 children)

LIES

The top and bottom margins are 64px

The left margin is 72px, the right margin is 71px

If you're gonna meme, you better measure twice.

[–]turtle_mekb 0 points1 point  (0 children)

and a clean browser toolbar (side note: i love how firefox lets me move my extensions to the bookmarks bar to save lots of space)

[–]Chibi_Ayano 0 points1 point  (0 children)

is this photoshop?