Tuesday 24 January 2012

How to write the related work section

My advisor's suggestion on how to write the related work section:

  • It's not a literature review. So don't go into to too much details. Describe the work in enough details to show that you understand it.
  • Show how the previous work is related to your work.
    • You can build on the previous work.
    • You can show how you are doing differently.

Friday 6 January 2012

Monday 2 January 2012

CSS dimensions

Relative units

  • % - percentage of some other size (usually the same size in the parent element).
  • em - the font-size of the parent element.

CSS layout: the box model


  • Each element is a box.
  • Default width: maximum that fits into the parent element.
  • Default height: minimum that fits in all the children elements.
    • %: Defines the height in percent of the containing block.


  • Inline elements can share a line. Examples: <em>, <strong>, <input>, <select>, <img>. They have no margins or paddings.