html - What is the difference between relative and absolute tags of div element? -


what difference between relative , absolute tags of div element ?

absolute positioning positions element relitive first parent has position oher static, , removes element document flow. relative positioning allows move element "normal" positon, leaving space in content.

relative small adjusents in page layout, absolute exact positioning.


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -