MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1x0cf7c/whichsideareyouon/pejfrpo/
r/ProgrammerHumor • u/hpyfox • Oct 08 '26
132 comments sorted by
View all comments
229
<button> everything is a button if you try hard enough
100 u/fghjconner Oct 08 '26 Oh, so you're the motherfucker responsible for all the links that can't be middle clicked, huh? 20 u/matytyma Oct 08 '26 I've seen a website that had elements looking like buttons be links and elements looking like links be buttons (but still used just for static redirects) 2 u/thehobbyqueer Oct 08 '26 ope. am i not supposed to be making links into buttons?In my defense I'm not front end 5 u/matytyma Oct 08 '26 A link that works like a link and looks like a button? That's totally OK 3 u/thehobbyqueer Oct 08 '26 oh ok. love u xoxo 3 u/mentisyy Oct 08 '26 I hate sites like that. I've built browser extensions for several sites just to fix their incompetence. 1 u/fr000gs Oct 08 '26 And scroll to zoom, drag to pan 14 u/hpyfox Oct 08 '26 edited Oct 08 '26 I've seen a page use <span> everywhere (only on text). It made sense why but was interesting to see. 8 u/za72 Oct 08 '26 that's just abusing the standards... 3 u/hpyfox Oct 08 '26 That's not what MDN states.https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/span 17 u/JeffysChewToy Oct 08 '26 Lol put span{display:block} and you've got a new div 10 u/SilasTalbot Oct 08 '26 2 u/matytyma Oct 08 '26 Add inline display for div and just use them where you'd normally use the other one 0 u/za72 Oct 08 '26 nice speech - it's still abuse 1 u/genghis_calm Oct 08 '26 Hopefully it was RNW output 1 u/hpyfox Oct 08 '26 I don't think so.https://playground.tensorflow.org/ - Le website 2 u/HarryBolsac Oct 08 '26 You mean <table> right? 1 u/Familiar_Ad_8919 Oct 08 '26 ive seen someone override img to style an entire paragraph below the image, like an entire card contained in an img tagif u have the perseverance u can do this with just an img
100
Oh, so you're the motherfucker responsible for all the links that can't be middle clicked, huh?
20 u/matytyma Oct 08 '26 I've seen a website that had elements looking like buttons be links and elements looking like links be buttons (but still used just for static redirects) 2 u/thehobbyqueer Oct 08 '26 ope. am i not supposed to be making links into buttons?In my defense I'm not front end 5 u/matytyma Oct 08 '26 A link that works like a link and looks like a button? That's totally OK 3 u/thehobbyqueer Oct 08 '26 oh ok. love u xoxo 3 u/mentisyy Oct 08 '26 I hate sites like that. I've built browser extensions for several sites just to fix their incompetence. 1 u/fr000gs Oct 08 '26 And scroll to zoom, drag to pan
20
I've seen a website that had elements looking like buttons be links and elements looking like links be buttons (but still used just for static redirects)
2 u/thehobbyqueer Oct 08 '26 ope. am i not supposed to be making links into buttons?In my defense I'm not front end 5 u/matytyma Oct 08 '26 A link that works like a link and looks like a button? That's totally OK 3 u/thehobbyqueer Oct 08 '26 oh ok. love u xoxo
2
ope. am i not supposed to be making links into buttons?
In my defense I'm not front end
5 u/matytyma Oct 08 '26 A link that works like a link and looks like a button? That's totally OK 3 u/thehobbyqueer Oct 08 '26 oh ok. love u xoxo
5
A link that works like a link and looks like a button? That's totally OK
3 u/thehobbyqueer Oct 08 '26 oh ok. love u xoxo
3
oh ok. love u xoxo
I hate sites like that. I've built browser extensions for several sites just to fix their incompetence.
1 u/fr000gs Oct 08 '26 And scroll to zoom, drag to pan
1
And scroll to zoom, drag to pan
14
I've seen a page use <span> everywhere (only on text). It made sense why but was interesting to see.
<span>
8 u/za72 Oct 08 '26 that's just abusing the standards... 3 u/hpyfox Oct 08 '26 That's not what MDN states.https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/span 17 u/JeffysChewToy Oct 08 '26 Lol put span{display:block} and you've got a new div 10 u/SilasTalbot Oct 08 '26 2 u/matytyma Oct 08 '26 Add inline display for div and just use them where you'd normally use the other one 0 u/za72 Oct 08 '26 nice speech - it's still abuse 1 u/genghis_calm Oct 08 '26 Hopefully it was RNW output 1 u/hpyfox Oct 08 '26 I don't think so.https://playground.tensorflow.org/ - Le website
8
that's just abusing the standards...
3 u/hpyfox Oct 08 '26 That's not what MDN states.https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/span 17 u/JeffysChewToy Oct 08 '26 Lol put span{display:block} and you've got a new div 10 u/SilasTalbot Oct 08 '26 2 u/matytyma Oct 08 '26 Add inline display for div and just use them where you'd normally use the other one 0 u/za72 Oct 08 '26 nice speech - it's still abuse
That's not what MDN states.
https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/span
17 u/JeffysChewToy Oct 08 '26 Lol put span{display:block} and you've got a new div 10 u/SilasTalbot Oct 08 '26 2 u/matytyma Oct 08 '26 Add inline display for div and just use them where you'd normally use the other one 0 u/za72 Oct 08 '26 nice speech - it's still abuse
17
Lol put span{display:block} and you've got a new div
10 u/SilasTalbot Oct 08 '26 2 u/matytyma Oct 08 '26 Add inline display for div and just use them where you'd normally use the other one
10
Add inline display for div and just use them where you'd normally use the other one
0
nice speech - it's still abuse
Hopefully it was RNW output
1 u/hpyfox Oct 08 '26 I don't think so.https://playground.tensorflow.org/ - Le website
I don't think so.
https://playground.tensorflow.org/ - Le website
You mean <table> right?
ive seen someone override img to style an entire paragraph below the image, like an entire card contained in an img tag
if u have the perseverance u can do this with just an img
View all comments
229
u/just_looking_aroun Oct 08 '26
<button> everything is a button if you try hard enough