• +91 9723535972
  • info@interviewmaterial.com

CSS Interview Questions and Answers

Related Subjects

Question - How do I have a fixed (non-scrolling) background image?

Answer - With CSS, you can use the background-attachment property. The background attachment can be included in the shorthand background property, as in this example: body { background: white url(example.gif) fixed ; color: black ; } Note that this CSS is supported by Internet Explorer, Mozilla, Firefox Opera, Safari, and other browsers. In contrast, Microsoft's proprietary BGPROPERTIES attribute is supported only by Internet Explorer.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners