Ranter
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
Comments
-
juzles38588y@qbasic16 yeah i get that but my question was why would it act differently with missing doctype
-
@juzles not only doctype, but also <html> was missing.
I had the </html> at the end of the code, but I cant imagine how this creates a problem with line-height...
If I have time I can try to reproduce it in a jsfiddle ;) -
@linuxxx Yesterday there was a rant in my feed suggesting to replace "fuck" with "fsck", so I tried it out ;)
Related Rants
WTH...
While styling some frontend stuff with LESS, I experienced that on one page template the <header> was not displaying the given line-height eventhough the whole fscking code was 1:1 identical with the other template in which everything was fine. I checked EVERYTHING... caching, URL, source, classes, open / wrong tags, HEAD, ... I even did a diff compare. NO FSCKING DIFFERENCE!
After one hour of pulling out hair I suddenly saw that in the faulty template file 2 lines were missing:
<!DOCTYPE html>
<html lang="devRantLang">
WHOEVER DID THIS: YOU ARE FSCKING STUPID!!! (it was me...)
undefined
missing
rabbit hole
css
templating
bug
hate
less
html