[RAndoMness]=> 28Sep09
 [JPsDocs] => 22Feb09
 [JPics] => 10Dec11

February 2020
sun mon tue wed thu fri sat
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
recent music
Boycott SONY



    !important  echo $newRAM;
    added Tue August 10 2004 at 8:46 PM
    Today, Jon Hicks posted a cool css script for firefox to make mac users feel at home with forms. I tried it out myself, and found it pretty cool, except that it doesn't really blend very well with the rest of my computer. I'm not ashamed to be a PC user (that reads mac blogs), and fact of the matter is that while Mac chrome is nice, it doesn't necessarily blend with PC chrome (or, in my opinion, the typical web chrome).

    So removed the over-riding CSS. It's just waiting until I restart my browser before it kicks in.

    Reading over various specs of using Firefox's css over-ride "userContent.css" script brought up an interesting syntax. Let me explain, first of all, what a ! means in most programming languages. Most meaning every programming language I've personally used yet which, while admittedly limitted, is enough to assume that it's fairly standard. ! is used to negate the following argument. For instance, if I say !true, it's read as "not true." This also goes with an = sign to read 1= or "not equal to"

    So in my first reading of the css code to pull off this mac chrome bit, I noticed that all the elements said "!important," which I read as "not important." This means that if that element is defined in a site's CSS, it will use the author's definition rather than my own. Perfectly natural, right? WRONG! Apparently, denoting anything as "!important" means that it actually over-rides any other definition supplied.

    Don't get me wrong, I love Firefox, and I'm really starting to like CSS (although I've yet to really do much with it in my own site), but who was smoking what when they decided to add "!important"?

    A new project for...
     echo $newRAM;
    added Tue August 10 2004 at 9:08 PM
    I found a site that mom needs to look at and should participate in. CSS Zen Garden says "To date, most examples of neat tricks and hacks have been demonstrated by structurists and coders. Designers have yet to make their mark. This needs to change.[...] Graphic artists only please." I interpret this to mean that it doesn't matter how much technical stuff you (currently) know, artists are wanted for web design.

    They have everything that you need right there to start with. You can even download the CSS used by others and start by just changing what they have. And, of course, if you ever have an idea that you want to impliment but don't know how to begin, you have several children who have become rather adept at finding new solutions to interesting problems.

    Of course, this invitation isn't extended only to mom, because otherwise I would have just emailed her directly. Anybody who thinks that they might be an artist should give it a try. Here's a perfect chance to see how people pull off various CSS tricks, because you can compare the different styles straight across, with the *exact same* HTML. If you make a submission, let me know, I'd like to check it out myself (and, of course, look under the hood to see what cool new tricks you've made).