Web Design

  1. The Width and Height of the browser Window can be obtained through the innerWidth and innerHeight properties; these can be checked by an event handler to detect resize events.
  2. Why web designers should avoid hijacking users scroll to make smooth-scrolling, parallax and other silly scroll-triggered effects.
  3. How to add hover effects on links using CSS pseudo classes.
  4. How to create a dotted line that appears the same in most browsers.
  5. How to set the cellspacing and cellpadding of HTML tables with pure CSS.