Front End Programmer Question:
Download Job Interview Questions and Answers PDF
Explain the difference between static, fixed, absolute and relative positioning?
Answer:
static is the default.
fixed is positioned relative to the browser.
absolute is positioned relative to its parent or ancestor element.
relative is positioned relative to normal positioning/the item itself. Used alone it accomplishes nothing.
fixed is positioned relative to the browser.
absolute is positioned relative to its parent or ancestor element.
relative is positioned relative to normal positioning/the item itself. Used alone it accomplishes nothing.
Download Front End Developer Interview Questions And Answers
PDF