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

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

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -