cExams.net

Interview Questions and Answers

CSS

Question:
what is Fixed Background?
Answer:

There is the possibility to use the HTML tag bgproperties=fixed, but that is IE proprietary, and dependent upon the background attribute (deprecated in HTML4).
With CSS, you can declare the background like:
BODY { font-family : Trebuchet MS, Verdana, Arial, Helvetica, sans-serif; background-image: url(images/yourimage.gif); background-repeat: no-repeat; /*no-tiling background*/ background-position: center; background-attachment: fixed; background-color: #hexcolor; color : #hexcolor; margin: 10px; }
that shows a background-image in the center of the element, non-scrolling and non-repeating in IE or NN6. NN 4.xx gets the non-repeat-part right, but stuffs the picture in the upper left corner and scrolls

--- >>>

CSS - Questions
1. How to customize your text boxes.
Answer
2. How can I specify two different sets of link colors?
Answer
3. What is two auto margins?
Answer
4. How do I make my div 100% height?
Answer
5. What is parent child selector?
Answer
6. How to use CSS to separate content and design ?
Answer
7. How do I have a background image that isnt tiled?
Answer
8. What is CSS3?
Answer
9. Explain in brief about the term CSS.
Answer
10. What are the various style sheets?
Answer
11. What is the use @keyframes in CSS3?
Answer
12. How do I have a fixed non scrolling background image?
Answer
13. What is cascade?
Answer
14. Why call the subtended angle a pixel, instead of something else ?
Answer
15. Why is it my hover declaration for links does not work ?
Answer
16. How do I place text over an image?
Answer
17. Why does Netscape lose my styles ?
Answer
18. How do you override the underlining of hyperlinks?
Answer
19. When is auto different from 0 in margin properties?
Answer
20. What are pseudo elements?
Answer
21. Explain inline, embedded and external style sheets.
Answer
22. Why use Style Sheets?
Answer
23. What is property?
Answer
24. How do I eliminate the blue border around linked images?
Answer
25. What is attribute selector?
Answer
26. What is one auto margin?
Answer
27. List various font attributes used in style sheet.
Answer
28. Which font names are available on all platforms ?
Answer
29. Describe about float element.
Answer
30. Why was the decision made to make padding apply outside of the width of a box, rather than inside, which would seem to make more sense?
Answer
31. Why do style sheets exist?
Answer
32. What are style sheet properties?
Answer
33. Why does my content shift to the left on some pages in FF?
Answer
34. What are Style Sheets?
Answer
35. What is latest version, CSS4 or CSS3?
Answer
36. Tell about hover element in CSS3.
Answer
37. Describe pseudo classes in CSS.
Answer
38. Can CSS be used with other than HTML documents?
Answer
39. How do I move the list bullet to the left and right?
Answer
40. What is grouping?
Answer
41. How can I specify background images?
Answer
42. Write different ways of styles applied in HTML file?
Answer
43. How do I write my style sheet so that it gracefully cascades with users personal sheet ?
Answer
44. what is Fixed Background?
Answer
45. Which set of definitions, HTML attributes or CSS properties, take precedence?
Answer
46. What are Cascading Style Sheets?
Answer
47. How do I center block-elements with CSS1?
Answer
48. What is CSS rule ruleset?
Answer
49. What are inline, block, parent, children, replaced and floating elements?
Answer
50. Can Style Sheets and HTML stylistic elements be used in the same document?
Answer
  • Xmas Activities For Kids
  • Eating Secrets to Help You Lose Weight
  • Baby Care Tips
  • Play Chess
  • Most Beautiful but Strange Flowers
  • Benefits of Passion fruits

  • Precautions while using Nail Paint

    Try other nail painting ideas

    Once you have the basic method of how to paint your nails, the possibilities are endless! Consider painting the galaxy on your nails, get feline fabulous with leopard print nails or be artsy and express yourself with splatter paint nails. If you can think of it, you can make it happen with nail painting the possibilities are endless!


    Chourishi Systems