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? -

ssis - How do I fix the error unable to enlist Sybase database in distributed transaction? -

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