cExams.net

Interview Questions and Answers

CSS

Question:
What is parent child selector?
Answer:

Parent-child selector is a selector representing the direct descendent of a parent element. Parent-child selectors are created by listing two or more tilde (~) separated selectors.
BODY ~ P {background: red; color: white} The P element will be declared the specified style only if it directly descends from the BODY element:

Red and white paragraph

BODY ~ P ~ EM {background: red; color: white} The EM element will be declared the specified style only if it directly descends from the P element which in its turn directly descends from the BODY element:
<

Red and white EM



--- >>>

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. Explain inline, embedded and external style sheets.
Answer
21. What are pseudo elements?
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 one auto margin?
Answer
26. List various font attributes used in style sheet.
Answer
27. What is attribute selector?
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. Tell about hover element in CSS3.
Answer
36. Describe pseudo classes in CSS.
Answer
37. Can CSS be used with other than HTML documents?
Answer
38. What is latest version, CSS4 or CSS3?
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
  • Crazy Bike Designs
  • Prime Minister of india - Duration Quiz
  • Effective Exercises You Can Do Anywhere
  • Mysterious Caves of India
  • Trading Interview Q & A
  • Shopping Malls

  • Benefits of Grapes

    Consumption Tips

    Grapes are among fruits that have high pesticide residues. Try to choose organic where possible. If not, take the trouble to soak the tiny fruits in water with some salt and vinegar to rid it of the pesticides. Soak for about 10~15 minutes, then rinse and pat dry. Store in refrigerator to maintain its freshness for a few days.


    Chourishi Systems