1.

Which of the following property sets the background image to scroll or not to scroll with its associated element’s content?(a) background-scroll(b) background-attach(c) background-attachment(d) background-allowanceThe question was asked at a job interview.The doubt is from Backgrounds, Borders and Drop Shadow topic in portion CSS Text, Borders and Images of CSS

Answer» CORRECT choice is (c) background-attachment

To explain I would SAY: SYNTAX: background-attachment: scroll | fixed | INHERIT


Discussion

No Comment Found

Related InterviewSolutions