Monkey hate CSS.
Nov. 27th, 2006 06:31 pmSo, it's not *exactly* procrastinating if I have a class that talks a little about the subject, right? The following is written in pidgin-Geek with english translations at the end of every paragraph.
I'm trying to make a sexy CSS website. I had a beautiful, elegant, simple, scalable vision of what I want it to look like. I know I've seen sites do it. I can't find a template that explains how, and I got it to do it in Firefox but not in IE, but then in trying to make it work in IE I learned some better principles and when I try to do it with the better principles in place I can't make the Firefox work anymore either. I had a picture in my head that turned out to be surprisingly difficult to make happen.
So I finally found a template that I'm not totally thrilled with, but it's close enough to practice on and see how well I can tweak it to my purpose. I've spent several happy hours doing that. Then when I was fiddling with the column colors, I discovered that one of the column lengths Didn't Work in Firefox. If the left column was longer, it just spilled right off the page. Debugging time! I was playing with a sample and something broke.
I'm a smart kid, I had all the original templates there, so I started putting in the original pieces one at a time to figure out which one had broken. After trying all SIX of the attached style sheet bits, I determined that I'd broken something in the original html file. So I started testing one tiny modification at a time between the original and my new version, reloading for every single little change. Do you know what it was? Do you? I spent a long time looking for what broke.
I had put a comment in the file before the DOCTYPE declaration. That was the only problem. Some legally constructed comments and a couple of carriage returns. Firefox choked on it in tiny specific ways, but not big enough ways for me to discover until several hours after I had made the change. Tiny, weird little stuff, not picking up one of the two linked style sheets, making the left column (but not the right!) overflow if it's the longer one... Crazy, maddening, and I never would have known. It makes me wonder what little syntax details messed up my menu design in the first place, and if they'd be fixed by a proper DOCTYPE declaration, or possibly by wearing my underwear on my head while coding. It was really, really, really, really stupid.
At this point I am willing to concede that I could use some debugging help on my original concept from someone who actually likes doing this and knows where all the stupid semicolons go. This is why I didn't take more than two programming classes. At least in those the parser wouldn't choke on legal comments. MONKEY HATE CSS.
I'm trying to make a sexy CSS website. I had a beautiful, elegant, simple, scalable vision of what I want it to look like. I know I've seen sites do it. I can't find a template that explains how, and I got it to do it in Firefox but not in IE, but then in trying to make it work in IE I learned some better principles and when I try to do it with the better principles in place I can't make the Firefox work anymore either. I had a picture in my head that turned out to be surprisingly difficult to make happen.
So I finally found a template that I'm not totally thrilled with, but it's close enough to practice on and see how well I can tweak it to my purpose. I've spent several happy hours doing that. Then when I was fiddling with the column colors, I discovered that one of the column lengths Didn't Work in Firefox. If the left column was longer, it just spilled right off the page. Debugging time! I was playing with a sample and something broke.
I'm a smart kid, I had all the original templates there, so I started putting in the original pieces one at a time to figure out which one had broken. After trying all SIX of the attached style sheet bits, I determined that I'd broken something in the original html file. So I started testing one tiny modification at a time between the original and my new version, reloading for every single little change. Do you know what it was? Do you? I spent a long time looking for what broke.
I had put a comment in the file before the DOCTYPE declaration. That was the only problem. Some legally constructed comments and a couple of carriage returns. Firefox choked on it in tiny specific ways, but not big enough ways for me to discover until several hours after I had made the change. Tiny, weird little stuff, not picking up one of the two linked style sheets, making the left column (but not the right!) overflow if it's the longer one... Crazy, maddening, and I never would have known. It makes me wonder what little syntax details messed up my menu design in the first place, and if they'd be fixed by a proper DOCTYPE declaration, or possibly by wearing my underwear on my head while coding. It was really, really, really, really stupid.
At this point I am willing to concede that I could use some debugging help on my original concept from someone who actually likes doing this and knows where all the stupid semicolons go. This is why I didn't take more than two programming classes. At least in those the parser wouldn't choke on legal comments. MONKEY HATE CSS.
no subject
Date: 2006-11-28 02:37 am (UTC)Yes, it sucks. I hate the web too.
no subject
Date: 2006-11-28 02:44 am (UTC)Helpful thing: Firefox's Web Developer extension (requires grease monkey) will help you find those things. I will also be a helpful monkey if you would like.
no subject
Date: 2006-11-28 03:29 am (UTC)no subject
Date: 2006-11-28 03:42 am (UTC)no subject
Date: 2006-11-28 04:21 am (UTC)no subject
Date: 2006-11-28 04:26 am (UTC)no subject
Date: 2006-11-28 04:56 am (UTC)I feel your pain.
If you'd ever like me to take a look at anything, since that's, in a nutshell, been a very large part of my gainful employment for the past six years, e-mail me, I can go through it and try to make it pretty for you. I am apparently good at that.
But, yeah, layouting sucks.
no subject
Date: 2006-11-28 07:23 am (UTC)no subject
Date: 2006-11-28 08:58 am (UTC)no subject
Date: 2006-11-28 02:15 pm (UTC)I loved CSS when I got the hang of it. Then I was told that I couldn't use it anymore because it messed with the web tracking software.
Ruh!
no subject
Date: 2006-11-28 04:49 pm (UTC)PS, I hope you didn't try coding with your underwear on your head, because then you would have accidentally turned your computer into a beautiful woman with horrible 80s hair who would have made your life all exciting and fantasy-like. And that'd be really hard to explain in an LJ post. (+50 DKP for 80s movie references!)