I think that it's too often when I visit sites and their premade layouts are poorly organized. I'm guessing that the people they were intended for wouldn't
give a care on how the actual coding looked, just as long as the coding worked. Now when I see the unorganized coding, CSS in particular, I wonder if the
webmaster/mistress has the same form of jumbled mess.
So this is a little snippet of an example on how one's CSS would look without radical organization.
See what I mean? What an eyesore... But we can fix this! Yes, we can. All you need to do is remember this one little guidance rule: Seperate at the {, ;, and }.
Don't quite get what I mean? Well for instance, let's take the first part of our CSS into our lair...
I've hilighted all of the parts where you should divide the coding; so first let's look at the sloppy version;
And what's the use of changing the organization of my CSS? Well, the most important is probably the fact that you'll easily be able to edit your CSS without
having to use your horizontal scrollbar, and also that you'd know exactally where to find it. For instance if you're using notepad it'll be a lot easier
to find the problem spots that a HTML Validator has pushed up.
Good luck with your organizing. ;D
all content (c) Alexandra E.U. [2008-2010] unless otherwise stated
Welcome
... to the second home of a questionably sane American teenager.
Look through what's become of her boredom, and eventually you'll find
something you like.
Hi there, you can call me Alex. I'm just your abnormal American teenager.
I like show tunes, indie music, photography, tea, and just about every
bright color you can think of.
What else could you ever so possibly want to
know?