Skip navigation

Monthly Archives: October 2009

Unless understood css position, it will make UI designers mad. Here are few points to remember.

  1. The static value is only used for overriding a previously set value. (Most cases)
  2. Elements with position:relative are positioned relative to themselves.
  3. A relatively positioned element remains in the document flow
  4. A relatively positioned element counts as positioned, even if we don’t shift it a single pixel in any direction
  5. What people normally mean by positioning, CSS-P or layers, is elements with position:absolute.
  6. Ironically, absolute positioning is relative. An absolutely positioned element is positioned relative to another element, called the containing block.
  7. The containing block of an absolutely positioned element is its nearest positioned ancestor
  8. Absolutely positioned elements are completely removed from the document flow.

Some useful articles


We all know about pros of ajax. Here is a list of cons

  • Breaking the back button
  • A big problem for spidering and search engines
  • Not using links I can pass to friends or bookmark
  • Not giving immediate visual cues for interaction
  • Too much code makes the browser slow
  • Blinking and changing parts of the page unexpectedly
  • Leaving offline (poor connectivity) people behind
  • Asynchronously performing batch operations
  • Changing state with links (Get Requests)
  • Non obvious navigation to drive non obvious result

Of course, these are main concerns of interaction designer.

What is use of <address> tag in html?

If you come across any quiz or interview question like above don’t be a pray. At first sight it may seems that <address> tag is used to express addresses semantically.

It is of course partially true. But address of whom?

The <address> tag defines the contact information for the author or owner of a document. This way, the reader is able to contact the document’s owner.

The address element is usually added to the header or footer of a webpage.