Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "display:none"
-
LONG RANT ALERT, no TL;DR
* Writes an email to colleague about why I can't create a page on our CMS without at least a H1 title. She wants to me to put up an image with text on it (like a flyer), for multiple reasons, I say I need a textless image. *
30 minutes later:
* Casually plans a frontend optimization project, by looking at files on the CMS, in order to make further development easier and less time-taking*
*** EMAIL NOTIFICATION ***
* clicks *
"Hello, this is [Graphic designer] from the company who created the image with text on it. I do not understand why you can't put display:none on your <h1> tag. Also, being a web company, we are used to making themes and my solution of display:none will work. It's pityful to work on a design only to have it stripped out from most of its concept. If you can't do that, do tell me what resolution you need."
My first reaction:
"Dear [Graphic designer], I am managing our corporate identity, our backend and frontend codebase, I am a graphic designer myself, and am also SEO-aware. For at least 8 reasons (redacted, 'cuse too long), I will need an image without text. As told to my colleagues, I need a 72/96 DPI 16:9 ratio image, 1920x1080 is a good start but may be bigger. Also, looking at the image, it'll have to be in JPG, at 100% quality, exported for the web. Our database software will optimize the image by itself."
Reasons are about SEO issues, responsiveness issues, CMS tools issues, backend and frontend issues.
Instead, I sent following email "We can't. Image please."
I mean seriously. A bit of clarity for you:
In my company, nobody has the slightest idea what I do. They don't understand how a computer works (we all know it works by magic, right?). So of course, when one thinks what we don't know, we know it better than the one who knows, my colleague thought our CMS was like a word document, and began telling me how I should display her bible-length text-infected image, by using some inline css styling display:none.
I tell her "nope, because of my 8 reasons". She transmits that to the agency who's done the visual, now I have this [Graphic designer] not understanding that there are other CMSs than Wordpress on the web, and she tells me, me being one of the most aware on this CMS we have, how I should optimize my site?
Fucking shit, she connects on our CMS for 1 second and she'll get cancer since it's so bad. I'm in the process of planning a whole new rewrite so the website is well designed (currently I am modifying a base theme made by an incompetent designer). I know the system by heart and I know what you can, or can't do.
Now I just received an answer: "so it's only a pure technical problem". NO, OUR WEBSITE WAS CODED BY A CHIMPANZEE WHO THOUGHT WEB DEV WAS AS EASY AS WRITING "HELLO WORLD" ON A SHITTY CMS THAT FORCES DEV USERS TO USE A FUCKING CUM-WHITE-THEMED EDITOR TO EDIT THE WHOLE SITE!!!
I can't just sneeze and "oh look, it's working!"1 -
So rapper didn't pay me for his site I just built... body {display:none} got me what being polite did not #finallycsscomestotherescue1
-
Perk of being a web developer.
When a website tries to hide its content behind a pop-up become I have an ad-blocker. I can "display:none" that stuff away.4 -
The abillity to mute clients who use IE8.
<!--[if IE 8]> <style>
.client {
display:none!important;
}</style> <![endif]-->3 -
There is a special place in hell for people that use Boostrap, only to destroy it and recreate to destroy it and recreate for "customisation purpose"
I just spent a whole day figuring out what the fuck was going on with the collapse system that wouldn't trigger or was dying to trying to, only to discover that someone played the smartass by adding or removing a class when the collapse was triggered, so it would put everything in display:none
FUN FACT : ARIA-DISPLAY="TRUE/FALSE" HAS THIS EXACT PURPOSE, FUCKHEAD4 -
Anyone else *was* going to CSS day and felt a wave of sadness when they got the email it was cancelled ?
display:none; -
After working with a coworker on some odd issues, I finally decided to check on the actual ticket he needed assistance with.
From now on, we will optimize our HTML for aesthetic appeal in Chrome's dev tools. display:none is verboten.
Sometimes I wonder if I've had a stroke or if I've died and am in purgatory. -
Started collaborating on a friend's project.
Just pulled a crazy stupid hack just to get it to work as intended.
<input type="text" name="page" value="somepage" style="display:none">
My friend and I are still loling at this.7 -
Some of the clients I work with have their own in house (or outsourced) developer that works on day to day tasks. I let them know their load time was pretty bad, and gave them a list of changes. One of them was 'Properly remove content that was no longer being used'
Because adding 'display:none' on a div full of large image is definitely not helping. -
Everything works fine locally and at *herokuapp.com. Push to prod on release day and random bits of the HTML starts missing. Goes to senior developers, everyone scratches their heads. Finally inspect missing element.
Turnes out optimizely was still running an experiment in the background adding display:none to different HTML elements. -
To like really bother someone with the code
Just go and write in the body class display:none
No matter what the person does he won't be able to find the error😂😂2