CSS Articles And Tutorials

  • 09/08/2009 - 22:36

    Lists are a fantastic way to display related information and even display navigational elements.
    However a standard list can look a little crappy if it isn't styled to fit in the rest of your website.

  • 09/08/2009 - 21:58

    What Is A CSS Reset?

    A CSS reset is a bunch of CSS code that reset all (Or most) of the elements of the standard HTML tags to some predetermined value, generally 0.

  • 09/08/2009 - 21:44

    A div is like a box, in terms of appearance (if you just attach a border to it) and function.
    You make a div and you put stuff in it, anything at all.

    It allows you to separate content up into separate areas.

    If there are several bits of content that you want to stand out from everything else around them, put them in a div. An example could be a quote from someone, the quote goes in the div, and you style the div however you feel appropriate so that the div stands out.

  • 09/08/2009 - 20:48

    ID and class selectors are both used to identify and select html objects, such as a div, an area of text, an image, a link etc, that you want to apply styles to.
    They both function in a very similar way, so you'll be forgiven for wondering why it makes a difference which one you pick.
    You should note that applying a Class or ID (With no predefined styles) to something, doesn't actually do anything by itself, if no styles are applied to the ID or Class then nothing will change and it will look exactly the same, as if you did nothing at all.