I just don't get this whole American thing with Class Action law suits. It seems that companies can no longer release products into the public without having to make sure it could survive a week in a monkey pen with no obvious damage. How stupid is that?
If I was to buy a product and it got a little scratched within the first week I would think I was being a little careless and promise that I would take better care in the future. Surely that is what any good thinking citizen would think? Obviously not. Silly me, it was not the fact that I kept it in the same pocket as my keys, no it was a rubbish design.
So you think that it was a design of the product. You sit down at your computer and write an angry letter to the local newspaper and another to the CEO of the company in question. Then paper publish your letter commending you for your use of grammar. The CEO of the company never gets to see the letter, instead it gets passed down to personnel who read the letter write a short apology stating in future they will design better hardware. Your letter gets filled in the appropriate "Trash Can" and everyone is happy.
No that is far too quick and easy. What you really want is a full blow fight, in-front of a judge, with the national press watching. This will show everyone how much you hate the company. So you find a few other friends and tell them to put the Nano in the same pocket as their keys and hey presto you all suffered the same "design fault".
Now you can take your case in-front of a federal court. All in all even if you don't win you have wasted a lot of time and money that could have been far better spent. I mean are you going to repeat this when your phone gets scratched? Then again when your chopping board receives cut marks?
Other people seem to find the funny side and test the "scratch-able device" to death. See it isn't as fragile as your "Class Action Lawsuit" seems to think.
When making this version of e26 I decided to try and use a different method to organise my CSS file. In the past I have just had a mess of styling in no real logical order. This redesign was going to be different. First I went and had a look how other people were doing this task. I also read articles on the matter.
Visual Organisation
When organising the CSS you need some form of visual recognition. Without one it could be all to easy to just scroll past the section you want to find. The way Douglas Bowman uses his breaks between sections seemed to be quite sensible. However, the way he does subheadings didn't look too appealing. I fancied more of a visual multilevel system. I decided to slightly alter the 'underline' to create a two tier system:
/* Large Headings
======================================= */
/* Sub-Headings
--------------------------------------- */
There now we have a way to separate the different sections that I will be creating.
Choosing Headings
When I first got in to styling with CSS I made many errors and couldn't work out why some of my styling wasn't working. It turned out that I needed to be a little more careful with the order of my style-sheet.
For example in IE the following will create a blue hover on a navigation link. However, in Firefox the same link would be pink on hover:
a:hover { color: blue; }
#nav a { color: pink; }
This may be obvious to correct if you only have those rules in your stylesheet. However, if you add in the fact that my style-sheets had no form of order and were just a mess it was not obvious why this was not working. To stop this happening I decided in my system to put all tag rules before any id / class rules. This would ensure proper inheritance.
So as a general suggested order the order I will be using from now on is:
- Tag Rules
- Main Tags
- Headings
- Text blocks
- Lists + Tables
- Forms
- Links
- Class / ID Rules
- Title
- Content
- Navigation
- Extra / Misc
While yes if you look at my style sheet I don't follow this exactly but that is as I don't believe in styling forms as you are never allowed complete control over them.
Now if I was to find that one of my navigational links was the wrong colour on hover I could go straight to the right section and change it so that it works properly.